Pull request #236 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 589af0f2b8198823237d013cfc5dd59b5bb0a7dd+a09ef0c5b5718b7e2deeb983e8068139a6f667f6 (5bfaf9eab79dd5738482b60d1a92aca74e716cd4) 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-ssh16562408724552992578.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5258195430313414917.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1108550396600161735.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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-ssh16324204700891142691.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-236/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-236/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4863198421155575298.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1889 in /w/workspace/gexfoundry_device-rest-go_PR-236 [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-236 # 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/236/head:refs/remotes/origin/PR-236 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a09ef0c5b5718b7e2deeb983e8068139a6f667f6 into PR head commit 589af0f2b8198823237d013cfc5dd59b5bb0a7dd Merge succeeded, producing 589af0f2b8198823237d013cfc5dd59b5bb0a7dd Checking out Revision 589af0f2b8198823237d013cfc5dd59b5bb0a7dd (PR-236) > git config core.sparsecheckout # timeout=10 > git checkout -f 589af0f2b8198823237d013cfc5dd59b5bb0a7dd # 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 a09ef0c5b5718b7e2deeb983e8068139a6f667f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 589af0f2b8198823237d013cfc5dd59b5bb0a7dd # timeout=10 Commit message: "refactor!: Rework code for refactored MessageBus Configuration" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:47:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:47:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:47:47 ========================================================= 17:47:47 EdgeX Global Pipelines Version Info 17:47:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:47:48 ------------------- 17:47:48 stable info: 17:47:48 ------------------- 17:47:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:47:48 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:47:48 Message: update stable to v1.0.244 > git rev-list --no-walk 7f76c9332ba923fe7361eff16a9cf1f456f11020 # timeout=10 17:47:49 ------------------- 17:47:49 experimental info: 17:47:49 ------------------- 17:47:49 Commited By: **** collab-it+edgex@linuxfoundation.org 17:47:49 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:47:49 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-236 [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-236 [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-236 [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 589af0f2b8198823237d013cfc5dd59b5bb0a7dd [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 589af0f [Pipeline] echo 17:47:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:47:49 provisioning config files... 17:47:49 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/config614725999422236309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:47:50 ---> docker-login.sh 17:47:50 nexus3.edgexfoundry.org:10001 17:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:50 Configure a credential helper to remove this warning. See 17:47:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:50 17:47:50 Login Succeeded 17:47:50 nexus3.edgexfoundry.org:10002 17:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:50 Configure a credential helper to remove this warning. See 17:47:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:50 17:47:50 Login Succeeded 17:47:50 nexus3.edgexfoundry.org:10003 17:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:50 Configure a credential helper to remove this warning. See 17:47:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:50 17:47:50 Login Succeeded 17:47:50 nexus3.edgexfoundry.org:10004 17:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:50 Configure a credential helper to remove this warning. See 17:47:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:50 17:47:50 Login Succeeded 17:47:50 docker.io 17:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:51 Configure a credential helper to remove this warning. See 17:47:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:51 17:47:51 Login Succeeded 17:47:51 ---> docker-login.sh ends [Pipeline] } 17:47:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:47:51 + git rev-list -1 --merges 589af0f2b8198823237d013cfc5dd59b5bb0a7dd~1..589af0f2b8198823237d013cfc5dd59b5bb0a7dd [Pipeline] echo 17:47:51 -----------> git rev-list -1 --merges 589af0f2b8198823237d013cfc5dd59b5bb0a7dd~1..589af0f2b8198823237d013cfc5dd59b5bb0a7dd 589af0f2b8198823237d013cfc5dd59b5bb0a7dd [false] [Pipeline] sh 17:47:51 + git log --format=format:%s -1 589af0f2b8198823237d013cfc5dd59b5bb0a7dd [Pipeline] echo 17:47:51 ========================================================= 17:47:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:47:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:47:52 + git log --format=format:%s -1 589af0f2b8198823237d013cfc5dd59b5bb0a7dd [Pipeline] echo 17:47:52 [semverPrep] GIT_COMMIT: 589af0f2b8198823237d013cfc5dd59b5bb0a7dd, Commit Message: refactor!: Rework code for refactored MessageBus Configuration [Pipeline] echo 17:47:52 [semverPrep] This is not a build commit. [Pipeline] sh 17:47:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:47:52 + grep -v github /etc/ssh/ssh_known_hosts 17:47:52 + [ -e /tmp/ssh_known_hosts ] 17:47:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:47:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:47:52 + sudo tee -a /etc/ssh/ssh_known_hosts 17:47:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:47:52 17:47:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:47:53 0.1.4: Pulling from edgex-devops/py-git-semver 17:47:53 b85a868b505f: Pulling fs layer 17:47:53 e2be974225ed: Pulling fs layer 17:47:53 339a4e72a1f5: Pulling fs layer 17:47:53 988bab9f4d93: Pulling fs layer 17:47:53 1469e6f7b9e6: Pulling fs layer 17:47:53 eaf3925da568: Pulling fs layer 17:47:53 bab4dde63d76: Pulling fs layer 17:47:53 bde34c3a00c8: Pulling fs layer 17:47:53 b352a97aabf1: Pulling fs layer 17:47:53 988bab9f4d93: Waiting 17:47:53 eaf3925da568: Waiting 17:47:53 bab4dde63d76: Waiting 17:47:53 bde34c3a00c8: Waiting 17:47:53 1469e6f7b9e6: Waiting 17:47:53 4872d77fe225: Pulling fs layer 17:47:53 5851b861e8e6: Pulling fs layer 17:47:53 b352a97aabf1: Waiting 17:47:53 5851b861e8e6: Waiting 17:47:53 4872d77fe225: Waiting 17:47:53 e2be974225ed: Verifying Checksum 17:47:53 e2be974225ed: Download complete 17:47:53 988bab9f4d93: Verifying Checksum 17:47:53 988bab9f4d93: Download complete 17:47:53 339a4e72a1f5: Verifying Checksum 17:47:53 339a4e72a1f5: Download complete 17:47:53 1469e6f7b9e6: Verifying Checksum 17:47:53 1469e6f7b9e6: Download complete 17:47:53 eaf3925da568: Verifying Checksum 17:47:53 eaf3925da568: Download complete 17:47:53 bde34c3a00c8: Verifying Checksum 17:47:53 bde34c3a00c8: Download complete 17:47:53 b352a97aabf1: Verifying Checksum 17:47:53 b352a97aabf1: Download complete 17:47:53 4872d77fe225: Verifying Checksum 17:47:53 4872d77fe225: Download complete 17:47:53 5851b861e8e6: Download complete 17:47:53 b85a868b505f: Verifying Checksum 17:47:53 b85a868b505f: Download complete 17:47:53 bab4dde63d76: Verifying Checksum 17:47:53 bab4dde63d76: Download complete 17:47:54 b85a868b505f: Pull complete 17:47:54 e2be974225ed: Pull complete 17:47:55 339a4e72a1f5: Pull complete 17:47:55 988bab9f4d93: Pull complete 17:47:55 1469e6f7b9e6: Pull complete 17:47:55 eaf3925da568: Pull complete 17:47:57 bab4dde63d76: Pull complete 17:47:57 bde34c3a00c8: Pull complete 17:47:57 b352a97aabf1: Pull complete 17:47:57 4872d77fe225: Pull complete 17:47:57 5851b861e8e6: Pull complete 17:47:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:47:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:47:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:47:57 prd-ubuntu20.04-docker-8c-8g-1889 does not seem to be running inside a container 17:47:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-236 -v /w/workspace/gexfoundry_device-rest-go_PR-236:/w/workspace/gexfoundry_device-rest-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-236@tmp:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:48:01 $ docker top 0985c36cff9a2a456c2e36bfcaa949315c907ff2c18f06a2d6f5e62a3ed0d31f -eo pid,comm 17:48:01 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). 17:48:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:48:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:48:01 [ssh-agent] Looking for ssh-agent implementation... 17:48:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:48:01 $ docker exec 0985c36cff9a2a456c2e36bfcaa949315c907ff2c18f06a2d6f5e62a3ed0d31f ssh-agent 17:48:01 SSH_AUTH_SOCK=/tmp/ssh-Dypa7t05rEjo/agent.33 17:48:01 SSH_AGENT_PID=39 17:48:01 Running ssh-add (command line suppressed) 17:48:01 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-236@tmp/private_key_15585624317438991631.key (/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/private_key_15585624317438991631.key) 17:48:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:48:02 + git tag --points-at HEAD [Pipeline] } 17:48:02 $ docker exec --env ******** --env ******** 0985c36cff9a2a456c2e36bfcaa949315c907ff2c18f06a2d6f5e62a3ed0d31f ssh-agent -k 17:48:02 unset SSH_AUTH_SOCK; 17:48:02 unset SSH_AGENT_PID; 17:48:02 echo Agent pid 39 killed; 17:48:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:48:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:48:02 [ssh-agent] Looking for ssh-agent implementation... 17:48:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:48:02 $ docker exec 0985c36cff9a2a456c2e36bfcaa949315c907ff2c18f06a2d6f5e62a3ed0d31f ssh-agent 17:48:02 SSH_AUTH_SOCK=/tmp/ssh-RtLdVPPaA8Tx/agent.71 17:48:02 SSH_AGENT_PID=77 17:48:02 Running ssh-add (command line suppressed) 17:48:02 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-236@tmp/private_key_5242837762631320817.key (/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/private_key_5242837762631320817.key) 17:48:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:48:02 + git semver init 17:48:03 2023-01-11 17:48:03,102 [run_init] DEBUG init version:0.0.0 force:False 17:48:03 2023-01-11 17:48:03,103 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-236/.semver 17:48:03 2023-01-11 17:48:03,104 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-236/.semver 17:48:03 2023-01-11 17:48:03,104 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-236/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-236, universal_newlines=False, shell=None, istream=None) 17:48:04 2023-01-11 17:48:04,405 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-236/.git/info/exclude 17:48:04 2023-01-11 17:48:04,406 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-236/.semver/PR-236 with force:False 17:48:04 2023-01-11 17:48:04,406 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-236/.semver/PR-236 17:48:04 2023-01-11 17:48:04,408 [execute] INFO git cat-file --batch-check 17:48:04 2023-01-11 17:48:04,409 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-236/.semver, universal_newlines=False, shell=None, istream=) 17:48:04 2023-01-11 17:48:04,413 [execute] INFO git cat-file --batch 17:48:04 2023-01-11 17:48:04,414 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-236/.semver, universal_newlines=False, shell=None, istream=) 17:48:04 2023-01-11 17:48:04,418 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-236/.semver/PR-236 17:48:04 0.0.0 [Pipeline] } 17:48:04 $ docker exec --env ******** --env ******** 0985c36cff9a2a456c2e36bfcaa949315c907ff2c18f06a2d6f5e62a3ed0d31f ssh-agent -k 17:48:04 unset SSH_AUTH_SOCK; 17:48:04 unset SSH_AGENT_PID; 17:48:04 echo Agent pid 77 killed; 17:48:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:48:05 + git semver [Pipeline] } 17:48:05 $ docker stop --time=1 0985c36cff9a2a456c2e36bfcaa949315c907ff2c18f06a2d6f5e62a3ed0d31f 17:48:06 $ docker rm -f --volumes 0985c36cff9a2a456c2e36bfcaa949315c907ff2c18f06a2d6f5e62a3ed0d31f [Pipeline] // withDockerContainer [Pipeline] sh 17:48:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:48:07 Stashed 1 file(s) [Pipeline] echo 17:48:07 [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 17:48:07 provisioning config files... 17:48:07 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/config14772887826497930007tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:48:07 ---> docker-login.sh 17:48:07 nexus3.edgexfoundry.org:10001 17:48:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:07 Configure a credential helper to remove this warning. See 17:48:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:07 17:48:07 Login Succeeded 17:48:07 nexus3.edgexfoundry.org:10002 17:48:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:07 Configure a credential helper to remove this warning. See 17:48:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:07 17:48:07 Login Succeeded 17:48:07 nexus3.edgexfoundry.org:10003 17:48:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:07 Configure a credential helper to remove this warning. See 17:48:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:07 17:48:07 Login Succeeded 17:48:07 nexus3.edgexfoundry.org:10004 17:48:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:07 Configure a credential helper to remove this warning. See 17:48:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:07 17:48:07 Login Succeeded 17:48:07 docker.io 17:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:08 Configure a credential helper to remove this warning. See 17:48:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:08 17:48:08 Login Succeeded 17:48:08 ---> docker-login.sh ends [Pipeline] } 17:48:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:48:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:48:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:48:08 ========================================================= 17:48:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:48:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:08 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:48:08 Sending build context to Docker daemon 10.79MB 17:48:08 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:48:08 Step 2/12 : FROM ${BASE} AS builder 17:48:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:48:08 213ec9aee27d: Pulling fs layer 17:48:08 4583459ba037: Pulling fs layer 17:48:08 93c1e223e6f2: Pulling fs layer 17:48:08 53926ce57604: Pulling fs layer 17:48:08 21b2b0c7a3f4: Pulling fs layer 17:48:08 22ff95d597cd: Pulling fs layer 17:48:08 12d6caf4c0d1: Pulling fs layer 17:48:08 96b7cbca73a9: Pulling fs layer 17:48:08 a7acece74701: Pulling fs layer 17:48:08 21b2b0c7a3f4: Waiting 17:48:08 22ff95d597cd: Waiting 17:48:08 53926ce57604: Waiting 17:48:08 a7acece74701: Waiting 17:48:08 12d6caf4c0d1: Waiting 17:48:08 96b7cbca73a9: Waiting 17:48:08 93c1e223e6f2: Verifying Checksum 17:48:08 93c1e223e6f2: Download complete 17:48:08 4583459ba037: Verifying Checksum 17:48:08 4583459ba037: Download complete 17:48:08 21b2b0c7a3f4: Verifying Checksum 17:48:08 21b2b0c7a3f4: Download complete 17:48:08 22ff95d597cd: Verifying Checksum 17:48:08 22ff95d597cd: Download complete 17:48:08 213ec9aee27d: Verifying Checksum 17:48:08 213ec9aee27d: Download complete 17:48:08 12d6caf4c0d1: Verifying Checksum 17:48:08 12d6caf4c0d1: Download complete 17:48:08 213ec9aee27d: Pull complete 17:48:09 4583459ba037: Pull complete 17:48:09 93c1e223e6f2: Pull complete 17:48:09 a7acece74701: Verifying Checksum 17:48:09 a7acece74701: Download complete 17:48:09 96b7cbca73a9: Verifying Checksum 17:48:09 96b7cbca73a9: Download complete 17:48:09 53926ce57604: Verifying Checksum 17:48:09 53926ce57604: Download complete 17:48:13 53926ce57604: Pull complete 17:48:13 21b2b0c7a3f4: Pull complete 17:48:13 22ff95d597cd: Pull complete 17:48:13 12d6caf4c0d1: Pull complete 17:48:15 96b7cbca73a9: Pull complete 17:48:15 a7acece74701: Pull complete 17:48:16 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:48:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:48:16 ---> db6d94c90886 17:48:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:48:22 Still waiting to schedule task 17:48:22 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:48:22 ---> Running in c42ce44bfc1b 17:48:22 Removing intermediate container c42ce44bfc1b 17:48:22 ---> 2e1b06d29448 17:48:22 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:48:23 ---> Running in 7905ea0e0d59 17:48:23 Removing intermediate container 7905ea0e0d59 17:48:23 ---> df5020144415 17:48:23 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:48:23 ---> Running in 9fc8846686ee 17:48:23 Removing intermediate container 9fc8846686ee 17:48:23 ---> 8c41bbc2f8ab 17:48:23 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:48:23 ---> Running in b248a1c4921b 17:48:23 Removing intermediate container b248a1c4921b 17:48:23 ---> 15f84d389078 17:48:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:48:23 ---> Running in 1cdbaff98b21 17:48:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:48:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:48:23 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:48:23 (2/4) Installing libedit (20210910.3.1-r0) 17:48:23 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:48:23 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:48:24 Executing busybox-1.35.0-r17.trigger 17:48:24 OK: 216 MiB in 55 packages 17:48:24 Removing intermediate container 1cdbaff98b21 17:48:24 ---> 7da7369fd21d 17:48:24 Step 8/12 : WORKDIR /device-rest-go 17:48:24 ---> Running in 85288dce4caa 17:48:24 Removing intermediate container 85288dce4caa 17:48:24 ---> 55c4bc815e86 17:48:24 Step 9/12 : COPY go.mod vendor* ./ 17:48:24 ---> a904b59f81f4 17:48:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:48:24 ---> Running in f13b0b2c97fd 17:48:57 Removing intermediate container f13b0b2c97fd 17:48:57 ---> 15c34e504745 17:48:57 Step 11/12 : COPY . . 17:48:57 ---> 9f6497d728f1 17:48:57 Step 12/12 : RUN $MAKE 17:48:57 ---> Running in e42f88c27225 17:48:57 noop 17:48:57 Removing intermediate container e42f88c27225 17:48:57 ---> c56abedef91f 17:48:57 Successfully built c56abedef91f 17:48:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:58 + docker inspect -f . ci-base-image-x86_64 17:48:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:48:58 prd-ubuntu20.04-docker-8c-8g-1889 does not seem to be running inside a container 17:48:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-236 -v /w/workspace/gexfoundry_device-rest-go_PR-236:/w/workspace/gexfoundry_device-rest-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-236@tmp:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:48:58 $ docker top 3d834f5f631b3ba1a5c1cb983f1767986586b7108fc1fc2924904aa93cc8e97a -eo pid,comm [Pipeline] { [Pipeline] sh 17:48:58 + go version 17:48:58 go version go1.18.7 linux/amd64 [Pipeline] } 17:48:59 $ docker stop --time=1 3d834f5f631b3ba1a5c1cb983f1767986586b7108fc1fc2924904aa93cc8e97a 17:49:00 $ docker rm -f --volumes 3d834f5f631b3ba1a5c1cb983f1767986586b7108fc1fc2924904aa93cc8e97a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:00 + docker inspect -f . ci-base-image-x86_64 17:49:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:49:00 prd-ubuntu20.04-docker-8c-8g-1889 does not seem to be running inside a container 17:49:00 $ 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-236 -v /w/workspace/gexfoundry_device-rest-go_PR-236:/w/workspace/gexfoundry_device-rest-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-236@tmp:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:49:01 $ docker top 72fa33963e87a1f33f0adb6de0c70fd5fa3f0a5f790ad24eb789964e3dc8bb8e -eo pid,comm [Pipeline] { [Pipeline] sh 17:49:01 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-236 [Pipeline] fileExists [Pipeline] sh 17:49:01 + make test 17:49:01 go test ./... -coverprofile=coverage.out ./... 17:49:01 ? github.com/edgexfoundry/device-rest-go [no test files] 17:49:10 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:49:10 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 55.2% of statements 17:49:17 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:49:17 go vet ./... 17:49:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:49:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:49:19 ./bin/test-attribution-txt.sh [Pipeline] echo 17:49:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:49:19 $ docker stop --time=1 72fa33963e87a1f33f0adb6de0c70fd5fa3f0a5f790ad24eb789964e3dc8bb8e 17:49:22 $ docker rm -f --volumes 72fa33963e87a1f33f0adb6de0c70fd5fa3f0a5f790ad24eb789964e3dc8bb8e [Pipeline] // withDockerContainer [Pipeline] sh 17:49:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:49:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:49:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:49:23 + ls -al . 17:49:23 total 188 17:49:23 drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 17:49 . 17:49:23 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:47 .. 17:49:23 -rw-rw-r-- 1 jenkins jenkins 151 Jan 11 17:47 .dockerignore 17:49:23 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 17:49 .git 17:49:23 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:47 .github 17:49:23 -rw-rw-r-- 1 jenkins jenkins 329 Jan 11 17:47 .gitignore 17:49:23 -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 17:47 .golangci.yml 17:49:23 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 17:48 .semver 17:49:23 -rw-rw-r-- 1 jenkins jenkins 8996 Jan 11 17:47 Attribution.txt 17:49:23 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 11 17:47 CHANGELOG.md 17:49:23 -rw-rw-r-- 1 jenkins jenkins 1578 Jan 11 17:47 Dockerfile 17:49:23 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 17:47 GOVERNANCE.md 17:49:23 -rw-rw-r-- 1 jenkins jenkins 680 Jan 11 17:47 Jenkinsfile 17:49:23 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 17:47 LICENSE 17:49:23 -rw-rw-r-- 1 jenkins jenkins 1744 Jan 11 17:47 Makefile 17:49:23 -rw-rw-r-- 1 jenkins jenkins 620 Jan 11 17:47 OWNERS.md 17:49:23 -rw-rw-r-- 1 jenkins jenkins 8667 Jan 11 17:47 README.md 17:49:23 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 17:48 VERSION 17:49:23 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 17:47 bin 17:49:23 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:47 cmd 17:49:23 -rw-r--r-- 1 jenkins jenkins 9355 Jan 11 17:49 coverage.out 17:49:23 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 17:47 driver 17:49:23 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 11 17:47 go.mod 17:49:23 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 11 17:47 go.sum 17:49:23 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:47 snap 17:49:23 -rw-rw-r-- 1 jenkins jenkins 713 Jan 11 17:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:23 + 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=589af0f2b8198823237d013cfc5dd59b5bb0a7dd --label arch=amd64 --label version=0.0.0 . 17:49:23 Sending build context to Docker daemon 10.8MB 17:49:23 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 17:49:23 Step 2/25 : FROM ${BASE} AS builder 17:49:23 ---> c56abedef91f 17:49:23 Step 3/25 : ARG ADD_BUILD_TAGS="" 17:49:24 ---> Running in 5fdd83883697 17:49:24 Removing intermediate container 5fdd83883697 17:49:24 ---> 48dd7f7c1180 17:49:24 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:49:24 ---> Running in 20b7b9ab2bc1 17:49:24 Removing intermediate container 20b7b9ab2bc1 17:49:24 ---> 9570cc0604af 17:49:24 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:49:24 ---> Running in 77637f4f5cee 17:49:24 Removing intermediate container 77637f4f5cee 17:49:24 ---> 516a99125543 17:49:24 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 17:49:24 ---> Running in b24fcb6468f0 17:49:24 Removing intermediate container b24fcb6468f0 17:49:24 ---> 52f3e28ba225 17:49:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:49:24 ---> Running in d38ccdbe8c9d 17:49:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:49:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:49:25 OK: 216 MiB in 55 packages 17:49:25 Removing intermediate container d38ccdbe8c9d 17:49:25 ---> 496245669704 17:49:25 Step 8/25 : WORKDIR /device-rest-go 17:49:25 ---> Running in c29eb9660f2f 17:49:25 Removing intermediate container c29eb9660f2f 17:49:25 ---> f235d70a3249 17:49:25 Step 9/25 : COPY go.mod vendor* ./ 17:49:25 ---> c0a74461fbd2 17:49:25 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:49:25 ---> Running in a66c81dc2eb5 17:49:26 Removing intermediate container a66c81dc2eb5 17:49:26 ---> e28902d8195c 17:49:26 Step 11/25 : COPY . . 17:49:27 ---> 451bbeaf9300 17:49:27 Step 12/25 : RUN $MAKE 17:49:27 ---> Running in bce16f462d54 17:49:27 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 17:49:49 Removing intermediate container bce16f462d54 17:49:49 ---> 118adc7e1486 17:49:49 Step 13/25 : FROM alpine:3.16 17:49:49 3.16: Pulling from library/alpine 17:49:49 ca7dd9ec2225: Pulling fs layer 17:49:49 ca7dd9ec2225: Verifying Checksum 17:49:49 ca7dd9ec2225: Download complete 17:49:49 ca7dd9ec2225: Pull complete 17:49:49 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:49:49 Status: Downloaded newer image for alpine:3.16 17:49:49 ---> bfe296a52501 17:49:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:49:49 ---> Running in 56a099e8322f 17:49:49 Removing intermediate container 56a099e8322f 17:49:49 ---> b50d40d0dacd 17:49:49 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 17:49:49 ---> Running in d706c4a36474 17:49:49 Removing intermediate container d706c4a36474 17:49:49 ---> f22969a0e750 17:49:49 Step 16/25 : RUN apk add --update --no-cache dumb-init 17:49:49 ---> Running in 5e98db0e9995 17:49:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:49:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:49:49 (1/1) Installing dumb-init (1.2.5-r1) 17:49:49 Executing busybox-1.35.0-r17.trigger 17:49:49 OK: 6 MiB in 15 packages 17:49:49 Removing intermediate container 5e98db0e9995 17:49:49 ---> 33493d2b3e95 17:49:49 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 17:49:49 ---> 40665aff3e95 17:49:49 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 17:49:49 ---> b9c7bb8e0840 17:49:49 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 17:49:49 ---> d3643606fd91 17:49:49 Step 20/25 : EXPOSE 59986 17:49:49 ---> Running in d17c27daa3da 17:49:49 Removing intermediate container d17c27daa3da 17:49:49 ---> 2776bb0c0b11 17:49:49 Step 21/25 : ENTRYPOINT ["/device-rest"] 17:49:49 ---> Running in 197d4422b7cf 17:49:49 Removing intermediate container 197d4422b7cf 17:49:49 ---> b2debe1dca4f 17:49:49 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:49:49 ---> Running in d9dabec67c79 17:49:49 Removing intermediate container d9dabec67c79 17:49:49 ---> 37152997faf6 17:49:49 Step 23/25 : LABEL arch=amd64 17:49:49 ---> Running in 45739c181130 17:49:49 Removing intermediate container 45739c181130 17:49:49 ---> 3ad0ae64c2f0 17:49:49 Step 24/25 : LABEL git_sha=589af0f2b8198823237d013cfc5dd59b5bb0a7dd 17:49:49 ---> Running in c2be2a67922a 17:49:49 Removing intermediate container c2be2a67922a 17:49:49 ---> 30b64b6419ef 17:49:49 Step 25/25 : LABEL version=0.0.0 17:49:49 ---> Running in eb86738106c0 17:49:49 Removing intermediate container eb86738106c0 17:49:49 ---> 43c1351f1f5f 17:49:49 [Warning] One or more build-args [ARCH] were not consumed 17:49:49 Successfully built 43c1351f1f5f 17:49:49 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 17:49:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:49:49 17:49:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:49:50 latest: Pulling from edgex-lftools-log-publisher 17:49:50 5eb5b503b376: Pulling fs layer 17:49:50 5c69ac0246d0: Pulling fs layer 17:49:50 ec43610c2a17: Pulling fs layer 17:49:50 3a2ae6a8a46f: Pulling fs layer 17:49:50 33b1e0a273af: Pulling fs layer 17:49:50 5d3b04190fa2: Pulling fs layer 17:49:50 2f39f015ded8: Pulling fs layer 17:49:50 3a2ae6a8a46f: Waiting 17:49:50 33b1e0a273af: Waiting 17:49:50 5d3b04190fa2: Waiting 17:49:50 2f39f015ded8: Waiting 17:49:50 5c69ac0246d0: Verifying Checksum 17:49:50 5c69ac0246d0: Download complete 17:49:50 3a2ae6a8a46f: Verifying Checksum 17:49:50 3a2ae6a8a46f: Download complete 17:49:50 ec43610c2a17: Verifying Checksum 17:49:50 ec43610c2a17: Download complete 17:49:50 33b1e0a273af: Verifying Checksum 17:49:50 33b1e0a273af: Download complete 17:49:50 5d3b04190fa2: Verifying Checksum 17:49:50 5d3b04190fa2: Download complete 17:49:50 5eb5b503b376: Verifying Checksum 17:49:50 5eb5b503b376: Download complete 17:49:51 2f39f015ded8: Verifying Checksum 17:49:51 2f39f015ded8: Download complete 17:49:52 5eb5b503b376: Pull complete 17:49:52 5c69ac0246d0: Pull complete 17:49:52 ec43610c2a17: Pull complete 17:49:52 3a2ae6a8a46f: Pull complete 17:49:52 33b1e0a273af: Pull complete 17:49:52 5d3b04190fa2: Pull complete 17:49:58 2f39f015ded8: Pull complete 17:49:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:49:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:49:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:49:58 prd-ubuntu20.04-docker-8c-8g-1889 does not seem to be running inside a container 17:49:58 $ 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-236 -v /w/workspace/gexfoundry_device-rest-go_PR-236:/w/workspace/gexfoundry_device-rest-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-236@tmp:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:50:03 $ docker top 3b3b772e53520537057a78274df0d85930c874bef6707f50fdeddbbf2a3732d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:50:03 ---> job-cost.sh 17:50:03 lf-activate-venv: SKIPPING 17:50:03 INFO: No Stack... 17:50:04 INFO: Retrieving Pricing Info for: v3-standard-8 17:50:04 INFO: Archiving Costs [Pipeline] sh 17:50:04 + cat /w/workspace/gexfoundry_device-rest-go_PR-236/archives/cost.csv 17:50:04 + cut -d, -f6 [Pipeline] lock 17:50:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-236-3-stack-cost] 17:50:04 Resource [jenkins-edgexfoundry-device-rest-go-PR-236-3-stack-cost] did not exist. Created. 17:50:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-236-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:50:04 + echo total: 0.2199999988079071 [Pipeline] stash 17:50:04 Stashed 1 file(s) [Pipeline] } 17:50:04 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-236-3-stack-cost] [Pipeline] // lock [Pipeline] } 17:50:04 $ docker stop --time=1 3b3b772e53520537057a78274df0d85930c874bef6707f50fdeddbbf2a3732d3 17:50:06 $ docker rm -f --volumes 3b3b772e53520537057a78274df0d85930c874bef6707f50fdeddbbf2a3732d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:51:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1896 in /w/workspace/gexfoundry_device-rest-go_PR-236 [Pipeline] { [Pipeline] ws 17:51:05 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 17:51:05 The recommended git tool is: git 17:51:12 using credential edgex-jenkins-ssh 17:51:12 Cloning the remote Git repository 17:51:12 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 17:51:12 > git init /w/workspace/device-rest-go/3 # timeout=10 17:51:12 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:51:12 > git --version # timeout=10 17:51:12 > git --version # 'git version 2.25.1' 17:51:12 using GIT_SSH to set credentials SSH Credentials for GitHub 17:51:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:51:14 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:51:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:51:15 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:51:15 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:51:15 using GIT_SSH to set credentials SSH Credentials for GitHub 17:51:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:51:16 Merging remotes/origin/main commit a09ef0c5b5718b7e2deeb983e8068139a6f667f6 into PR head commit 589af0f2b8198823237d013cfc5dd59b5bb0a7dd 17:51:16 Merge succeeded, producing 589af0f2b8198823237d013cfc5dd59b5bb0a7dd 17:51:16 Checking out Revision 589af0f2b8198823237d013cfc5dd59b5bb0a7dd (PR-236) 17:51:16 > git config core.sparsecheckout # timeout=10 17:51:16 > git checkout -f 589af0f2b8198823237d013cfc5dd59b5bb0a7dd # timeout=10 17:51:16 > git remote # timeout=10 17:51:16 > git config --get remote.origin.url # timeout=10 17:51:16 using GIT_SSH to set credentials SSH Credentials for GitHub 17:51:16 > git merge a09ef0c5b5718b7e2deeb983e8068139a6f667f6 # timeout=10 17:51:16 > git rev-parse HEAD^{commit} # timeout=10 17:51:16 > git config core.sparsecheckout # timeout=10 17:51:16 > git checkout -f 589af0f2b8198823237d013cfc5dd59b5bb0a7dd # timeout=10 17:51:20 Commit message: "refactor!: Rework code for refactored MessageBus Configuration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:51:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:51:21 % Total % Received % Xferd Average Speed Time Time Time Current 17:51:21 Dload Upload Total Spent Left Speed 17:51:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 177k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 17:51:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:51:22 + sudo tee /etc/docker/daemon.new 17:51:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:51:22 { 17:51:22 "registry-mirrors": [ 17:51:22 "https://nexus3.edgexfoundry.org:10001" 17:51:22 ], 17:51:22 "bip": "10.250.0.254/24", 17:51:22 "hosts": [ 17:51:22 "tcp://0.0.0.0:5555", 17:51:22 "unix:///var/run/docker.sock" 17:51:22 ], 17:51:22 "mtu": 1458, 17:51:22 "selinux-enabled": true, 17:51:22 "seccomp-profile": "/etc/docker/seccomp.json" 17:51:22 } [Pipeline] sh 17:51:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:51:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:51:41 provisioning config files... 17:51:41 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config7452333052495782634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:51:41 ---> docker-login.sh 17:51:41 nexus3.edgexfoundry.org:10001 17:51:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:42 Configure a credential helper to remove this warning. See 17:51:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:42 17:51:42 Login Succeeded 17:51:42 nexus3.edgexfoundry.org:10002 17:51:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:42 Configure a credential helper to remove this warning. See 17:51:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:42 17:51:42 Login Succeeded 17:51:42 nexus3.edgexfoundry.org:10003 17:51:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:43 Configure a credential helper to remove this warning. See 17:51:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:43 17:51:43 Login Succeeded 17:51:43 nexus3.edgexfoundry.org:10004 17:51:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:43 Configure a credential helper to remove this warning. See 17:51:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:43 17:51:43 Login Succeeded 17:51:43 docker.io 17:51:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:44 Configure a credential helper to remove this warning. See 17:51:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:44 17:51:44 Login Succeeded 17:51:44 ---> docker-login.sh ends [Pipeline] } 17:51:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:51:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:51:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:51:44 ========================================================= 17:51:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:51:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:44 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:51:44 Sending build context to Docker daemon 128.5kB 17:51:45 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:51:45 Step 2/12 : FROM ${BASE} AS builder 17:51:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:51:45 9b18e9b68314: Pulling fs layer 17:51:45 35d82f9e3411: Pulling fs layer 17:51:45 e16973657156: Pulling fs layer 17:51:45 fc693d55d65f: Pulling fs layer 17:51:45 7e9fc2657dce: Pulling fs layer 17:51:45 dda99020689f: Pulling fs layer 17:51:45 db1c61fa0a46: Pulling fs layer 17:51:45 891c053d2c06: Pulling fs layer 17:51:45 fc693d55d65f: Waiting 17:51:45 7e9fc2657dce: Waiting 17:51:45 dda99020689f: Waiting 17:51:45 db1c61fa0a46: Waiting 17:51:45 891c053d2c06: Waiting 17:51:45 e16973657156: Verifying Checksum 17:51:45 e16973657156: Download complete 17:51:45 35d82f9e3411: Verifying Checksum 17:51:45 35d82f9e3411: Download complete 17:51:45 7e9fc2657dce: Verifying Checksum 17:51:45 7e9fc2657dce: Download complete 17:51:45 dda99020689f: Verifying Checksum 17:51:45 dda99020689f: Download complete 17:51:45 9b18e9b68314: Verifying Checksum 17:51:45 9b18e9b68314: Download complete 17:51:46 9b18e9b68314: Pull complete 17:51:46 891c053d2c06: Verifying Checksum 17:51:46 891c053d2c06: Download complete 17:51:47 35d82f9e3411: Pull complete 17:51:47 e16973657156: Pull complete 17:51:48 db1c61fa0a46: Download complete 17:51:49 fc693d55d65f: Verifying Checksum 17:51:49 fc693d55d65f: Download complete 17:52:04 fc693d55d65f: Pull complete 17:52:04 7e9fc2657dce: Pull complete 17:52:04 dda99020689f: Pull complete 17:52:08 db1c61fa0a46: Pull complete 17:52:10 891c053d2c06: Pull complete 17:52:10 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:52:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:52:10 ---> f96f9c87975a 17:52:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:52:12 ---> Running in 388f1d68adb3 17:52:13 Removing intermediate container 388f1d68adb3 17:52:13 ---> f58d2b1daadc 17:52:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:52:13 ---> Running in 6a29b6a9fde4 17:52:13 Removing intermediate container 6a29b6a9fde4 17:52:13 ---> 40b9b2057ee6 17:52:13 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:52:13 ---> Running in c61015394dea 17:52:14 Removing intermediate container c61015394dea 17:52:14 ---> 99a056c7f2ad 17:52:14 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:52:14 ---> Running in 67c58b347ac1 17:52:14 Removing intermediate container 67c58b347ac1 17:52:14 ---> dc4dcb155800 17:52:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:52:14 ---> Running in 7b868faa8eea 17:52:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:52:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:52:17 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:52:17 (2/4) Installing libedit (20210910.3.1-r0) 17:52:17 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:52:17 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:52:17 Executing busybox-1.35.0-r17.trigger 17:52:17 OK: 226 MiB in 55 packages 17:52:19 Removing intermediate container 7b868faa8eea 17:52:19 ---> 7f86622de9ec 17:52:19 Step 8/12 : WORKDIR /device-rest-go 17:52:19 ---> Running in dd63054f8258 17:52:19 Removing intermediate container dd63054f8258 17:52:19 ---> 58499e2e0364 17:52:19 Step 9/12 : COPY go.mod vendor* ./ 17:52:20 ---> f6c1763eb4ee 17:52:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:52:20 ---> Running in 5005613b6ea5 17:53:16 Removing intermediate container 5005613b6ea5 17:53:16 ---> 12a7dc2af73c 17:53:16 Step 11/12 : COPY . . 17:53:17 ---> 5b879ffc334b 17:53:17 Step 12/12 : RUN $MAKE 17:53:17 ---> Running in e43cbc446d2b 17:53:18 noop 17:53:19 Removing intermediate container e43cbc446d2b 17:53:19 ---> e0339b4750d9 17:53:19 Successfully built e0339b4750d9 17:53:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:20 + docker inspect -f . ci-base-image-arm64 17:53:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:20 prd-ubuntu20.04-docker-arm64-4c-16g-1896 does not seem to be running inside a container 17:53:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:53:21 $ docker top b613e0412790b54344551bf6e894358979bcc13fa0948397fe97eeb2318c8b72 -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:22 + go version 17:53:22 go version go1.18.7 linux/arm64 [Pipeline] } 17:53:22 $ docker stop --time=1 b613e0412790b54344551bf6e894358979bcc13fa0948397fe97eeb2318c8b72 17:53:24 $ docker rm -f --volumes b613e0412790b54344551bf6e894358979bcc13fa0948397fe97eeb2318c8b72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:24 + docker inspect -f . ci-base-image-arm64 17:53:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:25 prd-ubuntu20.04-docker-arm64-4c-16g-1896 does not seem to be running inside a container 17:53:25 $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:53:26 $ docker top fffa49f852db90f67bf318e8b0e97bc9cad18a66cb56fb7fd8640f405d314bc4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:27 + git config --global --add safe.directory /w/workspace/device-rest-go/3 [Pipeline] fileExists [Pipeline] sh 17:53:28 + make test 17:53:28 go test ./... -coverprofile=coverage.out ./... 17:53:30 ? github.com/edgexfoundry/device-rest-go [no test files] 17:55:07 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:55:07 ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements 17:55:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:55:07 go vet ./... 17:55:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:55:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:55:33 ./bin/test-attribution-txt.sh [Pipeline] echo 17:55:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:55:33 $ docker stop --time=1 fffa49f852db90f67bf318e8b0e97bc9cad18a66cb56fb7fd8640f405d314bc4 17:55:35 $ docker rm -f --volumes fffa49f852db90f67bf318e8b0e97bc9cad18a66cb56fb7fd8640f405d314bc4 [Pipeline] // withDockerContainer [Pipeline] sh 17:55:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:55:36 Warning: overwriting stash ‘coverage-report’ 17:55:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:55:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:55:38 + ls -al . 17:55:38 total 184 17:55:38 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 17:53 . 17:55:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:51 .. 17:55:38 -rw-rw-r-- 1 jenkins jenkins 151 Jan 11 17:51 .dockerignore 17:55:38 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 17:51 .git 17:55:38 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:51 .github 17:55:38 -rw-rw-r-- 1 jenkins jenkins 329 Jan 11 17:51 .gitignore 17:55:38 -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 17:51 .golangci.yml 17:55:38 -rw-rw-r-- 1 jenkins jenkins 8996 Jan 11 17:51 Attribution.txt 17:55:38 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 11 17:51 CHANGELOG.md 17:55:38 -rw-rw-r-- 1 jenkins jenkins 1578 Jan 11 17:51 Dockerfile 17:55:38 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 17:51 GOVERNANCE.md 17:55:38 -rw-rw-r-- 1 jenkins jenkins 680 Jan 11 17:51 Jenkinsfile 17:55:38 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 17:51 LICENSE 17:55:38 -rw-rw-r-- 1 jenkins jenkins 1744 Jan 11 17:51 Makefile 17:55:38 -rw-rw-r-- 1 jenkins jenkins 620 Jan 11 17:51 OWNERS.md 17:55:38 -rw-rw-r-- 1 jenkins jenkins 8667 Jan 11 17:51 README.md 17:55:38 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 17:48 VERSION 17:55:38 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 17:51 bin 17:55:38 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:51 cmd 17:55:38 -rw-r--r-- 1 jenkins jenkins 9355 Jan 11 17:55 coverage.out 17:55:38 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 17:51 driver 17:55:38 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 11 17:51 go.mod 17:55:38 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 11 17:51 go.sum 17:55:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:51 snap 17:55:38 -rw-rw-r-- 1 jenkins jenkins 713 Jan 11 17:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:38 + 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=589af0f2b8198823237d013cfc5dd59b5bb0a7dd --label arch=arm64 --label version=0.0.0 . 17:55:38 Sending build context to Docker daemon 138.8kB 17:55:38 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 17:55:38 Step 2/25 : FROM ${BASE} AS builder 17:55:38 ---> e0339b4750d9 17:55:38 Step 3/25 : ARG ADD_BUILD_TAGS="" 17:55:40 ---> Running in b399f311b34a 17:55:41 Removing intermediate container b399f311b34a 17:55:41 ---> 03339aaf8025 17:55:41 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:55:41 ---> Running in 66329ddca931 17:55:41 Removing intermediate container 66329ddca931 17:55:41 ---> ee1e5a46dfd7 17:55:41 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:55:41 ---> Running in a9a8d3f924b5 17:55:42 Removing intermediate container a9a8d3f924b5 17:55:42 ---> 1425821d80f8 17:55:42 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 17:55:42 ---> Running in d4ac8e718b3e 17:55:42 Removing intermediate container d4ac8e718b3e 17:55:42 ---> b3aefb015ec5 17:55:42 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:55:42 ---> Running in 6f68d09adcd3 17:55:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:55:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:55:46 OK: 226 MiB in 55 packages 17:55:47 Removing intermediate container 6f68d09adcd3 17:55:47 ---> a39baef7edef 17:55:47 Step 8/25 : WORKDIR /device-rest-go 17:55:47 ---> Running in 46f4c50f64f4 17:55:47 Removing intermediate container 46f4c50f64f4 17:55:47 ---> 61e9afba208a 17:55:47 Step 9/25 : COPY go.mod vendor* ./ 17:55:48 ---> b5e173d02007 17:55:48 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:55:48 ---> Running in 8efe2a32792c 17:55:51 Removing intermediate container 8efe2a32792c 17:55:51 ---> f0ea4f0c5019 17:55:51 Step 11/25 : COPY . . 17:55:52 ---> e0908d032a96 17:55:52 Step 12/25 : RUN $MAKE 17:55:52 ---> Running in 274b29d320f4 17:55:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 17:58:46 Removing intermediate container 274b29d320f4 17:58:46 ---> ada60b5a67db 17:58:46 Step 13/25 : FROM alpine:3.16 17:58:46 3.16: Pulling from library/alpine 17:58:46 6875df1f5354: Pulling fs layer 17:58:46 6875df1f5354: Verifying Checksum 17:58:46 6875df1f5354: Download complete 17:58:46 6875df1f5354: Pull complete 17:58:46 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:58:46 Status: Downloaded newer image for alpine:3.16 17:58:46 ---> 2b4661558fb8 17:58:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:58:46 ---> Running in 715402adf07e 17:58:46 Removing intermediate container 715402adf07e 17:58:46 ---> c512457bc27c 17:58:46 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 17:58:46 ---> Running in 1ee8f4da7405 17:58:46 Removing intermediate container 1ee8f4da7405 17:58:46 ---> 14fab3c4b359 17:58:46 Step 16/25 : RUN apk add --update --no-cache dumb-init 17:58:46 ---> Running in 0a04ad923469 17:58:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:58:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:58:46 (1/1) Installing dumb-init (1.2.5-r1) 17:58:46 Executing busybox-1.35.0-r17.trigger 17:58:46 OK: 5 MiB in 15 packages 17:58:46 Removing intermediate container 0a04ad923469 17:58:46 ---> 77a9a47ead37 17:58:46 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 17:58:46 ---> caaf6218cb76 17:58:46 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 17:58:46 ---> 59394bcbdbc1 17:58:46 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 17:58:46 ---> b29895b0a49d 17:58:46 Step 20/25 : EXPOSE 59986 17:58:46 ---> Running in df50f9272124 17:58:46 Removing intermediate container df50f9272124 17:58:46 ---> 441aa53084a7 17:58:46 Step 21/25 : ENTRYPOINT ["/device-rest"] 17:58:46 ---> Running in d14b8a6c909a 17:58:46 Removing intermediate container d14b8a6c909a 17:58:46 ---> acb1e9fcbe6c 17:58:46 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:58:46 ---> Running in aa04e2335089 17:58:46 Removing intermediate container aa04e2335089 17:58:46 ---> 8cb107710dce 17:58:46 Step 23/25 : LABEL arch=arm64 17:58:46 ---> Running in 9a11516d3838 17:58:46 Removing intermediate container 9a11516d3838 17:58:46 ---> 4790fbe7111c 17:58:46 Step 24/25 : LABEL git_sha=589af0f2b8198823237d013cfc5dd59b5bb0a7dd 17:58:46 ---> Running in 9271681a30a7 17:58:46 Removing intermediate container 9271681a30a7 17:58:46 ---> 701fce3c411c 17:58:46 Step 25/25 : LABEL version=0.0.0 17:58:46 ---> Running in 6cb76e5e4dcb 17:58:46 Removing intermediate container 6cb76e5e4dcb 17:58:46 ---> bc6db7291317 17:58:46 [Warning] One or more build-args [ARCH] were not consumed 17:58:46 Successfully built bc6db7291317 17:58:46 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 17:58:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:58:46 17:58:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:58:47 arm64: Pulling from edgex-lftools-log-publisher 17:58:47 8998bd30e6a1: Pulling fs layer 17:58:47 04944245beec: Pulling fs layer 17:58:47 699f458cf7ca: Pulling fs layer 17:58:47 765212b225bb: Pulling fs layer 17:58:47 f23df028b6ca: Pulling fs layer 17:58:47 d65c8cfc05b1: Pulling fs layer 17:58:47 2437ff75d9bd: Pulling fs layer 17:58:47 765212b225bb: Waiting 17:58:47 f23df028b6ca: Waiting 17:58:47 2437ff75d9bd: Waiting 17:58:47 04944245beec: Verifying Checksum 17:58:47 04944245beec: Download complete 17:58:47 765212b225bb: Verifying Checksum 17:58:47 765212b225bb: Download complete 17:58:47 f23df028b6ca: Download complete 17:58:47 d65c8cfc05b1: Verifying Checksum 17:58:47 d65c8cfc05b1: Download complete 17:58:47 699f458cf7ca: Download complete 17:58:48 8998bd30e6a1: Verifying Checksum 17:58:48 8998bd30e6a1: Download complete 17:58:50 2437ff75d9bd: Verifying Checksum 17:58:50 2437ff75d9bd: Download complete 17:58:52 8998bd30e6a1: Pull complete 17:58:52 04944245beec: Pull complete 17:58:54 699f458cf7ca: Pull complete 17:58:54 765212b225bb: Pull complete 17:58:55 f23df028b6ca: Pull complete 17:58:55 d65c8cfc05b1: Pull complete 17:59:10 2437ff75d9bd: Pull complete 17:59:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:59:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:59:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:59:10 prd-ubuntu20.04-docker-arm64-4c-16g-1896 does not seem to be running inside a container 17:59:10 $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:59:13 $ docker top 0039d9637924f996e31ff7cf951019059b59fb403a4b957d988bffc2278962bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:59:14 ---> job-cost.sh 17:59:14 lf-activate-venv: SKIPPING 17:59:14 INFO: No Stack... 17:59:14 INFO: Retrieving Pricing Info for: v3-standard-4 17:59:15 INFO: Archiving Costs [Pipeline] sh 17:59:16 + cat /w/workspace/device-rest-go/3/archives/cost.csv 17:59:16 + cut -d, -f6 [Pipeline] lock 17:59:16 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-236-3-stack-cost] 17:59:16 Resource [jenkins-edgexfoundry-device-rest-go-PR-236-3-stack-cost] did not exist. Created. 17:59:16 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-236-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:59:17 /w/workspace/device-rest-go/3@tmp/durable-8e52f9b2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:59:17 + echo total: 0.10999999940395355 [Pipeline] stash 17:59:17 Warning: overwriting stash ‘stack-cost’ 17:59:17 Stashed 1 file(s) [Pipeline] } 17:59:17 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-236-3-stack-cost] [Pipeline] // lock [Pipeline] } 17:59:17 $ docker stop --time=1 0039d9637924f996e31ff7cf951019059b59fb403a4b957d988bffc2278962bb 17:59:19 $ docker rm -f --volumes 0039d9637924f996e31ff7cf951019059b59fb403a4b957d988bffc2278962bb [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 17:59:19 provisioning config files... 17:59:19 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/config10158945436449984695tmp [Pipeline] { [Pipeline] sh 17:59:19 + set +x 17:59:19 + curl -s https://codecov.io/bash 17:59:19 + bash -s -- 17:59:19 17:59:19 _____ _ 17:59:19 / ____| | | 17:59:19 | | ___ __| | ___ ___ _____ __ 17:59:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:59:19 | |___| (_) | (_| | __/ (_| (_) \ V / 17:59:19 \_____\___/ \__,_|\___|\___\___/ \_/ 17:59:19 Bash-1.0.6 17:59:19 17:59:19 17:59:19 ==> git version 2.25.1 found 17:59:19 ==> 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 17:59:19 Release-Date: 2020-01-08 17:59:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:59:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:59:19 ==> Jenkins CI detected. 17:59:19 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-236 17:59:19 project root: . 17:59:19 --> token set from env 17:59:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:59:19 ==> Running gcov in . (disable via -X gcov) 17:59:19 ==> Python coveragepy not found 17:59:19 ==> Searching for coverage reports in: 17:59:19 + . 17:59:19 -> Found 1 reports 17:59:19 ==> Detecting git/mercurial file structure 17:59:19 ==> Reading reports 17:59:19 + ./coverage.out bytes=9355 17:59:19 ==> Appending adjustments 17:59:19 https://docs.codecov.io/docs/fixing-reports 17:59:20 + Found adjustments 17:59:20 ==> Gzipping contents 17:59:20 4.0K /tmp/codecov.jukchn.gz 17:59:20 ==> Uploading reports 17:59:20 url: https://codecov.io 17:59:20 query: branch=PR-236&commit=589af0f2b8198823237d013cfc5dd59b5bb0a7dd&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-236%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=236&job=&cmd_args= 17:59:20 -> Pinging Codecov 17:59:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-236&commit=589af0f2b8198823237d013cfc5dd59b5bb0a7dd&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-236%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=236&job=&cmd_args= 17:59:21 -> Uploading to 17:59:21 https://storage.googleapis.com/codecov/v4/raw/2023-01-11/4E5D53B4F1F92C436F7061BF334D961C/589af0f2b8198823237d013cfc5dd59b5bb0a7dd/631098cc-e1db-44dd-b518-8e21f425a6b5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T175920Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c1064ffd58e6ca4866ba88a07724eb124ee59a65829c327507abd59458e3aa42 17:59:21 % Total % Received % Xferd Average Speed Time Time Time Current 17:59:21 Dload Upload Total Spent Left Speed 17:59:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1743 0 0 100 1743 0 7143 --:--:-- --:--:-- --:--:-- 7143 17:59:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/589af0f2b8198823237d013cfc5dd59b5bb0a7dd [Pipeline] } 17:59:21 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 17:59:22 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-236/archives ] 17:59:22 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-236/archives 17:59:22 total 16 17:59:22 drwxr-xr-x 3 root root 4096 Jan 11 17:50 . 17:59:22 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 17:50 .. 17:59:22 drwxr-xr-x 2 root root 4096 Jan 11 17:50 cost 17:59:22 -rw-r--r-- 1 root root 86 Jan 11 17:50 cost.csv 17:59:22 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-236/archives 17:59:22 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-236/archives 17:59:22 total 16 17:59:22 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 17:50 . 17:59:22 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 17:50 .. 17:59:22 drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 17:50 cost 17:59:22 -rw-r--r-- 1 jenkins jenkins 86 Jan 11 17:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:59:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:59:23 ---> package-listing.sh 17:59:23 ++ facter osfamily 17:59:23 ++ tr '[:upper:]' '[:lower:]' 17:59:23 + OS_FAMILY=debian 17:59:23 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-236 17:59:23 + START_PACKAGES=/tmp/packages_start.txt 17:59:23 + END_PACKAGES=/tmp/packages_end.txt 17:59:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:59:23 + PACKAGES=/tmp/packages_start.txt 17:59:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-236 ']' 17:59:23 + PACKAGES=/tmp/packages_end.txt 17:59:23 + case "${OS_FAMILY}" in 17:59:23 + dpkg -l 17:59:23 + grep '^ii' 17:59:23 + '[' -f /tmp/packages_start.txt ']' 17:59:23 + '[' -f /tmp/packages_end.txt ']' 17:59:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:59:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-236 ']' 17:59:23 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-236/archives/ 17:59:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-236/archives/ [Pipeline] echo 17:59:23 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-236/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:59:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:59:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:59:24 prd-ubuntu20.04-docker-8c-8g-1889 does not seem to be running inside a container 17:59:24 $ 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-236/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-236 -v /w/workspace/gexfoundry_device-rest-go_PR-236:/w/workspace/gexfoundry_device-rest-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-236@tmp:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:59:24 $ docker top 89737fd62e22d846d4ef0f9c01b20332a2aa4c2d9bd98c2114da9031cbe1a7ac -eo pid,comm [Pipeline] { [Pipeline] sh 17:59:25 + touch /tmp/pre-build-complete [Pipeline] sh 17:59:25 + mkdir -p /var/log/sysstat [Pipeline] sh 17:59:25 + ls /var/log/sa-host 17:59:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:59:25 provisioning config files... 17:59:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/config8448962622001135649tmp [Pipeline] { [Pipeline] echo 17:59:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:59:26 ---> create-netrc.sh [Pipeline] } 17:59:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:59:26 ---> python-tools-install.sh [Pipeline] echo 17:59:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:59:26 ---> sudo-logs.sh 17:59:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:59:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:59:26 ---> job-cost.sh 17:59:26 lf-activate-venv: SKIPPING 17:59:26 DEBUG: total: 0.2199999988079071 17:59:26 INFO: Retrieving Stack Cost... 17:59:27 INFO: Retrieving Pricing Info for: v3-standard-8 17:59:27 INFO: Archiving Costs [Pipeline] echo 17:59:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:59:28 ---> logs-deploy.sh 17:59:28 lf-activate-venv: SKIPPING 17:59:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-236/3 17:59:28 INFO: archiving workspace using pattern(s): 17:59:29 Archives upload complete. 17:59:29 INFO: archiving logs to Nexus