Pull request #335 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d98d79735f58f6d132b4cc2384e40ffb4103d38f+cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 (92d681bea001e5384c4872fece86432180507fb9) 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-ssh9429273173887939489.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh6022465045048104098.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-335/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-335/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6481137637677516785.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-335/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11226945992836525494.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh9012677780100934656.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-335/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-335/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1162290098522011457.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4925’ Running on prd-ubuntu20.04-docker-8c-8g-4928 in /w/workspace/gexfoundry_device-rest-go_PR-335 [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-335 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 into PR head commit d98d79735f58f6d132b4cc2384e40ffb4103d38f Merge succeeded, producing d98d79735f58f6d132b4cc2384e40ffb4103d38f Checking out Revision d98d79735f58f6d132b4cc2384e40ffb4103d38f (PR-335) 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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 > 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/335/head:refs/remotes/origin/PR-335 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d98d79735f58f6d132b4cc2384e40ffb4103d38f # 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 cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d98d79735f58f6d132b4cc2384e40ffb4103d38f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:14:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:14:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:14:06 ========================================================= 20:14:06 EdgeX Global Pipelines Version Info 20:14:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:14:07 ------------------- 20:14:07 stable info: 20:14:07 ------------------- 20:14:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:14:07 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 20:14:07 Message: update stable to v1.0.253 20:14:07 ------------------- 20:14:07 experimental info: 20:14:07 ------------------- 20:14:07 Commited By: **** collab-it+edgex@linuxfoundation.org 20:14:07 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 20:14:07 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:14:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:14:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:14:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:14:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:14:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-335 [Pipeline] echo 20:14:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-335 [Pipeline] echo 20:14:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-335 [Pipeline] echo 20:14:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d98d79735f58f6d132b4cc2384e40ffb4103d38f [Pipeline] echo 20:14:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d98d797 [Pipeline] echo 20:14:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:14:09 provisioning config files... 20:14:09 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-335@tmp/config10195574039300947624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:09 ---> docker-login.sh 20:14:09 nexus3.edgexfoundry.org:10001 20:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:10 Configure a credential helper to remove this warning. See 20:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:10 20:14:10 Login Succeeded 20:14:10 nexus3.edgexfoundry.org:10002 20:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:10 Configure a credential helper to remove this warning. See 20:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:10 20:14:10 Login Succeeded 20:14:10 nexus3.edgexfoundry.org:10003 20:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:10 Configure a credential helper to remove this warning. See 20:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:10 20:14:10 Login Succeeded 20:14:10 nexus3.edgexfoundry.org:10004 20:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:10 Configure a credential helper to remove this warning. See 20:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:10 20:14:10 Login Succeeded 20:14:10 docker.io 20:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:10 Configure a credential helper to remove this warning. See 20:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:10 20:14:10 Login Succeeded 20:14:10 ---> docker-login.sh ends [Pipeline] } 20:14:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:14:11 + git rev-list -1 --merges d98d79735f58f6d132b4cc2384e40ffb4103d38f~1..d98d79735f58f6d132b4cc2384e40ffb4103d38f [Pipeline] echo 20:14:11 -----------> git rev-list -1 --merges d98d79735f58f6d132b4cc2384e40ffb4103d38f~1..d98d79735f58f6d132b4cc2384e40ffb4103d38f d98d79735f58f6d132b4cc2384e40ffb4103d38f [false] [Pipeline] sh 20:14:11 + git log --format=format:%s -1 d98d79735f58f6d132b4cc2384e40ffb4103d38f [Pipeline] echo 20:14:11 ========================================================= 20:14:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:14:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:14:12 + git log --format=format:%s -1 d98d79735f58f6d132b4cc2384e40ffb4103d38f [Pipeline] echo 20:14:12 [semverPrep] GIT_COMMIT: d98d79735f58f6d132b4cc2384e40ffb4103d38f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:14:12 [semverPrep] This is not a build commit. [Pipeline] sh 20:14:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:14:12 + grep -v github /etc/ssh/ssh_known_hosts 20:14:12 + [ -e /tmp/ssh_known_hosts ] 20:14:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:14:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:14:12 + sudo tee -a /etc/ssh/ssh_known_hosts 20:14:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:14:12 20:14:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:14:13 0.1.4: Pulling from edgex-devops/py-git-semver 20:14:13 b85a868b505f: Pulling fs layer 20:14:13 e2be974225ed: Pulling fs layer 20:14:13 339a4e72a1f5: Pulling fs layer 20:14:13 988bab9f4d93: Pulling fs layer 20:14:13 1469e6f7b9e6: Pulling fs layer 20:14:13 eaf3925da568: Pulling fs layer 20:14:13 bab4dde63d76: Pulling fs layer 20:14:13 bde34c3a00c8: Pulling fs layer 20:14:13 b352a97aabf1: Pulling fs layer 20:14:13 4872d77fe225: Pulling fs layer 20:14:13 5851b861e8e6: Pulling fs layer 20:14:13 988bab9f4d93: Waiting 20:14:13 1469e6f7b9e6: Waiting 20:14:13 eaf3925da568: Waiting 20:14:13 bab4dde63d76: Waiting 20:14:13 bde34c3a00c8: Waiting 20:14:13 5851b861e8e6: Waiting 20:14:13 b352a97aabf1: Waiting 20:14:13 4872d77fe225: Waiting 20:14:13 e2be974225ed: Verifying Checksum 20:14:13 e2be974225ed: Download complete 20:14:13 988bab9f4d93: Verifying Checksum 20:14:13 988bab9f4d93: Download complete 20:14:13 1469e6f7b9e6: Verifying Checksum 20:14:13 1469e6f7b9e6: Download complete 20:14:13 eaf3925da568: Verifying Checksum 20:14:13 eaf3925da568: Download complete 20:14:13 339a4e72a1f5: Verifying Checksum 20:14:13 339a4e72a1f5: Download complete 20:14:13 bde34c3a00c8: Verifying Checksum 20:14:13 bde34c3a00c8: Download complete 20:14:13 b352a97aabf1: Download complete 20:14:13 4872d77fe225: Verifying Checksum 20:14:13 4872d77fe225: Download complete 20:14:13 5851b861e8e6: Verifying Checksum 20:14:13 5851b861e8e6: Download complete 20:14:13 b85a868b505f: Verifying Checksum 20:14:13 b85a868b505f: Download complete 20:14:13 bab4dde63d76: Verifying Checksum 20:14:13 bab4dde63d76: Download complete 20:14:14 b85a868b505f: Pull complete 20:14:14 e2be974225ed: Pull complete 20:14:15 339a4e72a1f5: Pull complete 20:14:15 988bab9f4d93: Pull complete 20:14:15 1469e6f7b9e6: Pull complete 20:14:15 eaf3925da568: Pull complete 20:14:17 bab4dde63d76: Pull complete 20:14:17 bde34c3a00c8: Pull complete 20:14:17 b352a97aabf1: Pull complete 20:14:17 4872d77fe225: Pull complete 20:14:17 5851b861e8e6: Pull complete 20:14:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:14:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:14:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:18 prd-ubuntu20.04-docker-8c-8g-4928 does not seem to be running inside a container 20:14:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-335 -v /w/workspace/gexfoundry_device-rest-go_PR-335:/w/workspace/gexfoundry_device-rest-go_PR-335:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-335@tmp:/w/workspace/gexfoundry_device-rest-go_PR-335@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:14:21 $ docker top 0dc6a1f7b72c5460e88340daccb96cb74716ef561f12e771d73592c60e508511 -eo pid,comm 20:14:21 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:14:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:14:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:14:21 [ssh-agent] Looking for ssh-agent implementation... 20:14:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:14:21 $ docker exec 0dc6a1f7b72c5460e88340daccb96cb74716ef561f12e771d73592c60e508511 ssh-agent 20:14:21 SSH_AUTH_SOCK=/tmp/ssh-KwahUDyuYxAP/agent.32 20:14:21 SSH_AGENT_PID=39 20:14:21 Running ssh-add (command line suppressed) 20:14:22 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-335@tmp/private_key_692956541502515579.key (/w/workspace/gexfoundry_device-rest-go_PR-335@tmp/private_key_692956541502515579.key) 20:14:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:14:22 + git tag --points-at HEAD [Pipeline] } 20:14:22 $ docker exec --env ******** --env ******** 0dc6a1f7b72c5460e88340daccb96cb74716ef561f12e771d73592c60e508511 ssh-agent -k 20:14:22 unset SSH_AUTH_SOCK; 20:14:22 unset SSH_AGENT_PID; 20:14:22 echo Agent pid 39 killed; 20:14:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:14:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:14:22 [ssh-agent] Looking for ssh-agent implementation... 20:14:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:14:22 $ docker exec 0dc6a1f7b72c5460e88340daccb96cb74716ef561f12e771d73592c60e508511 ssh-agent 20:14:22 SSH_AUTH_SOCK=/tmp/ssh-B5oWGL7I4Qiz/agent.71 20:14:22 SSH_AGENT_PID=77 20:14:22 Running ssh-add (command line suppressed) 20:14:22 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-335@tmp/private_key_4293691917308084711.key (/w/workspace/gexfoundry_device-rest-go_PR-335@tmp/private_key_4293691917308084711.key) 20:14:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:14:23 + git semver init 20:14:23 2023-08-30 20:14:23,450 [run_init] DEBUG init version:0.0.0 force:False 20:14:23 2023-08-30 20:14:23,451 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-335/.semver 20:14:23 2023-08-30 20:14:23,452 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-335/.semver 20:14:23 2023-08-30 20:14:23,452 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-335/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-335, universal_newlines=False, shell=None, istream=None) 20:14:24 2023-08-30 20:14:24,454 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-335/.git/info/exclude 20:14:24 2023-08-30 20:14:24,454 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-335/.semver/PR-335 with force:False 20:14:24 2023-08-30 20:14:24,455 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-335/.semver/PR-335 20:14:24 2023-08-30 20:14:24,458 [execute] INFO git cat-file --batch-check 20:14:24 2023-08-30 20:14:24,459 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-335/.semver, universal_newlines=False, shell=None, istream=) 20:14:24 2023-08-30 20:14:24,464 [execute] INFO git cat-file --batch 20:14:24 2023-08-30 20:14:24,464 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-335/.semver, universal_newlines=False, shell=None, istream=) 20:14:24 2023-08-30 20:14:24,469 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-335/.semver/PR-335 20:14:24 0.0.0 [Pipeline] } 20:14:24 $ docker exec --env ******** --env ******** 0dc6a1f7b72c5460e88340daccb96cb74716ef561f12e771d73592c60e508511 ssh-agent -k 20:14:25 unset SSH_AUTH_SOCK; 20:14:25 unset SSH_AGENT_PID; 20:14:25 echo Agent pid 77 killed; 20:14:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:14:25 + git semver [Pipeline] } 20:14:25 $ docker stop --time=1 0dc6a1f7b72c5460e88340daccb96cb74716ef561f12e771d73592c60e508511 20:14:27 $ docker rm -f --volumes 0dc6a1f7b72c5460e88340daccb96cb74716ef561f12e771d73592c60e508511 [Pipeline] // withDockerContainer [Pipeline] sh 20:14:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:14:27 Stashed 1 file(s) [Pipeline] echo 20:14:27 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:14:28 provisioning config files... 20:14:28 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-335@tmp/config8321653382533759484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:28 ---> docker-login.sh 20:14:28 nexus3.edgexfoundry.org:10001 20:14:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:28 Configure a credential helper to remove this warning. See 20:14:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:28 20:14:28 Login Succeeded 20:14:28 nexus3.edgexfoundry.org:10002 20:14:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:28 Configure a credential helper to remove this warning. See 20:14:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:28 20:14:28 Login Succeeded 20:14:28 nexus3.edgexfoundry.org:10003 20:14:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:28 Configure a credential helper to remove this warning. See 20:14:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:28 20:14:28 Login Succeeded 20:14:28 nexus3.edgexfoundry.org:10004 20:14:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:28 Configure a credential helper to remove this warning. See 20:14:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:28 20:14:28 Login Succeeded 20:14:28 docker.io 20:14:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:29 Configure a credential helper to remove this warning. See 20:14:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:29 20:14:29 Login Succeeded 20:14:29 ---> docker-login.sh ends [Pipeline] } 20:14:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:14:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:14:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:14:29 ========================================================= 20:14:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:14:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:29 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:14:29 Sending build context to Docker daemon 10.93MB 20:14:29 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:14:29 Step 2/12 : FROM ${BASE} AS builder 20:14:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:14:29 4db1b89c0bd1: Pulling fs layer 20:14:29 6911f1a30b25: Pulling fs layer 20:14:29 e194b8c5c2a9: Pulling fs layer 20:14:29 6863d3e3a2b1: Pulling fs layer 20:14:29 ec0bb842ea78: Pulling fs layer 20:14:29 40a00589a448: Pulling fs layer 20:14:29 6c08303d61cc: Pulling fs layer 20:14:29 798269fcf238: Pulling fs layer 20:14:29 6863d3e3a2b1: Waiting 20:14:29 798269fcf238: Waiting 20:14:29 40a00589a448: Waiting 20:14:29 6c08303d61cc: Waiting 20:14:29 ec0bb842ea78: Waiting 20:14:29 6911f1a30b25: Download complete 20:14:29 6863d3e3a2b1: Download complete 20:14:30 ec0bb842ea78: Download complete 20:14:30 4db1b89c0bd1: Verifying Checksum 20:14:30 4db1b89c0bd1: Download complete 20:14:30 40a00589a448: Verifying Checksum 20:14:30 40a00589a448: Download complete 20:14:30 4db1b89c0bd1: Pull complete 20:14:30 6911f1a30b25: Pull complete 20:14:30 798269fcf238: Download complete 20:14:30 e194b8c5c2a9: Verifying Checksum 20:14:30 e194b8c5c2a9: Download complete 20:14:30 6c08303d61cc: Verifying Checksum 20:14:30 6c08303d61cc: Download complete 20:14:34 e194b8c5c2a9: Pull complete 20:14:34 6863d3e3a2b1: Pull complete 20:14:34 ec0bb842ea78: Pull complete 20:14:34 40a00589a448: Pull complete 20:14:36 6c08303d61cc: Pull complete 20:14:37 798269fcf238: Pull complete 20:14:37 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 20:14:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:14:37 ---> ec979cd7f677 20:14:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:14:43 Still waiting to schedule task 20:14:43 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4926’ 20:14:43 ---> Running in e728d33a7916 20:14:43 Removing intermediate container e728d33a7916 20:14:43 ---> 600682b24f10 20:14:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:14:43 ---> Running in b9b5a623f1e7 20:14:43 Removing intermediate container b9b5a623f1e7 20:14:43 ---> dd725a41ce63 20:14:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:14:43 ---> Running in e21da61ddb46 20:14:43 Removing intermediate container e21da61ddb46 20:14:43 ---> 744fcaf8fd6a 20:14:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:14:43 ---> Running in fb927ca7da2e 20:14:43 Removing intermediate container fb927ca7da2e 20:14:43 ---> ad675f1e7a21 20:14:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:14:43 ---> Running in f68f817029dd 20:14:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:14:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:14:44 (1/4) Installing openssh-keygen (9.1_p1-r4) 20:14:44 (2/4) Installing libedit (20221030.3.1-r0) 20:14:44 (3/4) Installing openssh-client-common (9.1_p1-r4) 20:14:44 (4/4) Installing openssh-client-default (9.1_p1-r4) 20:14:44 Executing busybox-1.35.0-r29.trigger 20:14:44 OK: 269 MiB in 57 packages 20:14:44 Removing intermediate container f68f817029dd 20:14:44 ---> 28a7984bb409 20:14:44 Step 8/12 : WORKDIR /device-rest-go 20:14:44 ---> Running in 04371f813f44 20:14:44 Removing intermediate container 04371f813f44 20:14:44 ---> afbca6fc3c94 20:14:44 Step 9/12 : COPY go.mod vendor* ./ 20:14:44 ---> 8f5547ec25c7 20:14:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:14:44 ---> Running in c0ec80d3f651 20:15:16 Removing intermediate container c0ec80d3f651 20:15:16 ---> a45de88b9789 20:15:16 Step 11/12 : COPY . . 20:15:16 ---> 4c397b1a1f6a 20:15:16 Step 12/12 : RUN $MAKE 20:15:16 ---> Running in 6337064f9c86 20:15:16 noop 20:15:16 Removing intermediate container 6337064f9c86 20:15:16 ---> 192343c0edd9 20:15:16 Successfully built 192343c0edd9 20:15:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:17 + docker inspect -f . ci-base-image-x86_64 20:15:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:17 prd-ubuntu20.04-docker-8c-8g-4928 does not seem to be running inside a container 20:15:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-335 -v /w/workspace/gexfoundry_device-rest-go_PR-335:/w/workspace/gexfoundry_device-rest-go_PR-335:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-335@tmp:/w/workspace/gexfoundry_device-rest-go_PR-335@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:15:17 $ docker top 1cd1562fce922b52eb2e7d4d941ea5f9d57d7c6803e8ad0d4e7f417f8f4c3ca5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:15:18 + go version 20:15:18 go version go1.20.6 linux/amd64 [Pipeline] } 20:15:18 $ docker stop --time=1 1cd1562fce922b52eb2e7d4d941ea5f9d57d7c6803e8ad0d4e7f417f8f4c3ca5 20:15:19 $ docker rm -f --volumes 1cd1562fce922b52eb2e7d4d941ea5f9d57d7c6803e8ad0d4e7f417f8f4c3ca5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:20 + docker inspect -f . ci-base-image-x86_64 20:15:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:20 prd-ubuntu20.04-docker-8c-8g-4928 does not seem to be running inside a container 20:15:20 $ 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-335 -v /w/workspace/gexfoundry_device-rest-go_PR-335:/w/workspace/gexfoundry_device-rest-go_PR-335:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-335@tmp:/w/workspace/gexfoundry_device-rest-go_PR-335@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:15:20 $ docker top d996f015729234e45e5c77d04dbe8f2e486e5dcbe6b249314870fc399a929dc8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:15:21 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-335 [Pipeline] fileExists [Pipeline] sh 20:15:21 + make test 20:15:21 go test ./... -coverprofile=coverage.out ./... 20:15:26 ? github.com/edgexfoundry/device-rest-go [no test files] 20:15:36 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:15:36 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 20:15:42 go vet ./... 20:15:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:15:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:15:45 ./bin/test-attribution-txt.sh [Pipeline] echo 20:15:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:15:45 $ docker stop --time=1 d996f015729234e45e5c77d04dbe8f2e486e5dcbe6b249314870fc399a929dc8 20:15:49 $ docker rm -f --volumes d996f015729234e45e5c77d04dbe8f2e486e5dcbe6b249314870fc399a929dc8 [Pipeline] // withDockerContainer [Pipeline] sh 20:15:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:15:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:15:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:15:51 + ls -al . 20:15:51 total 188 20:15:51 drwxrwxr-x 9 jenkins jenkins 4096 Aug 30 20:15 . 20:15:51 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 20:14 .. 20:15:51 -rw-rw-r-- 1 jenkins jenkins 151 Aug 30 20:14 .dockerignore 20:15:51 drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 20:14 .git 20:15:51 drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 20:14 .github 20:15:51 -rw-rw-r-- 1 jenkins jenkins 329 Aug 30 20:14 .gitignore 20:15:51 -rw-rw-r-- 1 jenkins jenkins 41 Aug 30 20:14 .golangci.yml 20:15:51 drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 20:14 .semver 20:15:51 -rw-rw-r-- 1 jenkins jenkins 10300 Aug 30 20:14 Attribution.txt 20:15:51 -rw-rw-r-- 1 jenkins jenkins 15709 Aug 30 20:14 CHANGELOG.md 20:15:51 -rw-rw-r-- 1 jenkins jenkins 1578 Aug 30 20:14 Dockerfile 20:15:51 -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 20:14 GOVERNANCE.md 20:15:51 -rw-rw-r-- 1 jenkins jenkins 680 Aug 30 20:14 Jenkinsfile 20:15:51 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 30 20:14 LICENSE 20:15:51 -rw-rw-r-- 1 jenkins jenkins 2010 Aug 30 20:14 Makefile 20:15:51 -rw-rw-r-- 1 jenkins jenkins 620 Aug 30 20:14 OWNERS.md 20:15:51 -rw-rw-r-- 1 jenkins jenkins 15827 Aug 30 20:14 README.md 20:15:51 -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 20:14 VERSION 20:15:51 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 20:14 bin 20:15:51 drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 20:14 cmd 20:15:51 -rw-r--r-- 1 jenkins jenkins 14499 Aug 30 20:15 coverage.out 20:15:51 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 20:14 driver 20:15:51 -rw-rw-r-- 1 jenkins jenkins 3889 Aug 30 20:14 go.mod 20:15:51 -rw-rw-r-- 1 jenkins jenkins 34092 Aug 30 20:14 go.sum 20:15:51 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 20:14 snap 20:15:51 -rw-rw-r-- 1 jenkins jenkins 713 Aug 30 20:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:51 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d98d79735f58f6d132b4cc2384e40ffb4103d38f --label arch=amd64 --label version=0.0.0 . 20:15:51 Sending build context to Docker daemon 10.94MB 20:15:51 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:15:51 Step 2/25 : FROM ${BASE} AS builder 20:15:51 ---> 192343c0edd9 20:15:51 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:15:51 ---> Running in a534dff39c6b 20:15:51 Removing intermediate container a534dff39c6b 20:15:51 ---> 539c970183d3 20:15:51 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:15:51 ---> Running in 124ec9582636 20:15:52 Removing intermediate container 124ec9582636 20:15:52 ---> 2a12e9e03300 20:15:52 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:15:52 ---> Running in 64efcb0afdbc 20:15:52 Removing intermediate container 64efcb0afdbc 20:15:52 ---> 5ffe16734a18 20:15:52 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:15:52 ---> Running in 371149cf3c71 20:15:52 Removing intermediate container 371149cf3c71 20:15:52 ---> 2c641625945c 20:15:52 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:15:52 ---> Running in a8940e68c412 20:15:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:15:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:15:52 OK: 269 MiB in 57 packages 20:15:53 Removing intermediate container a8940e68c412 20:15:53 ---> a24e8fa50334 20:15:53 Step 8/25 : WORKDIR /device-rest-go 20:15:53 ---> Running in 8dd4522d95ae 20:15:53 Removing intermediate container 8dd4522d95ae 20:15:53 ---> 3282ac4d6520 20:15:53 Step 9/25 : COPY go.mod vendor* ./ 20:15:53 ---> 82e45d3bafa1 20:15:53 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:15:53 ---> Running in 6e6e972c7bfc 20:15:54 Removing intermediate container 6e6e972c7bfc 20:15:54 ---> a22fbea5026b 20:15:54 Step 11/25 : COPY . . 20:15:54 ---> 83a376dabb3e 20:15:54 Step 12/25 : RUN $MAKE 20:15:54 ---> Running in c18f9a26462d 20:15:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:16:16 Removing intermediate container c18f9a26462d 20:16:16 ---> 264173beb560 20:16:16 Step 13/25 : FROM alpine:3.17 20:16:16 3.17: Pulling from library/alpine 20:16:16 9398808236ff: Pulling fs layer 20:16:16 9398808236ff: Download complete 20:16:16 9398808236ff: Pull complete 20:16:16 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 20:16:16 Status: Downloaded newer image for alpine:3.17 20:16:16 ---> 1e0b8b5322fc 20:16:16 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:16:16 ---> Running in 3d32979b69d2 20:16:16 Removing intermediate container 3d32979b69d2 20:16:16 ---> 9fc40774cbbd 20:16:16 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:16:16 ---> Running in 8a6f39d6d2b3 20:16:16 Removing intermediate container 8a6f39d6d2b3 20:16:16 ---> 967140f622f3 20:16:16 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:16:16 ---> Running in 5db73a774ca9 20:16:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:16:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:16:16 (1/1) Installing dumb-init (1.2.5-r2) 20:16:16 Executing busybox-1.35.0-r29.trigger 20:16:16 OK: 7 MiB in 16 packages 20:16:16 Removing intermediate container 5db73a774ca9 20:16:16 ---> f2dbd5a7a4ad 20:16:16 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:16:16 ---> 4275f94d20c7 20:16:16 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:16:16 ---> a44a126bdfec 20:16:16 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:16:16 ---> 765db990d0e7 20:16:16 Step 20/25 : EXPOSE 59986 20:16:16 ---> Running in 6a802ad12d94 20:16:16 Removing intermediate container 6a802ad12d94 20:16:16 ---> 57a124224edf 20:16:16 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:16:16 ---> Running in 5c6447f83717 20:16:16 Removing intermediate container 5c6447f83717 20:16:16 ---> 96b023234b2a 20:16:16 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:16:17 ---> Running in e3a3307aeba7 20:16:17 Removing intermediate container e3a3307aeba7 20:16:17 ---> 4866239368d7 20:16:17 Step 23/25 : LABEL arch=amd64 20:16:17 ---> Running in 69f1049661cd 20:16:17 Removing intermediate container 69f1049661cd 20:16:17 ---> 3c3a9d278bb3 20:16:17 Step 24/25 : LABEL git_sha=d98d79735f58f6d132b4cc2384e40ffb4103d38f 20:16:17 ---> Running in d2980e045460 20:16:17 Removing intermediate container d2980e045460 20:16:17 ---> 038d5370bd79 20:16:17 Step 25/25 : LABEL version=0.0.0 20:16:17 ---> Running in 646a5e027409 20:16:17 Removing intermediate container 646a5e027409 20:16:17 ---> 024b04572636 20:16:17 [Warning] One or more build-args [ARCH] were not consumed 20:16:17 Successfully built 024b04572636 20:16:17 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 20:16:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:16:18 20:16:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:16:18 latest: Pulling from edgex-lftools-log-publisher 20:16:18 5eb5b503b376: Pulling fs layer 20:16:18 5c69ac0246d0: Pulling fs layer 20:16:18 ec43610c2a17: Pulling fs layer 20:16:18 3a2ae6a8a46f: Pulling fs layer 20:16:18 33b1e0a273af: Pulling fs layer 20:16:18 5d3b04190fa2: Pulling fs layer 20:16:18 2f39f015ded8: Pulling fs layer 20:16:18 3a2ae6a8a46f: Waiting 20:16:18 33b1e0a273af: Waiting 20:16:18 2f39f015ded8: Waiting 20:16:18 5d3b04190fa2: Waiting 20:16:18 5c69ac0246d0: Verifying Checksum 20:16:18 5c69ac0246d0: Download complete 20:16:18 3a2ae6a8a46f: Download complete 20:16:18 33b1e0a273af: Verifying Checksum 20:16:18 33b1e0a273af: Download complete 20:16:18 5d3b04190fa2: Download complete 20:16:18 ec43610c2a17: Download complete 20:16:18 5eb5b503b376: Verifying Checksum 20:16:18 5eb5b503b376: Download complete 20:16:19 2f39f015ded8: Download complete 20:16:20 5eb5b503b376: Pull complete 20:16:20 5c69ac0246d0: Pull complete 20:16:20 ec43610c2a17: Pull complete 20:16:20 3a2ae6a8a46f: Pull complete 20:16:20 33b1e0a273af: Pull complete 20:16:20 5d3b04190fa2: Pull complete 20:16:25 2f39f015ded8: Pull complete 20:16:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:16:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:16:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:16:25 prd-ubuntu20.04-docker-8c-8g-4928 does not seem to be running inside a container 20:16:25 $ 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-335 -v /w/workspace/gexfoundry_device-rest-go_PR-335:/w/workspace/gexfoundry_device-rest-go_PR-335:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-335@tmp:/w/workspace/gexfoundry_device-rest-go_PR-335@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:16:28 $ docker top 567048f389b4d09e861015b7dddb72e17d2e3decd36ffcb04af6ee719781e66d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:16:29 ---> job-cost.sh 20:16:29 lf-activate-venv: SKIPPING 20:16:29 INFO: No Stack... 20:16:29 INFO: Retrieving Pricing Info for: v3-standard-8 20:16:29 INFO: Archiving Costs [Pipeline] sh 20:16:30 + cat /w/workspace/gexfoundry_device-rest-go_PR-335/archives/cost.csv 20:16:30 + cut -d, -f6 [Pipeline] lock 20:16:30 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-335-1-stack-cost] 20:16:30 Resource [jenkins-edgexfoundry-device-rest-go-PR-335-1-stack-cost] did not exist. Created. 20:16:30 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-335-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:16:30 + echo total: 0.2199999988079071 [Pipeline] stash 20:16:30 Stashed 1 file(s) [Pipeline] } 20:16:30 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-335-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:16:30 $ docker stop --time=1 567048f389b4d09e861015b7dddb72e17d2e3decd36ffcb04af6ee719781e66d 20:16:31 $ docker rm -f --volumes 567048f389b4d09e861015b7dddb72e17d2e3decd36ffcb04af6ee719781e66d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:18:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4929 in /w/workspace/gexfoundry_device-rest-go_PR-335 [Pipeline] { [Pipeline] ws 20:18:11 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:18:11 The recommended git tool is: git 20:18:16 using credential edgex-jenkins-ssh 20:18:16 Cloning the remote Git repository 20:18:16 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:18:16 > git init /w/workspace/device-rest-go/1 # timeout=10 20:18:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:18:16 > git --version # timeout=10 20:18:16 > git --version # 'git version 2.25.1' 20:18:16 using GIT_SSH to set credentials SSH Credentials for GitHub 20:18:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:18:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:18:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:18:20 Merging remotes/origin/main commit cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 into PR head commit d98d79735f58f6d132b4cc2384e40ffb4103d38f 20:18:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:18:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:18:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:18:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/335/head:refs/remotes/origin/PR-335 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:18:20 > git config core.sparsecheckout # timeout=10 20:18:20 > git checkout -f d98d79735f58f6d132b4cc2384e40ffb4103d38f # timeout=10 20:18:20 Merge succeeded, producing d98d79735f58f6d132b4cc2384e40ffb4103d38f 20:18:20 Checking out Revision d98d79735f58f6d132b4cc2384e40ffb4103d38f (PR-335) 20:18:20 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:18:21 > git --version # timeout=10 20:18:21 > git --version # 'git version 2.25.1' 20:18:21 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:18:20 > git remote # timeout=10 20:18:20 > git config --get remote.origin.url # timeout=10 20:18:20 using GIT_SSH to set credentials SSH Credentials for GitHub 20:18:20 > git merge cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 # timeout=10 20:18:20 > git rev-parse HEAD^{commit} # timeout=10 20:18:20 > git config core.sparsecheckout # timeout=10 20:18:20 > git checkout -f d98d79735f58f6d132b4cc2384e40ffb4103d38f # timeout=10 20:18:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:18:22 % Total % Received % Xferd Average Speed Time Time Time Current 20:18:22 Dload Upload Total Spent Left Speed 20:18:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79198 0 --:--:-- --:--:-- --:--:-- 79693 [Pipeline] sh 20:18:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:18:23 + sudo tee /etc/docker/daemon.new 20:18:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:18:23 { 20:18:23 "registry-mirrors": [ 20:18:23 "https://nexus3.edgexfoundry.org:10001" 20:18:23 ], 20:18:23 "bip": "10.250.0.254/24", 20:18:23 "hosts": [ 20:18:23 "tcp://0.0.0.0:5555", 20:18:23 "unix:///var/run/docker.sock" 20:18:23 ], 20:18:23 "mtu": 1458, 20:18:23 "selinux-enabled": true, 20:18:23 "seccomp-profile": "/etc/docker/seccomp.json" 20:18:23 } [Pipeline] sh 20:18:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:18:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:18:42 provisioning config files... 20:18:42 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5283094121652051001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:18:42 ---> docker-login.sh 20:18:42 nexus3.edgexfoundry.org:10001 20:18:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:43 Configure a credential helper to remove this warning. See 20:18:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:43 20:18:43 Login Succeeded 20:18:43 nexus3.edgexfoundry.org:10002 20:18:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:43 Configure a credential helper to remove this warning. See 20:18:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:43 20:18:43 Login Succeeded 20:18:43 nexus3.edgexfoundry.org:10003 20:18:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:43 Configure a credential helper to remove this warning. See 20:18:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:43 20:18:43 Login Succeeded 20:18:43 nexus3.edgexfoundry.org:10004 20:18:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:44 Configure a credential helper to remove this warning. See 20:18:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:44 20:18:44 Login Succeeded 20:18:44 docker.io 20:18:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:44 Configure a credential helper to remove this warning. See 20:18:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:44 20:18:44 Login Succeeded 20:18:44 ---> docker-login.sh ends [Pipeline] } 20:18:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:18:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:18:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:18:45 ========================================================= 20:18:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:18:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:18:45 Sending build context to Docker daemon 143.4kB 20:18:45 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:18:45 Step 2/12 : FROM ${BASE} AS builder 20:18:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:18:45 edb6bdbacee9: Pulling fs layer 20:18:45 5f9638ab2659: Pulling fs layer 20:18:45 8d51d6327a98: Pulling fs layer 20:18:45 8b374f2dd631: Pulling fs layer 20:18:45 ec14aa9079de: Pulling fs layer 20:18:45 2f466654f4bb: Pulling fs layer 20:18:45 554e91adad29: Pulling fs layer 20:18:45 8b374f2dd631: Waiting 20:18:45 ec14aa9079de: Waiting 20:18:45 2f466654f4bb: Waiting 20:18:45 554e91adad29: Waiting 20:18:46 5f9638ab2659: Download complete 20:18:46 8b374f2dd631: Verifying Checksum 20:18:46 8b374f2dd631: Download complete 20:18:46 ec14aa9079de: Verifying Checksum 20:18:46 ec14aa9079de: Download complete 20:18:46 edb6bdbacee9: Verifying Checksum 20:18:46 edb6bdbacee9: Download complete 20:18:47 edb6bdbacee9: Pull complete 20:18:47 554e91adad29: Verifying Checksum 20:18:47 554e91adad29: Download complete 20:18:47 5f9638ab2659: Pull complete 20:18:48 8d51d6327a98: Verifying Checksum 20:18:48 8d51d6327a98: Download complete 20:18:48 2f466654f4bb: Download complete 20:19:01 8d51d6327a98: Pull complete 20:19:01 8b374f2dd631: Pull complete 20:19:01 ec14aa9079de: Pull complete 20:19:07 2f466654f4bb: Pull complete 20:19:09 554e91adad29: Pull complete 20:19:09 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 20:19:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:19:09 ---> 1e15ea492957 20:19:09 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:19:11 ---> Running in 326bb579a3fe 20:19:11 Removing intermediate container 326bb579a3fe 20:19:11 ---> dfa2a50d6934 20:19:11 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:19:11 ---> Running in bc5427ded11e 20:19:11 Removing intermediate container bc5427ded11e 20:19:11 ---> 5851ac61c286 20:19:11 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:19:11 ---> Running in 36f0c7b0ea1e 20:19:11 Removing intermediate container 36f0c7b0ea1e 20:19:11 ---> f107c9945ddb 20:19:11 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:19:12 ---> Running in 7029efc0c2b0 20:19:12 Removing intermediate container 7029efc0c2b0 20:19:12 ---> 8edf8308234d 20:19:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:19:12 ---> Running in 7be4804fd61a 20:19:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:19:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:19:14 (1/4) Installing openssh-keygen (9.1_p1-r4) 20:19:14 (2/4) Installing libedit (20221030.3.1-r0) 20:19:14 (3/4) Installing openssh-client-common (9.1_p1-r4) 20:19:14 (4/4) Installing openssh-client-default (9.1_p1-r4) 20:19:15 Executing busybox-1.35.0-r29.trigger 20:19:15 OK: 268 MiB in 57 packages 20:19:16 Removing intermediate container 7be4804fd61a 20:19:16 ---> bf08e1bd7800 20:19:16 Step 8/12 : WORKDIR /device-rest-go 20:19:16 ---> Running in 5495e2c0a567 20:19:16 Removing intermediate container 5495e2c0a567 20:19:16 ---> fcb46f473361 20:19:16 Step 9/12 : COPY go.mod vendor* ./ 20:19:17 ---> d25ad54dfc84 20:19:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:19:17 ---> Running in dc2a1e55c807 20:20:25 Removing intermediate container dc2a1e55c807 20:20:25 ---> 1b5608b76071 20:20:25 Step 11/12 : COPY . . 20:20:25 ---> 72c2bfd87081 20:20:25 Step 12/12 : RUN $MAKE 20:20:25 ---> Running in 49bb1538eb1e 20:20:25 noop 20:20:25 Removing intermediate container 49bb1538eb1e 20:20:25 ---> 26a0b11ddd4c 20:20:25 Successfully built 26a0b11ddd4c 20:20:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:26 + docker inspect -f . ci-base-image-arm64 20:20:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:20:26 prd-ubuntu20.04-docker-arm64-4c-16g-4929 does not seem to be running inside a container 20:20:26 $ 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 20:20:27 $ docker top ae2f030c2deea2f8ea6fef1d285dc696064810b6f748f00c1ecf74c4d8ec6fe8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:20:28 + go version 20:20:28 go version go1.20.6 linux/arm64 [Pipeline] } 20:20:28 $ docker stop --time=1 ae2f030c2deea2f8ea6fef1d285dc696064810b6f748f00c1ecf74c4d8ec6fe8 20:20:30 $ docker rm -f --volumes ae2f030c2deea2f8ea6fef1d285dc696064810b6f748f00c1ecf74c4d8ec6fe8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:31 + docker inspect -f . ci-base-image-arm64 20:20:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:20:31 prd-ubuntu20.04-docker-arm64-4c-16g-4929 does not seem to be running inside a container 20:20:31 $ 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 20:20:32 $ docker top 6b982bd61dc7e0cc7c9bf7c9e28825d62ac7f40ea71305a37142d5d7c1406f26 -eo pid,comm [Pipeline] { [Pipeline] sh 20:20:33 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:20:34 + make test 20:20:34 go test ./... -coverprofile=coverage.out ./... 20:21:06 ? github.com/edgexfoundry/device-rest-go [no test files] 20:23:13 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:23:13 ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 33.2% of statements 20:23:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:23:13 go vet ./... 20:23:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:23:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:23:31 ./bin/test-attribution-txt.sh [Pipeline] echo 20:23:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:23:31 $ docker stop --time=1 6b982bd61dc7e0cc7c9bf7c9e28825d62ac7f40ea71305a37142d5d7c1406f26 20:23:36 $ docker rm -f --volumes 6b982bd61dc7e0cc7c9bf7c9e28825d62ac7f40ea71305a37142d5d7c1406f26 [Pipeline] // withDockerContainer [Pipeline] sh 20:23:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:23:38 Warning: overwriting stash ‘coverage-report’ 20:23:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:23:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:23:39 + ls -al . 20:23:39 total 184 20:23:39 drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 20:20 . 20:23:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 20:18 .. 20:23:39 -rw-rw-r-- 1 jenkins jenkins 151 Aug 30 20:18 .dockerignore 20:23:39 drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 20:18 .git 20:23:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 20:18 .github 20:23:39 -rw-rw-r-- 1 jenkins jenkins 329 Aug 30 20:18 .gitignore 20:23:39 -rw-rw-r-- 1 jenkins jenkins 41 Aug 30 20:18 .golangci.yml 20:23:39 -rw-rw-r-- 1 jenkins jenkins 10300 Aug 30 20:18 Attribution.txt 20:23:39 -rw-rw-r-- 1 jenkins jenkins 15709 Aug 30 20:18 CHANGELOG.md 20:23:39 -rw-rw-r-- 1 jenkins jenkins 1578 Aug 30 20:18 Dockerfile 20:23:39 -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 20:18 GOVERNANCE.md 20:23:39 -rw-rw-r-- 1 jenkins jenkins 680 Aug 30 20:18 Jenkinsfile 20:23:39 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 30 20:18 LICENSE 20:23:39 -rw-rw-r-- 1 jenkins jenkins 2010 Aug 30 20:18 Makefile 20:23:39 -rw-rw-r-- 1 jenkins jenkins 620 Aug 30 20:18 OWNERS.md 20:23:39 -rw-rw-r-- 1 jenkins jenkins 15827 Aug 30 20:18 README.md 20:23:39 -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 20:14 VERSION 20:23:39 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 20:18 bin 20:23:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 20:18 cmd 20:23:39 -rw-r--r-- 1 jenkins jenkins 14499 Aug 30 20:23 coverage.out 20:23:39 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 20:18 driver 20:23:39 -rw-rw-r-- 1 jenkins jenkins 3889 Aug 30 20:18 go.mod 20:23:39 -rw-rw-r-- 1 jenkins jenkins 34092 Aug 30 20:18 go.sum 20:23:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 20:18 snap 20:23:39 -rw-rw-r-- 1 jenkins jenkins 713 Aug 30 20:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:23:39 + 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=d98d79735f58f6d132b4cc2384e40ffb4103d38f --label arch=arm64 --label version=0.0.0 . 20:23:39 Sending build context to Docker daemon 158.7kB 20:23:40 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:23:40 Step 2/25 : FROM ${BASE} AS builder 20:23:40 ---> 26a0b11ddd4c 20:23:40 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:23:40 ---> Running in 77257de9c707 20:23:40 Removing intermediate container 77257de9c707 20:23:40 ---> 7edd612e1e7c 20:23:40 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:23:40 ---> Running in 0df076d09f99 20:23:41 Removing intermediate container 0df076d09f99 20:23:41 ---> d764db214e60 20:23:41 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:23:41 ---> Running in badcb8d3ba46 20:23:41 Removing intermediate container badcb8d3ba46 20:23:41 ---> bde42a7fc06f 20:23:41 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:23:41 ---> Running in ca425322b4ae 20:23:41 Removing intermediate container ca425322b4ae 20:23:41 ---> 1660be6e617c 20:23:41 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:23:41 ---> Running in dbaa42378762 20:23:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:23:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:23:44 OK: 268 MiB in 57 packages 20:23:45 Removing intermediate container dbaa42378762 20:23:45 ---> 2dcaddd899d6 20:23:45 Step 8/25 : WORKDIR /device-rest-go 20:23:45 ---> Running in d2abb0255f25 20:23:45 Removing intermediate container d2abb0255f25 20:23:45 ---> 1c7756a22261 20:23:45 Step 9/25 : COPY go.mod vendor* ./ 20:23:48 ---> 6bc6fb9117cd 20:23:48 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:23:48 ---> Running in ddf9c6ac3027 20:23:50 Removing intermediate container ddf9c6ac3027 20:23:50 ---> 4ea3e1af1fe4 20:23:50 Step 11/25 : COPY . . 20:23:51 ---> 5c06471a4214 20:23:51 Step 12/25 : RUN $MAKE 20:23:51 ---> Running in 779022cc1cab 20:23:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:26:13 Removing intermediate container 779022cc1cab 20:26:13 ---> 5d323a707351 20:26:13 Step 13/25 : FROM alpine:3.17 20:26:13 3.17: Pulling from library/alpine 20:26:13 4060ece20d7a: Pulling fs layer 20:26:13 4060ece20d7a: Verifying Checksum 20:26:13 4060ece20d7a: Download complete 20:26:13 4060ece20d7a: Pull complete 20:26:13 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 20:26:13 Status: Downloaded newer image for alpine:3.17 20:26:13 ---> 8650cd65339b 20:26:13 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:26:13 ---> Running in 03492d268b33 20:26:13 Removing intermediate container 03492d268b33 20:26:13 ---> 10d990e36a45 20:26:13 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:26:13 ---> Running in 9a57dbb464c1 20:26:13 Removing intermediate container 9a57dbb464c1 20:26:13 ---> 88d44c13a99b 20:26:13 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:26:13 ---> Running in b7f69a7b8262 20:26:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:26:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:26:13 (1/1) Installing dumb-init (1.2.5-r2) 20:26:13 Executing busybox-1.35.0-r29.trigger 20:26:14 OK: 8 MiB in 16 packages 20:26:15 Removing intermediate container b7f69a7b8262 20:26:15 ---> 786b9e515ee5 20:26:15 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:26:16 ---> e5907399fbb3 20:26:16 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:26:17 ---> 0fee5645601f 20:26:17 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:26:17 ---> 02de084c477b 20:26:17 Step 20/25 : EXPOSE 59986 20:26:17 ---> Running in 77f5973ddcf6 20:26:17 Removing intermediate container 77f5973ddcf6 20:26:17 ---> cbeb498310e1 20:26:17 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:26:17 ---> Running in ea79f8f4f8bf 20:26:18 Removing intermediate container ea79f8f4f8bf 20:26:18 ---> 494388a02179 20:26:18 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:26:18 ---> Running in bc8c2202b614 20:26:18 Removing intermediate container bc8c2202b614 20:26:18 ---> d46de305ba4e 20:26:18 Step 23/25 : LABEL arch=arm64 20:26:18 ---> Running in f508f05fa014 20:26:18 Removing intermediate container f508f05fa014 20:26:18 ---> 5d3b9dac0953 20:26:18 Step 24/25 : LABEL git_sha=d98d79735f58f6d132b4cc2384e40ffb4103d38f 20:26:18 ---> Running in 64d355b2f802 20:26:19 Removing intermediate container 64d355b2f802 20:26:19 ---> d9e994381713 20:26:19 Step 25/25 : LABEL version=0.0.0 20:26:19 ---> Running in f94d435bc129 20:26:19 Removing intermediate container f94d435bc129 20:26:19 ---> 77c9911bce47 20:26:19 [Warning] One or more build-args [ARCH] were not consumed 20:26:19 Successfully built 77c9911bce47 20:26:19 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 20:26:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:26:20 20:26:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:26:21 arm64: Pulling from edgex-lftools-log-publisher 20:26:21 8998bd30e6a1: Pulling fs layer 20:26:21 04944245beec: Pulling fs layer 20:26:21 699f458cf7ca: Pulling fs layer 20:26:21 765212b225bb: Pulling fs layer 20:26:21 f23df028b6ca: Pulling fs layer 20:26:21 d65c8cfc05b1: Pulling fs layer 20:26:21 2437ff75d9bd: Pulling fs layer 20:26:21 f23df028b6ca: Waiting 20:26:21 d65c8cfc05b1: Waiting 20:26:21 2437ff75d9bd: Waiting 20:26:21 765212b225bb: Waiting 20:26:21 04944245beec: Verifying Checksum 20:26:21 04944245beec: Download complete 20:26:21 765212b225bb: Verifying Checksum 20:26:21 765212b225bb: Download complete 20:26:21 f23df028b6ca: Verifying Checksum 20:26:21 f23df028b6ca: Download complete 20:26:21 d65c8cfc05b1: Verifying Checksum 20:26:21 d65c8cfc05b1: Download complete 20:26:21 699f458cf7ca: Verifying Checksum 20:26:21 699f458cf7ca: Download complete 20:26:21 8998bd30e6a1: Verifying Checksum 20:26:21 8998bd30e6a1: Download complete 20:26:24 2437ff75d9bd: Verifying Checksum 20:26:24 2437ff75d9bd: Download complete 20:26:26 8998bd30e6a1: Pull complete 20:26:26 04944245beec: Pull complete 20:26:29 699f458cf7ca: Pull complete 20:26:29 765212b225bb: Pull complete 20:26:30 f23df028b6ca: Pull complete 20:26:30 d65c8cfc05b1: Pull complete 20:26:45 2437ff75d9bd: Pull complete 20:26:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:26:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:26:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:26:45 prd-ubuntu20.04-docker-arm64-4c-16g-4929 does not seem to be running inside a container 20:26: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 20:26:48 $ docker top 487e152dd598e88908faabb1378ea1ceee9eb61372b8bbf2fc2e76660579fc9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:26:49 ---> job-cost.sh 20:26:49 lf-activate-venv: SKIPPING 20:26:49 INFO: No Stack... 20:26:49 INFO: Retrieving Pricing Info for: v3-standard-4 20:26:50 INFO: Archiving Costs [Pipeline] sh 20:26:51 + cut -d, -f6 20:26:51 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 20:26:51 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-335-1-stack-cost] 20:26:51 Resource [jenkins-edgexfoundry-device-rest-go-PR-335-1-stack-cost] did not exist. Created. 20:26:51 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-335-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:26:51 /w/workspace/device-rest-go/1@tmp/durable-5b36dd8f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:26:52 + echo total: 0.10999999940395355 [Pipeline] stash 20:26:52 Warning: overwriting stash ‘stack-cost’ 20:26:52 Stashed 1 file(s) [Pipeline] } 20:26:52 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-335-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:26:52 $ docker stop --time=1 487e152dd598e88908faabb1378ea1ceee9eb61372b8bbf2fc2e76660579fc9d 20:26:53 $ docker rm -f --volumes 487e152dd598e88908faabb1378ea1ceee9eb61372b8bbf2fc2e76660579fc9d [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 20:26:55 provisioning config files... 20:26:55 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-335@tmp/config13850291040418295957tmp [Pipeline] { [Pipeline] sh 20:26:55 + set +x 20:26:55 + curl -s https://codecov.io/bash 20:26:55 + bash -s -- 20:26:55 20:26:55 _____ _ 20:26:55 / ____| | | 20:26:55 | | ___ __| | ___ ___ _____ __ 20:26:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:26:55 | |___| (_) | (_| | __/ (_| (_) \ V / 20:26:55 \_____\___/ \__,_|\___|\___\___/ \_/ 20:26:55 Bash-1.0.6 20:26:55 20:26:55 20:26:55 ==> git version 2.25.1 found 20:26:55 ==> 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 20:26:55 Release-Date: 2020-01-08 20:26:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:26:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:26:55 ==> Jenkins CI detected. 20:26:55 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-335 20:26:55 project root: . 20:26:55 --> token set from env 20:26:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:26:55 ==> Running gcov in . (disable via -X gcov) 20:26:55 ==> Python coveragepy not found 20:26:55 ==> Searching for coverage reports in: 20:26:55 + . 20:26:55 -> Found 1 reports 20:26:55 ==> Detecting git/mercurial file structure 20:26:55 ==> Reading reports 20:26:56 + ./coverage.out bytes=14499 20:26:56 ==> Appending adjustments 20:26:56 https://docs.codecov.io/docs/fixing-reports 20:26:56 + Found adjustments 20:26:56 ==> Gzipping contents 20:26:56 4.0K /tmp/codecov.iwFhYU.gz 20:26:56 ==> Uploading reports 20:26:56 url: https://codecov.io 20:26:56 query: branch=PR-335&commit=d98d79735f58f6d132b4cc2384e40ffb4103d38f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-335%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=335&job=&cmd_args= 20:26:56 -> Pinging Codecov 20:26:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-335&commit=d98d79735f58f6d132b4cc2384e40ffb4103d38f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-335%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=335&job=&cmd_args= 20:26:56 -> Uploading to 20:26:56 https://storage.googleapis.com/codecov/v4/raw/2023-08-30/4E5D53B4F1F92C436F7061BF334D961C/d98d79735f58f6d132b4cc2384e40ffb4103d38f/637d4d4d-86df-4558-9359-37d76da8bb4c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230830%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230830T202656Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=99924cde7106290cab8ef1c5970b4456894c84ccc1419e1ae9c95f5e372e29f5 20:26:56 % Total % Received % Xferd Average Speed Time Time Time Current 20:26:56 Dload Upload Total Spent Left Speed 20:26:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 13052 --:--:-- --:--:-- --:--:-- 13052 20:26:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/d98d79735f58f6d132b4cc2384e40ffb4103d38f [Pipeline] } 20:26:56 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 20:26:58 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-335/archives ] 20:26:58 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-335/archives 20:26:58 total 16 20:26:58 drwxr-xr-x 3 root root 4096 Aug 30 20:16 . 20:26:58 drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 20:16 .. 20:26:58 drwxr-xr-x 2 root root 4096 Aug 30 20:16 cost 20:26:58 -rw-r--r-- 1 root root 86 Aug 30 20:16 cost.csv 20:26:58 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-335/archives 20:26:58 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-335/archives 20:26:58 total 16 20:26:58 drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 20:16 . 20:26:58 drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 20:16 .. 20:26:58 drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 20:16 cost 20:26:58 -rw-r--r-- 1 jenkins jenkins 86 Aug 30 20:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:26:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:26:59 ---> package-listing.sh 20:26:59 ++ facter osfamily 20:26:59 ++ tr '[:upper:]' '[:lower:]' 20:26:59 + OS_FAMILY=debian 20:26:59 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-335 20:26:59 + START_PACKAGES=/tmp/packages_start.txt 20:26:59 + END_PACKAGES=/tmp/packages_end.txt 20:26:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:26:59 + PACKAGES=/tmp/packages_start.txt 20:26:59 + '[' /w/workspace/gexfoundry_device-rest-go_PR-335 ']' 20:26:59 + PACKAGES=/tmp/packages_end.txt 20:26:59 + case "${OS_FAMILY}" in 20:26:59 + dpkg -l 20:26:59 + grep '^ii' 20:26:59 + '[' -f /tmp/packages_start.txt ']' 20:26:59 + '[' -f /tmp/packages_end.txt ']' 20:26:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:26:59 + '[' /w/workspace/gexfoundry_device-rest-go_PR-335 ']' 20:26:59 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-335/archives/ 20:26:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-335/archives/ [Pipeline] echo 20:26:59 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-335/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:26:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:27:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:27:00 prd-ubuntu20.04-docker-8c-8g-4928 does not seem to be running inside a container 20:27:00 $ 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-335/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-335 -v /w/workspace/gexfoundry_device-rest-go_PR-335:/w/workspace/gexfoundry_device-rest-go_PR-335:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-335@tmp:/w/workspace/gexfoundry_device-rest-go_PR-335@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 20:27:00 $ docker top 2b28c241bf994610ec1a8228be9354662d6b48d06abc73d5240aafd34f461355 -eo pid,comm [Pipeline] { [Pipeline] sh 20:27:01 + touch /tmp/pre-build-complete [Pipeline] sh 20:27:01 + mkdir -p /var/log/sysstat [Pipeline] sh 20:27:01 + ls /var/log/sa-host 20:27:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:27:02 provisioning config files... 20:27:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-335@tmp/config9045532461087073002tmp [Pipeline] { [Pipeline] echo 20:27:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:27:02 ---> create-netrc.sh [Pipeline] } 20:27:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:27:02 ---> python-tools-install.sh [Pipeline] echo 20:27:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:27:03 ---> sudo-logs.sh 20:27:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:27:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:27:03 ---> job-cost.sh 20:27:03 lf-activate-venv: SKIPPING 20:27:03 DEBUG: total: 0.2199999988079071 20:27:03 INFO: Retrieving Stack Cost... 20:27:04 INFO: Retrieving Pricing Info for: v3-standard-8 20:27:04 INFO: Archiving Costs [Pipeline] echo 20:27:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:27:04 ---> logs-deploy.sh 20:27:04 lf-activate-venv: SKIPPING 20:27:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-335/1 20:27:04 INFO: archiving workspace using pattern(s): 20:27:05 Archives upload complete. 20:27:05 INFO: archiving logs to Nexus