Pull request #237 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bae9649f9eb4a52f862241fea7309d495310450c+a09ef0c5b5718b7e2deeb983e8068139a6f667f6 (50ccda0fe496322cc184dccde1f3dc2d1a3e982b) 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-ssh7206984277622300375.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-ssh14031421347506355287.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-237/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-237/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4756830349894821598.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-237/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12183926182132748073.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14077934182510765063.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-237/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-237/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11586853811497007614.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-1767 in /w/workspace/gexfoundry_device-rest-go_PR-237 [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-237 # 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/237/head:refs/remotes/origin/PR-237 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a09ef0c5b5718b7e2deeb983e8068139a6f667f6 into PR head commit bae9649f9eb4a52f862241fea7309d495310450c Merge succeeded, producing bae9649f9eb4a52f862241fea7309d495310450c Checking out Revision bae9649f9eb4a52f862241fea7309d495310450c (PR-237) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:42:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:42:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:42:37 ========================================================= 23:42:37 EdgeX Global Pipelines Version Info 23:42:37 ========================================================= > git config core.sparsecheckout # timeout=10 > git checkout -f bae9649f9eb4a52f862241fea7309d495310450c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a09ef0c5b5718b7e2deeb983e8068139a6f667f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bae9649f9eb4a52f862241fea7309d495310450c # timeout=10 [Pipeline] libraryResource [Pipeline] sh 23:42:38 ------------------- 23:42:38 stable info: 23:42:38 ------------------- 23:42:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:42:38 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:42:38 Message: update stable to v1.0.244 23:42:39 ------------------- 23:42:39 experimental info: 23:42:39 ------------------- 23:42:39 Commited By: **** collab-it+edgex@linuxfoundation.org 23:42:39 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:42:39 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-237 [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-237 [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-237 [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bae9649f9eb4a52f862241fea7309d495310450c [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bae9649 [Pipeline] echo 23:42:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:42:41 provisioning config files... 23:42:41 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-237@tmp/config4621399118504017072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:42:41 ---> docker-login.sh 23:42:41 nexus3.edgexfoundry.org:10001 23:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:41 Configure a credential helper to remove this warning. See 23:42:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:41 23:42:41 Login Succeeded 23:42:41 nexus3.edgexfoundry.org:10002 23:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:41 Configure a credential helper to remove this warning. See 23:42:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:41 23:42:41 Login Succeeded 23:42:41 nexus3.edgexfoundry.org:10003 23:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:41 Configure a credential helper to remove this warning. See 23:42:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:41 23:42:41 Login Succeeded 23:42:41 nexus3.edgexfoundry.org:10004 23:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:41 Configure a credential helper to remove this warning. See 23:42:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:41 23:42:41 Login Succeeded 23:42:41 docker.io 23:42:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:42 Configure a credential helper to remove this warning. See 23:42:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:42 23:42:42 Login Succeeded 23:42:42 ---> docker-login.sh ends [Pipeline] } 23:42:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:42:43 + git rev-list -1 --merges bae9649f9eb4a52f862241fea7309d495310450c~1..bae9649f9eb4a52f862241fea7309d495310450c [Pipeline] echo 23:42:43 -----------> git rev-list -1 --merges bae9649f9eb4a52f862241fea7309d495310450c~1..bae9649f9eb4a52f862241fea7309d495310450c bae9649f9eb4a52f862241fea7309d495310450c [false] [Pipeline] sh 23:42:43 + git log --format=format:%s -1 bae9649f9eb4a52f862241fea7309d495310450c [Pipeline] echo 23:42:43 ========================================================= 23:42:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:42:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:42:43 + git log --format=format:%s -1 bae9649f9eb4a52f862241fea7309d495310450c [Pipeline] echo 23:42:43 [semverPrep] GIT_COMMIT: bae9649f9eb4a52f862241fea7309d495310450c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 23:42:43 [semverPrep] This is not a build commit. [Pipeline] sh 23:42:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:42:44 + grep -v github /etc/ssh/ssh_known_hosts 23:42:44 + [ -e /tmp/ssh_known_hosts ] 23:42:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:42:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:42:44 + sudo tee -a /etc/ssh/ssh_known_hosts 23:42:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:42:44 23:42:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:42:45 0.1.4: Pulling from edgex-devops/py-git-semver 23:42:45 b85a868b505f: Pulling fs layer 23:42:45 e2be974225ed: Pulling fs layer 23:42:45 339a4e72a1f5: Pulling fs layer 23:42:45 988bab9f4d93: Pulling fs layer 23:42:45 1469e6f7b9e6: Pulling fs layer 23:42:45 eaf3925da568: Pulling fs layer 23:42:45 bab4dde63d76: Pulling fs layer 23:42:45 bde34c3a00c8: Pulling fs layer 23:42:45 b352a97aabf1: Pulling fs layer 23:42:45 4872d77fe225: Pulling fs layer 23:42:45 5851b861e8e6: Pulling fs layer 23:42:45 bde34c3a00c8: Waiting 23:42:45 988bab9f4d93: Waiting 23:42:45 b352a97aabf1: Waiting 23:42:45 1469e6f7b9e6: Waiting 23:42:45 4872d77fe225: Waiting 23:42:45 eaf3925da568: Waiting 23:42:45 5851b861e8e6: Waiting 23:42:45 bab4dde63d76: Waiting 23:42:45 e2be974225ed: Download complete 23:42:45 988bab9f4d93: Verifying Checksum 23:42:45 988bab9f4d93: Download complete 23:42:45 1469e6f7b9e6: Verifying Checksum 23:42:45 1469e6f7b9e6: Download complete 23:42:45 eaf3925da568: Verifying Checksum 23:42:45 eaf3925da568: Download complete 23:42:45 339a4e72a1f5: Verifying Checksum 23:42:45 339a4e72a1f5: Download complete 23:42:45 bde34c3a00c8: Verifying Checksum 23:42:45 bde34c3a00c8: Download complete 23:42:45 b352a97aabf1: Verifying Checksum 23:42:45 b352a97aabf1: Download complete 23:42:45 4872d77fe225: Verifying Checksum 23:42:45 4872d77fe225: Download complete 23:42:45 5851b861e8e6: Download complete 23:42:45 b85a868b505f: Verifying Checksum 23:42:45 b85a868b505f: Download complete 23:42:45 bab4dde63d76: Verifying Checksum 23:42:45 bab4dde63d76: Download complete 23:42:46 b85a868b505f: Pull complete 23:42:46 e2be974225ed: Pull complete 23:42:47 339a4e72a1f5: Pull complete 23:42:47 988bab9f4d93: Pull complete 23:42:47 1469e6f7b9e6: Pull complete 23:42:47 eaf3925da568: Pull complete 23:42:49 bab4dde63d76: Pull complete 23:42:49 bde34c3a00c8: Pull complete 23:42:49 b352a97aabf1: Pull complete 23:42:49 4872d77fe225: Pull complete 23:42:49 5851b861e8e6: Pull complete 23:42:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:42:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:42:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:42:50 prd-ubuntu20.04-docker-8c-8g-1767 does not seem to be running inside a container 23:42:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-237 -v /w/workspace/gexfoundry_device-rest-go_PR-237:/w/workspace/gexfoundry_device-rest-go_PR-237:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-237@tmp:/w/workspace/gexfoundry_device-rest-go_PR-237@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:42:53 $ docker top 58603d441456a0c38bf39278b940b2a96a8d294995352cb09c40bd0e629facb0 -eo pid,comm 23:42:53 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). 23:42:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:42:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:42:53 [ssh-agent] Looking for ssh-agent implementation... 23:42:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:42:53 $ docker exec 58603d441456a0c38bf39278b940b2a96a8d294995352cb09c40bd0e629facb0 ssh-agent 23:42:53 SSH_AUTH_SOCK=/tmp/ssh-yReAQicV8Sfg/agent.31 23:42:53 SSH_AGENT_PID=37 23:42:53 Running ssh-add (command line suppressed) 23:42:53 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-237@tmp/private_key_7372556905867821128.key (/w/workspace/gexfoundry_device-rest-go_PR-237@tmp/private_key_7372556905867821128.key) 23:42:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:42:54 + git tag --points-at HEAD [Pipeline] } 23:42:54 $ docker exec --env ******** --env ******** 58603d441456a0c38bf39278b940b2a96a8d294995352cb09c40bd0e629facb0 ssh-agent -k 23:42:54 unset SSH_AUTH_SOCK; 23:42:54 unset SSH_AGENT_PID; 23:42:54 echo Agent pid 37 killed; 23:42:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:42:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:42:54 [ssh-agent] Looking for ssh-agent implementation... 23:42:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:42:54 $ docker exec 58603d441456a0c38bf39278b940b2a96a8d294995352cb09c40bd0e629facb0 ssh-agent 23:42:54 SSH_AUTH_SOCK=/tmp/ssh-0jAuMdxwFEg2/agent.69 23:42:54 SSH_AGENT_PID=75 23:42:54 Running ssh-add (command line suppressed) 23:42:54 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-237@tmp/private_key_7232034522238162924.key (/w/workspace/gexfoundry_device-rest-go_PR-237@tmp/private_key_7232034522238162924.key) 23:42:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:42:54 + git semver init 23:42:55 2023-01-10 23:42:55,129 [run_init] DEBUG init version:0.0.0 force:False 23:42:55 2023-01-10 23:42:55,130 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-237/.semver 23:42:55 2023-01-10 23:42:55,131 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-237/.semver 23:42:55 2023-01-10 23:42:55,131 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-237/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-237, universal_newlines=False, shell=None, istream=None) 23:42:56 2023-01-10 23:42:56,150 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-237/.git/info/exclude 23:42:56 2023-01-10 23:42:56,151 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-237/.semver/PR-237 with force:False 23:42:56 2023-01-10 23:42:56,151 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-237/.semver/PR-237 23:42:56 2023-01-10 23:42:56,156 [execute] INFO git cat-file --batch-check 23:42:56 2023-01-10 23:42:56,156 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-237/.semver, universal_newlines=False, shell=None, istream=) 23:42:56 2023-01-10 23:42:56,163 [execute] INFO git cat-file --batch 23:42:56 2023-01-10 23:42:56,163 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-237/.semver, universal_newlines=False, shell=None, istream=) 23:42:56 2023-01-10 23:42:56,169 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-237/.semver/PR-237 23:42:56 0.0.0 [Pipeline] } 23:42:56 $ docker exec --env ******** --env ******** 58603d441456a0c38bf39278b940b2a96a8d294995352cb09c40bd0e629facb0 ssh-agent -k 23:42:56 unset SSH_AUTH_SOCK; 23:42:56 unset SSH_AGENT_PID; 23:42:56 echo Agent pid 75 killed; 23:42:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:42:57 + git semver [Pipeline] } 23:42:57 $ docker stop --time=1 58603d441456a0c38bf39278b940b2a96a8d294995352cb09c40bd0e629facb0 23:42:58 $ docker rm -f --volumes 58603d441456a0c38bf39278b940b2a96a8d294995352cb09c40bd0e629facb0 [Pipeline] // withDockerContainer [Pipeline] sh 23:42:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:42:59 Stashed 1 file(s) [Pipeline] echo 23:42:59 [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 23:43:00 provisioning config files... 23:43:00 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-237@tmp/config9455767018305753756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:43:00 ---> docker-login.sh 23:43:00 nexus3.edgexfoundry.org:10001 23:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:00 Configure a credential helper to remove this warning. See 23:43:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:00 23:43:00 Login Succeeded 23:43:00 nexus3.edgexfoundry.org:10002 23:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:00 Configure a credential helper to remove this warning. See 23:43:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:00 23:43:00 Login Succeeded 23:43:00 nexus3.edgexfoundry.org:10003 23:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:00 Configure a credential helper to remove this warning. See 23:43:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:00 23:43:00 Login Succeeded 23:43:00 nexus3.edgexfoundry.org:10004 23:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:00 Configure a credential helper to remove this warning. See 23:43:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:00 23:43:00 Login Succeeded 23:43:00 docker.io 23:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:00 Configure a credential helper to remove this warning. See 23:43:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:00 23:43:00 Login Succeeded 23:43:00 ---> docker-login.sh ends [Pipeline] } 23:43:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:43:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:43:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:43:01 ========================================================= 23:43:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:43:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:01 + 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 . 23:43:01 Sending build context to Docker daemon 10.79MB 23:43:01 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:43:01 Step 2/12 : FROM ${BASE} AS builder 23:43:01 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:43:01 213ec9aee27d: Pulling fs layer 23:43:01 4583459ba037: Pulling fs layer 23:43:01 93c1e223e6f2: Pulling fs layer 23:43:01 53926ce57604: Pulling fs layer 23:43:01 21b2b0c7a3f4: Pulling fs layer 23:43:01 22ff95d597cd: Pulling fs layer 23:43:01 12d6caf4c0d1: Pulling fs layer 23:43:01 96b7cbca73a9: Pulling fs layer 23:43:01 a7acece74701: Pulling fs layer 23:43:01 53926ce57604: Waiting 23:43:01 96b7cbca73a9: Waiting 23:43:01 21b2b0c7a3f4: Waiting 23:43:01 a7acece74701: Waiting 23:43:01 22ff95d597cd: Waiting 23:43:01 12d6caf4c0d1: Waiting 23:43:01 93c1e223e6f2: Download complete 23:43:01 4583459ba037: Verifying Checksum 23:43:01 4583459ba037: Download complete 23:43:01 21b2b0c7a3f4: Verifying Checksum 23:43:01 21b2b0c7a3f4: Download complete 23:43:01 22ff95d597cd: Verifying Checksum 23:43:01 22ff95d597cd: Download complete 23:43:01 213ec9aee27d: Verifying Checksum 23:43:01 213ec9aee27d: Download complete 23:43:01 12d6caf4c0d1: Download complete 23:43:01 213ec9aee27d: Pull complete 23:43:02 4583459ba037: Pull complete 23:43:02 93c1e223e6f2: Pull complete 23:43:02 a7acece74701: Verifying Checksum 23:43:02 a7acece74701: Download complete 23:43:02 96b7cbca73a9: Verifying Checksum 23:43:02 96b7cbca73a9: Download complete 23:43:02 53926ce57604: Verifying Checksum 23:43:02 53926ce57604: Download complete 23:43:06 53926ce57604: Pull complete 23:43:06 21b2b0c7a3f4: Pull complete 23:43:06 22ff95d597cd: Pull complete 23:43:06 12d6caf4c0d1: Pull complete 23:43:09 96b7cbca73a9: Pull complete 23:43:09 a7acece74701: Pull complete 23:43:09 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 23:43:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:43:09 ---> db6d94c90886 23:43:09 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:43:13 ---> Running in 11940d54fd04 23:43:13 Removing intermediate container 11940d54fd04 23:43:13 ---> 09d2870816b6 23:43:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:43:13 ---> Running in 2c5ab38b1645 23:43:13 Removing intermediate container 2c5ab38b1645 23:43:13 ---> a170029adf24 23:43:13 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:43:13 ---> Running in 90627897ac68 23:43:14 Removing intermediate container 90627897ac68 23:43:14 ---> 9c39b654d289 23:43:14 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:43:14 ---> Running in 62d174d24a2a 23:43:14 Removing intermediate container 62d174d24a2a 23:43:14 ---> df17f4e36b5a 23:43:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:43:14 ---> Running in 588f64b00787 23:43:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:43:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:43:14 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:43:14 (2/4) Installing libedit (20210910.3.1-r0) 23:43:14 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:43:14 Still waiting to schedule task 23:43:14 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1761’ is offline 23:43:14 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:43:14 Executing busybox-1.35.0-r17.trigger 23:43:14 OK: 216 MiB in 55 packages 23:43:15 Removing intermediate container 588f64b00787 23:43:15 ---> dd4dd86e580d 23:43:15 Step 8/12 : WORKDIR /device-rest-go 23:43:15 ---> Running in 9296874fd00b 23:43:15 Removing intermediate container 9296874fd00b 23:43:15 ---> 63e0a7d5679c 23:43:15 Step 9/12 : COPY go.mod vendor* ./ 23:43:15 ---> b2f31f433ca3 23:43:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:43:15 ---> Running in e7597fcb7b76 23:43:42 Removing intermediate container e7597fcb7b76 23:43:42 ---> 0d1c891b1ee6 23:43:42 Step 11/12 : COPY . . 23:43:42 ---> 0cd829731b9e 23:43:42 Step 12/12 : RUN $MAKE 23:43:42 ---> Running in 11d1e39fcb65 23:43:42 noop 23:43:42 Removing intermediate container 11d1e39fcb65 23:43:42 ---> b64fdbbb20e3 23:43:42 Successfully built b64fdbbb20e3 23:43:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:42 + docker inspect -f . ci-base-image-x86_64 23:43:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:43:42 prd-ubuntu20.04-docker-8c-8g-1767 does not seem to be running inside a container 23:43:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-237 -v /w/workspace/gexfoundry_device-rest-go_PR-237:/w/workspace/gexfoundry_device-rest-go_PR-237:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-237@tmp:/w/workspace/gexfoundry_device-rest-go_PR-237@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:43:43 $ docker top cd1ac74c6bb7511c83b4d12d5d102515916f04703a8e74a98ab4dccf3bdb25d4 -eo pid,comm [Pipeline] { [Pipeline] sh 23:43:43 + go version 23:43:43 go version go1.18.7 linux/amd64 [Pipeline] } 23:43:43 $ docker stop --time=1 cd1ac74c6bb7511c83b4d12d5d102515916f04703a8e74a98ab4dccf3bdb25d4 23:43:44 $ docker rm -f --volumes cd1ac74c6bb7511c83b4d12d5d102515916f04703a8e74a98ab4dccf3bdb25d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:45 + docker inspect -f . ci-base-image-x86_64 23:43:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:43:45 prd-ubuntu20.04-docker-8c-8g-1767 does not seem to be running inside a container 23:43:45 $ 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-237 -v /w/workspace/gexfoundry_device-rest-go_PR-237:/w/workspace/gexfoundry_device-rest-go_PR-237:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-237@tmp:/w/workspace/gexfoundry_device-rest-go_PR-237@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:43:46 $ docker top fa8b238648d5296dae1986f5b4a785ecfaaee46b51d5257f0c15d72b70fb446e -eo pid,comm [Pipeline] { [Pipeline] sh 23:43:46 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-237 [Pipeline] fileExists [Pipeline] sh 23:43:46 + make test 23:43:46 go test ./... -coverprofile=coverage.out ./... 23:43:47 ? github.com/edgexfoundry/device-rest-go [no test files] 23:43:57 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:43:57 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements 23:44:03 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." 23:44:03 go vet ./... 23:44:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:44:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:44:06 ./bin/test-attribution-txt.sh [Pipeline] echo 23:44:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:44:06 $ docker stop --time=1 fa8b238648d5296dae1986f5b4a785ecfaaee46b51d5257f0c15d72b70fb446e 23:44:08 $ docker rm -f --volumes fa8b238648d5296dae1986f5b4a785ecfaaee46b51d5257f0c15d72b70fb446e [Pipeline] // withDockerContainer [Pipeline] sh 23:44:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:44:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:44:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:44:09 + ls -al . 23:44:09 total 188 23:44:09 drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 23:43 . 23:44:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:42 .. 23:44:09 -rw-rw-r-- 1 jenkins jenkins 151 Jan 10 23:42 .dockerignore 23:44:09 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 23:43 .git 23:44:09 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:42 .github 23:44:09 -rw-rw-r-- 1 jenkins jenkins 329 Jan 10 23:42 .gitignore 23:44:09 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 23:42 .golangci.yml 23:44:09 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 23:42 .semver 23:44:09 -rw-rw-r-- 1 jenkins jenkins 8996 Jan 10 23:42 Attribution.txt 23:44:09 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 10 23:42 CHANGELOG.md 23:44:09 -rw-rw-r-- 1 jenkins jenkins 1578 Jan 10 23:42 Dockerfile 23:44:09 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 23:42 GOVERNANCE.md 23:44:09 -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 23:42 Jenkinsfile 23:44:09 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 23:42 LICENSE 23:44:09 -rw-rw-r-- 1 jenkins jenkins 1744 Jan 10 23:42 Makefile 23:44:09 -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 23:42 OWNERS.md 23:44:09 -rw-rw-r-- 1 jenkins jenkins 8667 Jan 10 23:42 README.md 23:44:09 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 23:42 VERSION 23:44:09 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:42 bin 23:44:09 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:42 cmd 23:44:09 -rw-r--r-- 1 jenkins jenkins 9355 Jan 10 23:43 coverage.out 23:44:09 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:42 driver 23:44:09 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 10 23:42 go.mod 23:44:09 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 10 23:42 go.sum 23:44:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:42 snap 23:44:09 -rw-rw-r-- 1 jenkins jenkins 713 Jan 10 23:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:10 + 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=bae9649f9eb4a52f862241fea7309d495310450c --label arch=amd64 --label version=0.0.0 . 23:44:10 Sending build context to Docker daemon 10.8MB 23:44:10 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 23:44:10 Step 2/25 : FROM ${BASE} AS builder 23:44:10 ---> b64fdbbb20e3 23:44:10 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:44:10 ---> Running in 6f95045b08f0 23:44:10 Removing intermediate container 6f95045b08f0 23:44:10 ---> 608faf305850 23:44:10 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:44:10 ---> Running in 89a14643a913 23:44:10 Removing intermediate container 89a14643a913 23:44:10 ---> ff2e4170d128 23:44:10 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:44:10 ---> Running in e93fe5e9fd23 23:44:10 Removing intermediate container e93fe5e9fd23 23:44:10 ---> 1017673e2a70 23:44:10 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:44:10 ---> Running in bccee9d09d10 23:44:10 Removing intermediate container bccee9d09d10 23:44:10 ---> 90bee7c1e84b 23:44:10 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:44:10 ---> Running in af7930a38860 23:44:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:44:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:44:11 OK: 216 MiB in 55 packages 23:44:11 Removing intermediate container af7930a38860 23:44:11 ---> 8b845da27325 23:44:11 Step 8/25 : WORKDIR /device-rest-go 23:44:11 ---> Running in 1a8b5ba363e0 23:44:11 Removing intermediate container 1a8b5ba363e0 23:44:11 ---> 54595c20f6bc 23:44:11 Step 9/25 : COPY go.mod vendor* ./ 23:44:11 ---> 017122547213 23:44:11 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:44:11 ---> Running in 05cecfb2c6e3 23:44:12 Removing intermediate container 05cecfb2c6e3 23:44:12 ---> ae07da967cb4 23:44:12 Step 11/25 : COPY . . 23:44:12 ---> 152178be279d 23:44:12 Step 12/25 : RUN $MAKE 23:44:13 ---> Running in 647d57ab2acb 23:44:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 23:44:31 Removing intermediate container 647d57ab2acb 23:44:31 ---> 6bc634b90155 23:44:31 Step 13/25 : FROM alpine:3.16 23:44:31 3.16: Pulling from library/alpine 23:44:31 ca7dd9ec2225: Pulling fs layer 23:44:31 ca7dd9ec2225: Verifying Checksum 23:44:31 ca7dd9ec2225: Download complete 23:44:32 ca7dd9ec2225: Pull complete 23:44:32 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 23:44:32 Status: Downloaded newer image for alpine:3.16 23:44:32 ---> bfe296a52501 23:44:32 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:44:32 ---> Running in c6c1f58cbca7 23:44:32 Removing intermediate container c6c1f58cbca7 23:44:32 ---> 6f29bc6abace 23:44:32 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:44:32 ---> Running in 04610376aaf9 23:44:32 Removing intermediate container 04610376aaf9 23:44:32 ---> deac068b4519 23:44:32 Step 16/25 : RUN apk add --update --no-cache dumb-init 23:44:32 ---> Running in 6aa130c796ef 23:44:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:44:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:44:33 (1/1) Installing dumb-init (1.2.5-r1) 23:44:33 Executing busybox-1.35.0-r17.trigger 23:44:33 OK: 6 MiB in 15 packages 23:44:33 Removing intermediate container 6aa130c796ef 23:44:33 ---> 1ed925e88da8 23:44:33 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:44:34 ---> ce6871d130ed 23:44:34 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:44:34 ---> 5aecef6dc25c 23:44:34 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:44:34 ---> 94779858e8e4 23:44:34 Step 20/25 : EXPOSE 59986 23:44:34 ---> Running in 82f4f4dad6a9 23:44:34 Removing intermediate container 82f4f4dad6a9 23:44:34 ---> 31f288012f9e 23:44:34 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:44:34 ---> Running in 2f59e48cad15 23:44:34 Removing intermediate container 2f59e48cad15 23:44:34 ---> 99bbe249ddfb 23:44:34 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:44:34 ---> Running in 03356afc08fe 23:44:34 Removing intermediate container 03356afc08fe 23:44:34 ---> 66e02b6788b3 23:44:34 Step 23/25 : LABEL arch=amd64 23:44:34 ---> Running in 6d4058662b2c 23:44:34 Removing intermediate container 6d4058662b2c 23:44:34 ---> b34e4aaeced1 23:44:34 Step 24/25 : LABEL git_sha=bae9649f9eb4a52f862241fea7309d495310450c 23:44:34 ---> Running in 505c48647136 23:44:34 Removing intermediate container 505c48647136 23:44:34 ---> 307a551a955c 23:44:34 Step 25/25 : LABEL version=0.0.0 23:44:34 ---> Running in 0813411dcb9a 23:44:34 Removing intermediate container 0813411dcb9a 23:44:34 ---> 8d885bab30f3 23:44:34 [Warning] One or more build-args [ARCH] were not consumed 23:44:34 Successfully built 8d885bab30f3 23:44:34 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 23:44:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:44:35 23:44:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:44:35 latest: Pulling from edgex-lftools-log-publisher 23:44:35 5eb5b503b376: Pulling fs layer 23:44:35 5c69ac0246d0: Pulling fs layer 23:44:35 ec43610c2a17: Pulling fs layer 23:44:35 3a2ae6a8a46f: Pulling fs layer 23:44:35 33b1e0a273af: Pulling fs layer 23:44:35 5d3b04190fa2: Pulling fs layer 23:44:35 2f39f015ded8: Pulling fs layer 23:44:35 3a2ae6a8a46f: Waiting 23:44:35 33b1e0a273af: Waiting 23:44:35 5d3b04190fa2: Waiting 23:44:35 2f39f015ded8: Waiting 23:44:35 5c69ac0246d0: Download complete 23:44:35 3a2ae6a8a46f: Verifying Checksum 23:44:35 3a2ae6a8a46f: Download complete 23:44:36 33b1e0a273af: Verifying Checksum 23:44:36 33b1e0a273af: Download complete 23:44:36 5d3b04190fa2: Download complete 23:44:36 ec43610c2a17: Verifying Checksum 23:44:36 ec43610c2a17: Download complete 23:44:36 5eb5b503b376: Verifying Checksum 23:44:36 5eb5b503b376: Download complete 23:44:36 2f39f015ded8: Download complete 23:44:37 5eb5b503b376: Pull complete 23:44:37 5c69ac0246d0: Pull complete 23:44:37 ec43610c2a17: Pull complete 23:44:37 3a2ae6a8a46f: Pull complete 23:44:38 33b1e0a273af: Pull complete 23:44:38 5d3b04190fa2: Pull complete 23:44:42 2f39f015ded8: Pull complete 23:44:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:44:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:44:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:44:42 prd-ubuntu20.04-docker-8c-8g-1767 does not seem to be running inside a container 23:44:42 $ 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-237 -v /w/workspace/gexfoundry_device-rest-go_PR-237:/w/workspace/gexfoundry_device-rest-go_PR-237:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-237@tmp:/w/workspace/gexfoundry_device-rest-go_PR-237@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:44:45 $ docker top fb9ff9ae9c1921527647c33eb20f156969007df30accd8ad057f8c65d684643d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:44:45 ---> job-cost.sh 23:44:45 lf-activate-venv: SKIPPING 23:44:45 INFO: No Stack... 23:44:46 INFO: Retrieving Pricing Info for: v3-standard-8 23:44:46 INFO: Archiving Costs [Pipeline] sh 23:44:46 + cat /w/workspace/gexfoundry_device-rest-go_PR-237/archives/cost.csv 23:44:46 + cut -d, -f6 [Pipeline] lock 23:44:47 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-237-1-stack-cost] 23:44:47 Resource [jenkins-edgexfoundry-device-rest-go-PR-237-1-stack-cost] did not exist. Created. 23:44:47 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-237-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:44:47 + echo total: 0.2199999988079071 [Pipeline] stash 23:44:47 Stashed 1 file(s) [Pipeline] } 23:44:47 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-237-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:44:47 $ docker stop --time=1 fb9ff9ae9c1921527647c33eb20f156969007df30accd8ad057f8c65d684643d 23:44:48 $ docker rm -f --volumes fb9ff9ae9c1921527647c33eb20f156969007df30accd8ad057f8c65d684643d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:45:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1770 in /w/workspace/gexfoundry_device-rest-go_PR-237 [Pipeline] { [Pipeline] ws 23:45:34 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 23:45:35 The recommended git tool is: git 23:45:40 using credential edgex-jenkins-ssh 23:45:40 Cloning the remote Git repository 23:45:40 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:45:40 > git init /w/workspace/device-rest-go/1 # timeout=10 23:45:40 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:45:40 > git --version # timeout=10 23:45:40 > git --version # 'git version 2.25.1' 23:45:40 using GIT_SSH to set credentials SSH Credentials for GitHub 23:45:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:45:42 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:45:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:45:44 Merging remotes/origin/main commit a09ef0c5b5718b7e2deeb983e8068139a6f667f6 into PR head commit bae9649f9eb4a52f862241fea7309d495310450c 23:45:44 Merge succeeded, producing bae9649f9eb4a52f862241fea7309d495310450c 23:45:44 Checking out Revision bae9649f9eb4a52f862241fea7309d495310450c (PR-237) 23:45:45 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 23:45:45 > git --version # timeout=10 23:45:45 > git --version # 'git version 2.25.1' 23:45:45 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:45:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:45:43 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:45:43 using GIT_SSH to set credentials SSH Credentials for GitHub 23:45:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/237/head:refs/remotes/origin/PR-237 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:45:44 > git config core.sparsecheckout # timeout=10 23:45:44 > git checkout -f bae9649f9eb4a52f862241fea7309d495310450c # timeout=10 23:45:44 > git remote # timeout=10 23:45:44 > git config --get remote.origin.url # timeout=10 23:45:44 using GIT_SSH to set credentials SSH Credentials for GitHub 23:45:44 > git merge a09ef0c5b5718b7e2deeb983e8068139a6f667f6 # timeout=10 23:45:44 > git rev-parse HEAD^{commit} # timeout=10 23:45:44 > git config core.sparsecheckout # timeout=10 23:45:44 > git checkout -f bae9649f9eb4a52f862241fea7309d495310450c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:45:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:45:46 % Total % Received % Xferd Average Speed Time Time Time Current 23:45:46 Dload Upload Total Spent Left Speed 23:45:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh 23:45:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:45:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:45:47 + sudo tee /etc/docker/daemon.new 23:45:47 { 23:45:47 "registry-mirrors": [ 23:45:47 "https://nexus3.edgexfoundry.org:10001" 23:45:47 ], 23:45:47 "bip": "10.250.0.254/24", 23:45:47 "hosts": [ 23:45:47 "tcp://0.0.0.0:5555", 23:45:47 "unix:///var/run/docker.sock" 23:45:47 ], 23:45:47 "mtu": 1458, 23:45:47 "selinux-enabled": true, 23:45:47 "seccomp-profile": "/etc/docker/seccomp.json" 23:45:47 } [Pipeline] sh 23:45:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:45:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:46:06 provisioning config files... 23:46:06 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config331847779943226821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:46:06 ---> docker-login.sh 23:46:06 nexus3.edgexfoundry.org:10001 23:46:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:46:07 Configure a credential helper to remove this warning. See 23:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:46:07 23:46:07 Login Succeeded 23:46:07 nexus3.edgexfoundry.org:10002 23:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:46:07 Configure a credential helper to remove this warning. See 23:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:46:07 23:46:07 Login Succeeded 23:46:07 nexus3.edgexfoundry.org:10003 23:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:46:07 Configure a credential helper to remove this warning. See 23:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:46:07 23:46:07 Login Succeeded 23:46:07 nexus3.edgexfoundry.org:10004 23:46:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:46:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:46:08 Configure a credential helper to remove this warning. See 23:46:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:46:08 23:46:08 Login Succeeded 23:46:08 docker.io 23:46:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:46:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:46:08 Configure a credential helper to remove this warning. See 23:46:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:46:08 23:46:08 Login Succeeded 23:46:08 ---> docker-login.sh ends [Pipeline] } 23:46:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:46:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:46:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:46:09 ========================================================= 23:46:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:46:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:46:09 + 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 . 23:46:09 Sending build context to Docker daemon 128.5kB 23:46:10 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:46:10 Step 2/12 : FROM ${BASE} AS builder 23:46:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:46:10 9b18e9b68314: Pulling fs layer 23:46:10 35d82f9e3411: Pulling fs layer 23:46:10 e16973657156: Pulling fs layer 23:46:10 fc693d55d65f: Pulling fs layer 23:46:10 7e9fc2657dce: Pulling fs layer 23:46:10 dda99020689f: Pulling fs layer 23:46:10 db1c61fa0a46: Pulling fs layer 23:46:10 891c053d2c06: Pulling fs layer 23:46:10 dda99020689f: Waiting 23:46:10 fc693d55d65f: Waiting 23:46:10 7e9fc2657dce: Waiting 23:46:10 891c053d2c06: Waiting 23:46:10 db1c61fa0a46: Waiting 23:46:10 e16973657156: Verifying Checksum 23:46:10 e16973657156: Download complete 23:46:10 35d82f9e3411: Verifying Checksum 23:46:10 35d82f9e3411: Download complete 23:46:10 7e9fc2657dce: Verifying Checksum 23:46:10 7e9fc2657dce: Download complete 23:46:10 dda99020689f: Verifying Checksum 23:46:10 dda99020689f: Download complete 23:46:10 9b18e9b68314: Verifying Checksum 23:46:10 9b18e9b68314: Download complete 23:46:11 9b18e9b68314: Pull complete 23:46:11 891c053d2c06: Download complete 23:46:12 35d82f9e3411: Pull complete 23:46:12 e16973657156: Pull complete 23:46:13 db1c61fa0a46: Verifying Checksum 23:46:13 db1c61fa0a46: Download complete 23:46:15 fc693d55d65f: Download complete 23:46:27 fc693d55d65f: Pull complete 23:46:27 7e9fc2657dce: Pull complete 23:46:28 dda99020689f: Pull complete 23:46:36 db1c61fa0a46: Pull complete 23:46:38 891c053d2c06: Pull complete 23:46:38 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 23:46:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:46:38 ---> f96f9c87975a 23:46:38 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:46:40 ---> Running in 2304f20b2e07 23:46:40 Removing intermediate container 2304f20b2e07 23:46:40 ---> 0edf34c0bfca 23:46:40 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:46:40 ---> Running in 5624d91e4a5f 23:46:40 Removing intermediate container 5624d91e4a5f 23:46:40 ---> d07cdf5006fa 23:46:40 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:46:40 ---> Running in 41f8bedb9629 23:46:41 Removing intermediate container 41f8bedb9629 23:46:41 ---> ff94853e76d3 23:46:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:46:41 ---> Running in 4eda5cda5ca6 23:46:41 Removing intermediate container 4eda5cda5ca6 23:46:41 ---> ffe591eea5e1 23:46:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:46:41 ---> Running in 2bd447af2454 23:46:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:46:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:46:44 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:46:44 (2/4) Installing libedit (20210910.3.1-r0) 23:46:44 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:46:44 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:46:44 Executing busybox-1.35.0-r17.trigger 23:46:44 OK: 226 MiB in 55 packages 23:46:45 Removing intermediate container 2bd447af2454 23:46:45 ---> 7718b9946c10 23:46:45 Step 8/12 : WORKDIR /device-rest-go 23:46:45 ---> Running in 6a535d8ec9ff 23:46:45 Removing intermediate container 6a535d8ec9ff 23:46:45 ---> 40c247f030c2 23:46:45 Step 9/12 : COPY go.mod vendor* ./ 23:46:46 ---> 4c59c456a2b7 23:46:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:46:46 ---> Running in 1f81bd69a7c3 23:47:54 Removing intermediate container 1f81bd69a7c3 23:47:54 ---> e8b120e91fbf 23:47:54 Step 11/12 : COPY . . 23:47:54 ---> 0b75c8cdccac 23:47:54 Step 12/12 : RUN $MAKE 23:47:54 ---> Running in b977f28f2ccf 23:47:54 noop 23:47:54 Removing intermediate container b977f28f2ccf 23:47:54 ---> b02a8896b114 23:47:54 Successfully built b02a8896b114 23:47:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:47:54 + docker inspect -f . ci-base-image-arm64 23:47:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:47:55 prd-ubuntu20.04-docker-arm64-4c-16g-1770 does not seem to be running inside a container 23:47:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:47:56 $ docker top 21afaf1b5d20eb8fe697fa0dfd8d926e3a93829c53f37b46dd75c2d1957a3269 -eo pid,comm [Pipeline] { [Pipeline] sh 23:47:57 + go version 23:47:57 go version go1.18.7 linux/arm64 [Pipeline] } 23:47:57 $ docker stop --time=1 21afaf1b5d20eb8fe697fa0dfd8d926e3a93829c53f37b46dd75c2d1957a3269 23:47:59 $ docker rm -f --volumes 21afaf1b5d20eb8fe697fa0dfd8d926e3a93829c53f37b46dd75c2d1957a3269 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:47:59 + docker inspect -f . ci-base-image-arm64 23:47:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:48:00 prd-ubuntu20.04-docker-arm64-4c-16g-1770 does not seem to be running inside a container 23:48:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:48:01 $ docker top f238a44e4f48aca52eaaca1dc5b78a6b6ec31297d11d138608a29cd233e332a4 -eo pid,comm [Pipeline] { [Pipeline] sh 23:48:02 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 23:48:03 + make test 23:48:03 go test ./... -coverprofile=coverage.out ./... 23:48:04 ? github.com/edgexfoundry/device-rest-go [no test files] 23:49:26 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:49:28 ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 55.2% of statements 23:49:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:49:28 go vet ./... 23:49:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:49:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:49:50 ./bin/test-attribution-txt.sh [Pipeline] echo 23:49:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:49:51 $ docker stop --time=1 f238a44e4f48aca52eaaca1dc5b78a6b6ec31297d11d138608a29cd233e332a4 23:49:53 $ docker rm -f --volumes f238a44e4f48aca52eaaca1dc5b78a6b6ec31297d11d138608a29cd233e332a4 [Pipeline] // withDockerContainer [Pipeline] sh 23:49:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:49:54 Warning: overwriting stash ‘coverage-report’ 23:49:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:49:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:49:57 + ls -al . 23:49:57 total 184 23:49:57 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 23:48 . 23:49:57 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:45 .. 23:49:57 -rw-rw-r-- 1 jenkins jenkins 151 Jan 10 23:45 .dockerignore 23:49:57 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 23:45 .git 23:49:57 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:45 .github 23:49:57 -rw-rw-r-- 1 jenkins jenkins 329 Jan 10 23:45 .gitignore 23:49:57 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 23:45 .golangci.yml 23:49:57 -rw-rw-r-- 1 jenkins jenkins 8996 Jan 10 23:45 Attribution.txt 23:49:57 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 10 23:45 CHANGELOG.md 23:49:57 -rw-rw-r-- 1 jenkins jenkins 1578 Jan 10 23:45 Dockerfile 23:49:57 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 23:45 GOVERNANCE.md 23:49:57 -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 23:45 Jenkinsfile 23:49:57 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 23:45 LICENSE 23:49:57 -rw-rw-r-- 1 jenkins jenkins 1744 Jan 10 23:45 Makefile 23:49:57 -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 23:45 OWNERS.md 23:49:57 -rw-rw-r-- 1 jenkins jenkins 8667 Jan 10 23:45 README.md 23:49:57 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 23:42 VERSION 23:49:57 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:45 bin 23:49:57 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:45 cmd 23:49:57 -rw-r--r-- 1 jenkins jenkins 9355 Jan 10 23:49 coverage.out 23:49:57 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:45 driver 23:49:57 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 10 23:45 go.mod 23:49:57 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 10 23:45 go.sum 23:49:57 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:45 snap 23:49:57 -rw-rw-r-- 1 jenkins jenkins 713 Jan 10 23:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:57 + 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=bae9649f9eb4a52f862241fea7309d495310450c --label arch=arm64 --label version=0.0.0 . 23:49:57 Sending build context to Docker daemon 138.8kB 23:49:57 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 23:49:57 Step 2/25 : FROM ${BASE} AS builder 23:49:57 ---> b02a8896b114 23:49:57 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:49:57 ---> Running in f9a81ff4bd43 23:49:58 Removing intermediate container f9a81ff4bd43 23:49:58 ---> 1a197afa7b28 23:49:58 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:49:58 ---> Running in 78cbf670bb88 23:49:58 Removing intermediate container 78cbf670bb88 23:49:58 ---> 441707ee42bd 23:49:58 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:49:58 ---> Running in a60a54dd2169 23:49:59 Removing intermediate container a60a54dd2169 23:49:59 ---> 0c64b9621780 23:49:59 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:49:59 ---> Running in 1889f63210b0 23:49:59 Removing intermediate container 1889f63210b0 23:49:59 ---> 84ab0393c09a 23:49:59 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:49:59 ---> Running in 1112896c3a14 23:50:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:50:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:50:02 OK: 226 MiB in 55 packages 23:50:03 Removing intermediate container 1112896c3a14 23:50:03 ---> a26ac0347637 23:50:03 Step 8/25 : WORKDIR /device-rest-go 23:50:03 ---> Running in c365784c19c8 23:50:03 Removing intermediate container c365784c19c8 23:50:03 ---> c72e7375d1e0 23:50:03 Step 9/25 : COPY go.mod vendor* ./ 23:50:04 ---> fc1b08c08fd7 23:50:04 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:50:04 ---> Running in d58d27258773 23:50:06 Removing intermediate container d58d27258773 23:50:06 ---> a916dbbfd96c 23:50:06 Step 11/25 : COPY . . 23:50:09 ---> 28042448a1ed 23:50:09 Step 12/25 : RUN $MAKE 23:50:09 ---> Running in 54dd4fbf0bd5 23:50:10 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 23:52:17 Removing intermediate container 54dd4fbf0bd5 23:52:17 ---> e7cd0b5f6051 23:52:17 Step 13/25 : FROM alpine:3.16 23:52:17 3.16: Pulling from library/alpine 23:52:17 6875df1f5354: Pulling fs layer 23:52:17 6875df1f5354: Verifying Checksum 23:52:17 6875df1f5354: Download complete 23:52:17 6875df1f5354: Pull complete 23:52:17 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 23:52:17 Status: Downloaded newer image for alpine:3.16 23:52:17 ---> 2b4661558fb8 23:52:17 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:52:17 ---> Running in 58835c39b040 23:52:17 Removing intermediate container 58835c39b040 23:52:17 ---> fc44b9eeedea 23:52:17 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:52:17 ---> Running in d054bee01077 23:52:17 Removing intermediate container d054bee01077 23:52:17 ---> 0c5e9c62f01e 23:52:17 Step 16/25 : RUN apk add --update --no-cache dumb-init 23:52:17 ---> Running in f507619c0cd8 23:52:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:52:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:52:17 (1/1) Installing dumb-init (1.2.5-r1) 23:52:17 Executing busybox-1.35.0-r17.trigger 23:52:17 OK: 5 MiB in 15 packages 23:52:17 Removing intermediate container f507619c0cd8 23:52:17 ---> fb26bdf3c55b 23:52:17 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:52:18 ---> 45b5ddb34cb8 23:52:18 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:52:18 ---> d8fc5e5a0ab1 23:52:18 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:52:19 ---> d34c171cf625 23:52:19 Step 20/25 : EXPOSE 59986 23:52:19 ---> Running in 8bbf29f961f3 23:52:19 Removing intermediate container 8bbf29f961f3 23:52:19 ---> 8861b2795f14 23:52:19 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:52:19 ---> Running in 5293edc5acd5 23:52:19 Removing intermediate container 5293edc5acd5 23:52:19 ---> 3c9c32966427 23:52:19 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:52:20 ---> Running in 310dadd6f1b0 23:52:20 Removing intermediate container 310dadd6f1b0 23:52:20 ---> e9ed2d277e7a 23:52:20 Step 23/25 : LABEL arch=arm64 23:52:20 ---> Running in 70405f6e09c4 23:52:20 Removing intermediate container 70405f6e09c4 23:52:20 ---> f0a583b63d0f 23:52:20 Step 24/25 : LABEL git_sha=bae9649f9eb4a52f862241fea7309d495310450c 23:52:20 ---> Running in bb76d26e240d 23:52:21 Removing intermediate container bb76d26e240d 23:52:21 ---> 12b05fbb71a5 23:52:21 Step 25/25 : LABEL version=0.0.0 23:52:21 ---> Running in 1cac35c044e3 23:52:21 Removing intermediate container 1cac35c044e3 23:52:21 ---> 53955131d253 23:52:21 [Warning] One or more build-args [ARCH] were not consumed 23:52:21 Successfully built 53955131d253 23:52:21 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:52:22 23:52:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:52:22 arm64: Pulling from edgex-lftools-log-publisher 23:52:22 8998bd30e6a1: Pulling fs layer 23:52:22 04944245beec: Pulling fs layer 23:52:22 699f458cf7ca: Pulling fs layer 23:52:22 765212b225bb: Pulling fs layer 23:52:22 f23df028b6ca: Pulling fs layer 23:52:22 d65c8cfc05b1: Pulling fs layer 23:52:22 2437ff75d9bd: Pulling fs layer 23:52:22 765212b225bb: Waiting 23:52:22 f23df028b6ca: Waiting 23:52:22 d65c8cfc05b1: Waiting 23:52:22 2437ff75d9bd: Waiting 23:52:23 04944245beec: Verifying Checksum 23:52:23 04944245beec: Download complete 23:52:23 765212b225bb: Verifying Checksum 23:52:23 765212b225bb: Download complete 23:52:23 f23df028b6ca: Download complete 23:52:23 d65c8cfc05b1: Verifying Checksum 23:52:23 d65c8cfc05b1: Download complete 23:52:23 699f458cf7ca: Verifying Checksum 23:52:23 699f458cf7ca: Download complete 23:52:23 8998bd30e6a1: Download complete 23:52:25 2437ff75d9bd: Verifying Checksum 23:52:25 2437ff75d9bd: Download complete 23:52:26 8998bd30e6a1: Pull complete 23:52:27 04944245beec: Pull complete 23:52:29 699f458cf7ca: Pull complete 23:52:29 765212b225bb: Pull complete 23:52:30 f23df028b6ca: Pull complete 23:52:30 d65c8cfc05b1: Pull complete 23:52:45 2437ff75d9bd: Pull complete 23:52:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:52:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:52:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:45 prd-ubuntu20.04-docker-arm64-4c-16g-1770 does not seem to be running inside a container 23:52:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:52:48 $ docker top 6ad0f4b8e2677e410627942ab736468c10db63697a41f26c18fb03d289330fd4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:52:48 ---> job-cost.sh 23:52:49 lf-activate-venv: SKIPPING 23:52:49 INFO: No Stack... 23:52:49 INFO: Retrieving Pricing Info for: v3-standard-4 23:52:50 INFO: Archiving Costs [Pipeline] sh 23:52:50 + cat /w/workspace/device-rest-go/1/archives/cost.csv 23:52:50 + cut -d, -f6 [Pipeline] lock 23:52:50 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-237-1-stack-cost] 23:52:50 Resource [jenkins-edgexfoundry-device-rest-go-PR-237-1-stack-cost] did not exist. Created. 23:52:50 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-237-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:52:51 /w/workspace/device-rest-go/1@tmp/durable-9fd536ad/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:52:51 + echo total: 0.10999999940395355 [Pipeline] stash 23:52:51 Warning: overwriting stash ‘stack-cost’ 23:52:51 Stashed 1 file(s) [Pipeline] } 23:52:51 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-237-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:52:51 $ docker stop --time=1 6ad0f4b8e2677e410627942ab736468c10db63697a41f26c18fb03d289330fd4 23:52:53 $ docker rm -f --volumes 6ad0f4b8e2677e410627942ab736468c10db63697a41f26c18fb03d289330fd4 [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 23:52:54 provisioning config files... 23:52:54 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-237@tmp/config5899814164789990797tmp [Pipeline] { [Pipeline] sh 23:52:54 + set +x 23:52:54 + curl -s https://codecov.io/bash 23:52:54 + bash -s -- 23:52:54 23:52:54 _____ _ 23:52:54 / ____| | | 23:52:54 | | ___ __| | ___ ___ _____ __ 23:52:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:52:54 | |___| (_) | (_| | __/ (_| (_) \ V / 23:52:54 \_____\___/ \__,_|\___|\___\___/ \_/ 23:52:54 Bash-1.0.6 23:52:54 23:52:54 23:52:54 ==> git version 2.25.1 found 23:52:54 ==> 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 23:52:54 Release-Date: 2020-01-08 23:52:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:52:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:52:54 ==> Jenkins CI detected. 23:52:54 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-237 23:52:54 project root: . 23:52:54 --> token set from env 23:52:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:52:54 ==> Running gcov in . (disable via -X gcov) 23:52:54 ==> Python coveragepy not found 23:52:54 ==> Searching for coverage reports in: 23:52:54 + . 23:52:54 -> Found 1 reports 23:52:54 ==> Detecting git/mercurial file structure 23:52:54 ==> Reading reports 23:52:54 + ./coverage.out bytes=9355 23:52:54 ==> Appending adjustments 23:52:54 https://docs.codecov.io/docs/fixing-reports 23:52:54 + Found adjustments 23:52:54 ==> Gzipping contents 23:52:54 4.0K /tmp/codecov.Y2AfCn.gz 23:52:54 ==> Uploading reports 23:52:54 url: https://codecov.io 23:52:54 query: branch=PR-237&commit=bae9649f9eb4a52f862241fea7309d495310450c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-237%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=237&job=&cmd_args= 23:52:54 -> Pinging Codecov 23:52:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-237&commit=bae9649f9eb4a52f862241fea7309d495310450c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-237%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=237&job=&cmd_args= 23:52:54 -> Uploading to 23:52:54 https://storage.googleapis.com/codecov/v4/raw/2023-01-10/4E5D53B4F1F92C436F7061BF334D961C/bae9649f9eb4a52f862241fea7309d495310450c/a37a3473-6cc9-4508-80b0-edb887194270.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T235254Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=15a8e47f2bc7fdaf48c4778d596b1a3664ac0869e1ddebe3ecb6846a91964892 23:52:54 % Total % Received % Xferd Average Speed Time Time Time Current 23:52:54 Dload Upload Total Spent Left Speed 23:52:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1734 0 0 100 1734 0 6908 --:--:-- --:--:-- --:--:-- 6908 23:52:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/bae9649f9eb4a52f862241fea7309d495310450c [Pipeline] } 23:52:55 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 23:52:56 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-237/archives ] 23:52:56 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-237/archives 23:52:56 total 16 23:52:56 drwxr-xr-x 3 root root 4096 Jan 10 23:44 . 23:52:56 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 23:44 .. 23:52:56 drwxr-xr-x 2 root root 4096 Jan 10 23:44 cost 23:52:56 -rw-r--r-- 1 root root 86 Jan 10 23:44 cost.csv 23:52:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-237/archives 23:52:56 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-237/archives 23:52:56 total 16 23:52:56 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 23:44 . 23:52:56 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 23:44 .. 23:52:56 drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 23:44 cost 23:52:56 -rw-r--r-- 1 jenkins jenkins 86 Jan 10 23:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:52:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:52:58 ---> package-listing.sh 23:52:58 ++ facter osfamily 23:52:58 ++ tr '[:upper:]' '[:lower:]' 23:52:58 + OS_FAMILY=debian 23:52:58 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-237 23:52:58 + START_PACKAGES=/tmp/packages_start.txt 23:52:58 + END_PACKAGES=/tmp/packages_end.txt 23:52:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:52:58 + PACKAGES=/tmp/packages_start.txt 23:52:58 + '[' /w/workspace/gexfoundry_device-rest-go_PR-237 ']' 23:52:58 + PACKAGES=/tmp/packages_end.txt 23:52:58 + case "${OS_FAMILY}" in 23:52:58 + dpkg -l 23:52:58 + grep '^ii' 23:52:58 + '[' -f /tmp/packages_start.txt ']' 23:52:58 + '[' -f /tmp/packages_end.txt ']' 23:52:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:52:58 + '[' /w/workspace/gexfoundry_device-rest-go_PR-237 ']' 23:52:58 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-237/archives/ 23:52:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-237/archives/ [Pipeline] echo 23:52:58 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-237/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:52:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:52:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:59 prd-ubuntu20.04-docker-8c-8g-1767 does not seem to be running inside a container 23:52:59 $ 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-237/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-237 -v /w/workspace/gexfoundry_device-rest-go_PR-237:/w/workspace/gexfoundry_device-rest-go_PR-237:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-237@tmp:/w/workspace/gexfoundry_device-rest-go_PR-237@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:52:59 $ docker top 1600d003652a4d5d08bddb886a7df325e3602d1ff6093c00ad097feb8f6daefc -eo pid,comm [Pipeline] { [Pipeline] sh 23:53:00 + touch /tmp/pre-build-complete [Pipeline] sh 23:53:00 + mkdir -p /var/log/sysstat [Pipeline] sh 23:53:00 + ls /var/log/sa-host 23:53:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:53:00 provisioning config files... 23:53:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-237@tmp/config5468097158811529598tmp [Pipeline] { [Pipeline] echo 23:53:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:53:01 ---> create-netrc.sh [Pipeline] } 23:53:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:53:01 ---> python-tools-install.sh [Pipeline] echo 23:53:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:53:02 ---> sudo-logs.sh 23:53:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:53:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:53:02 ---> job-cost.sh 23:53:02 lf-activate-venv: SKIPPING 23:53:02 DEBUG: total: 0.2199999988079071 23:53:02 INFO: Retrieving Stack Cost... 23:53:02 INFO: Retrieving Pricing Info for: v3-standard-8 23:53:03 INFO: Archiving Costs [Pipeline] echo 23:53:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:53:03 ---> logs-deploy.sh 23:53:03 lf-activate-venv: SKIPPING 23:53:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-237/1 23:53:03 INFO: archiving workspace using pattern(s): 23:53:04 Archives upload complete. 23:53:04 INFO: archiving logs to Nexus