Pull request #229 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 sudhamani-hcl for edgexfoundry/device-rest-go Obtained Jenkinsfile from ece7ffade000858fee4541ef3a3e1d788d5f8f01+7d8e6f5ecbf08d53345d5c199887d0d319da1d2d (d55d2958c14fb7525d25537c0e28957636a9ea55) 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-ssh3368418954508167536.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-ssh4694417795398273177.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-229/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-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15287126452439839213.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-ssh8101306523578746126.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-229/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-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11009580022818629560.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-4132 in /w/workspace/gexfoundry_device-rest-go_PR-229 [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-229 # 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/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d into PR head commit ece7ffade000858fee4541ef3a3e1d788d5f8f01 Merge succeeded, producing 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c Checking out Revision 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c (PR-229) > git config core.sparsecheckout # timeout=10 > git checkout -f ece7ffade000858fee4541ef3a3e1d788d5f8f01 # 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 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c # timeout=10 Commit message: "Merge commit '7d8e6f5ecbf08d53345d5c199887d0d319da1d2d' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 9ee4829bfbebd90a491c140a2f85133524a62f18 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:55:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:55:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:55:53 ========================================================= 13:55:53 EdgeX Global Pipelines Version Info 13:55:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:55:53 ------------------- 13:55:53 stable info: 13:55:53 ------------------- 13:55:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:55:53 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 13:55:53 Message: update stable to v1.0.244 13:55:54 ------------------- 13:55:54 experimental info: 13:55:54 ------------------- 13:55:54 Commited By: **** collab-it+edgex@linuxfoundation.org 13:55:54 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 13:55:54 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44461bb [Pipeline] echo 13:55:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:55:54 provisioning config files... 13:55:54 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config3217635469603750810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:55:55 ---> docker-login.sh 13:55:55 nexus3.edgexfoundry.org:10001 13:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:55:55 Configure a credential helper to remove this warning. See 13:55:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:55:55 13:55:55 Login Succeeded 13:55:55 nexus3.edgexfoundry.org:10002 13:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:55:55 Configure a credential helper to remove this warning. See 13:55:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:55:55 13:55:55 Login Succeeded 13:55:55 nexus3.edgexfoundry.org:10003 13:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:55:55 Configure a credential helper to remove this warning. See 13:55:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:55:55 13:55:55 Login Succeeded 13:55:55 nexus3.edgexfoundry.org:10004 13:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:55:55 Configure a credential helper to remove this warning. See 13:55:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:55:55 13:55:55 Login Succeeded 13:55:56 docker.io 13:55:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:55:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:55:56 Configure a credential helper to remove this warning. See 13:55:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:55:56 13:55:56 Login Succeeded 13:55:56 ---> docker-login.sh ends [Pipeline] } 13:55:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:55:56 + git rev-list -1 --merges 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c~1..44461bbb6a37b6b2b38bcde41d803a92ddc3be0c [Pipeline] echo 13:55:56 -----------> git rev-list -1 --merges 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c~1..44461bbb6a37b6b2b38bcde41d803a92ddc3be0c 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c 13:55:56 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c [false] [Pipeline] sh 13:55:57 + git log --format=format:%s -1 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c [Pipeline] echo 13:55:57 ========================================================= 13:55:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:55:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:55:57 + git log --format=format:%s -1 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c [Pipeline] echo 13:55:57 [semverPrep] GIT_COMMIT: 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c, Commit Message: Merge commit '7d8e6f5ecbf08d53345d5c199887d0d319da1d2d' into HEAD [Pipeline] echo 13:55:57 [semverPrep] This is not a build commit. [Pipeline] sh 13:55:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:55:57 + grep -v github /etc/ssh/ssh_known_hosts 13:55:57 + [ -e /tmp/ssh_known_hosts ] 13:55:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:55:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:55:57 + sudo tee -a /etc/ssh/ssh_known_hosts 13:55:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:55:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:55:58 13:55:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:55:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:55:58 0.1.4: Pulling from edgex-devops/py-git-semver 13:55:58 b85a868b505f: Pulling fs layer 13:55:58 e2be974225ed: Pulling fs layer 13:55:58 339a4e72a1f5: Pulling fs layer 13:55:58 988bab9f4d93: Pulling fs layer 13:55:58 1469e6f7b9e6: Pulling fs layer 13:55:58 eaf3925da568: Pulling fs layer 13:55:58 bab4dde63d76: Pulling fs layer 13:55:58 bde34c3a00c8: Pulling fs layer 13:55:58 b352a97aabf1: Pulling fs layer 13:55:58 4872d77fe225: Pulling fs layer 13:55:58 5851b861e8e6: Pulling fs layer 13:55:58 988bab9f4d93: Waiting 13:55:58 bab4dde63d76: Waiting 13:55:58 b352a97aabf1: Waiting 13:55:58 5851b861e8e6: Waiting 13:55:58 4872d77fe225: Waiting 13:55:58 1469e6f7b9e6: Waiting 13:55:58 bde34c3a00c8: Waiting 13:55:58 eaf3925da568: Waiting 13:55:58 e2be974225ed: Verifying Checksum 13:55:58 e2be974225ed: Download complete 13:55:58 988bab9f4d93: Verifying Checksum 13:55:58 988bab9f4d93: Download complete 13:55:59 339a4e72a1f5: Verifying Checksum 13:55:59 339a4e72a1f5: Download complete 13:55:59 1469e6f7b9e6: Verifying Checksum 13:55:59 1469e6f7b9e6: Download complete 13:55:59 eaf3925da568: Verifying Checksum 13:55:59 eaf3925da568: Download complete 13:55:59 bde34c3a00c8: Verifying Checksum 13:55:59 bde34c3a00c8: Download complete 13:55:59 b352a97aabf1: Download complete 13:55:59 4872d77fe225: Verifying Checksum 13:55:59 4872d77fe225: Download complete 13:55:59 5851b861e8e6: Verifying Checksum 13:55:59 5851b861e8e6: Download complete 13:55:59 b85a868b505f: Verifying Checksum 13:55:59 b85a868b505f: Download complete 13:55:59 bab4dde63d76: Verifying Checksum 13:55:59 bab4dde63d76: Download complete 13:56:00 b85a868b505f: Pull complete 13:56:00 e2be974225ed: Pull complete 13:56:00 339a4e72a1f5: Pull complete 13:56:01 988bab9f4d93: Pull complete 13:56:01 1469e6f7b9e6: Pull complete 13:56:01 eaf3925da568: Pull complete 13:56:03 bab4dde63d76: Pull complete 13:56:03 bde34c3a00c8: Pull complete 13:56:03 b352a97aabf1: Pull complete 13:56:03 4872d77fe225: Pull complete 13:56:03 5851b861e8e6: Pull complete 13:56:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:56:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:56:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:56:03 prd-ubuntu20.04-docker-8c-8g-4132 does not seem to be running inside a container 13:56:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 13:56:05 $ docker top 544723404b9ca86240f1dd4490cfbc19c3ca15c195fbdaf8bd552386f1700e96 -eo pid,comm 13:56:05 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). 13:56:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:56:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:56:05 [ssh-agent] Looking for ssh-agent implementation... 13:56:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:56:05 $ docker exec 544723404b9ca86240f1dd4490cfbc19c3ca15c195fbdaf8bd552386f1700e96 ssh-agent 13:56:05 SSH_AUTH_SOCK=/tmp/ssh-d3feTQmF9PEW/agent.32 13:56:05 SSH_AGENT_PID=38 13:56:05 Running ssh-add (command line suppressed) 13:56:06 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_6398652864147376871.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_6398652864147376871.key) 13:56:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:56:06 + git tag --points-at HEAD [Pipeline] } 13:56:06 $ docker exec --env ******** --env ******** 544723404b9ca86240f1dd4490cfbc19c3ca15c195fbdaf8bd552386f1700e96 ssh-agent -k 13:56:06 unset SSH_AUTH_SOCK; 13:56:06 unset SSH_AGENT_PID; 13:56:06 echo Agent pid 38 killed; 13:56:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:56:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:56:06 [ssh-agent] Looking for ssh-agent implementation... 13:56:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:56:06 $ docker exec 544723404b9ca86240f1dd4490cfbc19c3ca15c195fbdaf8bd552386f1700e96 ssh-agent 13:56:06 SSH_AUTH_SOCK=/tmp/ssh-kX19dryMa2P6/agent.70 13:56:06 SSH_AGENT_PID=76 13:56:06 Running ssh-add (command line suppressed) 13:56:06 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_7167950790032740979.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_7167950790032740979.key) 13:56:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:56:07 + git semver init 13:56:07 2023-01-31 13:56:07,328 [run_init] DEBUG init version:0.0.0 force:False 13:56:07 2023-01-31 13:56:07,329 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver 13:56:07 2023-01-31 13:56:07,330 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-229/.semver 13:56:07 2023-01-31 13:56:07,330 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-229/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229, universal_newlines=False, shell=None, istream=None) 13:56:08 2023-01-31 13:56:08,388 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.git/info/exclude 13:56:08 2023-01-31 13:56:08,388 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 with force:False 13:56:08 2023-01-31 13:56:08,388 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 13:56:08 2023-01-31 13:56:08,392 [execute] INFO git cat-file --batch-check 13:56:08 2023-01-31 13:56:08,393 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) 13:56:08 2023-01-31 13:56:08,399 [execute] INFO git cat-file --batch 13:56:08 2023-01-31 13:56:08,399 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) 13:56:08 2023-01-31 13:56:08,404 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 13:56:08 0.0.0 [Pipeline] } 13:56:08 $ docker exec --env ******** --env ******** 544723404b9ca86240f1dd4490cfbc19c3ca15c195fbdaf8bd552386f1700e96 ssh-agent -k 13:56:08 unset SSH_AUTH_SOCK; 13:56:08 unset SSH_AGENT_PID; 13:56:08 echo Agent pid 76 killed; 13:56:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:56:09 + git semver [Pipeline] } 13:56:09 $ docker stop --time=1 544723404b9ca86240f1dd4490cfbc19c3ca15c195fbdaf8bd552386f1700e96 13:56:10 $ docker rm -f --volumes 544723404b9ca86240f1dd4490cfbc19c3ca15c195fbdaf8bd552386f1700e96 [Pipeline] // withDockerContainer [Pipeline] sh 13:56:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:56:11 Stashed 1 file(s) [Pipeline] echo 13:56:11 [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 13:56:11 provisioning config files... 13:56:11 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config11449668930107335751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:56:11 ---> docker-login.sh 13:56:11 nexus3.edgexfoundry.org:10001 13:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:11 Configure a credential helper to remove this warning. See 13:56:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:11 13:56:11 Login Succeeded 13:56:11 nexus3.edgexfoundry.org:10002 13:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:11 Configure a credential helper to remove this warning. See 13:56:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:11 13:56:11 Login Succeeded 13:56:12 nexus3.edgexfoundry.org:10003 13:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:12 Configure a credential helper to remove this warning. See 13:56:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:12 13:56:12 Login Succeeded 13:56:12 nexus3.edgexfoundry.org:10004 13:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:12 Configure a credential helper to remove this warning. See 13:56:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:12 13:56:12 Login Succeeded 13:56:12 docker.io 13:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:12 Configure a credential helper to remove this warning. See 13:56:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:12 13:56:12 Login Succeeded 13:56:12 ---> docker-login.sh ends [Pipeline] } 13:56:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:56:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:56:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:56:12 ========================================================= 13:56:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 13:56:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:13 + 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 . 13:56:13 Sending build context to Docker daemon 10.81MB 13:56:13 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 13:56:13 Step 2/12 : FROM ${BASE} AS builder 13:56:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 13:56:13 213ec9aee27d: Pulling fs layer 13:56:13 4583459ba037: Pulling fs layer 13:56:13 93c1e223e6f2: Pulling fs layer 13:56:13 53926ce57604: Pulling fs layer 13:56:13 21b2b0c7a3f4: Pulling fs layer 13:56:13 22ff95d597cd: Pulling fs layer 13:56:13 12d6caf4c0d1: Pulling fs layer 13:56:13 96b7cbca73a9: Pulling fs layer 13:56:13 a7acece74701: Pulling fs layer 13:56:13 53926ce57604: Waiting 13:56:13 21b2b0c7a3f4: Waiting 13:56:13 12d6caf4c0d1: Waiting 13:56:13 22ff95d597cd: Waiting 13:56:13 96b7cbca73a9: Waiting 13:56:13 a7acece74701: Waiting 13:56:13 93c1e223e6f2: Verifying Checksum 13:56:13 93c1e223e6f2: Download complete 13:56:13 4583459ba037: Verifying Checksum 13:56:13 4583459ba037: Download complete 13:56:13 21b2b0c7a3f4: Verifying Checksum 13:56:13 21b2b0c7a3f4: Download complete 13:56:13 22ff95d597cd: Download complete 13:56:13 213ec9aee27d: Verifying Checksum 13:56:13 213ec9aee27d: Download complete 13:56:13 12d6caf4c0d1: Download complete 13:56:13 213ec9aee27d: Pull complete 13:56:13 4583459ba037: Pull complete 13:56:13 93c1e223e6f2: Pull complete 13:56:15 a7acece74701: Verifying Checksum 13:56:15 a7acece74701: Download complete 13:56:15 53926ce57604: Verifying Checksum 13:56:15 53926ce57604: Download complete 13:56:15 96b7cbca73a9: Verifying Checksum 13:56:15 96b7cbca73a9: Download complete 13:56:19 53926ce57604: Pull complete 13:56:19 21b2b0c7a3f4: Pull complete 13:56:19 22ff95d597cd: Pull complete 13:56:19 12d6caf4c0d1: Pull complete 13:56:21 96b7cbca73a9: Pull complete 13:56:21 a7acece74701: Pull complete 13:56:21 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 13:56:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:56:21 ---> db6d94c90886 13:56:21 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:56:25 ---> Running in 8c13097ea41e 13:56:25 Removing intermediate container 8c13097ea41e 13:56:25 ---> 750fad81d235 13:56:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:56:25 ---> Running in afdbb7f9b3fe 13:56:25 Removing intermediate container afdbb7f9b3fe 13:56:25 ---> 9b676bd5895b 13:56:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:56:25 ---> Running in 2bd88b9c1de7 13:56:25 Removing intermediate container 2bd88b9c1de7 13:56:25 ---> 8a3f8d79ae24 13:56:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:56:25 ---> Running in 7eccc8352919 13:56:25 Removing intermediate container 7eccc8352919 13:56:25 ---> cac48c1dcd45 13:56:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:56:25 ---> Running in bf550c9acca2 13:56:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:56:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:56:26 (1/4) Installing openssh-keygen (9.0_p1-r2) 13:56:26 (2/4) Installing libedit (20210910.3.1-r0) 13:56:26 (3/4) Installing openssh-client-common (9.0_p1-r2) 13:56:26 (4/4) Installing openssh-client-default (9.0_p1-r2) 13:56:26 Executing busybox-1.35.0-r17.trigger 13:56:26 OK: 216 MiB in 55 packages 13:56:26 Still waiting to schedule task 13:56:26 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4123’ 13:56:26 Removing intermediate container bf550c9acca2 13:56:26 ---> 8ac902e6d2e6 13:56:26 Step 8/12 : WORKDIR /device-rest-go 13:56:26 ---> Running in ae4f5b04f580 13:56:26 Removing intermediate container ae4f5b04f580 13:56:26 ---> c1e2390e66bf 13:56:26 Step 9/12 : COPY go.mod vendor* ./ 13:56:27 ---> 9fec0c90f750 13:56:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:56:27 ---> Running in e38f855d2e0b 13:56:53 Removing intermediate container e38f855d2e0b 13:56:53 ---> 89b5c80fb0d2 13:56:53 Step 11/12 : COPY . . 13:56:53 ---> 7fe4ce37e103 13:56:53 Step 12/12 : RUN $MAKE 13:56:53 ---> Running in 95f351e68d91 13:56:53 noop 13:56:53 Removing intermediate container 95f351e68d91 13:56:53 ---> 9adea2b39a26 13:56:53 Successfully built 9adea2b39a26 13:56:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:54 + docker inspect -f . ci-base-image-x86_64 13:56:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:56:54 prd-ubuntu20.04-docker-8c-8g-4132 does not seem to be running inside a container 13:56:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 13:56:54 $ docker top 491a4ba259255909419852b6856cbd06099afa1f940c23af65c3445cea02d35a -eo pid,comm [Pipeline] { [Pipeline] sh 13:56:54 + go version 13:56:54 go version go1.18.7 linux/amd64 [Pipeline] } 13:56:54 $ docker stop --time=1 491a4ba259255909419852b6856cbd06099afa1f940c23af65c3445cea02d35a 13:56:56 $ docker rm -f --volumes 491a4ba259255909419852b6856cbd06099afa1f940c23af65c3445cea02d35a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:56 + docker inspect -f . ci-base-image-x86_64 13:56:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:56:56 prd-ubuntu20.04-docker-8c-8g-4132 does not seem to be running inside a container 13:56:56 $ 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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 13:56:56 $ docker top c7a68cc19ab6227193c8fa3d91a59a4401222aa5d0afdfad7777561bf317b897 -eo pid,comm [Pipeline] { [Pipeline] sh 13:56:57 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] fileExists [Pipeline] sh 13:56:57 + make test 13:56:57 go test ./... -coverprofile=coverage.out ./... 13:56:57 ? github.com/edgexfoundry/device-rest-go [no test files] 13:57:05 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 13:57:06 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.9% of statements 13:57:12 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." 13:57:12 go vet ./... 13:57:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:57:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:57:15 ./bin/test-attribution-txt.sh [Pipeline] echo 13:57:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:57:16 $ docker stop --time=1 c7a68cc19ab6227193c8fa3d91a59a4401222aa5d0afdfad7777561bf317b897 13:57:18 $ docker rm -f --volumes c7a68cc19ab6227193c8fa3d91a59a4401222aa5d0afdfad7777561bf317b897 [Pipeline] // withDockerContainer [Pipeline] sh 13:57:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:57:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:57:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:57:19 + ls -al . 13:57:19 total 196 13:57:19 drwxrwxr-x 9 jenkins jenkins 4096 Jan 31 13:56 . 13:57:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 13:55 .. 13:57:19 -rw-rw-r-- 1 jenkins jenkins 151 Jan 31 13:55 .dockerignore 13:57:19 drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 13:57 .git 13:57:19 drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 13:55 .github 13:57:19 -rw-rw-r-- 1 jenkins jenkins 329 Jan 31 13:55 .gitignore 13:57:19 -rw-rw-r-- 1 jenkins jenkins 41 Jan 31 13:55 .golangci.yml 13:57:19 drwxr-xr-x 3 jenkins jenkins 4096 Jan 31 13:56 .semver 13:57:19 -rw-rw-r-- 1 jenkins jenkins 8996 Jan 31 13:55 Attribution.txt 13:57:19 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 31 13:55 CHANGELOG.md 13:57:19 -rw-rw-r-- 1 jenkins jenkins 1578 Jan 31 13:55 Dockerfile 13:57:19 -rw-rw-r-- 1 jenkins jenkins 677 Jan 31 13:55 GOVERNANCE.md 13:57:19 -rw-rw-r-- 1 jenkins jenkins 680 Jan 31 13:55 Jenkinsfile 13:57:19 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 31 13:55 LICENSE 13:57:19 -rw-rw-r-- 1 jenkins jenkins 1744 Jan 31 13:55 Makefile 13:57:19 -rw-rw-r-- 1 jenkins jenkins 620 Jan 31 13:55 OWNERS.md 13:57:19 -rw-rw-r-- 1 jenkins jenkins 15447 Jan 31 13:55 README.md 13:57:19 -rw-rw-r-- 1 jenkins jenkins 5 Jan 31 13:56 VERSION 13:57:19 drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 13:55 bin 13:57:19 drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 13:55 cmd 13:57:19 -rw-r--r-- 1 jenkins jenkins 13744 Jan 31 13:57 coverage.out 13:57:19 drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 13:55 driver 13:57:19 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 31 13:55 go.mod 13:57:19 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 31 13:55 go.sum 13:57:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 13:55 snap 13:57:19 -rw-rw-r-- 1 jenkins jenkins 713 Jan 31 13:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:57:19 + 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=44461bbb6a37b6b2b38bcde41d803a92ddc3be0c --label arch=amd64 --label version=0.0.0 . 13:57:19 Sending build context to Docker daemon 10.83MB 13:57:19 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 13:57:19 Step 2/25 : FROM ${BASE} AS builder 13:57:19 ---> 9adea2b39a26 13:57:19 Step 3/25 : ARG ADD_BUILD_TAGS="" 13:57:19 ---> Running in 4384c7a8d634 13:57:19 Removing intermediate container 4384c7a8d634 13:57:19 ---> 932178501e38 13:57:19 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:57:19 ---> Running in c747b500c2db 13:57:19 Removing intermediate container c747b500c2db 13:57:19 ---> d6ffe48a8a5f 13:57:19 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:57:19 ---> Running in 88c9ec260674 13:57:20 Removing intermediate container 88c9ec260674 13:57:20 ---> 0058e3acdf86 13:57:20 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 13:57:20 ---> Running in 82beb3984d57 13:57:20 Removing intermediate container 82beb3984d57 13:57:20 ---> 4c229092f161 13:57:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:57:20 ---> Running in f6dfc2f1faa6 13:57:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:57:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:57:20 OK: 216 MiB in 55 packages 13:57:21 Removing intermediate container f6dfc2f1faa6 13:57:21 ---> a56de8825c1a 13:57:21 Step 8/25 : WORKDIR /device-rest-go 13:57:21 ---> Running in b24cbb041862 13:57:21 Removing intermediate container b24cbb041862 13:57:21 ---> 1b1e5930deb3 13:57:21 Step 9/25 : COPY go.mod vendor* ./ 13:57:21 ---> c0a2ebf7780e 13:57:21 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:57:21 ---> Running in f8f6c7adf471 13:57:21 Removing intermediate container f8f6c7adf471 13:57:21 ---> 1405fd42d8f9 13:57:21 Step 11/25 : COPY . . 13:57:22 ---> 10585c2854a3 13:57:22 Step 12/25 : RUN $MAKE 13:57:22 ---> Running in 2f3faba6a9ac 13:57:22 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 13:57:44 Removing intermediate container 2f3faba6a9ac 13:57:44 ---> cd01c19e7cec 13:57:44 Step 13/25 : FROM alpine:3.16 13:57:44 3.16: Pulling from library/alpine 13:57:44 ca7dd9ec2225: Pulling fs layer 13:57:44 ca7dd9ec2225: Verifying Checksum 13:57:44 ca7dd9ec2225: Download complete 13:57:44 ca7dd9ec2225: Pull complete 13:57:44 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 13:57:44 Status: Downloaded newer image for alpine:3.16 13:57:44 ---> bfe296a52501 13:57:44 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:57:44 ---> Running in 78e0001b8290 13:57:44 Removing intermediate container 78e0001b8290 13:57:44 ---> 64f57327e060 13:57:44 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 13:57:44 ---> Running in 6ede5cf7b10d 13:57:44 Removing intermediate container 6ede5cf7b10d 13:57:44 ---> 9ce085d1c595 13:57:44 Step 16/25 : RUN apk add --update --no-cache dumb-init 13:57:44 ---> Running in 88bd6faf4c67 13:57:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:57:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:57:44 (1/1) Installing dumb-init (1.2.5-r1) 13:57:44 Executing busybox-1.35.0-r17.trigger 13:57:44 OK: 6 MiB in 15 packages 13:57:44 Removing intermediate container 88bd6faf4c67 13:57:44 ---> d7dce94bf5b6 13:57:44 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 13:57:44 ---> d5a9282c1b01 13:57:44 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 13:57:44 ---> 320d6f26b8bb 13:57:44 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 13:57:44 ---> 06a98c4c62f5 13:57:44 Step 20/25 : EXPOSE 59986 13:57:44 ---> Running in 9db35afcc0df 13:57:44 Removing intermediate container 9db35afcc0df 13:57:44 ---> 2a8bd60961c8 13:57:44 Step 21/25 : ENTRYPOINT ["/device-rest"] 13:57:44 ---> Running in ed5e1034cb6d 13:57:44 Removing intermediate container ed5e1034cb6d 13:57:44 ---> 27d35b366833 13:57:44 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 13:57:44 ---> Running in fb93f06a8c26 13:57:44 Removing intermediate container fb93f06a8c26 13:57:44 ---> 78721fa7dda1 13:57:44 Step 23/25 : LABEL arch=amd64 13:57:44 ---> Running in 3d630d4dc96c 13:57:44 Removing intermediate container 3d630d4dc96c 13:57:44 ---> bf3341d2cf07 13:57:44 Step 24/25 : LABEL git_sha=44461bbb6a37b6b2b38bcde41d803a92ddc3be0c 13:57:44 ---> Running in 9dccfd1b6b59 13:57:44 Removing intermediate container 9dccfd1b6b59 13:57:44 ---> a17d7a0ad770 13:57:44 Step 25/25 : LABEL version=0.0.0 13:57:44 ---> Running in b70c29170b0e 13:57:44 Removing intermediate container b70c29170b0e 13:57:44 ---> 2ec622806821 13:57:44 [Warning] One or more build-args [ARCH] were not consumed 13:57:45 Successfully built 2ec622806821 13:57:45 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 13:57:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:57:45 13:57:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:57:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:57:45 latest: Pulling from edgex-lftools-log-publisher 13:57:45 5eb5b503b376: Pulling fs layer 13:57:45 5c69ac0246d0: Pulling fs layer 13:57:45 ec43610c2a17: Pulling fs layer 13:57:45 3a2ae6a8a46f: Pulling fs layer 13:57:45 33b1e0a273af: Pulling fs layer 13:57:45 5d3b04190fa2: Pulling fs layer 13:57:45 2f39f015ded8: Pulling fs layer 13:57:45 3a2ae6a8a46f: Waiting 13:57:45 33b1e0a273af: Waiting 13:57:45 5d3b04190fa2: Waiting 13:57:45 2f39f015ded8: Waiting 13:57:45 5c69ac0246d0: Download complete 13:57:45 3a2ae6a8a46f: Verifying Checksum 13:57:45 3a2ae6a8a46f: Download complete 13:57:46 33b1e0a273af: Verifying Checksum 13:57:46 33b1e0a273af: Download complete 13:57:46 5d3b04190fa2: Verifying Checksum 13:57:46 5d3b04190fa2: Download complete 13:57:46 ec43610c2a17: Verifying Checksum 13:57:46 ec43610c2a17: Download complete 13:57:46 5eb5b503b376: Verifying Checksum 13:57:47 2f39f015ded8: Download complete 13:57:47 5eb5b503b376: Pull complete 13:57:47 5c69ac0246d0: Pull complete 13:57:48 ec43610c2a17: Pull complete 13:57:48 3a2ae6a8a46f: Pull complete 13:57:48 33b1e0a273af: Pull complete 13:57:48 5d3b04190fa2: Pull complete 13:57:52 2f39f015ded8: Pull complete 13:57:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:57:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:57:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:57:52 prd-ubuntu20.04-docker-8c-8g-4132 does not seem to be running inside a container 13:57:52 $ 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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 13:57:54 $ docker top d991d23b0bc7a7f4390cc39b19dcd4c82616d0c0a187371d0f4b7f35f74d8868 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:57:55 ---> job-cost.sh 13:57:55 lf-activate-venv: SKIPPING 13:57:55 INFO: No Stack... 13:57:55 INFO: Retrieving Pricing Info for: v3-standard-8 13:57:55 INFO: Archiving Costs [Pipeline] sh 13:57:56 + cat /w/workspace/gexfoundry_device-rest-go_PR-229/archives/cost.csv 13:57:56 + cut -d, -f6 [Pipeline] lock 13:57:56 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-16-stack-cost] 13:57:56 Resource [jenkins-edgexfoundry-device-rest-go-PR-229-16-stack-cost] did not exist. Created. 13:57:56 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:57:56 + echo total: 0.2199999988079071 [Pipeline] stash 13:57:56 Stashed 1 file(s) [Pipeline] } 13:57:56 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-16-stack-cost] [Pipeline] // lock [Pipeline] } 13:57:56 $ docker stop --time=1 d991d23b0bc7a7f4390cc39b19dcd4c82616d0c0a187371d0f4b7f35f74d8868 13:57:57 $ docker rm -f --volumes d991d23b0bc7a7f4390cc39b19dcd4c82616d0c0a187371d0f4b7f35f74d8868 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:59:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4133 in /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] { [Pipeline] ws 13:59:52 Running in /w/workspace/device-rest-go/16 [Pipeline] { [Pipeline] checkout 13:59:52 The recommended git tool is: git 13:59:58 using credential edgex-jenkins-ssh 13:59:58 Cloning the remote Git repository 13:59:58 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 13:59:58 > git init /w/workspace/device-rest-go/16 # timeout=10 13:59:58 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 13:59:58 > git --version # timeout=10 13:59:58 > git --version # 'git version 2.25.1' 13:59:58 using GIT_SSH to set credentials SSH Credentials for GitHub 13:59:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:00:00 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:00:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:00:01 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:00:01 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:00:01 using GIT_SSH to set credentials SSH Credentials for GitHub 14:00:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:00:02 Merging remotes/origin/main commit 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d into PR head commit ece7ffade000858fee4541ef3a3e1d788d5f8f01 14:00:02 Merge succeeded, producing b3061b699f3c9b8a45a238e5d152677544cbe720 14:00:02 Checking out Revision b3061b699f3c9b8a45a238e5d152677544cbe720 (PR-229) 14:00:02 > git config core.sparsecheckout # timeout=10 14:00:02 > git checkout -f ece7ffade000858fee4541ef3a3e1d788d5f8f01 # timeout=10 14:00:02 > git remote # timeout=10 14:00:02 > git config --get remote.origin.url # timeout=10 14:00:02 using GIT_SSH to set credentials SSH Credentials for GitHub 14:00:02 > git merge 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 14:00:02 > git rev-parse HEAD^{commit} # timeout=10 14:00:02 > git config core.sparsecheckout # timeout=10 14:00:02 > git checkout -f b3061b699f3c9b8a45a238e5d152677544cbe720 # timeout=10 14:00:05 Commit message: "Merge commit '7d8e6f5ecbf08d53345d5c199887d0d319da1d2d' into HEAD" 14:00:06 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:00:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:00:07 % Total % Received % Xferd Average Speed Time Time Time Current 14:00:07 Dload Upload Total Spent Left Speed 14:00:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75898 0 --:--:-- --:--:-- --:--:-- 76353 [Pipeline] sh 14:00:05 > git rev-list --no-walk 9ee4829bfbebd90a491c140a2f85133524a62f18 # timeout=10 14:00:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:00:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:00:08 + sudo tee /etc/docker/daemon.new 14:00:08 { 14:00:08 "registry-mirrors": [ 14:00:08 "https://nexus3.edgexfoundry.org:10001" 14:00:08 ], 14:00:08 "bip": "10.250.0.254/24", 14:00:08 "hosts": [ 14:00:08 "tcp://0.0.0.0:5555", 14:00:08 "unix:///var/run/docker.sock" 14:00:08 ], 14:00:08 "mtu": 1458, 14:00:08 "selinux-enabled": true, 14:00:08 "seccomp-profile": "/etc/docker/seccomp.json" 14:00:08 } [Pipeline] sh 14:00:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:00:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:00:27 provisioning config files... 14:00:27 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/16@tmp/config2747300415627776664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:00:27 ---> docker-login.sh 14:00:27 nexus3.edgexfoundry.org:10001 14:00:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:28 Configure a credential helper to remove this warning. See 14:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:28 14:00:28 Login Succeeded 14:00:28 nexus3.edgexfoundry.org:10002 14:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:28 Configure a credential helper to remove this warning. See 14:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:28 14:00:28 Login Succeeded 14:00:28 nexus3.edgexfoundry.org:10003 14:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:28 Configure a credential helper to remove this warning. See 14:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:28 14:00:28 Login Succeeded 14:00:28 nexus3.edgexfoundry.org:10004 14:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:29 Configure a credential helper to remove this warning. See 14:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:29 14:00:29 Login Succeeded 14:00:29 docker.io 14:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:29 Configure a credential helper to remove this warning. See 14:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:29 14:00:29 Login Succeeded 14:00:29 ---> docker-login.sh ends [Pipeline] } 14:00:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:00:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:00:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:00:30 ========================================================= 14:00:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 14:00:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:00:30 + 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 . 14:00:30 Sending build context to Docker daemon 142.8kB 14:00:30 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 14:00:30 Step 2/12 : FROM ${BASE} AS builder 14:00:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:00:30 9b18e9b68314: Pulling fs layer 14:00:30 35d82f9e3411: Pulling fs layer 14:00:30 e16973657156: Pulling fs layer 14:00:30 fc693d55d65f: Pulling fs layer 14:00:30 7e9fc2657dce: Pulling fs layer 14:00:30 dda99020689f: Pulling fs layer 14:00:30 db1c61fa0a46: Pulling fs layer 14:00:30 891c053d2c06: Pulling fs layer 14:00:30 fc693d55d65f: Waiting 14:00:30 7e9fc2657dce: Waiting 14:00:30 dda99020689f: Waiting 14:00:30 891c053d2c06: Waiting 14:00:30 db1c61fa0a46: Waiting 14:00:30 e16973657156: Download complete 14:00:30 35d82f9e3411: Verifying Checksum 14:00:30 35d82f9e3411: Download complete 14:00:30 7e9fc2657dce: Verifying Checksum 14:00:30 7e9fc2657dce: Download complete 14:00:30 dda99020689f: Verifying Checksum 14:00:30 dda99020689f: Download complete 14:00:30 9b18e9b68314: Verifying Checksum 14:00:30 9b18e9b68314: Download complete 14:00:31 9b18e9b68314: Pull complete 14:00:31 891c053d2c06: Verifying Checksum 14:00:31 891c053d2c06: Download complete 14:00:32 35d82f9e3411: Pull complete 14:00:32 e16973657156: Pull complete 14:00:33 db1c61fa0a46: Download complete 14:00:33 fc693d55d65f: Verifying Checksum 14:00:33 fc693d55d65f: Download complete 14:00:46 fc693d55d65f: Pull complete 14:00:46 7e9fc2657dce: Pull complete 14:00:46 dda99020689f: Pull complete 14:00:52 db1c61fa0a46: Pull complete 14:00:54 891c053d2c06: Pull complete 14:00:54 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 14:00:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 14:00:54 ---> f96f9c87975a 14:00:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:00:56 ---> Running in 2b7f4bfb2419 14:00:56 Removing intermediate container 2b7f4bfb2419 14:00:56 ---> 859d0904dca5 14:00:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:00:56 ---> Running in e7b3acf120b9 14:00:57 Removing intermediate container e7b3acf120b9 14:00:57 ---> 020486e4e7fb 14:00:57 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:00:57 ---> Running in 2778b2ea417b 14:00:57 Removing intermediate container 2778b2ea417b 14:00:57 ---> b555e2b4e15d 14:00:57 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:00:57 ---> Running in 6a5bcd67c23d 14:00:57 Removing intermediate container 6a5bcd67c23d 14:00:57 ---> f3c45a262d6e 14:00:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:00:57 ---> Running in cd348c62427b 14:00:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:00:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:01:00 (1/4) Installing openssh-keygen (9.0_p1-r2) 14:01:00 (2/4) Installing libedit (20210910.3.1-r0) 14:01:00 (3/4) Installing openssh-client-common (9.0_p1-r2) 14:01:00 (4/4) Installing openssh-client-default (9.0_p1-r2) 14:01:00 Executing busybox-1.35.0-r17.trigger 14:01:00 OK: 226 MiB in 55 packages 14:01:01 Removing intermediate container cd348c62427b 14:01:01 ---> 0a95a315a103 14:01:01 Step 8/12 : WORKDIR /device-rest-go 14:01:01 ---> Running in dbd1b9902c67 14:01:01 Removing intermediate container dbd1b9902c67 14:01:01 ---> 9f1e12947f78 14:01:01 Step 9/12 : COPY go.mod vendor* ./ 14:01:02 ---> f9cc83e8c153 14:01:02 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:01:02 ---> Running in 06d58d678262 14:02:10 Removing intermediate container 06d58d678262 14:02:10 ---> c92d0f5ccdec 14:02:10 Step 11/12 : COPY . . 14:02:10 ---> 1dc612b08e2c 14:02:10 Step 12/12 : RUN $MAKE 14:02:10 ---> Running in b47e4c1e5fbb 14:02:10 noop 14:02:10 Removing intermediate container b47e4c1e5fbb 14:02:10 ---> 001b7031e92f 14:02:10 Successfully built 001b7031e92f 14:02:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:10 + docker inspect -f . ci-base-image-arm64 14:02:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:02:10 prd-ubuntu20.04-docker-arm64-4c-16g-4133 does not seem to be running inside a container 14:02:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/16 -v /w/workspace/device-rest-go/16:/w/workspace/device-rest-go/16:rw,z -v /w/workspace/device-rest-go/16@tmp:/w/workspace/device-rest-go/16@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 14:02:11 $ docker top a1adfac80371103104bef0b3e45800b1597263dc3855643689cb160ecc880515 -eo pid,comm [Pipeline] { [Pipeline] sh 14:02:12 + go version 14:02:12 go version go1.18.7 linux/arm64 [Pipeline] } 14:02:12 $ docker stop --time=1 a1adfac80371103104bef0b3e45800b1597263dc3855643689cb160ecc880515 14:02:14 $ docker rm -f --volumes a1adfac80371103104bef0b3e45800b1597263dc3855643689cb160ecc880515 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:14 + docker inspect -f . ci-base-image-arm64 14:02:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:02:14 prd-ubuntu20.04-docker-arm64-4c-16g-4133 does not seem to be running inside a container 14:02:15 $ 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/16 -v /w/workspace/device-rest-go/16:/w/workspace/device-rest-go/16:rw,z -v /w/workspace/device-rest-go/16@tmp:/w/workspace/device-rest-go/16@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 14:02:16 $ docker top cc6378fce6afe715724180aa3fec5bdca1df8bc8d4dc18dffb889ef61c9c3416 -eo pid,comm [Pipeline] { [Pipeline] sh 14:02:17 + git config --global --add safe.directory /w/workspace/device-rest-go/16 [Pipeline] fileExists [Pipeline] sh 14:02:17 + make test 14:02:17 go test ./... -coverprofile=coverage.out ./... 14:02:19 ? github.com/edgexfoundry/device-rest-go [no test files] 14:03:41 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:03:41 ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 33.9% of statements 14:03:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:03:41 go vet ./... 14:03:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:03:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:03:59 ./bin/test-attribution-txt.sh [Pipeline] echo 14:03:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:03:59 $ docker stop --time=1 cc6378fce6afe715724180aa3fec5bdca1df8bc8d4dc18dffb889ef61c9c3416 14:04:01 $ docker rm -f --volumes cc6378fce6afe715724180aa3fec5bdca1df8bc8d4dc18dffb889ef61c9c3416 [Pipeline] // withDockerContainer [Pipeline] sh 14:04:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:04:02 Warning: overwriting stash ‘coverage-report’ 14:04:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:04:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:04:03 + ls -al . 14:04:03 total 192 14:04:03 drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 14:02 . 14:04:03 drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 13:59 .. 14:04:03 -rw-rw-r-- 1 jenkins jenkins 151 Jan 31 14:00 .dockerignore 14:04:03 drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 14:00 .git 14:04:03 drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 14:00 .github 14:04:03 -rw-rw-r-- 1 jenkins jenkins 329 Jan 31 14:00 .gitignore 14:04:03 -rw-rw-r-- 1 jenkins jenkins 41 Jan 31 14:00 .golangci.yml 14:04:03 -rw-rw-r-- 1 jenkins jenkins 8996 Jan 31 14:00 Attribution.txt 14:04:03 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 31 14:00 CHANGELOG.md 14:04:03 -rw-rw-r-- 1 jenkins jenkins 1578 Jan 31 14:00 Dockerfile 14:04:03 -rw-rw-r-- 1 jenkins jenkins 677 Jan 31 14:00 GOVERNANCE.md 14:04:03 -rw-rw-r-- 1 jenkins jenkins 680 Jan 31 14:00 Jenkinsfile 14:04:03 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 31 14:00 LICENSE 14:04:03 -rw-rw-r-- 1 jenkins jenkins 1744 Jan 31 14:00 Makefile 14:04:03 -rw-rw-r-- 1 jenkins jenkins 620 Jan 31 14:00 OWNERS.md 14:04:03 -rw-rw-r-- 1 jenkins jenkins 15447 Jan 31 14:00 README.md 14:04:03 -rw-rw-r-- 1 jenkins jenkins 5 Jan 31 13:56 VERSION 14:04:03 drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 14:00 bin 14:04:03 drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 14:00 cmd 14:04:03 -rw-r--r-- 1 jenkins jenkins 13744 Jan 31 14:03 coverage.out 14:04:03 drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 14:00 driver 14:04:03 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 31 14:00 go.mod 14:04:03 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 31 14:00 go.sum 14:04:03 drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 14:00 snap 14:04:03 -rw-rw-r-- 1 jenkins jenkins 713 Jan 31 14:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:04:04 + 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=b3061b699f3c9b8a45a238e5d152677544cbe720 --label arch=arm64 --label version=0.0.0 . 14:04:04 Sending build context to Docker daemon 157.2kB 14:04:04 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 14:04:04 Step 2/25 : FROM ${BASE} AS builder 14:04:04 ---> 001b7031e92f 14:04:04 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:04:04 ---> Running in 721650424e9d 14:04:04 Removing intermediate container 721650424e9d 14:04:04 ---> c6a687c34738 14:04:04 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:04:05 ---> Running in eadb292f7b32 14:04:05 Removing intermediate container eadb292f7b32 14:04:05 ---> 2d250231eab7 14:04:05 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:04:05 ---> Running in 53916a93a753 14:04:05 Removing intermediate container 53916a93a753 14:04:05 ---> 418223a445d4 14:04:05 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:04:05 ---> Running in 1cce6f517380 14:04:06 Removing intermediate container 1cce6f517380 14:04:06 ---> e07688b8d96e 14:04:06 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:04:06 ---> Running in 4db3289b64f6 14:04:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:04:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:04:08 OK: 226 MiB in 55 packages 14:04:09 Removing intermediate container 4db3289b64f6 14:04:09 ---> 98fb45bee012 14:04:09 Step 8/25 : WORKDIR /device-rest-go 14:04:09 ---> Running in 8d79bff02acd 14:04:09 Removing intermediate container 8d79bff02acd 14:04:09 ---> 1fbe46b8f5c5 14:04:09 Step 9/25 : COPY go.mod vendor* ./ 14:04:10 ---> a84c420796e1 14:04:10 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:04:10 ---> Running in f1678ea3088a 14:04:12 Removing intermediate container f1678ea3088a 14:04:12 ---> f83b576323f2 14:04:12 Step 11/25 : COPY . . 14:04:14 ---> 6df5c89c7578 14:04:14 Step 12/25 : RUN $MAKE 14:04:14 ---> Running in 33fdea4ffb57 14:04:15 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 14:06:36 Removing intermediate container 33fdea4ffb57 14:06:36 ---> 5d0b56f1e072 14:06:36 Step 13/25 : FROM alpine:3.16 14:06:36 3.16: Pulling from library/alpine 14:06:36 6875df1f5354: Pulling fs layer 14:06:36 6875df1f5354: Verifying Checksum 14:06:36 6875df1f5354: Download complete 14:06:36 6875df1f5354: Pull complete 14:06:36 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 14:06:36 Status: Downloaded newer image for alpine:3.16 14:06:36 ---> 2b4661558fb8 14:06:36 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:06:36 ---> Running in dfc9acc4f3a2 14:06:36 Removing intermediate container dfc9acc4f3a2 14:06:36 ---> e7bf83c7b5f5 14:06:36 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:06:36 ---> Running in 6f5f25e170af 14:06:36 Removing intermediate container 6f5f25e170af 14:06:36 ---> 81b56e412ca7 14:06:36 Step 16/25 : RUN apk add --update --no-cache dumb-init 14:06:36 ---> Running in bf44e26896de 14:06:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:06:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:06:36 (1/1) Installing dumb-init (1.2.5-r1) 14:06:36 Executing busybox-1.35.0-r17.trigger 14:06:36 OK: 5 MiB in 15 packages 14:06:36 Removing intermediate container bf44e26896de 14:06:36 ---> c8ba144ac9d5 14:06:36 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:06:37 ---> a0da26dba8f2 14:06:37 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:06:38 ---> f3260387d121 14:06:38 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:06:38 ---> dd25fbff386d 14:06:38 Step 20/25 : EXPOSE 59986 14:06:38 ---> Running in 65d3c6f0aaa7 14:06:38 Removing intermediate container 65d3c6f0aaa7 14:06:38 ---> 1eb22d02435a 14:06:38 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:06:38 ---> Running in f05e74663d64 14:06:39 Removing intermediate container f05e74663d64 14:06:39 ---> db324819960f 14:06:39 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 14:06:39 ---> Running in 48beb489d600 14:06:39 Removing intermediate container 48beb489d600 14:06:39 ---> bf7de46ccefb 14:06:39 Step 23/25 : LABEL arch=arm64 14:06:39 ---> Running in 2c465f0bbc3c 14:06:40 Removing intermediate container 2c465f0bbc3c 14:06:40 ---> ee2c9259542d 14:06:40 Step 24/25 : LABEL git_sha=b3061b699f3c9b8a45a238e5d152677544cbe720 14:06:40 ---> Running in a4ea9db8dd12 14:06:40 Removing intermediate container a4ea9db8dd12 14:06:40 ---> 913889579fad 14:06:40 Step 25/25 : LABEL version=0.0.0 14:06:40 ---> Running in 9e7f05b83cfa 14:06:40 Removing intermediate container 9e7f05b83cfa 14:06:40 ---> 9f777f31f8c1 14:06:40 [Warning] One or more build-args [ARCH] were not consumed 14:06:40 Successfully built 9f777f31f8c1 14:06:40 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 14:06:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:06:41 14:06:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:06:41 arm64: Pulling from edgex-lftools-log-publisher 14:06:41 8998bd30e6a1: Pulling fs layer 14:06:41 04944245beec: Pulling fs layer 14:06:41 699f458cf7ca: Pulling fs layer 14:06:41 765212b225bb: Pulling fs layer 14:06:41 f23df028b6ca: Pulling fs layer 14:06:41 765212b225bb: Waiting 14:06:41 f23df028b6ca: Waiting 14:06:41 d65c8cfc05b1: Pulling fs layer 14:06:41 d65c8cfc05b1: Waiting 14:06:41 2437ff75d9bd: Pulling fs layer 14:06:41 2437ff75d9bd: Waiting 14:06:41 04944245beec: Verifying Checksum 14:06:41 04944245beec: Download complete 14:06:41 765212b225bb: Verifying Checksum 14:06:41 765212b225bb: Download complete 14:06:41 f23df028b6ca: Verifying Checksum 14:06:41 f23df028b6ca: Download complete 14:06:41 d65c8cfc05b1: Verifying Checksum 14:06:41 d65c8cfc05b1: Download complete 14:06:41 699f458cf7ca: Verifying Checksum 14:06:41 699f458cf7ca: Download complete 14:06:42 8998bd30e6a1: Verifying Checksum 14:06:42 8998bd30e6a1: Download complete 14:06:44 2437ff75d9bd: Verifying Checksum 14:06:44 2437ff75d9bd: Download complete 14:06:45 8998bd30e6a1: Pull complete 14:06:46 04944245beec: Pull complete 14:06:47 699f458cf7ca: Pull complete 14:06:47 765212b225bb: Pull complete 14:06:48 f23df028b6ca: Pull complete 14:06:49 d65c8cfc05b1: Pull complete 14:07:01 2437ff75d9bd: Pull complete 14:07:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:07:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:07:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:02 prd-ubuntu20.04-docker-arm64-4c-16g-4133 does not seem to be running inside a container 14:07:02 $ 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/16 -v /w/workspace/device-rest-go/16:/w/workspace/device-rest-go/16:rw,z -v /w/workspace/device-rest-go/16@tmp:/w/workspace/device-rest-go/16@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 14:07:04 $ docker top dbff62a7e055d4f0cbbc4368f0317bc79f909685a79425daa229bcead459aedf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:07:05 ---> job-cost.sh 14:07:05 lf-activate-venv: SKIPPING 14:07:05 INFO: No Stack... 14:07:06 INFO: Retrieving Pricing Info for: v3-standard-4 14:07:06 INFO: Archiving Costs [Pipeline] sh 14:07:07 + cat /w/workspace/device-rest-go/16/archives/cost.csv 14:07:07 + cut -d, -f6 [Pipeline] lock 14:07:07 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-16-stack-cost] 14:07:07 Resource [jenkins-edgexfoundry-device-rest-go-PR-229-16-stack-cost] did not exist. Created. 14:07:07 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:07:07 /w/workspace/device-rest-go/16@tmp/durable-3a2e475e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:07:08 + echo total: 0.10999999940395355 [Pipeline] stash 14:07:08 Warning: overwriting stash ‘stack-cost’ 14:07:08 Stashed 1 file(s) [Pipeline] } 14:07:08 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-16-stack-cost] [Pipeline] // lock [Pipeline] } 14:07:08 $ docker stop --time=1 dbff62a7e055d4f0cbbc4368f0317bc79f909685a79425daa229bcead459aedf 14:07:09 $ docker rm -f --volumes dbff62a7e055d4f0cbbc4368f0317bc79f909685a79425daa229bcead459aedf [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 14:07:10 provisioning config files... 14:07:10 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config7550958246006461444tmp [Pipeline] { [Pipeline] sh 14:07:10 + set +x 14:07:10 + curl -s https://codecov.io/bash 14:07:10 + bash -s -- 14:07:10 14:07:10 _____ _ 14:07:10 / ____| | | 14:07:10 | | ___ __| | ___ ___ _____ __ 14:07:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:07:10 | |___| (_) | (_| | __/ (_| (_) \ V / 14:07:10 \_____\___/ \__,_|\___|\___\___/ \_/ 14:07:10 Bash-1.0.6 14:07:10 14:07:10 14:07:10 ==> git version 2.25.1 found 14:07:10 ==> 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 14:07:10 Release-Date: 2020-01-08 14:07:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:07:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:07:10 ==> Jenkins CI detected. 14:07:10 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-229 14:07:10 project root: . 14:07:10 --> token set from env 14:07:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:07:10 ==> Running gcov in . (disable via -X gcov) 14:07:10 ==> Python coveragepy not found 14:07:10 ==> Searching for coverage reports in: 14:07:10 + . 14:07:10 -> Found 1 reports 14:07:10 ==> Detecting git/mercurial file structure 14:07:10 ==> Reading reports 14:07:10 + ./coverage.out bytes=13744 14:07:10 ==> Appending adjustments 14:07:10 https://docs.codecov.io/docs/fixing-reports 14:07:10 + Found adjustments 14:07:10 ==> Gzipping contents 14:07:10 4.0K /tmp/codecov.V6IWlB.gz 14:07:10 ==> Uploading reports 14:07:10 url: https://codecov.io 14:07:10 query: branch=PR-229&commit=44461bbb6a37b6b2b38bcde41d803a92ddc3be0c&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-229%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=229&job=&cmd_args= 14:07:10 -> Pinging Codecov 14:07:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-229&commit=44461bbb6a37b6b2b38bcde41d803a92ddc3be0c&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-229%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=229&job=&cmd_args= 14:07:10 -> Uploading to 14:07:10 https://storage.googleapis.com/codecov/v4/raw/2023-01-31/4E5D53B4F1F92C436F7061BF334D961C/44461bbb6a37b6b2b38bcde41d803a92ddc3be0c/5e29db05-f51d-4c5b-b2e2-50f31eb6e3c2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230131%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230131T140710Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c960ab4ebc6798efaea59dfee08ab7d582500525978b00569ecd7e11d21714bf 14:07:10 % Total % Received % Xferd Average Speed Time Time Time Current 14:07:10 Dload Upload Total Spent Left Speed 14:07:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 8787 --:--:-- --:--:-- --:--:-- 8787 14:07:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/44461bbb6a37b6b2b38bcde41d803a92ddc3be0c [Pipeline] } 14:07:11 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 14:07:11 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-229/archives ] 14:07:11 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives 14:07:11 total 16 14:07:11 drwxr-xr-x 3 root root 4096 Jan 31 13:57 . 14:07:11 drwxrwxr-x 10 jenkins jenkins 4096 Jan 31 13:57 .. 14:07:11 drwxr-xr-x 2 root root 4096 Jan 31 13:57 cost 14:07:11 -rw-r--r-- 1 root root 87 Jan 31 13:57 cost.csv 14:07:11 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-229/archives 14:07:11 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives 14:07:11 total 16 14:07:11 drwxr-xr-x 3 jenkins jenkins 4096 Jan 31 13:57 . 14:07:11 drwxrwxr-x 10 jenkins jenkins 4096 Jan 31 13:57 .. 14:07:11 drwxr-xr-x 2 jenkins jenkins 4096 Jan 31 13:57 cost 14:07:11 -rw-r--r-- 1 jenkins jenkins 87 Jan 31 13:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:07:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:07:12 ---> package-listing.sh 14:07:12 ++ facter osfamily 14:07:12 ++ tr '[:upper:]' '[:lower:]' 14:07:13 + OS_FAMILY=debian 14:07:13 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-229 14:07:13 + START_PACKAGES=/tmp/packages_start.txt 14:07:13 + END_PACKAGES=/tmp/packages_end.txt 14:07:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:07:13 + PACKAGES=/tmp/packages_start.txt 14:07:13 + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' 14:07:13 + PACKAGES=/tmp/packages_end.txt 14:07:13 + case "${OS_FAMILY}" in 14:07:13 + dpkg -l 14:07:13 + grep '^ii' 14:07:13 + '[' -f /tmp/packages_start.txt ']' 14:07:13 + '[' -f /tmp/packages_end.txt ']' 14:07:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:07:13 + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' 14:07:13 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ 14:07:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [Pipeline] echo 14:07:13 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-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:07:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:07:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:14 prd-ubuntu20.04-docker-8c-8g-4132 does not seem to be running inside a container 14:07:14 $ 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-229/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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 14:07:14 $ docker top bb6a227c1c84233d95d21d76c09b12225aa5bf216285117b45c73909909c24b1 -eo pid,comm [Pipeline] { [Pipeline] sh 14:07:14 + touch /tmp/pre-build-complete [Pipeline] sh 14:07:15 + mkdir -p /var/log/sysstat [Pipeline] sh 14:07:15 + ls /var/log/sa-host 14:07:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:07:15 provisioning config files... 14:07:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config15822110096556982506tmp [Pipeline] { [Pipeline] echo 14:07:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:07:15 ---> create-netrc.sh [Pipeline] } 14:07:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:07:16 ---> python-tools-install.sh [Pipeline] echo 14:07:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:07:16 ---> sudo-logs.sh 14:07:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:07:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:07:16 ---> job-cost.sh 14:07:16 lf-activate-venv: SKIPPING 14:07:16 DEBUG: total: 0.2199999988079071 14:07:16 INFO: Retrieving Stack Cost... 14:07:16 INFO: Retrieving Pricing Info for: v3-standard-8 14:07:17 INFO: Archiving Costs [Pipeline] echo 14:07:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:07:17 ---> logs-deploy.sh 14:07:17 lf-activate-venv: SKIPPING 14:07:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-229/16 14:07:17 INFO: archiving workspace using pattern(s): 14:07:18 Archives upload complete. 14:07:18 INFO: archiving logs to Nexus