Pull request #336 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8cb9289096ce8f96c23e85355267a56dccdb17db+f43bb6568d459ea684ddacde33420076da59f652 (97bdcc4f03c46558ec40f9342b73d0ece2044310) 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-ssh12610372865988113686.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-ssh8389103907691828048.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-336/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-336/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5970616103518585843.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-336/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17792270400611718662.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-ssh17640934053870201837.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-336/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-336/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4123090203971668787.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5370 in /w/workspace/gexfoundry_device-rest-go_PR-336 [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-336 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f43bb6568d459ea684ddacde33420076da59f652 into PR head commit 8cb9289096ce8f96c23e85355267a56dccdb17db Merge succeeded, producing 8cb9289096ce8f96c23e85355267a56dccdb17db Checking out Revision 8cb9289096ce8f96c23e85355267a56dccdb17db (PR-336) 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 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 8cb9289096ce8f96c23e85355267a56dccdb17db # 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 f43bb6568d459ea684ddacde33420076da59f652 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8cb9289096ce8f96c23e85355267a56dccdb17db # timeout=10 [Pipeline] timeout 20:32:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:32:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:32:20 ========================================================= 20:32:20 EdgeX Global Pipelines Version Info 20:32:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:32:21 ------------------- 20:32:21 stable info: 20:32:21 ------------------- 20:32:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:32:21 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 20:32:21 Message: update stable to v1.0.253 20:32:22 ------------------- 20:32:22 experimental info: 20:32:22 ------------------- 20:32:22 Commited By: **** collab-it+edgex@linuxfoundation.org 20:32:22 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 20:32:22 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:32:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:32:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:32:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:32:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:32:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:32:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:32:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:32:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:32:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:32:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:32:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:32:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:32:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:32:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:32:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:32:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:32:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:32:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:32:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:32:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:32:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:32:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:32:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:32:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:32:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:32:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:32:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:32:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-336 [Pipeline] echo 20:32:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-336 [Pipeline] echo 20:32:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-336 [Pipeline] echo 20:32:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8cb9289096ce8f96c23e85355267a56dccdb17db [Pipeline] echo 20:32:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8cb9289 [Pipeline] echo 20:32:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:32:23 provisioning config files... 20:32:23 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-336@tmp/config10575924584110285909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:32:24 ---> docker-login.sh 20:32:24 nexus3.edgexfoundry.org:10001 20:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:24 Configure a credential helper to remove this warning. See 20:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:24 20:32:24 Login Succeeded 20:32:24 nexus3.edgexfoundry.org:10002 20:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:24 Configure a credential helper to remove this warning. See 20:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:24 20:32:24 Login Succeeded 20:32:24 nexus3.edgexfoundry.org:10003 20:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:24 Configure a credential helper to remove this warning. See 20:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:24 20:32:24 Login Succeeded 20:32:24 nexus3.edgexfoundry.org:10004 20:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:24 Configure a credential helper to remove this warning. See 20:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:24 20:32:24 Login Succeeded 20:32:24 docker.io 20:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:25 Configure a credential helper to remove this warning. See 20:32:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:25 20:32:25 Login Succeeded 20:32:25 ---> docker-login.sh ends [Pipeline] } 20:32:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:32:25 + git rev-list -1 --merges 8cb9289096ce8f96c23e85355267a56dccdb17db~1..8cb9289096ce8f96c23e85355267a56dccdb17db [Pipeline] echo 20:32:25 -----------> git rev-list -1 --merges 8cb9289096ce8f96c23e85355267a56dccdb17db~1..8cb9289096ce8f96c23e85355267a56dccdb17db 8cb9289096ce8f96c23e85355267a56dccdb17db [false] [Pipeline] sh 20:32:26 + git log --format=format:%s -1 8cb9289096ce8f96c23e85355267a56dccdb17db [Pipeline] echo 20:32:26 ========================================================= 20:32:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:32:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:32:26 + git log --format=format:%s -1 8cb9289096ce8f96c23e85355267a56dccdb17db [Pipeline] echo 20:32:26 [semverPrep] GIT_COMMIT: 8cb9289096ce8f96c23e85355267a56dccdb17db, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:32:26 [semverPrep] This is not a build commit. [Pipeline] sh 20:32:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:32:27 + grep -v github /etc/ssh/ssh_known_hosts 20:32:27 + [ -e /tmp/ssh_known_hosts ] 20:32:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:32:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:32:27 + sudo tee -a /etc/ssh/ssh_known_hosts 20:32:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:32:27 20:32:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:32:28 0.1.4: Pulling from edgex-devops/py-git-semver 20:32:28 b85a868b505f: Pulling fs layer 20:32:28 e2be974225ed: Pulling fs layer 20:32:28 339a4e72a1f5: Pulling fs layer 20:32:28 988bab9f4d93: Pulling fs layer 20:32:28 1469e6f7b9e6: Pulling fs layer 20:32:28 eaf3925da568: Pulling fs layer 20:32:28 bab4dde63d76: Pulling fs layer 20:32:28 bde34c3a00c8: Pulling fs layer 20:32:28 b352a97aabf1: Pulling fs layer 20:32:28 4872d77fe225: Pulling fs layer 20:32:28 5851b861e8e6: Pulling fs layer 20:32:28 bab4dde63d76: Waiting 20:32:28 1469e6f7b9e6: Waiting 20:32:28 bde34c3a00c8: Waiting 20:32:28 eaf3925da568: Waiting 20:32:28 b352a97aabf1: Waiting 20:32:28 4872d77fe225: Waiting 20:32:28 988bab9f4d93: Waiting 20:32:28 e2be974225ed: Verifying Checksum 20:32:28 e2be974225ed: Download complete 20:32:28 988bab9f4d93: Verifying Checksum 20:32:28 988bab9f4d93: Download complete 20:32:28 1469e6f7b9e6: Verifying Checksum 20:32:28 1469e6f7b9e6: Download complete 20:32:28 339a4e72a1f5: Verifying Checksum 20:32:28 339a4e72a1f5: Download complete 20:32:28 eaf3925da568: Verifying Checksum 20:32:28 eaf3925da568: Download complete 20:32:28 bde34c3a00c8: Verifying Checksum 20:32:28 bde34c3a00c8: Download complete 20:32:28 b352a97aabf1: Verifying Checksum 20:32:28 b352a97aabf1: Download complete 20:32:28 4872d77fe225: Download complete 20:32:28 5851b861e8e6: Verifying Checksum 20:32:28 5851b861e8e6: Download complete 20:32:28 b85a868b505f: Verifying Checksum 20:32:28 b85a868b505f: Download complete 20:32:28 bab4dde63d76: Verifying Checksum 20:32:28 bab4dde63d76: Download complete 20:32:29 b85a868b505f: Pull complete 20:32:29 e2be974225ed: Pull complete 20:32:30 339a4e72a1f5: Pull complete 20:32:30 988bab9f4d93: Pull complete 20:32:30 1469e6f7b9e6: Pull complete 20:32:30 eaf3925da568: Pull complete 20:32:33 bab4dde63d76: Pull complete 20:32:33 bde34c3a00c8: Pull complete 20:32:33 b352a97aabf1: Pull complete 20:32:33 4872d77fe225: Pull complete 20:32:33 5851b861e8e6: Pull complete 20:32:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:32:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:32:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:32:33 prd-ubuntu20.04-docker-8c-8g-5370 does not seem to be running inside a container 20:32:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-336 -v /w/workspace/gexfoundry_device-rest-go_PR-336:/w/workspace/gexfoundry_device-rest-go_PR-336:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-336@tmp:/w/workspace/gexfoundry_device-rest-go_PR-336@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:32:37 $ docker top 70732acbc7e8a0e094f1e7e43dca11abd20845b744641a191942437843bd5522 -eo pid,comm 20:32:37 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:32:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:32:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:32:37 [ssh-agent] Looking for ssh-agent implementation... 20:32:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:32:37 $ docker exec 70732acbc7e8a0e094f1e7e43dca11abd20845b744641a191942437843bd5522 ssh-agent 20:32:37 SSH_AUTH_SOCK=/tmp/ssh-NcaohXJNu4WI/agent.33 20:32:37 SSH_AGENT_PID=39 20:32:37 Running ssh-add (command line suppressed) 20:32:38 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-336@tmp/private_key_13563611798509966078.key (/w/workspace/gexfoundry_device-rest-go_PR-336@tmp/private_key_13563611798509966078.key) 20:32:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:32:38 + git tag --points-at HEAD [Pipeline] } 20:32:38 $ docker exec --env ******** --env ******** 70732acbc7e8a0e094f1e7e43dca11abd20845b744641a191942437843bd5522 ssh-agent -k 20:32:38 unset SSH_AUTH_SOCK; 20:32:38 unset SSH_AGENT_PID; 20:32:38 echo Agent pid 39 killed; 20:32:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:32:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:32:38 [ssh-agent] Looking for ssh-agent implementation... 20:32:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:32:38 $ docker exec 70732acbc7e8a0e094f1e7e43dca11abd20845b744641a191942437843bd5522 ssh-agent 20:32:38 SSH_AUTH_SOCK=/tmp/ssh-YCI8WYzX2myW/agent.71 20:32:38 SSH_AGENT_PID=78 20:32:38 Running ssh-add (command line suppressed) 20:32:38 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-336@tmp/private_key_12548544337275621161.key (/w/workspace/gexfoundry_device-rest-go_PR-336@tmp/private_key_12548544337275621161.key) 20:32:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:32:39 + git semver init 20:32:39 2023-09-05 20:32:39,536 [run_init] DEBUG init version:0.0.0 force:False 20:32:39 2023-09-05 20:32:39,537 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-336/.semver 20:32:39 2023-09-05 20:32:39,538 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-336/.semver 20:32:39 2023-09-05 20:32:39,539 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-336/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-336, universal_newlines=False, shell=None, istream=None) 20:32:40 2023-09-05 20:32:40,524 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-336/.git/info/exclude 20:32:40 2023-09-05 20:32:40,525 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-336/.semver/PR-336 with force:False 20:32:40 2023-09-05 20:32:40,525 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-336/.semver/PR-336 20:32:40 2023-09-05 20:32:40,529 [execute] INFO git cat-file --batch-check 20:32:40 2023-09-05 20:32:40,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-336/.semver, universal_newlines=False, shell=None, istream=) 20:32:40 2023-09-05 20:32:40,536 [execute] INFO git cat-file --batch 20:32:40 2023-09-05 20:32:40,536 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-336/.semver, universal_newlines=False, shell=None, istream=) 20:32:40 2023-09-05 20:32:40,542 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-336/.semver/PR-336 20:32:40 0.0.0 [Pipeline] } 20:32:40 $ docker exec --env ******** --env ******** 70732acbc7e8a0e094f1e7e43dca11abd20845b744641a191942437843bd5522 ssh-agent -k 20:32:40 unset SSH_AUTH_SOCK; 20:32:40 unset SSH_AGENT_PID; 20:32:40 echo Agent pid 78 killed; 20:32:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:32:41 + git semver [Pipeline] } 20:32:41 $ docker stop --time=1 70732acbc7e8a0e094f1e7e43dca11abd20845b744641a191942437843bd5522 20:32:42 $ docker rm -f --volumes 70732acbc7e8a0e094f1e7e43dca11abd20845b744641a191942437843bd5522 [Pipeline] // withDockerContainer [Pipeline] sh 20:32:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:32:43 Stashed 1 file(s) [Pipeline] echo 20:32:43 [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:32:44 provisioning config files... 20:32:44 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-336@tmp/config3026922533574387413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:32:44 ---> docker-login.sh 20:32:44 nexus3.edgexfoundry.org:10001 20:32:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:44 Configure a credential helper to remove this warning. See 20:32:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:44 20:32:44 Login Succeeded 20:32:44 nexus3.edgexfoundry.org:10002 20:32:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:44 Configure a credential helper to remove this warning. See 20:32:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:44 20:32:44 Login Succeeded 20:32:44 nexus3.edgexfoundry.org:10003 20:32:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:44 Configure a credential helper to remove this warning. See 20:32:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:44 20:32:44 Login Succeeded 20:32:44 nexus3.edgexfoundry.org:10004 20:32:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:44 Configure a credential helper to remove this warning. See 20:32:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:44 20:32:44 Login Succeeded 20:32:44 docker.io 20:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:45 Configure a credential helper to remove this warning. See 20:32:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:45 20:32:45 Login Succeeded 20:32:45 ---> docker-login.sh ends [Pipeline] } 20:32:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:32:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:32:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:32:45 ========================================================= 20:32:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:32:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:46 + 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:32:46 Sending build context to Docker daemon 10.93MB 20:32:46 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:32:46 Step 2/12 : FROM ${BASE} AS builder 20:32:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:32:46 4db1b89c0bd1: Pulling fs layer 20:32:46 6911f1a30b25: Pulling fs layer 20:32:46 e194b8c5c2a9: Pulling fs layer 20:32:46 6863d3e3a2b1: Pulling fs layer 20:32:46 ec0bb842ea78: Pulling fs layer 20:32:46 40a00589a448: Pulling fs layer 20:32:46 6c08303d61cc: Pulling fs layer 20:32:46 798269fcf238: Pulling fs layer 20:32:46 40a00589a448: Waiting 20:32:46 6c08303d61cc: Waiting 20:32:46 798269fcf238: Waiting 20:32:46 6863d3e3a2b1: Waiting 20:32:46 ec0bb842ea78: Waiting 20:32:46 6911f1a30b25: Download complete 20:32:46 6863d3e3a2b1: Verifying Checksum 20:32:46 6863d3e3a2b1: Download complete 20:32:46 ec0bb842ea78: Verifying Checksum 20:32:46 ec0bb842ea78: Download complete 20:32:46 4db1b89c0bd1: Verifying Checksum 20:32:46 4db1b89c0bd1: Download complete 20:32:46 40a00589a448: Verifying Checksum 20:32:46 40a00589a448: Download complete 20:32:46 4db1b89c0bd1: Pull complete 20:32:46 6911f1a30b25: Pull complete 20:32:46 798269fcf238: Verifying Checksum 20:32:46 798269fcf238: Download complete 20:32:46 e194b8c5c2a9: Verifying Checksum 20:32:46 e194b8c5c2a9: Download complete 20:32:47 6c08303d61cc: Verifying Checksum 20:32:47 6c08303d61cc: Download complete 20:32:50 e194b8c5c2a9: Pull complete 20:32:50 6863d3e3a2b1: Pull complete 20:32:50 ec0bb842ea78: Pull complete 20:32:50 40a00589a448: Pull complete 20:32:53 6c08303d61cc: Pull complete 20:32:53 798269fcf238: Pull complete 20:32:53 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 20:32:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:32:54 ---> ec979cd7f677 20:32:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:32:59 Still waiting to schedule task 20:32:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:33:00 ---> Running in fc45232603f6 20:33:00 Removing intermediate container fc45232603f6 20:33:00 ---> 6fbb79c1f1fb 20:33:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:33:00 ---> Running in 2f9295f9ab49 20:33:00 Removing intermediate container 2f9295f9ab49 20:33:00 ---> 8eb1770c2965 20:33:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:33:00 ---> Running in 3bdccc0cd01b 20:33:00 Removing intermediate container 3bdccc0cd01b 20:33:00 ---> d896626450a9 20:33:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:33:00 ---> Running in 277d63a80d01 20:33:00 Removing intermediate container 277d63a80d01 20:33:00 ---> bd6a297dec86 20:33:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:33:00 ---> Running in 4f45eccbfdff 20:33:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:33:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:33:01 (1/4) Installing openssh-keygen (9.1_p1-r4) 20:33:01 (2/4) Installing libedit (20221030.3.1-r0) 20:33:01 (3/4) Installing openssh-client-common (9.1_p1-r4) 20:33:01 (4/4) Installing openssh-client-default (9.1_p1-r4) 20:33:01 Executing busybox-1.35.0-r29.trigger 20:33:01 OK: 269 MiB in 57 packages 20:33:02 Removing intermediate container 4f45eccbfdff 20:33:02 ---> 0777986398c2 20:33:02 Step 8/12 : WORKDIR /device-rest-go 20:33:02 ---> Running in 10ac74bcc8ac 20:33:02 Removing intermediate container 10ac74bcc8ac 20:33:02 ---> defd9fac7571 20:33:02 Step 9/12 : COPY go.mod vendor* ./ 20:33:02 ---> 3d8172ec8b14 20:33:02 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:33:02 ---> Running in ad6864700b40 20:33:40 Removing intermediate container ad6864700b40 20:33:40 ---> 0db388a5c98f 20:33:40 Step 11/12 : COPY . . 20:33:40 ---> 64fd3123f413 20:33:40 Step 12/12 : RUN $MAKE 20:33:40 ---> Running in d3234761c4ec 20:33:40 noop 20:33:40 Removing intermediate container d3234761c4ec 20:33:40 ---> c175c4753a7c 20:33:40 Successfully built c175c4753a7c 20:33:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:41 + docker inspect -f . ci-base-image-x86_64 20:33:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:41 prd-ubuntu20.04-docker-8c-8g-5370 does not seem to be running inside a container 20:33:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-336 -v /w/workspace/gexfoundry_device-rest-go_PR-336:/w/workspace/gexfoundry_device-rest-go_PR-336:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-336@tmp:/w/workspace/gexfoundry_device-rest-go_PR-336@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:33:41 $ docker top 70594d2dab19a3132b8afe8b7dd37fc6b2c11132d1e39820388eced97e9c0b23 -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:42 + go version 20:33:42 go version go1.20.6 linux/amd64 [Pipeline] } 20:33:42 $ docker stop --time=1 70594d2dab19a3132b8afe8b7dd37fc6b2c11132d1e39820388eced97e9c0b23 20:33:43 $ docker rm -f --volumes 70594d2dab19a3132b8afe8b7dd37fc6b2c11132d1e39820388eced97e9c0b23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:44 + docker inspect -f . ci-base-image-x86_64 20:33:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:44 prd-ubuntu20.04-docker-8c-8g-5370 does not seem to be running inside a container 20:33:44 $ 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-336 -v /w/workspace/gexfoundry_device-rest-go_PR-336:/w/workspace/gexfoundry_device-rest-go_PR-336:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-336@tmp:/w/workspace/gexfoundry_device-rest-go_PR-336@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:33:44 $ docker top 29c4e9215dec56cf3d3c105fe43abefaf6e34d7f63cbdd86dcd203ccdfe9c15c -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:45 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-336 [Pipeline] fileExists [Pipeline] sh 20:33:45 + make test 20:33:45 go test ./... -coverprofile=coverage.out ./... 20:33:50 ? github.com/edgexfoundry/device-rest-go [no test files] 20:34:03 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:34:03 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.2% of statements 20:34:09 go vet ./... 20:34:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:34:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:34:13 ./bin/test-attribution-txt.sh [Pipeline] echo 20:34:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:34:13 $ docker stop --time=1 29c4e9215dec56cf3d3c105fe43abefaf6e34d7f63cbdd86dcd203ccdfe9c15c 20:34:17 $ docker rm -f --volumes 29c4e9215dec56cf3d3c105fe43abefaf6e34d7f63cbdd86dcd203ccdfe9c15c [Pipeline] // withDockerContainer [Pipeline] sh 20:34:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:34:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:34:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:34:18 + ls -al . 20:34:18 total 188 20:34:18 drwxrwxr-x 9 jenkins jenkins 4096 Sep 5 20:33 . 20:34:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:32 .. 20:34:18 -rw-rw-r-- 1 jenkins jenkins 151 Sep 5 20:32 .dockerignore 20:34:18 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 20:32 .git 20:34:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:32 .github 20:34:18 -rw-rw-r-- 1 jenkins jenkins 329 Sep 5 20:32 .gitignore 20:34:18 -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 20:32 .golangci.yml 20:34:18 drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 20:32 .semver 20:34:18 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 5 20:32 Attribution.txt 20:34:18 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 5 20:32 CHANGELOG.md 20:34:18 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 5 20:32 Dockerfile 20:34:18 -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 20:32 GOVERNANCE.md 20:34:18 -rw-rw-r-- 1 jenkins jenkins 680 Sep 5 20:32 Jenkinsfile 20:34:18 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 20:32 LICENSE 20:34:18 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 5 20:32 Makefile 20:34:18 -rw-rw-r-- 1 jenkins jenkins 620 Sep 5 20:32 OWNERS.md 20:34:18 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 5 20:32 README.md 20:34:18 -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 20:32 VERSION 20:34:18 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:32 bin 20:34:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:32 cmd 20:34:18 -rw-r--r-- 1 jenkins jenkins 14499 Sep 5 20:34 coverage.out 20:34:18 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:32 driver 20:34:18 -rw-rw-r-- 1 jenkins jenkins 3889 Sep 5 20:32 go.mod 20:34:18 -rw-rw-r-- 1 jenkins jenkins 34092 Sep 5 20:32 go.sum 20:34:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:32 snap 20:34:18 -rw-rw-r-- 1 jenkins jenkins 713 Sep 5 20:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:19 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=8cb9289096ce8f96c23e85355267a56dccdb17db --label arch=amd64 --label version=0.0.0 . 20:34:19 Sending build context to Docker daemon 10.94MB 20:34:19 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:34:19 Step 2/25 : FROM ${BASE} AS builder 20:34:19 ---> c175c4753a7c 20:34:19 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:34:19 ---> Running in 5602b5b11071 20:34:19 Removing intermediate container 5602b5b11071 20:34:19 ---> 60ef973e9c21 20:34:19 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:34:19 ---> Running in fc6c1b748791 20:34:19 Removing intermediate container fc6c1b748791 20:34:19 ---> bc3c252429d0 20:34:19 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:34:19 ---> Running in 984afccf5e24 20:34:19 Removing intermediate container 984afccf5e24 20:34:19 ---> 913ce17df513 20:34:19 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:34:19 ---> Running in 5b36cf42a52e 20:34:19 Removing intermediate container 5b36cf42a52e 20:34:19 ---> aea1580c38af 20:34:19 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:34:19 ---> Running in fd209baced05 20:34:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:34:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:34:20 OK: 269 MiB in 57 packages 20:34:20 Removing intermediate container fd209baced05 20:34:20 ---> 8ce2b9af3ab3 20:34:20 Step 8/25 : WORKDIR /device-rest-go 20:34:20 ---> Running in b228a0f40d96 20:34:20 Removing intermediate container b228a0f40d96 20:34:20 ---> d4f2cfca176d 20:34:20 Step 9/25 : COPY go.mod vendor* ./ 20:34:20 ---> 727ede57fa71 20:34:20 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:34:20 ---> Running in 64b4c598fd16 20:34:21 Removing intermediate container 64b4c598fd16 20:34:21 ---> 939ed15bc94b 20:34:21 Step 11/25 : COPY . . 20:34:22 ---> e9fd61eb966a 20:34:22 Step 12/25 : RUN $MAKE 20:34:22 ---> Running in 9304883e2b2e 20:34:22 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.18" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:34:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5372 in /w/workspace/gexfoundry_device-rest-go_PR-336 [Pipeline] { [Pipeline] ws 20:34:28 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:34:28 The recommended git tool is: git 20:34:33 using credential edgex-jenkins-ssh 20:34:33 Cloning the remote Git repository 20:34:33 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:34:33 > git init /w/workspace/device-rest-go/1 # timeout=10 20:34:33 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:34:33 > git --version # timeout=10 20:34:33 > git --version # 'git version 2.25.1' 20:34:33 using GIT_SSH to set credentials SSH Credentials for GitHub 20:34:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:34:35 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:34:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:34:37 Merging remotes/origin/main commit f43bb6568d459ea684ddacde33420076da59f652 into PR head commit 8cb9289096ce8f96c23e85355267a56dccdb17db 20:34:37 Merge succeeded, producing 8cb9289096ce8f96c23e85355267a56dccdb17db 20:34:37 Checking out Revision 8cb9289096ce8f96c23e85355267a56dccdb17db (PR-336) 20:34:36 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:34:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:34:36 using GIT_SSH to set credentials SSH Credentials for GitHub 20:34:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:34:37 > git config core.sparsecheckout # timeout=10 20:34:37 > git checkout -f 8cb9289096ce8f96c23e85355267a56dccdb17db # timeout=10 20:34:37 > git remote # timeout=10 20:34:37 > git config --get remote.origin.url # timeout=10 20:34:37 using GIT_SSH to set credentials SSH Credentials for GitHub 20:34:37 > git merge f43bb6568d459ea684ddacde33420076da59f652 # timeout=10 20:34:37 > git rev-parse HEAD^{commit} # timeout=10 20:34:37 > git config core.sparsecheckout # timeout=10 20:34:37 > git checkout -f 8cb9289096ce8f96c23e85355267a56dccdb17db # timeout=10 20:34:37 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:34:37 > git --version # timeout=10 20:34:37 > git --version # 'git version 2.25.1' 20:34:37 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:34:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:34:38 % Total % Received % Xferd Average Speed Time Time Time Current 20:34:38 Dload Upload Total Spent Left Speed 20:34:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh 20:34:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:34:39 + sudo tee /etc/docker/daemon.new 20:34:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:34:39 { 20:34:39 "registry-mirrors": [ 20:34:39 "https://nexus3.edgexfoundry.org:10001" 20:34:39 ], 20:34:39 "bip": "10.250.0.254/24", 20:34:39 "hosts": [ 20:34:39 "tcp://0.0.0.0:5555", 20:34:39 "unix:///var/run/docker.sock" 20:34:39 ], 20:34:39 "mtu": 1458, 20:34:39 "selinux-enabled": true, 20:34:39 "seccomp-profile": "/etc/docker/seccomp.json" 20:34:39 } [Pipeline] sh 20:34:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:34:40 + sudo service docker restart 20:34:44 Removing intermediate container 9304883e2b2e 20:34:44 ---> 9b0629f49315 20:34:44 Step 13/25 : FROM alpine:3.17 20:34:44 3.17: Pulling from library/alpine 20:34:44 9398808236ff: Pulling fs layer 20:34:44 9398808236ff: Download complete 20:34:44 9398808236ff: Pull complete 20:34:44 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 20:34:44 Status: Downloaded newer image for alpine:3.17 20:34:44 ---> 1e0b8b5322fc 20:34:44 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:34:44 ---> Running in e6862356bdda 20:34:44 Removing intermediate container e6862356bdda 20:34:44 ---> b48b4760066d 20:34:44 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:34:44 ---> Running in 32e1992191a9 20:34:44 Removing intermediate container 32e1992191a9 20:34:44 ---> 378f19e78fe1 20:34:44 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:34:44 ---> Running in 83692794fdb4 20:34:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:34:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:34:45 (1/1) Installing dumb-init (1.2.5-r2) 20:34:45 Executing busybox-1.35.0-r29.trigger 20:34:45 OK: 7 MiB in 16 packages 20:34:45 Removing intermediate container 83692794fdb4 20:34:45 ---> 90bf3af83369 20:34:45 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:34:46 ---> 6cc3ad6b8827 20:34:46 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:34:46 ---> 0509ccf06be6 20:34:46 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:34:46 ---> ea533694ac4e 20:34:46 Step 20/25 : EXPOSE 59986 20:34:46 ---> Running in 8acde2f98abf 20:34:46 Removing intermediate container 8acde2f98abf 20:34:46 ---> 34069f5c6fde 20:34:46 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:34:46 ---> Running in af9ad6d0c6cc 20:34:46 Removing intermediate container af9ad6d0c6cc 20:34:46 ---> ca5ca846b60a 20:34:46 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:34:46 ---> Running in 357fc27425cc 20:34:47 Removing intermediate container 357fc27425cc 20:34:47 ---> 9da678a8c489 20:34:47 Step 23/25 : LABEL arch=amd64 20:34:47 ---> Running in 5a36ecac67d1 20:34:47 Removing intermediate container 5a36ecac67d1 20:34:47 ---> 325cfcdffbef 20:34:47 Step 24/25 : LABEL git_sha=8cb9289096ce8f96c23e85355267a56dccdb17db 20:34:47 ---> Running in 75e02df7bf3f 20:34:47 Removing intermediate container 75e02df7bf3f 20:34:47 ---> dbbdcccd8e75 20:34:47 Step 25/25 : LABEL version=0.0.0 20:34:47 ---> Running in b2d7fcae5061 20:34:47 Removing intermediate container b2d7fcae5061 20:34:47 ---> d365532b694a 20:34:47 [Warning] One or more build-args [ARCH] were not consumed 20:34:47 Successfully built d365532b694a 20:34:47 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:34:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:34:48 20:34:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:34:48 latest: Pulling from edgex-lftools-log-publisher 20:34:48 5eb5b503b376: Pulling fs layer 20:34:48 5c69ac0246d0: Pulling fs layer 20:34:48 ec43610c2a17: Pulling fs layer 20:34:48 3a2ae6a8a46f: Pulling fs layer 20:34:48 33b1e0a273af: Pulling fs layer 20:34:48 5d3b04190fa2: Pulling fs layer 20:34:48 2f39f015ded8: Pulling fs layer 20:34:48 33b1e0a273af: Waiting 20:34:48 5d3b04190fa2: Waiting 20:34:48 5c69ac0246d0: Verifying Checksum 20:34:48 5c69ac0246d0: Download complete 20:34:48 3a2ae6a8a46f: Download complete 20:34:48 33b1e0a273af: Verifying Checksum 20:34:48 33b1e0a273af: Download complete 20:34:48 5d3b04190fa2: Verifying Checksum 20:34:48 5d3b04190fa2: Download complete 20:34:48 ec43610c2a17: Verifying Checksum 20:34:48 ec43610c2a17: Download complete 20:34:48 5eb5b503b376: Verifying Checksum 20:34:48 5eb5b503b376: Download complete 20:34:49 2f39f015ded8: Verifying Checksum 20:34:49 2f39f015ded8: Download complete 20:34:50 5eb5b503b376: Pull complete 20:34:50 5c69ac0246d0: Pull complete 20:34:50 ec43610c2a17: Pull complete 20:34:50 3a2ae6a8a46f: Pull complete 20:34:50 33b1e0a273af: Pull complete 20:34:50 5d3b04190fa2: Pull complete 20:34:55 2f39f015ded8: Pull complete 20:34:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:34:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:34:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:34:55 prd-ubuntu20.04-docker-8c-8g-5370 does not seem to be running inside a container 20:34:55 $ 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-336 -v /w/workspace/gexfoundry_device-rest-go_PR-336:/w/workspace/gexfoundry_device-rest-go_PR-336:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-336@tmp:/w/workspace/gexfoundry_device-rest-go_PR-336@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:34:59 $ docker top f94788c12bd78174ef2fa6afbacf0ca811bb1138ea1feafeb335db0ab9e8ea5d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 20:35:00 provisioning config files... 20:35:00 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6287764747431349803tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:35:00 ---> job-cost.sh 20:35:00 lf-activate-venv: SKIPPING 20:35:00 INFO: No Stack... 20:35:00 ---> docker-login.sh 20:35:00 nexus3.edgexfoundry.org:10001 20:35:00 INFO: Retrieving Pricing Info for: v3-standard-8 20:35:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:00 INFO: Archiving Costs [Pipeline] sh 20:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:01 Configure a credential helper to remove this warning. See 20:35:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:01 20:35:01 Login Succeeded 20:35:01 nexus3.edgexfoundry.org:10002 20:35:01 + cat /w/workspace/gexfoundry_device-rest-go_PR-336/archives/cost.csv 20:35:01 + cut -d, -f6 [Pipeline] lock 20:35:01 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-336-1-stack-cost] 20:35:01 Resource [jenkins-edgexfoundry-device-rest-go-PR-336-1-stack-cost] did not exist. Created. 20:35:01 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-336-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:35:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:01 Configure a credential helper to remove this warning. See 20:35:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:01 20:35:01 Login Succeeded 20:35:01 nexus3.edgexfoundry.org:10003 20:35:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:01 + echo total: 0.2199999988079071 [Pipeline] stash 20:35:01 Stashed 1 file(s) [Pipeline] } 20:35:01 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-336-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:35:01 $ docker stop --time=1 f94788c12bd78174ef2fa6afbacf0ca811bb1138ea1feafeb335db0ab9e8ea5d 20:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:01 Configure a credential helper to remove this warning. See 20:35:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:01 20:35:01 Login Succeeded 20:35:01 nexus3.edgexfoundry.org:10004 20:35:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:02 Configure a credential helper to remove this warning. See 20:35:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:02 20:35:02 Login Succeeded 20:35:02 docker.io 20:35:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:02 Configure a credential helper to remove this warning. See 20:35:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:02 20:35:02 Login Succeeded 20:35:02 ---> docker-login.sh ends 20:35:03 $ docker rm -f --volumes f94788c12bd78174ef2fa6afbacf0ca811bb1138ea1feafeb335db0ab9e8ea5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 20:35:03 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 20:35:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:35:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:35:03 ========================================================= 20:35:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:35:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:04 + 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:35:04 Sending build context to Docker daemon 143.4kB 20:35:04 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:35:04 Step 2/12 : FROM ${BASE} AS builder 20:35:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:35:04 edb6bdbacee9: Pulling fs layer 20:35:04 5f9638ab2659: Pulling fs layer 20:35:04 8d51d6327a98: Pulling fs layer 20:35:04 8b374f2dd631: Pulling fs layer 20:35:04 ec14aa9079de: Pulling fs layer 20:35:04 2f466654f4bb: Pulling fs layer 20:35:04 554e91adad29: Pulling fs layer 20:35:04 8b374f2dd631: Waiting 20:35:04 ec14aa9079de: Waiting 20:35:04 2f466654f4bb: Waiting 20:35:04 554e91adad29: Waiting 20:35:04 5f9638ab2659: Verifying Checksum 20:35:04 5f9638ab2659: Download complete 20:35:04 8b374f2dd631: Verifying Checksum 20:35:04 8b374f2dd631: Download complete 20:35:04 ec14aa9079de: Verifying Checksum 20:35:04 ec14aa9079de: Download complete 20:35:04 edb6bdbacee9: Verifying Checksum 20:35:05 edb6bdbacee9: Pull complete 20:35:05 554e91adad29: Verifying Checksum 20:35:05 554e91adad29: Download complete 20:35:06 5f9638ab2659: Pull complete 20:35:07 8d51d6327a98: Download complete 20:35:07 2f466654f4bb: Verifying Checksum 20:35:07 2f466654f4bb: Download complete 20:35:17 8d51d6327a98: Pull complete 20:35:17 8b374f2dd631: Pull complete 20:35:17 ec14aa9079de: Pull complete 20:35:24 2f466654f4bb: Pull complete 20:35:27 554e91adad29: Pull complete 20:35:27 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 20:35:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:35:27 ---> 1e15ea492957 20:35:27 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:35:29 ---> Running in 1cf9ccc1b611 20:35:29 Removing intermediate container 1cf9ccc1b611 20:35:29 ---> 3c6017043bb1 20:35:29 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:35:29 ---> Running in f2ea8d1c1bc6 20:35:29 Removing intermediate container f2ea8d1c1bc6 20:35:29 ---> 0ab7a56bd32c 20:35:29 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:35:29 ---> Running in b53d6d3ffb7b 20:35:29 Removing intermediate container b53d6d3ffb7b 20:35:29 ---> 8418fc12aaec 20:35:29 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:35:29 ---> Running in 315218d4aa4e 20:35:30 Removing intermediate container 315218d4aa4e 20:35:30 ---> 022111e27e11 20:35:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:35:30 ---> Running in 5b782936bd6f 20:35:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:35:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:35:32 (1/4) Installing openssh-keygen (9.1_p1-r4) 20:35:32 (2/4) Installing libedit (20221030.3.1-r0) 20:35:32 (3/4) Installing openssh-client-common (9.1_p1-r4) 20:35:32 (4/4) Installing openssh-client-default (9.1_p1-r4) 20:35:33 Executing busybox-1.35.0-r29.trigger 20:35:33 OK: 268 MiB in 57 packages 20:35:34 Removing intermediate container 5b782936bd6f 20:35:34 ---> 8c1d24f0fcb7 20:35:34 Step 8/12 : WORKDIR /device-rest-go 20:35:34 ---> Running in a2e24008c23d 20:35:34 Removing intermediate container a2e24008c23d 20:35:34 ---> eb0a977f126f 20:35:34 Step 9/12 : COPY go.mod vendor* ./ 20:35:36 ---> e1bf7c98f814 20:35:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:35:37 ---> Running in e3ba050dfe3a 20:36:45 Removing intermediate container e3ba050dfe3a 20:36:45 ---> e892f2c1f84d 20:36:45 Step 11/12 : COPY . . 20:36:45 ---> 711803a84277 20:36:45 Step 12/12 : RUN $MAKE 20:36:45 ---> Running in 5c0f17522447 20:36:45 noop 20:36:45 Removing intermediate container 5c0f17522447 20:36:45 ---> 074eefe5d195 20:36:45 Successfully built 074eefe5d195 20:36:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:45 + docker inspect -f . ci-base-image-arm64 20:36:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:45 prd-ubuntu20.04-docker-arm64-4c-16g-5372 does not seem to be running inside a container 20:36:45 $ 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:36:46 $ docker top be0ca2760b5e8ca7913e298b3f0537a5bfadedc97d86ca7e4a3455e59745ae9f -eo pid,comm [Pipeline] { [Pipeline] sh 20:36:47 + go version 20:36:47 go version go1.20.6 linux/arm64 [Pipeline] } 20:36:47 $ docker stop --time=1 be0ca2760b5e8ca7913e298b3f0537a5bfadedc97d86ca7e4a3455e59745ae9f 20:36:49 $ docker rm -f --volumes be0ca2760b5e8ca7913e298b3f0537a5bfadedc97d86ca7e4a3455e59745ae9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:50 + docker inspect -f . ci-base-image-arm64 20:36:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:50 prd-ubuntu20.04-docker-arm64-4c-16g-5372 does not seem to be running inside a container 20:36:50 $ 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:36:51 $ docker top 96cf7328f24a716b344e0d2aeef01a2e955d64f436a6474460bd74cde516b0e4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:36:52 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:36:52 + make test 20:36:52 go test ./... -coverprofile=coverage.out ./... 20:37:25 ? github.com/edgexfoundry/device-rest-go [no test files] 20:39:32 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:39:32 ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 33.2% of statements 20:39:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:39:32 go vet ./... 20:39:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:39:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:39:50 ./bin/test-attribution-txt.sh [Pipeline] echo 20:39:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:39:50 $ docker stop --time=1 96cf7328f24a716b344e0d2aeef01a2e955d64f436a6474460bd74cde516b0e4 20:39:53 $ docker rm -f --volumes 96cf7328f24a716b344e0d2aeef01a2e955d64f436a6474460bd74cde516b0e4 [Pipeline] // withDockerContainer [Pipeline] sh 20:39:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:39:54 Warning: overwriting stash ‘coverage-report’ 20:39:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:39:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:39:55 + ls -al . 20:39:55 total 184 20:39:55 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 20:36 . 20:39:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:34 .. 20:39:55 -rw-rw-r-- 1 jenkins jenkins 151 Sep 5 20:34 .dockerignore 20:39:55 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 20:34 .git 20:39:55 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:34 .github 20:39:55 -rw-rw-r-- 1 jenkins jenkins 329 Sep 5 20:34 .gitignore 20:39:55 -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 20:34 .golangci.yml 20:39:55 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 5 20:34 Attribution.txt 20:39:55 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 5 20:34 CHANGELOG.md 20:39:55 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 5 20:34 Dockerfile 20:39:55 -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 20:34 GOVERNANCE.md 20:39:55 -rw-rw-r-- 1 jenkins jenkins 680 Sep 5 20:34 Jenkinsfile 20:39:55 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 20:34 LICENSE 20:39:55 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 5 20:34 Makefile 20:39:55 -rw-rw-r-- 1 jenkins jenkins 620 Sep 5 20:34 OWNERS.md 20:39:55 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 5 20:34 README.md 20:39:55 -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 20:32 VERSION 20:39:55 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:34 bin 20:39:55 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:34 cmd 20:39:55 -rw-r--r-- 1 jenkins jenkins 14499 Sep 5 20:39 coverage.out 20:39:55 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:34 driver 20:39:55 -rw-rw-r-- 1 jenkins jenkins 3889 Sep 5 20:34 go.mod 20:39:55 -rw-rw-r-- 1 jenkins jenkins 34092 Sep 5 20:34 go.sum 20:39:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:34 snap 20:39:55 -rw-rw-r-- 1 jenkins jenkins 713 Sep 5 20:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:56 + 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=8cb9289096ce8f96c23e85355267a56dccdb17db --label arch=arm64 --label version=0.0.0 . 20:39:56 Sending build context to Docker daemon 158.7kB 20:39:56 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:39:56 Step 2/25 : FROM ${BASE} AS builder 20:39:56 ---> 074eefe5d195 20:39:56 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:39:56 ---> Running in 23cd3c8560ec 20:39:56 Removing intermediate container 23cd3c8560ec 20:39:56 ---> 2379fd7fc9ad 20:39:56 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:39:56 ---> Running in 02f0c8b1ca74 20:39:56 Removing intermediate container 02f0c8b1ca74 20:39:56 ---> fceb86a5cc9d 20:39:56 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:39:57 ---> Running in bd0ac3673cb1 20:39:57 Removing intermediate container bd0ac3673cb1 20:39:57 ---> 786e6ccc8fb3 20:39:57 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:39:57 ---> Running in b5a04d367a74 20:39:57 Removing intermediate container b5a04d367a74 20:39:57 ---> b76cbc67385c 20:39:57 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:39:57 ---> Running in e5abf072106e 20:39:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:39:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:40:00 OK: 268 MiB in 57 packages 20:40:01 Removing intermediate container e5abf072106e 20:40:01 ---> aef3b0c305d7 20:40:01 Step 8/25 : WORKDIR /device-rest-go 20:40:01 ---> Running in c8054ee7b0c7 20:40:01 Removing intermediate container c8054ee7b0c7 20:40:01 ---> be29a5e7012a 20:40:01 Step 9/25 : COPY go.mod vendor* ./ 20:40:01 ---> 5e3728c2e4a6 20:40:01 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:40:01 ---> Running in c4ba124cdce2 20:40:03 Removing intermediate container c4ba124cdce2 20:40:03 ---> b52a22d58899 20:40:03 Step 11/25 : COPY . . 20:40:06 ---> 6a1514a0fb43 20:40:06 Step 12/25 : RUN $MAKE 20:40:06 ---> Running in 3296db04289d 20:40:07 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.18" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:42:28 Removing intermediate container 3296db04289d 20:42:28 ---> f36558fe75df 20:42:28 Step 13/25 : FROM alpine:3.17 20:42:28 3.17: Pulling from library/alpine 20:42:28 4060ece20d7a: Pulling fs layer 20:42:28 4060ece20d7a: Download complete 20:42:28 4060ece20d7a: Pull complete 20:42:28 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 20:42:28 Status: Downloaded newer image for alpine:3.17 20:42:28 ---> 8650cd65339b 20:42:28 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:42:28 ---> Running in 3625c0805487 20:42:28 Removing intermediate container 3625c0805487 20:42:28 ---> c807bc64b87e 20:42:28 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:42:28 ---> Running in 5633fe2fb56d 20:42:28 Removing intermediate container 5633fe2fb56d 20:42:28 ---> dabe60a9c4da 20:42:28 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:42:28 ---> Running in ddf19128fd52 20:42:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:42:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:42:28 (1/1) Installing dumb-init (1.2.5-r2) 20:42:28 Executing busybox-1.35.0-r29.trigger 20:42:28 OK: 8 MiB in 16 packages 20:42:28 Removing intermediate container ddf19128fd52 20:42:28 ---> 3113f59dfb71 20:42:28 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:42:28 ---> be5076bfe73c 20:42:28 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:42:28 ---> d8186e1ec612 20:42:28 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:42:28 ---> 2cc2eed83a07 20:42:28 Step 20/25 : EXPOSE 59986 20:42:28 ---> Running in 5a47311a5894 20:42:28 Removing intermediate container 5a47311a5894 20:42:28 ---> f9bc3f3e9f0a 20:42:28 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:42:28 ---> Running in 0866af536b5d 20:42:28 Removing intermediate container 0866af536b5d 20:42:28 ---> af1c90317b8c 20:42:28 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:42:28 ---> Running in e6d81535aad2 20:42:28 Removing intermediate container e6d81535aad2 20:42:28 ---> 1e624d6aad3d 20:42:28 Step 23/25 : LABEL arch=arm64 20:42:28 ---> Running in c2280068a080 20:42:28 Removing intermediate container c2280068a080 20:42:28 ---> e7135d644c20 20:42:28 Step 24/25 : LABEL git_sha=8cb9289096ce8f96c23e85355267a56dccdb17db 20:42:28 ---> Running in 639d8637458b 20:42:28 Removing intermediate container 639d8637458b 20:42:28 ---> e81c6cfd539d 20:42:28 Step 25/25 : LABEL version=0.0.0 20:42:28 ---> Running in 3eb3ce692d2c 20:42:28 Removing intermediate container 3eb3ce692d2c 20:42:28 ---> aaae2619b6d0 20:42:28 [Warning] One or more build-args [ARCH] were not consumed 20:42:28 Successfully built aaae2619b6d0 20:42:28 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:42:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:42:29 20:42:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:42:30 arm64: Pulling from edgex-lftools-log-publisher 20:42:30 8998bd30e6a1: Pulling fs layer 20:42:30 04944245beec: Pulling fs layer 20:42:30 699f458cf7ca: Pulling fs layer 20:42:30 765212b225bb: Pulling fs layer 20:42:30 f23df028b6ca: Pulling fs layer 20:42:30 d65c8cfc05b1: Pulling fs layer 20:42:30 2437ff75d9bd: Pulling fs layer 20:42:30 f23df028b6ca: Waiting 20:42:30 d65c8cfc05b1: Waiting 20:42:30 2437ff75d9bd: Waiting 20:42:30 765212b225bb: Waiting 20:42:30 04944245beec: Verifying Checksum 20:42:30 04944245beec: Download complete 20:42:30 765212b225bb: Download complete 20:42:30 f23df028b6ca: Verifying Checksum 20:42:30 f23df028b6ca: Download complete 20:42:30 d65c8cfc05b1: Verifying Checksum 20:42:30 d65c8cfc05b1: Download complete 20:42:30 699f458cf7ca: Verifying Checksum 20:42:30 699f458cf7ca: Download complete 20:42:30 8998bd30e6a1: Verifying Checksum 20:42:30 8998bd30e6a1: Download complete 20:42:32 2437ff75d9bd: Verifying Checksum 20:42:32 2437ff75d9bd: Download complete 20:42:34 8998bd30e6a1: Pull complete 20:42:35 04944245beec: Pull complete 20:42:36 699f458cf7ca: Pull complete 20:42:36 765212b225bb: Pull complete 20:42:37 f23df028b6ca: Pull complete 20:42:37 d65c8cfc05b1: Pull complete 20:42:52 2437ff75d9bd: Pull complete 20:42:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:42:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:42:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:53 prd-ubuntu20.04-docker-arm64-4c-16g-5372 does not seem to be running inside a container 20:42:53 $ 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:42:55 $ docker top 31f5006a22cd9affac6fcc2ad93bd9852324f72a20d6858b430e150cca0f6468 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:56 ---> job-cost.sh 20:42:56 lf-activate-venv: SKIPPING 20:42:56 INFO: No Stack... 20:42:56 INFO: Retrieving Pricing Info for: v3-standard-4 20:42:57 INFO: Archiving Costs [Pipeline] sh 20:42:58 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:42:58 + cut -d, -f6 [Pipeline] lock 20:42:58 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-336-1-stack-cost] 20:42:58 Resource [jenkins-edgexfoundry-device-rest-go-PR-336-1-stack-cost] did not exist. Created. 20:42:58 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-336-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:42:58 /w/workspace/device-rest-go/1@tmp/durable-25371ad9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:42:59 + echo total: 0.10999999940395355 [Pipeline] stash 20:42:59 Warning: overwriting stash ‘stack-cost’ 20:42:59 Stashed 1 file(s) [Pipeline] } 20:42:59 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-336-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:42:59 $ docker stop --time=1 31f5006a22cd9affac6fcc2ad93bd9852324f72a20d6858b430e150cca0f6468 20:43:02 $ docker rm -f --volumes 31f5006a22cd9affac6fcc2ad93bd9852324f72a20d6858b430e150cca0f6468 [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:43:03 provisioning config files... 20:43:03 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-336@tmp/config519253320396845158tmp [Pipeline] { [Pipeline] sh 20:43:04 + set +x 20:43:04 + curl -s https://codecov.io/bash 20:43:04 + bash -s -- 20:43:04 20:43:04 _____ _ 20:43:04 / ____| | | 20:43:04 | | ___ __| | ___ ___ _____ __ 20:43:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:43:04 | |___| (_) | (_| | __/ (_| (_) \ V / 20:43:04 \_____\___/ \__,_|\___|\___\___/ \_/ 20:43:04 Bash-1.0.6 20:43:04 20:43:04 20:43:04 ==> git version 2.25.1 found 20:43:04 ==> 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:43:04 Release-Date: 2020-01-08 20:43:04 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:43:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:43:04 ==> Jenkins CI detected. 20:43:04 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-336 20:43:04 project root: . 20:43:04 --> token set from env 20:43:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:43:04 ==> Running gcov in . (disable via -X gcov) 20:43:04 ==> Python coveragepy not found 20:43:04 ==> Searching for coverage reports in: 20:43:04 + . 20:43:04 -> Found 1 reports 20:43:04 ==> Detecting git/mercurial file structure 20:43:04 ==> Reading reports 20:43:04 + ./coverage.out bytes=14499 20:43:04 ==> Appending adjustments 20:43:04 https://docs.codecov.io/docs/fixing-reports 20:43:04 + Found adjustments 20:43:04 ==> Gzipping contents 20:43:04 4.0K /tmp/codecov.b3sSIc.gz 20:43:04 ==> Uploading reports 20:43:04 url: https://codecov.io 20:43:04 query: branch=PR-336&commit=8cb9289096ce8f96c23e85355267a56dccdb17db&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-336%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=336&job=&cmd_args= 20:43:04 -> Pinging Codecov 20:43:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-336&commit=8cb9289096ce8f96c23e85355267a56dccdb17db&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-336%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=336&job=&cmd_args= 20:43:04 -> Uploading to 20:43:04 https://storage.googleapis.com/codecov/v4/raw/2023-09-05/4E5D53B4F1F92C436F7061BF334D961C/8cb9289096ce8f96c23e85355267a56dccdb17db/76d7f686-aabf-4b2c-bab9-9d768aec0164.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230905%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230905T204304Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5fc7a3a4f9316bc12835c806a202016919ea74606a2a2f2aaa02b0f229e86171 20:43:04 % Total % Received % Xferd Average Speed Time Time Time Current 20:43:04 Dload Upload Total Spent Left Speed 20:43:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 12719 --:--:-- --:--:-- --:--:-- 12719 20:43:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/8cb9289096ce8f96c23e85355267a56dccdb17db [Pipeline] } 20:43:04 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:43:07 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-336/archives ] 20:43:07 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-336/archives 20:43:07 total 16 20:43:07 drwxr-xr-x 3 root root 4096 Sep 5 20:35 . 20:43:07 drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 20:35 .. 20:43:07 drwxr-xr-x 2 root root 4096 Sep 5 20:35 cost 20:43:07 -rw-r--r-- 1 root root 86 Sep 5 20:35 cost.csv 20:43:07 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-336/archives 20:43:07 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-336/archives 20:43:07 total 16 20:43:07 drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 20:35 . 20:43:07 drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 20:35 .. 20:43:07 drwxr-xr-x 2 jenkins jenkins 4096 Sep 5 20:35 cost 20:43:07 -rw-r--r-- 1 jenkins jenkins 86 Sep 5 20:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:43:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:43:09 ---> package-listing.sh 20:43:09 ++ facter osfamily 20:43:09 ++ tr '[:upper:]' '[:lower:]' 20:43:09 + OS_FAMILY=debian 20:43:09 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-336 20:43:09 + START_PACKAGES=/tmp/packages_start.txt 20:43:09 + END_PACKAGES=/tmp/packages_end.txt 20:43:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:43:09 + PACKAGES=/tmp/packages_start.txt 20:43:09 + '[' /w/workspace/gexfoundry_device-rest-go_PR-336 ']' 20:43:09 + PACKAGES=/tmp/packages_end.txt 20:43:09 + case "${OS_FAMILY}" in 20:43:09 + dpkg -l 20:43:09 + grep '^ii' 20:43:09 + '[' -f /tmp/packages_start.txt ']' 20:43:09 + '[' -f /tmp/packages_end.txt ']' 20:43:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:43:09 + '[' /w/workspace/gexfoundry_device-rest-go_PR-336 ']' 20:43:09 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-336/archives/ 20:43:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-336/archives/ [Pipeline] echo 20:43:09 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-336/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:43:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:10 prd-ubuntu20.04-docker-8c-8g-5370 does not seem to be running inside a container 20:43:10 $ 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-336/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-336 -v /w/workspace/gexfoundry_device-rest-go_PR-336:/w/workspace/gexfoundry_device-rest-go_PR-336:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-336@tmp:/w/workspace/gexfoundry_device-rest-go_PR-336@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:43:10 $ docker top c66adee013d71d8fd1cafe2c917b1670530c4238b546e44fe07142227b462096 -eo pid,comm [Pipeline] { [Pipeline] sh 20:43:11 + touch /tmp/pre-build-complete [Pipeline] sh 20:43:11 + mkdir -p /var/log/sysstat [Pipeline] sh 20:43:11 + ls /var/log/sa-host 20:43:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:43:11 provisioning config files... 20:43:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-336@tmp/config16526645779350247833tmp [Pipeline] { [Pipeline] echo 20:43:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:43:12 ---> create-netrc.sh [Pipeline] } 20:43:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:43:12 ---> python-tools-install.sh [Pipeline] echo 20:43:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:43:12 ---> sudo-logs.sh 20:43:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:43:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:43:13 ---> job-cost.sh 20:43:13 lf-activate-venv: SKIPPING 20:43:13 DEBUG: total: 0.2199999988079071 20:43:13 INFO: Retrieving Stack Cost... 20:43:13 INFO: Retrieving Pricing Info for: v3-standard-8 20:43:14 INFO: Archiving Costs [Pipeline] echo 20:43:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:43:14 ---> logs-deploy.sh 20:43:14 lf-activate-venv: SKIPPING 20:43:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-336/1 20:43:14 INFO: archiving workspace using pattern(s): 20:43:15 Archives upload complete. 20:43:15 INFO: archiving logs to Nexus