Pull request #346 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a+d6f941c2af2fad29136a7acf5385bb2680494e78 (899495452a99cfa0659990806ea49b2bd1d3ec12) 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-ssh18263667905089458924.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh12235659457123716998.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-346/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-346/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4575567154944914265.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-346/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9539919824594191818.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh13906972360094980667.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-346/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-346/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7717023724515593808.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7878 in /w/workspace/gexfoundry_device-rest-go_PR-346 [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-346 # 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/346/head:refs/remotes/origin/PR-346 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d6f941c2af2fad29136a7acf5385bb2680494e78 into PR head commit a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a Merge succeeded, producing a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a Checking out Revision a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a (PR-346) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:49:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a # 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 d6f941c2af2fad29136a7acf5385bb2680494e78 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:49:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:49:54 ========================================================= 20:49:54 EdgeX Global Pipelines Version Info 20:49:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:49:55 ------------------- 20:49:55 stable info: 20:49:55 ------------------- 20:49:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:49:55 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:49:55 Message: update stable to v1.0.254 20:49:55 ------------------- 20:49:55 experimental info: 20:49:55 ------------------- 20:49:55 Commited By: **** collab-it+edgex@linuxfoundation.org 20:49:55 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:49:55 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:49:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:49:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:49:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:49:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:49:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:49:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:49:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:49:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-346 [Pipeline] echo 20:49:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-346 [Pipeline] echo 20:49:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-346 [Pipeline] echo 20:49:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a [Pipeline] echo 20:49:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a8fb40e [Pipeline] echo 20:49:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:49:57 provisioning config files... 20:49:57 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-346@tmp/config13737480921231536591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:49:58 ---> docker-login.sh 20:49:58 nexus3.edgexfoundry.org:10001 20:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:58 Configure a credential helper to remove this warning. See 20:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:58 20:49:58 Login Succeeded 20:49:58 nexus3.edgexfoundry.org:10002 20:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:58 Configure a credential helper to remove this warning. See 20:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:58 20:49:58 Login Succeeded 20:49:58 nexus3.edgexfoundry.org:10003 20:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:58 Configure a credential helper to remove this warning. See 20:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:58 20:49:58 Login Succeeded 20:49:58 nexus3.edgexfoundry.org:10004 20:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:58 Configure a credential helper to remove this warning. See 20:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:58 20:49:58 Login Succeeded 20:49:58 docker.io 20:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:59 Configure a credential helper to remove this warning. See 20:49:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:59 20:49:59 Login Succeeded 20:49:59 ---> docker-login.sh ends [Pipeline] } 20:49:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:50:00 + git rev-list -1 --merges a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a~1..a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a [Pipeline] echo 20:50:00 -----------> git rev-list -1 --merges a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a~1..a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a [false] [Pipeline] sh 20:50:00 + git log --format=format:%s -1 a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a [Pipeline] echo 20:50:00 ========================================================= 20:50:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:50:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:50:00 + git log --format=format:%s -1 a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a [Pipeline] echo 20:50:00 [semverPrep] GIT_COMMIT: a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:50:00 [semverPrep] This is not a build commit. [Pipeline] sh 20:50:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:50:01 + grep -v github /etc/ssh/ssh_known_hosts 20:50:01 + [ -e /tmp/ssh_known_hosts ] 20:50:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:50:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:50:01 + sudo tee -a /etc/ssh/ssh_known_hosts 20:50:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:50:01 20:50:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:50:02 0.1.4: Pulling from edgex-devops/py-git-semver 20:50:02 b85a868b505f: Pulling fs layer 20:50:02 e2be974225ed: Pulling fs layer 20:50:02 339a4e72a1f5: Pulling fs layer 20:50:02 988bab9f4d93: Pulling fs layer 20:50:02 1469e6f7b9e6: Pulling fs layer 20:50:02 eaf3925da568: Pulling fs layer 20:50:02 bab4dde63d76: Pulling fs layer 20:50:02 bde34c3a00c8: Pulling fs layer 20:50:02 b352a97aabf1: Pulling fs layer 20:50:02 4872d77fe225: Pulling fs layer 20:50:02 5851b861e8e6: Pulling fs layer 20:50:02 bab4dde63d76: Waiting 20:50:02 988bab9f4d93: Waiting 20:50:02 1469e6f7b9e6: Waiting 20:50:02 eaf3925da568: Waiting 20:50:02 b352a97aabf1: Waiting 20:50:02 4872d77fe225: Waiting 20:50:02 5851b861e8e6: Waiting 20:50:02 bde34c3a00c8: Waiting 20:50:02 e2be974225ed: Verifying Checksum 20:50:02 e2be974225ed: Download complete 20:50:02 988bab9f4d93: Verifying Checksum 20:50:02 988bab9f4d93: Download complete 20:50:02 1469e6f7b9e6: Verifying Checksum 20:50:02 1469e6f7b9e6: Download complete 20:50:02 339a4e72a1f5: Verifying Checksum 20:50:02 339a4e72a1f5: Download complete 20:50:02 eaf3925da568: Download complete 20:50:02 bde34c3a00c8: Download complete 20:50:02 b352a97aabf1: Download complete 20:50:02 4872d77fe225: Download complete 20:50:02 5851b861e8e6: Verifying Checksum 20:50:02 5851b861e8e6: Download complete 20:50:02 b85a868b505f: Verifying Checksum 20:50:02 b85a868b505f: Download complete 20:50:02 bab4dde63d76: Verifying Checksum 20:50:02 bab4dde63d76: Download complete 20:50:03 b85a868b505f: Pull complete 20:50:03 e2be974225ed: Pull complete 20:50:04 339a4e72a1f5: Pull complete 20:50:04 988bab9f4d93: Pull complete 20:50:04 1469e6f7b9e6: Pull complete 20:50:04 eaf3925da568: Pull complete 20:50:06 bab4dde63d76: Pull complete 20:50:06 bde34c3a00c8: Pull complete 20:50:06 b352a97aabf1: Pull complete 20:50:06 4872d77fe225: Pull complete 20:50:06 5851b861e8e6: Pull complete 20:50:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:50:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:50:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:50:07 prd-ubuntu20.04-docker-8c-8g-7878 does not seem to be running inside a container 20:50:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-346 -v /w/workspace/gexfoundry_device-rest-go_PR-346:/w/workspace/gexfoundry_device-rest-go_PR-346:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-346@tmp:/w/workspace/gexfoundry_device-rest-go_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:50:10 $ docker top 6ff2c7bdb7f7e9d997f0b00f973b9068565fce26cea2d6f80fd391b6bd088ba8 -eo pid,comm 20:50:10 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:50:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:50:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:50:10 [ssh-agent] Looking for ssh-agent implementation... 20:50:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:50:10 $ docker exec 6ff2c7bdb7f7e9d997f0b00f973b9068565fce26cea2d6f80fd391b6bd088ba8 ssh-agent 20:50:10 SSH_AUTH_SOCK=/tmp/ssh-oOCv0khTnTeX/agent.31 20:50:10 SSH_AGENT_PID=37 20:50:10 Running ssh-add (command line suppressed) 20:50:11 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-346@tmp/private_key_16960133465405212591.key (/w/workspace/gexfoundry_device-rest-go_PR-346@tmp/private_key_16960133465405212591.key) 20:50:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:50:11 + git tag --points-at HEAD [Pipeline] } 20:50:11 $ docker exec --env ******** --env ******** 6ff2c7bdb7f7e9d997f0b00f973b9068565fce26cea2d6f80fd391b6bd088ba8 ssh-agent -k 20:50:11 unset SSH_AUTH_SOCK; 20:50:11 unset SSH_AGENT_PID; 20:50:11 echo Agent pid 37 killed; 20:50:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:50:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:50:11 [ssh-agent] Looking for ssh-agent implementation... 20:50:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:50:11 $ docker exec 6ff2c7bdb7f7e9d997f0b00f973b9068565fce26cea2d6f80fd391b6bd088ba8 ssh-agent 20:50:11 SSH_AUTH_SOCK=/tmp/ssh-pE07NKe2Yi92/agent.69 20:50:11 SSH_AGENT_PID=75 20:50:11 Running ssh-add (command line suppressed) 20:50:11 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-346@tmp/private_key_10171302460446667578.key (/w/workspace/gexfoundry_device-rest-go_PR-346@tmp/private_key_10171302460446667578.key) 20:50:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:50:12 + git semver init 20:50:12 2023-09-25 20:50:12,480 [run_init] DEBUG init version:0.0.0 force:False 20:50:12 2023-09-25 20:50:12,480 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-346/.semver 20:50:12 2023-09-25 20:50:12,481 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-346/.semver 20:50:12 2023-09-25 20:50:12,481 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-346/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-346, universal_newlines=False, shell=None, istream=None) 20:50:13 2023-09-25 20:50:13,543 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-346/.git/info/exclude 20:50:13 2023-09-25 20:50:13,544 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-346/.semver/PR-346 with force:False 20:50:13 2023-09-25 20:50:13,544 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-346/.semver/PR-346 20:50:13 2023-09-25 20:50:13,548 [execute] INFO git cat-file --batch-check 20:50:13 2023-09-25 20:50:13,549 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-346/.semver, universal_newlines=False, shell=None, istream=) 20:50:13 2023-09-25 20:50:13,556 [execute] INFO git cat-file --batch 20:50:13 2023-09-25 20:50:13,556 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-346/.semver, universal_newlines=False, shell=None, istream=) 20:50:13 2023-09-25 20:50:13,562 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-346/.semver/PR-346 20:50:13 0.0.0 [Pipeline] } 20:50:13 $ docker exec --env ******** --env ******** 6ff2c7bdb7f7e9d997f0b00f973b9068565fce26cea2d6f80fd391b6bd088ba8 ssh-agent -k 20:50:14 unset SSH_AUTH_SOCK; 20:50:14 unset SSH_AGENT_PID; 20:50:14 echo Agent pid 75 killed; 20:50:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:50:14 + git semver [Pipeline] } 20:50:14 $ docker stop --time=1 6ff2c7bdb7f7e9d997f0b00f973b9068565fce26cea2d6f80fd391b6bd088ba8 20:50:16 $ docker rm -f --volumes 6ff2c7bdb7f7e9d997f0b00f973b9068565fce26cea2d6f80fd391b6bd088ba8 [Pipeline] // withDockerContainer [Pipeline] sh 20:50:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:50:16 Stashed 1 file(s) [Pipeline] echo 20:50:16 [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:50:17 provisioning config files... 20:50:17 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-346@tmp/config92229989593744536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:50:17 ---> docker-login.sh 20:50:17 nexus3.edgexfoundry.org:10001 20:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:17 Configure a credential helper to remove this warning. See 20:50:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:17 20:50:17 Login Succeeded 20:50:17 nexus3.edgexfoundry.org:10002 20:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:17 Configure a credential helper to remove this warning. See 20:50:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:17 20:50:17 Login Succeeded 20:50:17 nexus3.edgexfoundry.org:10003 20:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:18 Configure a credential helper to remove this warning. See 20:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:18 20:50:18 Login Succeeded 20:50:18 nexus3.edgexfoundry.org:10004 20:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:18 Configure a credential helper to remove this warning. See 20:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:18 20:50:18 Login Succeeded 20:50:18 docker.io 20:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:18 Configure a credential helper to remove this warning. See 20:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:18 20:50:18 Login Succeeded 20:50:18 ---> docker-login.sh ends [Pipeline] } 20:50:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:50:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:50:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:50:18 ========================================================= 20:50:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:50:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:50:19 Sending build context to Docker daemon 10.92MB 20:50:19 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:50:19 Step 2/12 : FROM ${BASE} AS builder 20:50:19 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:50:19 7264a8db6415: Pulling fs layer 20:50:19 c4d48a809fc2: Pulling fs layer 20:50:19 4f1c88b9dad5: Pulling fs layer 20:50:19 ad3a456e5733: Pulling fs layer 20:50:19 33e27b845d1e: Pulling fs layer 20:50:19 c68163c4e522: Pulling fs layer 20:50:19 50da416c3ac9: Pulling fs layer 20:50:19 23d2d4c4bb30: Pulling fs layer 20:50:19 ad3a456e5733: Waiting 20:50:19 33e27b845d1e: Waiting 20:50:19 c68163c4e522: Waiting 20:50:19 50da416c3ac9: Waiting 20:50:19 23d2d4c4bb30: Waiting 20:50:19 c4d48a809fc2: Download complete 20:50:19 ad3a456e5733: Verifying Checksum 20:50:19 ad3a456e5733: Download complete 20:50:19 33e27b845d1e: Verifying Checksum 20:50:19 33e27b845d1e: Download complete 20:50:19 7264a8db6415: Verifying Checksum 20:50:19 7264a8db6415: Download complete 20:50:19 c68163c4e522: Verifying Checksum 20:50:19 c68163c4e522: Download complete 20:50:19 7264a8db6415: Pull complete 20:50:19 23d2d4c4bb30: Verifying Checksum 20:50:19 23d2d4c4bb30: Download complete 20:50:19 c4d48a809fc2: Pull complete 20:50:19 4f1c88b9dad5: Verifying Checksum 20:50:19 4f1c88b9dad5: Download complete 20:50:20 50da416c3ac9: Verifying Checksum 20:50:20 50da416c3ac9: Download complete 20:50:23 4f1c88b9dad5: Pull complete 20:50:23 ad3a456e5733: Pull complete 20:50:23 33e27b845d1e: Pull complete 20:50:23 c68163c4e522: Pull complete 20:50:26 50da416c3ac9: Pull complete 20:50:26 23d2d4c4bb30: Pull complete 20:50:26 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 20:50:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:50:26 ---> 0786185ac409 20:50:26 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:50:32 ---> Running in dc46f0691c35 20:50:32 Removing intermediate container dc46f0691c35 20:50:32 ---> 39a832143e43 20:50:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:50:32 ---> Running in 632c7ca3aa64 20:50:32 Removing intermediate container 632c7ca3aa64 20:50:32 ---> c1fb1b670a34 20:50:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:50:32 ---> Running in dd9df32ebd29 20:50:32 Removing intermediate container dd9df32ebd29 20:50:32 ---> 630ba8a38035 20:50:32 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:50:32 ---> Running in 979d69736a32 20:50:32 Removing intermediate container 979d69736a32 20:50:32 ---> 5b58f5ee043c 20:50:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:50:32 ---> Running in 1f3f3d796935 20:50:32 Still waiting to schedule task 20:50:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:50:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:50:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:50:32 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:50:32 (2/4) Installing libedit (20221030.3.1-r1) 20:50:32 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:50:32 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:50:32 Executing busybox-1.36.1-r2.trigger 20:50:32 OK: 268 MiB in 56 packages 20:50:33 Removing intermediate container 1f3f3d796935 20:50:33 ---> 889f2b360d02 20:50:33 Step 8/12 : WORKDIR /device-rest-go 20:50:33 ---> Running in 3b01beae0401 20:50:33 Removing intermediate container 3b01beae0401 20:50:33 ---> 05ad700bc25b 20:50:33 Step 9/12 : COPY go.mod vendor* ./ 20:50:33 ---> 020c830bb564 20:50:33 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:50:33 ---> Running in 7e13b9a9096f 20:51:20 Removing intermediate container 7e13b9a9096f 20:51:20 ---> 3699f35abf31 20:51:20 Step 11/12 : COPY . . 20:51:20 ---> 24b15078c036 20:51:20 Step 12/12 : RUN $MAKE 20:51:20 ---> Running in 4d431a2d559a 20:51:20 noop 20:51:20 Removing intermediate container 4d431a2d559a 20:51:20 ---> 5b49dc2d24b7 20:51:20 Successfully built 5b49dc2d24b7 20:51:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:20 + docker inspect -f . ci-base-image-x86_64 20:51:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:20 prd-ubuntu20.04-docker-8c-8g-7878 does not seem to be running inside a container 20:51:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-346 -v /w/workspace/gexfoundry_device-rest-go_PR-346:/w/workspace/gexfoundry_device-rest-go_PR-346:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-346@tmp:/w/workspace/gexfoundry_device-rest-go_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:51:21 $ docker top a9eca76665ede372406a05b987c9dbba51283b18c8f7edadc84884f3b81b01d9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:51:21 + go version 20:51:21 go version go1.21.0 linux/amd64 [Pipeline] } 20:51:21 $ docker stop --time=1 a9eca76665ede372406a05b987c9dbba51283b18c8f7edadc84884f3b81b01d9 20:51:22 $ docker rm -f --volumes a9eca76665ede372406a05b987c9dbba51283b18c8f7edadc84884f3b81b01d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:23 + docker inspect -f . ci-base-image-x86_64 20:51:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:23 prd-ubuntu20.04-docker-8c-8g-7878 does not seem to be running inside a container 20:51:23 $ 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-346 -v /w/workspace/gexfoundry_device-rest-go_PR-346:/w/workspace/gexfoundry_device-rest-go_PR-346:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-346@tmp:/w/workspace/gexfoundry_device-rest-go_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:51:24 $ docker top 0c64342947db1782b9542a56421609c5662e124cf4e54591cd8caf9fba1e34d6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:51:24 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-346 [Pipeline] fileExists [Pipeline] sh 20:51:24 + make test 20:51:24 go test ./... -coverprofile=coverage.out ./... 20:51:26 ? github.com/edgexfoundry/device-rest-go [no test files] 20:51:36 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:51:36 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 20:51:42 go vet ./... 20:51:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:51:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:51:47 ./bin/test-attribution-txt.sh [Pipeline] echo 20:51:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:51:47 $ docker stop --time=1 0c64342947db1782b9542a56421609c5662e124cf4e54591cd8caf9fba1e34d6 20:51:50 $ docker rm -f --volumes 0c64342947db1782b9542a56421609c5662e124cf4e54591cd8caf9fba1e34d6 [Pipeline] // withDockerContainer [Pipeline] sh 20:51:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:51:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:51:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:51:52 + ls -al . 20:51:52 total 188 20:51:52 drwxrwxr-x 9 jenkins jenkins 4096 Sep 25 20:51 . 20:51:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 20:49 .. 20:51:52 -rw-rw-r-- 1 jenkins jenkins 151 Sep 25 20:49 .dockerignore 20:51:52 drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 20:51 .git 20:51:52 drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 20:49 .github 20:51:52 -rw-rw-r-- 1 jenkins jenkins 329 Sep 25 20:49 .gitignore 20:51:52 -rw-rw-r-- 1 jenkins jenkins 41 Sep 25 20:49 .golangci.yml 20:51:52 drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 20:50 .semver 20:51:52 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 25 20:49 Attribution.txt 20:51:52 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 25 20:49 CHANGELOG.md 20:51:52 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 25 20:49 Dockerfile 20:51:52 -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 20:49 GOVERNANCE.md 20:51:52 -rw-rw-r-- 1 jenkins jenkins 680 Sep 25 20:49 Jenkinsfile 20:51:52 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 25 20:49 LICENSE 20:51:52 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 25 20:49 Makefile 20:51:52 -rw-rw-r-- 1 jenkins jenkins 620 Sep 25 20:49 OWNERS.md 20:51:52 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 25 20:49 README.md 20:51:52 -rw-rw-r-- 1 jenkins jenkins 5 Sep 25 20:50 VERSION 20:51:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 20:49 bin 20:51:52 drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 20:49 cmd 20:51:52 -rw-r--r-- 1 jenkins jenkins 14499 Sep 25 20:51 coverage.out 20:51:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 20:49 driver 20:51:52 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 25 20:49 go.mod 20:51:52 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 25 20:49 go.sum 20:51:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 20:49 snap 20:51:52 -rw-rw-r-- 1 jenkins jenkins 713 Sep 25 20:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:52 + 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=a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a --label arch=amd64 --label version=0.0.0 . 20:51:52 Sending build context to Docker daemon 10.93MB 20:51:52 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:51:52 Step 2/25 : FROM ${BASE} AS builder 20:51:52 ---> 5b49dc2d24b7 20:51:52 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:51:53 ---> Running in aa4f896ef525 20:51:53 Removing intermediate container aa4f896ef525 20:51:53 ---> a4b9759602d1 20:51:53 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:51:53 ---> Running in 2b40bc308a55 20:51:53 Removing intermediate container 2b40bc308a55 20:51:53 ---> 49865bb64fca 20:51:53 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:51:53 ---> Running in e515ac9ff426 20:51:53 Removing intermediate container e515ac9ff426 20:51:53 ---> 23a7f665c0d2 20:51:53 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:51:53 ---> Running in c43c82a9bf27 20:51:53 Removing intermediate container c43c82a9bf27 20:51:53 ---> ea237ce0deb5 20:51:53 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:51:53 ---> Running in 7a8e28b54b40 20:51:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:51:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:51:54 OK: 268 MiB in 56 packages 20:51:54 Removing intermediate container 7a8e28b54b40 20:51:54 ---> 6d772db616df 20:51:54 Step 8/25 : WORKDIR /device-rest-go 20:51:54 ---> Running in 04cc661ed02d 20:51:54 Removing intermediate container 04cc661ed02d 20:51:54 ---> 8c44a5e39214 20:51:54 Step 9/25 : COPY go.mod vendor* ./ 20:51:54 ---> 6444169dad61 20:51:54 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:51:54 ---> Running in 8d2f8c5e4762 20:51:55 Removing intermediate container 8d2f8c5e4762 20:51:55 ---> 0b5402637fac 20:51:55 Step 11/25 : COPY . . 20:51:55 ---> 1102fd8a7bb0 20:51:55 Step 12/25 : RUN $MAKE 20:51:55 ---> Running in d16dedc07043 20:51:56 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.30" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:52:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7880 in /w/workspace/gexfoundry_device-rest-go_PR-346 [Pipeline] { [Pipeline] ws 20:52:01 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:52:01 The recommended git tool is: git 20:52:06 using credential edgex-jenkins-ssh 20:52:06 Cloning the remote Git repository 20:52:06 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:52:06 > git init /w/workspace/device-rest-go/1 # timeout=10 20:52:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:52:06 > git --version # timeout=10 20:52:07 > git --version # 'git version 2.25.1' 20:52:07 using GIT_SSH to set credentials SSH Credentials for GitHub 20:52:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:52:09 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:52:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:52:11 Merging remotes/origin/main commit d6f941c2af2fad29136a7acf5385bb2680494e78 into PR head commit a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a 20:52:11 Merge succeeded, producing a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a 20:52:11 Checking out Revision a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a (PR-346) 20:52:10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:52:10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:52:10 using GIT_SSH to set credentials SSH Credentials for GitHub 20:52:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/346/head:refs/remotes/origin/PR-346 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:52:11 > git config core.sparsecheckout # timeout=10 20:52:11 > git checkout -f a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a # timeout=10 20:52:11 > git remote # timeout=10 20:52:11 > git config --get remote.origin.url # timeout=10 20:52:11 using GIT_SSH to set credentials SSH Credentials for GitHub 20:52:11 > git merge d6f941c2af2fad29136a7acf5385bb2680494e78 # timeout=10 20:52:11 > git rev-parse HEAD^{commit} # timeout=10 20:52:11 > git config core.sparsecheckout # timeout=10 20:52:11 > git checkout -f a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a # timeout=10 20:52:12 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:52:12 > git --version # timeout=10 20:52:12 > git --version # 'git version 2.25.1' 20:52:12 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:52:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:52:13 % Total % Received % Xferd Average Speed Time Time Time Current 20:52:13 Dload Upload Total Spent Left Speed 20:52:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81737 0 --:--:-- --:--:-- --:--:-- 82264 [Pipeline] sh 20:52:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:52:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:52:14 + sudo tee /etc/docker/daemon.new 20:52:14 { 20:52:14 "registry-mirrors": [ 20:52:14 "https://nexus3.edgexfoundry.org:10001" 20:52:14 ], 20:52:14 "bip": "10.250.0.254/24", 20:52:14 "hosts": [ 20:52:14 "tcp://0.0.0.0:5555", 20:52:14 "unix:///var/run/docker.sock" 20:52:14 ], 20:52:14 "mtu": 1458, 20:52:14 "selinux-enabled": true, 20:52:14 "seccomp-profile": "/etc/docker/seccomp.json" 20:52:14 } [Pipeline] sh 20:52:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:52:14 + sudo service docker restart 20:52:18 Removing intermediate container d16dedc07043 20:52:18 ---> f2ee13315661 20:52:18 Step 13/25 : FROM alpine:3.18 20:52:18 3.18: Pulling from library/alpine 20:52:18 7264a8db6415: Already exists 20:52:18 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 20:52:18 Status: Downloaded newer image for alpine:3.18 20:52:18 ---> 7e01a0d0a1dc 20:52:18 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:52:18 ---> Running in 56737aee36c5 20:52:18 Removing intermediate container 56737aee36c5 20:52:18 ---> 309bfa7bcb67 20:52:18 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:52:18 ---> Running in e0b11c4e23d2 20:52:18 Removing intermediate container e0b11c4e23d2 20:52:18 ---> 96c5a7667239 20:52:18 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:52:18 ---> Running in 520fe22aaac2 20:52:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:52:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:52:18 (1/1) Installing dumb-init (1.2.5-r2) 20:52:18 Executing busybox-1.36.1-r2.trigger 20:52:18 OK: 7 MiB in 16 packages 20:52:18 Removing intermediate container 520fe22aaac2 20:52:18 ---> c752d08efa5c 20:52:18 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:52:18 ---> c138282e6e16 20:52:18 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:52:18 ---> 875244073f61 20:52:18 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:52:19 ---> 9c03b65f06bb 20:52:19 Step 20/25 : EXPOSE 59986 20:52:19 ---> Running in 46e52482994a 20:52:19 Removing intermediate container 46e52482994a 20:52:19 ---> 79da19349d8a 20:52:19 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:52:19 ---> Running in 4aad5d43c7f0 20:52:19 Removing intermediate container 4aad5d43c7f0 20:52:19 ---> 98d81b36b514 20:52:19 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:52:19 ---> Running in 7d7cd9f5929b 20:52:19 Removing intermediate container 7d7cd9f5929b 20:52:19 ---> 2087cc9dc818 20:52:19 Step 23/25 : LABEL arch=amd64 20:52:19 ---> Running in b9387000fab4 20:52:19 Removing intermediate container b9387000fab4 20:52:19 ---> 3410a214b5cb 20:52:19 Step 24/25 : LABEL git_sha=a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a 20:52:19 ---> Running in dc9f033e461a 20:52:20 Removing intermediate container dc9f033e461a 20:52:20 ---> 420f3379f65f 20:52:20 Step 25/25 : LABEL version=0.0.0 20:52:20 ---> Running in 06286b047f19 20:52:20 Removing intermediate container 06286b047f19 20:52:20 ---> d3ea973a5101 20:52:20 [Warning] One or more build-args [ARCH] were not consumed 20:52:20 Successfully built d3ea973a5101 20:52:20 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:52:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:52:20 20:52:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:52:21 latest: Pulling from edgex-lftools-log-publisher 20:52:21 5eb5b503b376: Pulling fs layer 20:52:21 5c69ac0246d0: Pulling fs layer 20:52:21 ec43610c2a17: Pulling fs layer 20:52:21 3a2ae6a8a46f: Pulling fs layer 20:52:21 33b1e0a273af: Pulling fs layer 20:52:21 5d3b04190fa2: Pulling fs layer 20:52:21 2f39f015ded8: Pulling fs layer 20:52:21 3a2ae6a8a46f: Waiting 20:52:21 5d3b04190fa2: Waiting 20:52:21 33b1e0a273af: Waiting 20:52:21 2f39f015ded8: Waiting 20:52:21 5c69ac0246d0: Verifying Checksum 20:52:21 5c69ac0246d0: Download complete 20:52:21 3a2ae6a8a46f: Verifying Checksum 20:52:21 3a2ae6a8a46f: Download complete 20:52:21 33b1e0a273af: Verifying Checksum 20:52:21 33b1e0a273af: Download complete 20:52:21 ec43610c2a17: Verifying Checksum 20:52:21 ec43610c2a17: Download complete 20:52:21 5d3b04190fa2: Verifying Checksum 20:52:21 5d3b04190fa2: Download complete 20:52:21 5eb5b503b376: Verifying Checksum 20:52:21 5eb5b503b376: Download complete 20:52:22 2f39f015ded8: Download complete 20:52:22 5eb5b503b376: Pull complete 20:52:22 5c69ac0246d0: Pull complete 20:52:23 ec43610c2a17: Pull complete 20:52:23 3a2ae6a8a46f: Pull complete 20:52:23 33b1e0a273af: Pull complete 20:52:23 5d3b04190fa2: Pull complete 20:52:27 2f39f015ded8: Pull complete 20:52:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:52:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:52:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:27 prd-ubuntu20.04-docker-8c-8g-7878 does not seem to be running inside a container 20:52:27 $ 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-346 -v /w/workspace/gexfoundry_device-rest-go_PR-346:/w/workspace/gexfoundry_device-rest-go_PR-346:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-346@tmp:/w/workspace/gexfoundry_device-rest-go_PR-346@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:52:32 $ docker top 2f3e6ddb449b47644b994a12b607501f69534f8d449ffe3a8311cbbb7e726013 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:32 ---> job-cost.sh 20:52:32 lf-activate-venv: SKIPPING 20:52:32 INFO: No Stack... 20:52:33 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:52:33 provisioning config files... 20:52:33 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5182096804358558587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:33 INFO: Archiving Costs [Pipeline] sh 20:52:33 ---> docker-login.sh 20:52:33 nexus3.edgexfoundry.org:10001 20:52:33 + cat /w/workspace/gexfoundry_device-rest-go_PR-346/archives/cost.csv 20:52:33 + cut -d, -f6 [Pipeline] lock 20:52:33 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-346-1-stack-cost] 20:52:33 Resource [jenkins-edgexfoundry-device-rest-go-PR-346-1-stack-cost] did not exist. Created. 20:52:33 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-346-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:34 + echo total: 0.2199999988079071 20:52:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:34 Configure a credential helper to remove this warning. See 20:52:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:34 20:52:34 Login Succeeded 20:52:34 nexus3.edgexfoundry.org:10002 [Pipeline] stash 20:52:34 Stashed 1 file(s) [Pipeline] } 20:52:34 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-346-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:52:34 $ docker stop --time=1 2f3e6ddb449b47644b994a12b607501f69534f8d449ffe3a8311cbbb7e726013 20:52:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:34 Configure a credential helper to remove this warning. See 20:52:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:34 20:52:34 Login Succeeded 20:52:34 nexus3.edgexfoundry.org:10003 20:52:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:35 Configure a credential helper to remove this warning. See 20:52:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:35 20:52:35 Login Succeeded 20:52:35 nexus3.edgexfoundry.org:10004 20:52:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:35 Configure a credential helper to remove this warning. See 20:52:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:35 20:52:35 Login Succeeded 20:52:35 docker.io 20:52:35 $ docker rm -f --volumes 2f3e6ddb449b47644b994a12b607501f69534f8d449ffe3a8311cbbb7e726013 20:52:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 20:52:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:35 Configure a credential helper to remove this warning. See 20:52:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:35 20:52:35 Login Succeeded 20:52:35 ---> docker-login.sh ends [Pipeline] // withEnv [Pipeline] } [Pipeline] } 20:52:35 Deleting 1 temporary files [Pipeline] // stage [Pipeline] // configFileProvider [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:52:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:52:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:52:36 ========================================================= 20:52:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:52:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:36 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:52:36 Sending build context to Docker daemon 144.4kB 20:52:37 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:52:37 Step 2/12 : FROM ${BASE} AS builder 20:52:37 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:52:37 9fda8d8052c6: Pulling fs layer 20:52:37 5d54e960e981: Pulling fs layer 20:52:37 c4a7e357bf2a: Pulling fs layer 20:52:37 f0e02332f6b5: Pulling fs layer 20:52:37 cefa15bbcfad: Pulling fs layer 20:52:37 f0e02332f6b5: Waiting 20:52:37 17808c966233: Pulling fs layer 20:52:37 f4c1fc716caa: Pulling fs layer 20:52:37 cefa15bbcfad: Waiting 20:52:37 17808c966233: Waiting 20:52:37 f4c1fc716caa: Waiting 20:52:37 5d54e960e981: Verifying Checksum 20:52:37 5d54e960e981: Download complete 20:52:37 f0e02332f6b5: Verifying Checksum 20:52:37 f0e02332f6b5: Download complete 20:52:37 cefa15bbcfad: Verifying Checksum 20:52:37 cefa15bbcfad: Download complete 20:52:37 9fda8d8052c6: Download complete 20:52:38 f4c1fc716caa: Verifying Checksum 20:52:38 f4c1fc716caa: Download complete 20:52:38 9fda8d8052c6: Pull complete 20:52:38 5d54e960e981: Pull complete 20:52:39 c4a7e357bf2a: Download complete 20:52:40 17808c966233: Verifying Checksum 20:52:40 17808c966233: Download complete 20:52:52 c4a7e357bf2a: Pull complete 20:52:52 f0e02332f6b5: Pull complete 20:52:52 cefa15bbcfad: Pull complete 20:52:58 17808c966233: Pull complete 20:52:58 f4c1fc716caa: Pull complete 20:52:58 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 20:52:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:52:58 ---> ea914061e18c 20:52:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:53:00 ---> Running in 7e3b9a916c39 20:53:01 Removing intermediate container 7e3b9a916c39 20:53:01 ---> 5082a32b1abd 20:53:01 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:53:01 ---> Running in 83f9c8bb343a 20:53:01 Removing intermediate container 83f9c8bb343a 20:53:01 ---> fe9df75e543c 20:53:01 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:53:01 ---> Running in 3f2d167e50e8 20:53:02 Removing intermediate container 3f2d167e50e8 20:53:02 ---> 3464b65f6b88 20:53:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:53:02 ---> Running in 82dbdce0d662 20:53:02 Removing intermediate container 82dbdce0d662 20:53:02 ---> 1bc6ff04a19f 20:53:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:53:02 ---> Running in 871e856d48d3 20:53:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:53:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:53:05 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:53:05 (2/4) Installing libedit (20221030.3.1-r1) 20:53:05 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:53:05 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:53:05 Executing busybox-1.36.1-r2.trigger 20:53:05 OK: 270 MiB in 56 packages 20:53:06 Removing intermediate container 871e856d48d3 20:53:06 ---> a763b8f1d1c5 20:53:06 Step 8/12 : WORKDIR /device-rest-go 20:53:06 ---> Running in 80dc2b7307c8 20:53:06 Removing intermediate container 80dc2b7307c8 20:53:06 ---> 9086b0e5611c 20:53:06 Step 9/12 : COPY go.mod vendor* ./ 20:53:07 ---> da3c9ae6b309 20:53:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:53:07 ---> Running in 1b2a05e1e5a8 20:54:29 Removing intermediate container 1b2a05e1e5a8 20:54:29 ---> 1a8e494ea7b2 20:54:29 Step 11/12 : COPY . . 20:54:29 ---> 6d3b6bf1b204 20:54:29 Step 12/12 : RUN $MAKE 20:54:29 ---> Running in 656d6d737aee 20:54:29 noop 20:54:29 Removing intermediate container 656d6d737aee 20:54:29 ---> 1fb2cb803c0c 20:54:29 Successfully built 1fb2cb803c0c 20:54:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:29 + docker inspect -f . ci-base-image-arm64 20:54:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:29 prd-ubuntu20.04-docker-arm64-4c-16g-7880 does not seem to be running inside a container 20:54:29 $ 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:54:31 $ docker top a09ca190b891d79c3a744276d2dee8867c1e5091a292f3d37bf131f32a0c216f -eo pid,comm [Pipeline] { [Pipeline] sh 20:54:31 + go version 20:54:31 go version go1.21.0 linux/arm64 [Pipeline] } 20:54:32 $ docker stop --time=1 a09ca190b891d79c3a744276d2dee8867c1e5091a292f3d37bf131f32a0c216f 20:54:33 $ docker rm -f --volumes a09ca190b891d79c3a744276d2dee8867c1e5091a292f3d37bf131f32a0c216f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:34 + docker inspect -f . ci-base-image-arm64 20:54:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:34 prd-ubuntu20.04-docker-arm64-4c-16g-7880 does not seem to be running inside a container 20:54:34 $ 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:54:35 $ docker top e8c0de584e5105e91e7ce31a7c54ff703641e8b08f481d31b63108d5f4eb77d1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:54:36 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:54:36 + make test 20:54:37 go test ./... -coverprofile=coverage.out ./... 20:54:42 ? github.com/edgexfoundry/device-rest-go [no test files] 20:56:19 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:56:19 ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 33.2% of statements 20:56:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:56:19 go vet ./... 20:56:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:56:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:56:45 ./bin/test-attribution-txt.sh [Pipeline] echo 20:56:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:56:45 $ docker stop --time=1 e8c0de584e5105e91e7ce31a7c54ff703641e8b08f481d31b63108d5f4eb77d1 20:56:47 $ docker rm -f --volumes e8c0de584e5105e91e7ce31a7c54ff703641e8b08f481d31b63108d5f4eb77d1 [Pipeline] // withDockerContainer [Pipeline] sh 20:56:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:56:49 Warning: overwriting stash ‘coverage-report’ 20:56:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:56:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:56:50 + ls -al . 20:56:50 total 184 20:56:50 drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 20:54 . 20:56:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 20:52 .. 20:56:50 -rw-rw-r-- 1 jenkins jenkins 151 Sep 25 20:52 .dockerignore 20:56:50 drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 20:52 .git 20:56:50 drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 20:52 .github 20:56:50 -rw-rw-r-- 1 jenkins jenkins 329 Sep 25 20:52 .gitignore 20:56:50 -rw-rw-r-- 1 jenkins jenkins 41 Sep 25 20:52 .golangci.yml 20:56:50 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 25 20:52 Attribution.txt 20:56:50 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 25 20:52 CHANGELOG.md 20:56:50 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 25 20:52 Dockerfile 20:56:50 -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 20:52 GOVERNANCE.md 20:56:50 -rw-rw-r-- 1 jenkins jenkins 680 Sep 25 20:52 Jenkinsfile 20:56:50 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 25 20:52 LICENSE 20:56:50 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 25 20:52 Makefile 20:56:50 -rw-rw-r-- 1 jenkins jenkins 620 Sep 25 20:52 OWNERS.md 20:56:50 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 25 20:52 README.md 20:56:50 -rw-rw-r-- 1 jenkins jenkins 5 Sep 25 20:50 VERSION 20:56:50 drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 20:52 bin 20:56:50 drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 20:52 cmd 20:56:50 -rw-r--r-- 1 jenkins jenkins 14499 Sep 25 20:56 coverage.out 20:56:50 drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 20:52 driver 20:56:50 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 25 20:52 go.mod 20:56:50 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 25 20:52 go.sum 20:56:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 20:52 snap 20:56:50 -rw-rw-r-- 1 jenkins jenkins 713 Sep 25 20:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:51 + 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=a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a --label arch=arm64 --label version=0.0.0 . 20:56:51 Sending build context to Docker daemon 159.7kB 20:56:51 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:56:51 Step 2/25 : FROM ${BASE} AS builder 20:56:51 ---> 1fb2cb803c0c 20:56:51 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:56:51 ---> Running in 39e6c92382fd 20:56:52 Removing intermediate container 39e6c92382fd 20:56:52 ---> 28fa393c0aab 20:56:52 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:56:52 ---> Running in bab13f6dad01 20:56:52 Removing intermediate container bab13f6dad01 20:56:52 ---> fa30a8fe269c 20:56:52 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:56:52 ---> Running in 6db4ab24315d 20:56:53 Removing intermediate container 6db4ab24315d 20:56:53 ---> afe3c0088ebe 20:56:53 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:56:53 ---> Running in 2354e27cfa61 20:56:53 Removing intermediate container 2354e27cfa61 20:56:53 ---> f4559a6c3582 20:56:53 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:56:53 ---> Running in fa61dd7f0f5e 20:56:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:56:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:56:56 OK: 270 MiB in 56 packages 20:56:57 Removing intermediate container fa61dd7f0f5e 20:56:57 ---> e9c4aac468b9 20:56:57 Step 8/25 : WORKDIR /device-rest-go 20:56:57 ---> Running in 2d32b6c7ef08 20:56:57 Removing intermediate container 2d32b6c7ef08 20:56:57 ---> 57f65c001c01 20:56:57 Step 9/25 : COPY go.mod vendor* ./ 20:56:58 ---> a28ef6ed840c 20:56:58 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:58 ---> Running in fc7655974ea6 20:57:00 Removing intermediate container fc7655974ea6 20:57:00 ---> 08dc20a89b53 20:57:00 Step 11/25 : COPY . . 20:57:00 ---> 6d3264ea2336 20:57:00 Step 12/25 : RUN $MAKE 20:57:01 ---> Running in 86eccc6e7c95 20:57:02 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.30" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:59:08 Removing intermediate container 86eccc6e7c95 20:59:08 ---> f62f6b49b8d7 20:59:08 Step 13/25 : FROM alpine:3.18 20:59:08 3.18: Pulling from library/alpine 20:59:08 9fda8d8052c6: Already exists 20:59:08 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 20:59:08 Status: Downloaded newer image for alpine:3.18 20:59:08 ---> f6648c04cd6c 20:59:08 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:59:08 ---> Running in 3150d701faeb 20:59:08 Removing intermediate container 3150d701faeb 20:59:08 ---> 913aef3c063b 20:59:08 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:59:08 ---> Running in 2739cece40a4 20:59:08 Removing intermediate container 2739cece40a4 20:59:08 ---> c35ddf481527 20:59:08 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:59:08 ---> Running in ee4c95158c0d 20:59:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:59:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:59:10 (1/1) Installing dumb-init (1.2.5-r2) 20:59:10 Executing busybox-1.36.1-r2.trigger 20:59:10 OK: 8 MiB in 16 packages 20:59:11 Removing intermediate container ee4c95158c0d 20:59:11 ---> aebc1f9bbb45 20:59:11 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:59:12 ---> 5cf661921450 20:59:12 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:59:13 ---> 50d56d000a92 20:59:13 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:59:13 ---> 5a075df5ada9 20:59:13 Step 20/25 : EXPOSE 59986 20:59:13 ---> Running in f35f73c661fd 20:59:14 Removing intermediate container f35f73c661fd 20:59:14 ---> 234b09c31e10 20:59:14 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:59:14 ---> Running in c8be53b6fe86 20:59:14 Removing intermediate container c8be53b6fe86 20:59:14 ---> 2920b3b09a11 20:59:14 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:59:14 ---> Running in cd39ce390e5a 20:59:14 Removing intermediate container cd39ce390e5a 20:59:14 ---> 53dc09236076 20:59:14 Step 23/25 : LABEL arch=arm64 20:59:15 ---> Running in a8db4ab399a4 20:59:15 Removing intermediate container a8db4ab399a4 20:59:15 ---> b03273b49b8e 20:59:15 Step 24/25 : LABEL git_sha=a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a 20:59:15 ---> Running in 17f46d7b5acc 20:59:15 Removing intermediate container 17f46d7b5acc 20:59:15 ---> 1af8f32e4b4f 20:59:15 Step 25/25 : LABEL version=0.0.0 20:59:15 ---> Running in 6cd0a123c4b4 20:59:15 Removing intermediate container 6cd0a123c4b4 20:59:15 ---> 20ac5be01453 20:59:15 [Warning] One or more build-args [ARCH] were not consumed 20:59:15 Successfully built 20ac5be01453 20:59:15 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:59:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:59:16 20:59:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:59:17 arm64: Pulling from edgex-lftools-log-publisher 20:59:17 8998bd30e6a1: Pulling fs layer 20:59:17 04944245beec: Pulling fs layer 20:59:17 699f458cf7ca: Pulling fs layer 20:59:17 765212b225bb: Pulling fs layer 20:59:17 f23df028b6ca: Pulling fs layer 20:59:17 d65c8cfc05b1: Pulling fs layer 20:59:17 2437ff75d9bd: Pulling fs layer 20:59:17 f23df028b6ca: Waiting 20:59:17 d65c8cfc05b1: Waiting 20:59:17 2437ff75d9bd: Waiting 20:59:17 765212b225bb: Waiting 20:59:17 04944245beec: Verifying Checksum 20:59:17 04944245beec: Download complete 20:59:17 765212b225bb: Download complete 20:59:17 f23df028b6ca: Verifying Checksum 20:59:17 f23df028b6ca: Download complete 20:59:17 d65c8cfc05b1: Verifying Checksum 20:59:17 d65c8cfc05b1: Download complete 20:59:17 699f458cf7ca: Verifying Checksum 20:59:17 699f458cf7ca: Download complete 20:59:17 8998bd30e6a1: Verifying Checksum 20:59:17 8998bd30e6a1: Download complete 20:59:19 2437ff75d9bd: Verifying Checksum 20:59:19 2437ff75d9bd: Download complete 20:59:21 8998bd30e6a1: Pull complete 20:59:23 04944245beec: Pull complete 20:59:24 699f458cf7ca: Pull complete 20:59:24 765212b225bb: Pull complete 20:59:25 f23df028b6ca: Pull complete 20:59:25 d65c8cfc05b1: Pull complete 20:59:40 2437ff75d9bd: Pull complete 20:59:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:59:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:59:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:40 prd-ubuntu20.04-docker-arm64-4c-16g-7880 does not seem to be running inside a container 20:59:40 $ 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:59:43 $ docker top 6a496b8da66d3a7db06f22cf885a63c642c188b37d07a601fe4f60c0355fd48c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:43 ---> job-cost.sh 20:59:44 lf-activate-venv: SKIPPING 20:59:44 INFO: No Stack... 20:59:44 INFO: Retrieving Pricing Info for: v3-standard-4 20:59:45 INFO: Archiving Costs [Pipeline] sh 20:59:45 + cut -d, -f6 20:59:45 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 20:59:45 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-346-1-stack-cost] 20:59:46 Resource [jenkins-edgexfoundry-device-rest-go-PR-346-1-stack-cost] did not exist. Created. 20:59:46 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-346-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:59:46 /w/workspace/device-rest-go/1@tmp/durable-7905e9bd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:59:47 + echo total: 0.10999999940395355 [Pipeline] stash 20:59:47 Warning: overwriting stash ‘stack-cost’ 20:59:47 Stashed 1 file(s) [Pipeline] } 20:59:47 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-346-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:59:47 $ docker stop --time=1 6a496b8da66d3a7db06f22cf885a63c642c188b37d07a601fe4f60c0355fd48c 20:59:51 $ docker rm -f --volumes 6a496b8da66d3a7db06f22cf885a63c642c188b37d07a601fe4f60c0355fd48c [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:59:52 provisioning config files... 20:59:52 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-346@tmp/config9757005415981007983tmp [Pipeline] { [Pipeline] sh 20:59:53 + set +x 20:59:53 + curl -s https://codecov.io/bash 20:59:53 + bash -s -- 20:59:53 20:59:53 _____ _ 20:59:53 / ____| | | 20:59:53 | | ___ __| | ___ ___ _____ __ 20:59:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:59:53 | |___| (_) | (_| | __/ (_| (_) \ V / 20:59:53 \_____\___/ \__,_|\___|\___\___/ \_/ 20:59:53 Bash-1.0.6 20:59:53 20:59:53 20:59:53 ==> git version 2.25.1 found 20:59:53 ==> 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:59:53 Release-Date: 2020-01-08 20:59:53 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:59:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:59:53 ==> Jenkins CI detected. 20:59:53 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-346 20:59:53 project root: . 20:59:53 --> token set from env 20:59:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:59:53 ==> Running gcov in . (disable via -X gcov) 20:59:53 ==> Python coveragepy not found 20:59:53 ==> Searching for coverage reports in: 20:59:53 + . 20:59:53 -> Found 1 reports 20:59:53 ==> Detecting git/mercurial file structure 20:59:53 ==> Reading reports 20:59:53 + ./coverage.out bytes=14499 20:59:53 ==> Appending adjustments 20:59:53 https://docs.codecov.io/docs/fixing-reports 20:59:53 + Found adjustments 20:59:53 ==> Gzipping contents 20:59:53 4.0K /tmp/codecov.pAPQcL.gz 20:59:53 ==> Uploading reports 20:59:53 url: https://codecov.io 20:59:53 query: branch=PR-346&commit=a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-346%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=346&job=&cmd_args= 20:59:53 -> Pinging Codecov 20:59:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-346&commit=a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-346%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=346&job=&cmd_args= 20:59:53 -> Uploading to 20:59:53 https://storage.googleapis.com/codecov/v4/raw/2023-09-25/4E5D53B4F1F92C436F7061BF334D961C/a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a/ae9ea638-c165-4b05-82aa-6782cdd887a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230925%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230925T205953Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f31e3dc597449a7571534758fbee7ed4f2248165e905015b419f76de84a0317 20:59:53 % Total % Received % Xferd Average Speed Time Time Time Current 20:59:53 Dload Upload Total Spent Left Speed 20:59:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 9814 --:--:-- --:--:-- --:--:-- 9814 20:59:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a [Pipeline] } 20:59:53 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:59:55 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-346/archives ] 20:59:55 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-346/archives 20:59:55 total 16 20:59:55 drwxr-xr-x 3 root root 4096 Sep 25 20:52 . 20:59:55 drwxrwxr-x 10 jenkins jenkins 4096 Sep 25 20:52 .. 20:59:55 drwxr-xr-x 2 root root 4096 Sep 25 20:52 cost 20:59:55 -rw-r--r-- 1 root root 86 Sep 25 20:52 cost.csv 20:59:55 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-346/archives 20:59:55 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-346/archives 20:59:55 total 16 20:59:55 drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 20:52 . 20:59:55 drwxrwxr-x 10 jenkins jenkins 4096 Sep 25 20:52 .. 20:59:55 drwxr-xr-x 2 jenkins jenkins 4096 Sep 25 20:52 cost 20:59:55 -rw-r--r-- 1 jenkins jenkins 86 Sep 25 20:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:59:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:59:56 ---> package-listing.sh 20:59:56 ++ facter osfamily 20:59:56 ++ tr '[:upper:]' '[:lower:]' 20:59:56 + OS_FAMILY=debian 20:59:56 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-346 20:59:56 + START_PACKAGES=/tmp/packages_start.txt 20:59:56 + END_PACKAGES=/tmp/packages_end.txt 20:59:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:59:56 + PACKAGES=/tmp/packages_start.txt 20:59:56 + '[' /w/workspace/gexfoundry_device-rest-go_PR-346 ']' 20:59:56 + PACKAGES=/tmp/packages_end.txt 20:59:56 + case "${OS_FAMILY}" in 20:59:56 + dpkg -l 20:59:56 + grep '^ii' 20:59:56 + '[' -f /tmp/packages_start.txt ']' 20:59:56 + '[' -f /tmp/packages_end.txt ']' 20:59:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:59:56 + '[' /w/workspace/gexfoundry_device-rest-go_PR-346 ']' 20:59:56 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-346/archives/ 20:59:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-346/archives/ [Pipeline] echo 20:59:56 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-346/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:59:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:57 prd-ubuntu20.04-docker-8c-8g-7878 does not seem to be running inside a container 20:59:58 $ 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-346/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-346 -v /w/workspace/gexfoundry_device-rest-go_PR-346:/w/workspace/gexfoundry_device-rest-go_PR-346:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-346@tmp:/w/workspace/gexfoundry_device-rest-go_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:59:58 $ docker top 6ee05e20b891c2b7b9b4fe11a7a1b19e7dc3e82c3a821aae173216bb58639bf3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:58 + touch /tmp/pre-build-complete [Pipeline] sh 20:59:58 + mkdir -p /var/log/sysstat [Pipeline] sh 20:59:59 + ls /var/log/sa-host 20:59:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:59 provisioning config files... 20:59:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-346@tmp/config2178361059854576777tmp [Pipeline] { [Pipeline] echo 20:59:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:59:59 ---> create-netrc.sh [Pipeline] } 20:59:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:00:00 ---> python-tools-install.sh [Pipeline] echo 21:00:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:00:00 ---> sudo-logs.sh 21:00:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:00:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:00:01 ---> job-cost.sh 21:00:01 lf-activate-venv: SKIPPING 21:00:01 DEBUG: total: 0.2199999988079071 21:00:01 INFO: Retrieving Stack Cost... 21:00:01 INFO: Retrieving Pricing Info for: v3-standard-8 21:00:01 INFO: Archiving Costs [Pipeline] echo 21:00:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:00:01 ---> logs-deploy.sh 21:00:01 lf-activate-venv: SKIPPING 21:00:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-346/1 21:00:01 INFO: archiving workspace using pattern(s): 21:00:02 Archives upload complete. 21:00:02 INFO: archiving logs to Nexus