Pull request #352 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f6f9c375944694165ba7d6adc0efe34690708cf6+9b53cce74fa8bad39d84f8d6d5cef51853259bec (dfbf3a90771193a0e5c0df488f70f7def938a411) 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-ssh2378624864055655665.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-ssh1883710549593164356.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-352/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-352/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18110251174234558499.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-352/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18442686820498613110.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-ssh286747083935733887.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-352/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-352/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18089874855615263684.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-9545 in /w/workspace/gexfoundry_device-rest-go_PR-352 [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-352 # 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/352/head:refs/remotes/origin/PR-352 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9b53cce74fa8bad39d84f8d6d5cef51853259bec into PR head commit f6f9c375944694165ba7d6adc0efe34690708cf6 Merge succeeded, producing f6f9c375944694165ba7d6adc0efe34690708cf6 Checking out Revision f6f9c375944694165ba7d6adc0efe34690708cf6 (PR-352) 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] } > git config core.sparsecheckout # timeout=10 > git checkout -f f6f9c375944694165ba7d6adc0efe34690708cf6 # 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 9b53cce74fa8bad39d84f8d6d5cef51853259bec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6f9c375944694165ba7d6adc0efe34690708cf6 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:05:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:05:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:05:29 ========================================================= 20:05:29 EdgeX Global Pipelines Version Info 20:05:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:05:30 ------------------- 20:05:30 stable info: 20:05:30 ------------------- 20:05:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:05:30 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:05:30 Message: update stable to v1.0.254 20:05:30 ------------------- 20:05:30 experimental info: 20:05:30 ------------------- 20:05:30 Commited By: **** collab-it+edgex@linuxfoundation.org 20:05:30 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:05:30 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:05:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:05:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:05:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:05:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:05:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-352 [Pipeline] echo 20:05:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-352 [Pipeline] echo 20:05:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-352 [Pipeline] echo 20:05:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f6f9c375944694165ba7d6adc0efe34690708cf6 [Pipeline] echo 20:05:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f6f9c37 [Pipeline] echo 20:05:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:05:32 provisioning config files... 20:05:32 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-352@tmp/config7782933087362576008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:05:32 ---> docker-login.sh 20:05:32 nexus3.edgexfoundry.org:10001 20:05:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:33 Configure a credential helper to remove this warning. See 20:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:33 20:05:33 Login Succeeded 20:05:33 nexus3.edgexfoundry.org:10002 20:05:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:33 Configure a credential helper to remove this warning. See 20:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:33 20:05:33 Login Succeeded 20:05:33 nexus3.edgexfoundry.org:10003 20:05:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:33 Configure a credential helper to remove this warning. See 20:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:33 20:05:33 Login Succeeded 20:05:33 nexus3.edgexfoundry.org:10004 20:05:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:33 Configure a credential helper to remove this warning. See 20:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:33 20:05:33 Login Succeeded 20:05:33 docker.io 20:05:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:34 Configure a credential helper to remove this warning. See 20:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:34 20:05:34 Login Succeeded 20:05:34 ---> docker-login.sh ends [Pipeline] } 20:05:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:05:34 + git rev-list -1 --merges f6f9c375944694165ba7d6adc0efe34690708cf6~1..f6f9c375944694165ba7d6adc0efe34690708cf6 [Pipeline] echo 20:05:34 -----------> git rev-list -1 --merges f6f9c375944694165ba7d6adc0efe34690708cf6~1..f6f9c375944694165ba7d6adc0efe34690708cf6 f6f9c375944694165ba7d6adc0efe34690708cf6 [false] [Pipeline] sh 20:05:35 + git log --format=format:%s -1 f6f9c375944694165ba7d6adc0efe34690708cf6 [Pipeline] echo 20:05:35 ========================================================= 20:05:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:05:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:05:35 + git log --format=format:%s -1 f6f9c375944694165ba7d6adc0efe34690708cf6 [Pipeline] echo 20:05:35 [semverPrep] GIT_COMMIT: f6f9c375944694165ba7d6adc0efe34690708cf6, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:05:35 [semverPrep] This is not a build commit. [Pipeline] sh 20:05:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:05:36 + grep -v github /etc/ssh/ssh_known_hosts 20:05:36 + [ -e /tmp/ssh_known_hosts ] 20:05:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:05:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:05:36 + sudo tee -a /etc/ssh/ssh_known_hosts 20:05:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:05:36 20:05:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:05:37 0.1.4: Pulling from edgex-devops/py-git-semver 20:05:37 b85a868b505f: Pulling fs layer 20:05:37 e2be974225ed: Pulling fs layer 20:05:37 339a4e72a1f5: Pulling fs layer 20:05:37 988bab9f4d93: Pulling fs layer 20:05:37 1469e6f7b9e6: Pulling fs layer 20:05:37 eaf3925da568: Pulling fs layer 20:05:37 bab4dde63d76: Pulling fs layer 20:05:37 bde34c3a00c8: Pulling fs layer 20:05:37 988bab9f4d93: Waiting 20:05:37 1469e6f7b9e6: Waiting 20:05:37 bab4dde63d76: Waiting 20:05:37 b352a97aabf1: Pulling fs layer 20:05:37 eaf3925da568: Waiting 20:05:37 bde34c3a00c8: Waiting 20:05:37 4872d77fe225: Pulling fs layer 20:05:37 b352a97aabf1: Waiting 20:05:37 5851b861e8e6: Pulling fs layer 20:05:37 4872d77fe225: Waiting 20:05:37 5851b861e8e6: Waiting 20:05:37 e2be974225ed: Download complete 20:05:37 988bab9f4d93: Verifying Checksum 20:05:37 988bab9f4d93: Download complete 20:05:37 1469e6f7b9e6: Verifying Checksum 20:05:37 1469e6f7b9e6: Download complete 20:05:37 339a4e72a1f5: Verifying Checksum 20:05:37 339a4e72a1f5: Download complete 20:05:37 eaf3925da568: Verifying Checksum 20:05:37 eaf3925da568: Download complete 20:05:37 bde34c3a00c8: Download complete 20:05:37 b352a97aabf1: Download complete 20:05:37 4872d77fe225: Verifying Checksum 20:05:37 4872d77fe225: Download complete 20:05:37 5851b861e8e6: Verifying Checksum 20:05:37 5851b861e8e6: Download complete 20:05:37 b85a868b505f: Verifying Checksum 20:05:37 b85a868b505f: Download complete 20:05:37 bab4dde63d76: Verifying Checksum 20:05:37 bab4dde63d76: Download complete 20:05:38 b85a868b505f: Pull complete 20:05:38 e2be974225ed: Pull complete 20:05:39 339a4e72a1f5: Pull complete 20:05:39 988bab9f4d93: Pull complete 20:05:39 1469e6f7b9e6: Pull complete 20:05:39 eaf3925da568: Pull complete 20:05:41 bab4dde63d76: Pull complete 20:05:41 bde34c3a00c8: Pull complete 20:05:41 b352a97aabf1: Pull complete 20:05:41 4872d77fe225: Pull complete 20:05:41 5851b861e8e6: Pull complete 20:05:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:05:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:05:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:42 prd-ubuntu20.04-docker-8c-8g-9545 does not seem to be running inside a container 20:05:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-352 -v /w/workspace/gexfoundry_device-rest-go_PR-352:/w/workspace/gexfoundry_device-rest-go_PR-352:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-352@tmp:/w/workspace/gexfoundry_device-rest-go_PR-352@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:05:46 $ docker top db77f64dd73e07d4e14ba16fbb16625b332d756e16fde15d8c081d8f88408815 -eo pid,comm 20:05:46 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:05:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:05:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:05:46 [ssh-agent] Looking for ssh-agent implementation... 20:05:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:05:46 $ docker exec db77f64dd73e07d4e14ba16fbb16625b332d756e16fde15d8c081d8f88408815 ssh-agent 20:05:46 SSH_AUTH_SOCK=/tmp/ssh-3lUk0VfTkfv6/agent.33 20:05:46 SSH_AGENT_PID=39 20:05:46 Running ssh-add (command line suppressed) 20:05:46 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-352@tmp/private_key_1590450863865769416.key (/w/workspace/gexfoundry_device-rest-go_PR-352@tmp/private_key_1590450863865769416.key) 20:05:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:05:46 + git tag --points-at HEAD [Pipeline] } 20:05:46 $ docker exec --env ******** --env ******** db77f64dd73e07d4e14ba16fbb16625b332d756e16fde15d8c081d8f88408815 ssh-agent -k 20:05:46 unset SSH_AUTH_SOCK; 20:05:46 unset SSH_AGENT_PID; 20:05:46 echo Agent pid 39 killed; 20:05:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:05:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:05:47 [ssh-agent] Looking for ssh-agent implementation... 20:05:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:05:47 $ docker exec db77f64dd73e07d4e14ba16fbb16625b332d756e16fde15d8c081d8f88408815 ssh-agent 20:05:47 SSH_AUTH_SOCK=/tmp/ssh-upl9uuhBGLIw/agent.71 20:05:47 SSH_AGENT_PID=77 20:05:47 Running ssh-add (command line suppressed) 20:05:47 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-352@tmp/private_key_17929717870746451723.key (/w/workspace/gexfoundry_device-rest-go_PR-352@tmp/private_key_17929717870746451723.key) 20:05:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:05:47 + git semver init 20:05:47 2023-10-18 20:05:47,916 [run_init] DEBUG init version:0.0.0 force:False 20:05:47 2023-10-18 20:05:47,916 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-352/.semver 20:05:47 2023-10-18 20:05:47,917 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-352/.semver 20:05:47 2023-10-18 20:05:47,917 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-352/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-352, universal_newlines=False, shell=None, istream=None) 20:05:49 2023-10-18 20:05:49,013 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-352/.git/info/exclude 20:05:49 2023-10-18 20:05:49,013 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-352/.semver/PR-352 with force:False 20:05:49 2023-10-18 20:05:49,013 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-352/.semver/PR-352 20:05:49 2023-10-18 20:05:49,017 [execute] INFO git cat-file --batch-check 20:05:49 2023-10-18 20:05:49,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-352/.semver, universal_newlines=False, shell=None, istream=) 20:05:49 2023-10-18 20:05:49,023 [execute] INFO git cat-file --batch 20:05:49 2023-10-18 20:05:49,024 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-352/.semver, universal_newlines=False, shell=None, istream=) 20:05:49 2023-10-18 20:05:49,028 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-352/.semver/PR-352 20:05:49 0.0.0 [Pipeline] } 20:05:49 $ docker exec --env ******** --env ******** db77f64dd73e07d4e14ba16fbb16625b332d756e16fde15d8c081d8f88408815 ssh-agent -k 20:05:49 unset SSH_AUTH_SOCK; 20:05:49 unset SSH_AGENT_PID; 20:05:49 echo Agent pid 77 killed; 20:05:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:05:49 + git semver [Pipeline] } 20:05:50 $ docker stop --time=1 db77f64dd73e07d4e14ba16fbb16625b332d756e16fde15d8c081d8f88408815 20:05:51 $ docker rm -f --volumes db77f64dd73e07d4e14ba16fbb16625b332d756e16fde15d8c081d8f88408815 [Pipeline] // withDockerContainer [Pipeline] sh 20:05:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:05:52 Stashed 1 file(s) [Pipeline] echo 20:05:52 [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:05:52 provisioning config files... 20:05:52 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-352@tmp/config11642885266890736193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:05:53 ---> docker-login.sh 20:05:53 nexus3.edgexfoundry.org:10001 20:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:53 Configure a credential helper to remove this warning. See 20:05:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:53 20:05:53 Login Succeeded 20:05:53 nexus3.edgexfoundry.org:10002 20:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:53 Configure a credential helper to remove this warning. See 20:05:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:53 20:05:53 Login Succeeded 20:05:53 nexus3.edgexfoundry.org:10003 20:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:53 Configure a credential helper to remove this warning. See 20:05:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:53 20:05:53 Login Succeeded 20:05:53 nexus3.edgexfoundry.org:10004 20:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:53 Configure a credential helper to remove this warning. See 20:05:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:53 20:05:53 Login Succeeded 20:05:53 docker.io 20:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:54 Configure a credential helper to remove this warning. See 20:05:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:54 20:05:54 Login Succeeded 20:05:54 ---> docker-login.sh ends [Pipeline] } 20:05:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:05:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:05:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:05:54 ========================================================= 20:05:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:05:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:54 + 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:05:54 Sending build context to Docker daemon 10.95MB 20:05:54 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:05:54 Step 2/12 : FROM ${BASE} AS builder 20:05:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:05:55 7264a8db6415: Pulling fs layer 20:05:55 c4d48a809fc2: Pulling fs layer 20:05:55 4f1c88b9dad5: Pulling fs layer 20:05:55 ad3a456e5733: Pulling fs layer 20:05:55 33e27b845d1e: Pulling fs layer 20:05:55 c68163c4e522: Pulling fs layer 20:05:55 50da416c3ac9: Pulling fs layer 20:05:55 23d2d4c4bb30: Pulling fs layer 20:05:55 c68163c4e522: Waiting 20:05:55 ad3a456e5733: Waiting 20:05:55 33e27b845d1e: Waiting 20:05:55 50da416c3ac9: Waiting 20:05:55 23d2d4c4bb30: Waiting 20:05:55 c4d48a809fc2: Download complete 20:05:55 ad3a456e5733: Download complete 20:05:55 7264a8db6415: Verifying Checksum 20:05:55 7264a8db6415: Download complete 20:05:55 33e27b845d1e: Verifying Checksum 20:05:55 33e27b845d1e: Download complete 20:05:55 c68163c4e522: Verifying Checksum 20:05:55 c68163c4e522: Download complete 20:05:55 7264a8db6415: Pull complete 20:05:55 23d2d4c4bb30: Verifying Checksum 20:05:55 23d2d4c4bb30: Download complete 20:05:55 c4d48a809fc2: Pull complete 20:05:55 4f1c88b9dad5: Verifying Checksum 20:05:55 4f1c88b9dad5: Download complete 20:05:55 50da416c3ac9: Verifying Checksum 20:05:55 50da416c3ac9: Download complete 20:05:59 4f1c88b9dad5: Pull complete 20:05:59 ad3a456e5733: Pull complete 20:05:59 33e27b845d1e: Pull complete 20:05:59 c68163c4e522: Pull complete 20:06:01 50da416c3ac9: Pull complete 20:06:01 23d2d4c4bb30: Pull complete 20:06:01 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 20:06:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:06:01 ---> 0786185ac409 20:06:01 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:06:07 Still waiting to schedule task 20:06:07 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:06:08 ---> Running in 35875b734df2 20:06:08 Removing intermediate container 35875b734df2 20:06:08 ---> 81e52ba6f89a 20:06:08 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:06:08 ---> Running in 528c6009e356 20:06:08 Removing intermediate container 528c6009e356 20:06:08 ---> 14360228e40c 20:06:08 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:06:08 ---> Running in 3d04c7028364 20:06:08 Removing intermediate container 3d04c7028364 20:06:08 ---> 8f04279526c6 20:06:08 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:06:08 ---> Running in db12ee192da1 20:06:08 Removing intermediate container db12ee192da1 20:06:08 ---> 4ec4fa129cc5 20:06:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:06:08 ---> Running in 9c88ff7f633a 20:06:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:06:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:06:09 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:06:09 (2/4) Installing libedit (20221030.3.1-r1) 20:06:09 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:06:09 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:06:09 Executing busybox-1.36.1-r2.trigger 20:06:09 OK: 268 MiB in 56 packages 20:06:09 Removing intermediate container 9c88ff7f633a 20:06:09 ---> 0e976e829b53 20:06:09 Step 8/12 : WORKDIR /device-rest-go 20:06:09 ---> Running in 9d5103339bda 20:06:09 Removing intermediate container 9d5103339bda 20:06:09 ---> 2e81b2846570 20:06:09 Step 9/12 : COPY go.mod vendor* ./ 20:06:10 ---> 6c6417fd2bb7 20:06:10 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:06:10 ---> Running in 4d789c32ebd7 20:07:17 Removing intermediate container 4d789c32ebd7 20:07:17 ---> 07ab516ec2bf 20:07:17 Step 11/12 : COPY . . 20:07:17 ---> e0e601400c0d 20:07:17 Step 12/12 : RUN $MAKE 20:07:17 ---> Running in 0ffa419f06dd 20:07:17 noop 20:07:17 Removing intermediate container 0ffa419f06dd 20:07:17 ---> f4a73bd32776 20:07:17 Successfully built f4a73bd32776 20:07:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:18 + docker inspect -f . ci-base-image-x86_64 20:07:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:07:18 prd-ubuntu20.04-docker-8c-8g-9545 does not seem to be running inside a container 20:07:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-352 -v /w/workspace/gexfoundry_device-rest-go_PR-352:/w/workspace/gexfoundry_device-rest-go_PR-352:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-352@tmp:/w/workspace/gexfoundry_device-rest-go_PR-352@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:07:18 $ docker top 98ede8d560efc01c2517e63131b04a629967fd0ff6ec36af3fa11864493216c7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:07:19 + go version 20:07:19 go version go1.21.0 linux/amd64 [Pipeline] } 20:07:19 $ docker stop --time=1 98ede8d560efc01c2517e63131b04a629967fd0ff6ec36af3fa11864493216c7 20:07:20 $ docker rm -f --volumes 98ede8d560efc01c2517e63131b04a629967fd0ff6ec36af3fa11864493216c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:21 + docker inspect -f . ci-base-image-x86_64 20:07:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:07:21 prd-ubuntu20.04-docker-8c-8g-9545 does not seem to be running inside a container 20:07:21 $ 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-352 -v /w/workspace/gexfoundry_device-rest-go_PR-352:/w/workspace/gexfoundry_device-rest-go_PR-352:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-352@tmp:/w/workspace/gexfoundry_device-rest-go_PR-352@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:07:21 $ docker top 866d809a98ab07381aadf2c795bf6ea37f7fa840416403e78f1c3d71ad7c3f5d -eo pid,comm [Pipeline] { [Pipeline] sh 20:07:22 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-352 [Pipeline] fileExists [Pipeline] sh 20:07:22 + make test 20:07:22 go test ./... -coverprofile=coverage.out ./... 20:07:24 ? github.com/edgexfoundry/device-rest-go [no test files] 20:07:36 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:07:36 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.2% of statements 20:07:42 go vet ./... 20:07:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:07:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:07:46 ./bin/test-attribution-txt.sh [Pipeline] echo 20:07:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:07:46 $ docker stop --time=1 866d809a98ab07381aadf2c795bf6ea37f7fa840416403e78f1c3d71ad7c3f5d 20:07:50 $ docker rm -f --volumes 866d809a98ab07381aadf2c795bf6ea37f7fa840416403e78f1c3d71ad7c3f5d [Pipeline] // withDockerContainer [Pipeline] sh 20:07:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:07:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:07:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:07:51 + ls -al . 20:07:51 total 188 20:07:51 drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 20:07 . 20:07:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 20:05 .. 20:07:51 -rw-rw-r-- 1 jenkins jenkins 151 Oct 18 20:05 .dockerignore 20:07:51 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 20:07 .git 20:07:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 20:05 .github 20:07:51 -rw-rw-r-- 1 jenkins jenkins 329 Oct 18 20:05 .gitignore 20:07:51 -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 20:05 .golangci.yml 20:07:51 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 20:05 .semver 20:07:51 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 18 20:05 Attribution.txt 20:07:51 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 18 20:05 CHANGELOG.md 20:07:51 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 18 20:05 Dockerfile 20:07:51 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 20:05 GOVERNANCE.md 20:07:51 -rw-rw-r-- 1 jenkins jenkins 680 Oct 18 20:05 Jenkinsfile 20:07:51 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 20:05 LICENSE 20:07:51 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 18 20:05 Makefile 20:07:51 -rw-rw-r-- 1 jenkins jenkins 620 Oct 18 20:05 OWNERS.md 20:07:51 -rw-rw-r-- 1 jenkins jenkins 15827 Oct 18 20:05 README.md 20:07:51 -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 20:05 VERSION 20:07:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 20:05 bin 20:07:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 20:05 cmd 20:07:51 -rw-r--r-- 1 jenkins jenkins 14499 Oct 18 20:07 coverage.out 20:07:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 20:05 driver 20:07:51 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 18 20:05 go.mod 20:07:51 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 18 20:05 go.sum 20:07:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 20:05 snap 20:07:51 -rw-rw-r-- 1 jenkins jenkins 713 Oct 18 20:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07: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=f6f9c375944694165ba7d6adc0efe34690708cf6 --label arch=amd64 --label version=0.0.0 . 20:07:52 Sending build context to Docker daemon 10.96MB 20:07:52 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:07:52 Step 2/25 : FROM ${BASE} AS builder 20:07:52 ---> f4a73bd32776 20:07:52 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:07:52 ---> Running in cff14686da89 20:07:52 Removing intermediate container cff14686da89 20:07:52 ---> da3685fdb85a 20:07:52 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:07:52 ---> Running in 830d00cbd454 20:07:52 Removing intermediate container 830d00cbd454 20:07:52 ---> 92d17370c68b 20:07:52 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:07:52 ---> Running in d1b03d4d4c4c 20:07:52 Removing intermediate container d1b03d4d4c4c 20:07:52 ---> 2c33502c67b2 20:07:52 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:07:52 ---> Running in d35ded07c0cb 20:07:53 Removing intermediate container d35ded07c0cb 20:07:53 ---> c2406d939745 20:07:53 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:07:53 ---> Running in db34f5bba6b5 20:07:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:07:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:07:53 OK: 268 MiB in 56 packages 20:07:54 Removing intermediate container db34f5bba6b5 20:07:54 ---> ce7d1689effa 20:07:54 Step 8/25 : WORKDIR /device-rest-go 20:07:54 ---> Running in 885a86a9a528 20:07:54 Removing intermediate container 885a86a9a528 20:07:54 ---> d5dc2506a416 20:07:54 Step 9/25 : COPY go.mod vendor* ./ 20:07:54 ---> a30d47615dc2 20:07:54 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:07:54 ---> Running in 105f08eb1408 20:07:55 Removing intermediate container 105f08eb1408 20:07:55 ---> 885aa2c989e0 20:07:55 Step 11/25 : COPY . . 20:07:55 ---> 8787100bf566 20:07:55 Step 12/25 : RUN $MAKE 20:07:55 ---> Running in e551f88dfc0f 20:07:55 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.35" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:07:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9546 in /w/workspace/gexfoundry_device-rest-go_PR-352 [Pipeline] { [Pipeline] ws 20:07:59 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:07:59 The recommended git tool is: git 20:08:04 using credential edgex-jenkins-ssh 20:08:04 Cloning the remote Git repository 20:08:04 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:08:04 > git init /w/workspace/device-rest-go/1 # timeout=10 20:08:05 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:08:05 > git --version # timeout=10 20:08:05 > git --version # 'git version 2.25.1' 20:08:05 using GIT_SSH to set credentials SSH Credentials for GitHub 20:08:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:08:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:08:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:08:09 Merging remotes/origin/main commit 9b53cce74fa8bad39d84f8d6d5cef51853259bec into PR head commit f6f9c375944694165ba7d6adc0efe34690708cf6 20:08:09 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:08:09 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:08:09 using GIT_SSH to set credentials SSH Credentials for GitHub 20:08:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/352/head:refs/remotes/origin/PR-352 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:08:09 > git config core.sparsecheckout # timeout=10 20:08:09 > git checkout -f f6f9c375944694165ba7d6adc0efe34690708cf6 # timeout=10 20:08:09 > git remote # timeout=10 20:08:09 > git config --get remote.origin.url # timeout=10 20:08:09 using GIT_SSH to set credentials SSH Credentials for GitHub 20:08:09 Merge succeeded, producing f6f9c375944694165ba7d6adc0efe34690708cf6 20:08:09 Checking out Revision f6f9c375944694165ba7d6adc0efe34690708cf6 (PR-352) 20:08:10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:08:10 > git --version # timeout=10 20:08:10 > git --version # 'git version 2.25.1' 20:08:10 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:08:09 > git merge 9b53cce74fa8bad39d84f8d6d5cef51853259bec # timeout=10 20:08:09 > git rev-parse HEAD^{commit} # timeout=10 20:08:09 > git config core.sparsecheckout # timeout=10 20:08:09 > git checkout -f f6f9c375944694165ba7d6adc0efe34690708cf6 # timeout=10 20:08:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:08:11 % Total % Received % Xferd Average Speed Time Time Time Current 20:08:11 Dload Upload Total Spent Left Speed 20:08:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 20:08:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:08:12 + sudo tee /etc/docker/daemon.new 20:08:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:08:12 { 20:08:12 "registry-mirrors": [ 20:08:12 "https://nexus3.edgexfoundry.org:10001" 20:08:12 ], 20:08:12 "bip": "10.250.0.254/24", 20:08:12 "hosts": [ 20:08:12 "tcp://0.0.0.0:5555", 20:08:12 "unix:///var/run/docker.sock" 20:08:12 ], 20:08:12 "mtu": 1458, 20:08:12 "selinux-enabled": true, 20:08:12 "seccomp-profile": "/etc/docker/seccomp.json" 20:08:12 } [Pipeline] sh 20:08:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:08:13 + sudo service docker restart 20:08:17 Removing intermediate container e551f88dfc0f 20:08:17 ---> f37940955bf2 20:08:17 Step 13/25 : FROM alpine:3.18 20:08:17 3.18: Pulling from library/alpine 20:08:17 96526aa774ef: Pulling fs layer 20:08:17 96526aa774ef: Verifying Checksum 20:08:17 96526aa774ef: Download complete 20:08:17 96526aa774ef: Pull complete 20:08:17 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:08:17 Status: Downloaded newer image for alpine:3.18 20:08:17 ---> 8ca4688f4f35 20:08:17 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:08:17 ---> Running in e92807fe8168 20:08:17 Removing intermediate container e92807fe8168 20:08:17 ---> 5e93b7fd5b3e 20:08:17 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:08:17 ---> Running in 372d470b78d8 20:08:17 Removing intermediate container 372d470b78d8 20:08:17 ---> 4a6faa937b0a 20:08:17 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:08:17 ---> Running in 255b92b485c2 20:08:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:08:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:08:18 (1/1) Installing dumb-init (1.2.5-r2) 20:08:18 Executing busybox-1.36.1-r2.trigger 20:08:18 OK: 7 MiB in 16 packages 20:08:18 Removing intermediate container 255b92b485c2 20:08:18 ---> da72f6838f33 20:08:18 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:08:19 ---> f668737edccc 20:08:19 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:08:20 ---> 6a7f9457ef39 20:08:20 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:08:20 ---> c65de62994a1 20:08:20 Step 20/25 : EXPOSE 59986 20:08:20 ---> Running in 788c54a14d0e 20:08:20 Removing intermediate container 788c54a14d0e 20:08:20 ---> ae5233d12214 20:08:20 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:08:20 ---> Running in 29f214a47124 20:08:20 Removing intermediate container 29f214a47124 20:08:20 ---> 6719c5718ae5 20:08:20 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:08:20 ---> Running in d39b33ed593c 20:08:20 Removing intermediate container d39b33ed593c 20:08:20 ---> ffd61af147f1 20:08:20 Step 23/25 : LABEL arch=amd64 20:08:20 ---> Running in 19097952dbcc 20:08:20 Removing intermediate container 19097952dbcc 20:08:20 ---> 9a5c60377744 20:08:20 Step 24/25 : LABEL git_sha=f6f9c375944694165ba7d6adc0efe34690708cf6 20:08:20 ---> Running in cbd05fbcd79e 20:08:20 Removing intermediate container cbd05fbcd79e 20:08:20 ---> 4e47a7079795 20:08:20 Step 25/25 : LABEL version=0.0.0 20:08:20 ---> Running in 49e9198ac7f0 20:08:20 Removing intermediate container 49e9198ac7f0 20:08:20 ---> b2a4acfa3bff 20:08:20 [Warning] One or more build-args [ARCH] were not consumed 20:08:20 Successfully built b2a4acfa3bff 20:08: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:08:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:08:21 20:08:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:08:22 latest: Pulling from edgex-lftools-log-publisher 20:08:22 5eb5b503b376: Pulling fs layer 20:08:22 5c69ac0246d0: Pulling fs layer 20:08:22 ec43610c2a17: Pulling fs layer 20:08:22 3a2ae6a8a46f: Pulling fs layer 20:08:22 33b1e0a273af: Pulling fs layer 20:08:22 5d3b04190fa2: Pulling fs layer 20:08:22 2f39f015ded8: Pulling fs layer 20:08:22 33b1e0a273af: Waiting 20:08:22 2f39f015ded8: Waiting 20:08:22 5d3b04190fa2: Waiting 20:08:22 3a2ae6a8a46f: Waiting 20:08:22 5c69ac0246d0: Download complete 20:08:22 3a2ae6a8a46f: Verifying Checksum 20:08:22 3a2ae6a8a46f: Download complete 20:08:22 33b1e0a273af: Verifying Checksum 20:08:22 33b1e0a273af: Download complete 20:08:22 5d3b04190fa2: Verifying Checksum 20:08:22 5d3b04190fa2: Download complete 20:08:22 ec43610c2a17: Verifying Checksum 20:08:22 ec43610c2a17: Download complete 20:08:22 5eb5b503b376: Verifying Checksum 20:08:22 5eb5b503b376: Download complete 20:08:23 2f39f015ded8: Download complete 20:08:23 5eb5b503b376: Pull complete 20:08:23 5c69ac0246d0: Pull complete 20:08:24 ec43610c2a17: Pull complete 20:08:24 3a2ae6a8a46f: Pull complete 20:08:24 33b1e0a273af: Pull complete 20:08:25 5d3b04190fa2: Pull complete 20:08:30 2f39f015ded8: Pull complete 20:08:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:08:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:08:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:30 prd-ubuntu20.04-docker-8c-8g-9545 does not seem to be running inside a container 20:08:30 $ 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-352 -v /w/workspace/gexfoundry_device-rest-go_PR-352:/w/workspace/gexfoundry_device-rest-go_PR-352:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-352@tmp:/w/workspace/gexfoundry_device-rest-go_PR-352@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:08:34 $ docker top e8d3eb3321800317f3cd50a3805ef7747e90483bcfbe7e3864f0d49674b96895 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 20:08:35 provisioning config files... 20:08:35 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config16015475343497130277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:08:35 ---> job-cost.sh 20:08:35 lf-activate-venv: SKIPPING 20:08:35 INFO: No Stack... 20:08:35 ---> docker-login.sh 20:08:35 nexus3.edgexfoundry.org:10001 20:08:35 INFO: Retrieving Pricing Info for: v3-standard-8 20:08:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:36 INFO: Archiving Costs [Pipeline] sh 20:08:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:36 Configure a credential helper to remove this warning. See 20:08:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:36 20:08:36 Login Succeeded 20:08:36 nexus3.edgexfoundry.org:10002 20:08:36 + cat /w/workspace/gexfoundry_device-rest-go_PR-352/archives/cost.csv 20:08:36 + cut -d, -f6 [Pipeline] lock 20:08:36 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-352-1-stack-cost] 20:08:36 Resource [jenkins-edgexfoundry-device-rest-go-PR-352-1-stack-cost] did not exist. Created. 20:08:36 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-352-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:08:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:36 Configure a credential helper to remove this warning. See 20:08:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:36 20:08:36 Login Succeeded 20:08:36 nexus3.edgexfoundry.org:10003 20:08:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:36 + echo total: 0.2199999988079071 [Pipeline] stash 20:08:37 Stashed 1 file(s) [Pipeline] } 20:08:37 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-352-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:08:37 $ docker stop --time=1 e8d3eb3321800317f3cd50a3805ef7747e90483bcfbe7e3864f0d49674b96895 20:08:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:37 Configure a credential helper to remove this warning. See 20:08:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:37 20:08:37 Login Succeeded 20:08:37 nexus3.edgexfoundry.org:10004 20:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:37 Configure a credential helper to remove this warning. See 20:08:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:37 20:08:37 Login Succeeded 20:08:37 docker.io 20:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:38 Configure a credential helper to remove this warning. See 20:08:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:38 20:08:38 Login Succeeded 20:08:38 ---> docker-login.sh ends 20:08:38 $ docker rm -f --volumes e8d3eb3321800317f3cd50a3805ef7747e90483bcfbe7e3864f0d49674b96895 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 20:08:38 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 20:08:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:08:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:08:39 ========================================================= 20:08:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:08:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:39 + 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:08:39 Sending build context to Docker daemon 144.4kB 20:08:39 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:08:39 Step 2/12 : FROM ${BASE} AS builder 20:08:39 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:08:39 9fda8d8052c6: Pulling fs layer 20:08:39 5d54e960e981: Pulling fs layer 20:08:39 c4a7e357bf2a: Pulling fs layer 20:08:39 f0e02332f6b5: Pulling fs layer 20:08:39 cefa15bbcfad: Pulling fs layer 20:08:39 17808c966233: Pulling fs layer 20:08:39 f4c1fc716caa: Pulling fs layer 20:08:39 f0e02332f6b5: Waiting 20:08:39 cefa15bbcfad: Waiting 20:08:39 17808c966233: Waiting 20:08:39 f4c1fc716caa: Waiting 20:08:40 5d54e960e981: Verifying Checksum 20:08:40 5d54e960e981: Download complete 20:08:40 f0e02332f6b5: Verifying Checksum 20:08:40 f0e02332f6b5: Download complete 20:08:40 cefa15bbcfad: Verifying Checksum 20:08:40 cefa15bbcfad: Download complete 20:08:40 9fda8d8052c6: Download complete 20:08:40 f4c1fc716caa: Verifying Checksum 20:08:40 f4c1fc716caa: Download complete 20:08:40 9fda8d8052c6: Pull complete 20:08:41 5d54e960e981: Pull complete 20:08:41 c4a7e357bf2a: Verifying Checksum 20:08:41 c4a7e357bf2a: Download complete 20:08:42 17808c966233: Verifying Checksum 20:08:42 17808c966233: Download complete 20:08:55 c4a7e357bf2a: Pull complete 20:08:55 f0e02332f6b5: Pull complete 20:08:55 cefa15bbcfad: Pull complete 20:09:03 17808c966233: Pull complete 20:09:05 f4c1fc716caa: Pull complete 20:09:05 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 20:09:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:09:05 ---> ea914061e18c 20:09:05 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:09:06 ---> Running in 9ff07baa6ebf 20:09:06 Removing intermediate container 9ff07baa6ebf 20:09:06 ---> 30d53253d05e 20:09:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:09:06 ---> Running in 1f25f7c9e106 20:09:06 Removing intermediate container 1f25f7c9e106 20:09:06 ---> 4e65dfc52c1d 20:09:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:09:06 ---> Running in c4c721a31f18 20:09:07 Removing intermediate container c4c721a31f18 20:09:07 ---> df8b088e3119 20:09:07 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:09:07 ---> Running in 5e906fad98a3 20:09:07 Removing intermediate container 5e906fad98a3 20:09:07 ---> b7b30ad40b39 20:09:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:09:07 ---> Running in 8e92dfcd779f 20:09:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:09:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:09:10 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:09:10 (2/4) Installing libedit (20221030.3.1-r1) 20:09:10 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:09:10 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:09:10 Executing busybox-1.36.1-r2.trigger 20:09:10 OK: 270 MiB in 56 packages 20:09:11 Removing intermediate container 8e92dfcd779f 20:09:11 ---> cc6bbe48d775 20:09:11 Step 8/12 : WORKDIR /device-rest-go 20:09:11 ---> Running in e96149a2d72c 20:09:12 Removing intermediate container e96149a2d72c 20:09:12 ---> 8608c4521f2c 20:09:12 Step 9/12 : COPY go.mod vendor* ./ 20:09:12 ---> 92e9c9afd353 20:09:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:09:12 ---> Running in 28f9a8406ed3 20:10:49 Removing intermediate container 28f9a8406ed3 20:10:49 ---> b5245968947b 20:10:49 Step 11/12 : COPY . . 20:10:49 ---> 45669aba7e24 20:10:49 Step 12/12 : RUN $MAKE 20:10:49 ---> Running in ac7eee7a73f1 20:10:49 noop 20:10:49 Removing intermediate container ac7eee7a73f1 20:10:49 ---> ad5184a7ece5 20:10:49 Successfully built ad5184a7ece5 20:10:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:50 + docker inspect -f . ci-base-image-arm64 20:10:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:50 prd-ubuntu20.04-docker-arm64-4c-16g-9546 does not seem to be running inside a container 20:10:50 $ 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:10:52 $ docker top edff0ff98391df77002457b07258fd3a1f93f0b34334f14bef9ed6be5b7ca1d0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:10:53 + go version 20:10:53 go version go1.21.0 linux/arm64 [Pipeline] } 20:10:53 $ docker stop --time=1 edff0ff98391df77002457b07258fd3a1f93f0b34334f14bef9ed6be5b7ca1d0 20:10:54 $ docker rm -f --volumes edff0ff98391df77002457b07258fd3a1f93f0b34334f14bef9ed6be5b7ca1d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:55 + docker inspect -f . ci-base-image-arm64 20:10:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:55 prd-ubuntu20.04-docker-arm64-4c-16g-9546 does not seem to be running inside a container 20:10:55 $ 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:10:57 $ docker top c67076288b5b27f277e92ef7e3bf1260ed967192afe1a3cc236f0ebabb0a6e1f -eo pid,comm [Pipeline] { [Pipeline] sh 20:10:57 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:10:58 + make test 20:10:58 go test ./... -coverprofile=coverage.out ./... 20:11:02 ? github.com/edgexfoundry/device-rest-go [no test files] 20:12:39 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:12:39 ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 33.2% of statements 20:12:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:12:39 go vet ./... 20:12:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:12:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:12:49 ./bin/test-attribution-txt.sh [Pipeline] echo 20:12:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:12:49 $ docker stop --time=1 c67076288b5b27f277e92ef7e3bf1260ed967192afe1a3cc236f0ebabb0a6e1f 20:12:53 $ docker rm -f --volumes c67076288b5b27f277e92ef7e3bf1260ed967192afe1a3cc236f0ebabb0a6e1f [Pipeline] // withDockerContainer [Pipeline] sh 20:12:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:12:54 Warning: overwriting stash ‘coverage-report’ 20:12:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:12:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:12:56 + ls -al . 20:12:56 total 184 20:12:56 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 20:11 . 20:12:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 20:08 .. 20:12:56 -rw-rw-r-- 1 jenkins jenkins 151 Oct 18 20:08 .dockerignore 20:12:56 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 20:08 .git 20:12:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 20:08 .github 20:12:56 -rw-rw-r-- 1 jenkins jenkins 329 Oct 18 20:08 .gitignore 20:12:56 -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 20:08 .golangci.yml 20:12:56 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 18 20:08 Attribution.txt 20:12:56 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 18 20:08 CHANGELOG.md 20:12:56 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 18 20:08 Dockerfile 20:12:56 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 20:08 GOVERNANCE.md 20:12:56 -rw-rw-r-- 1 jenkins jenkins 680 Oct 18 20:08 Jenkinsfile 20:12:56 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 20:08 LICENSE 20:12:56 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 18 20:08 Makefile 20:12:56 -rw-rw-r-- 1 jenkins jenkins 620 Oct 18 20:08 OWNERS.md 20:12:56 -rw-rw-r-- 1 jenkins jenkins 15827 Oct 18 20:08 README.md 20:12:56 -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 20:05 VERSION 20:12:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 20:08 bin 20:12:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 20:08 cmd 20:12:56 -rw-r--r-- 1 jenkins jenkins 14499 Oct 18 20:12 coverage.out 20:12:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 20:08 driver 20:12:56 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 18 20:08 go.mod 20:12:56 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 18 20:08 go.sum 20:12:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 20:08 snap 20:12:56 -rw-rw-r-- 1 jenkins jenkins 713 Oct 18 20:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:56 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f6f9c375944694165ba7d6adc0efe34690708cf6 --label arch=arm64 --label version=0.0.0 . 20:12:56 Sending build context to Docker daemon 159.7kB 20:12:57 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:12:57 Step 2/25 : FROM ${BASE} AS builder 20:12:57 ---> ad5184a7ece5 20:12:57 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:12:57 ---> Running in f3e22e66c978 20:12:57 Removing intermediate container f3e22e66c978 20:12:57 ---> dd1644915d51 20:12:57 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:12:57 ---> Running in c99a52d5f8ce 20:12:57 Removing intermediate container c99a52d5f8ce 20:12:57 ---> 18cbdd6fee79 20:12:57 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:12:57 ---> Running in c49f3c330f8b 20:12:58 Removing intermediate container c49f3c330f8b 20:12:58 ---> 4a5fb98f3f8e 20:12:58 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:12:58 ---> Running in c067f373ed7f 20:12:58 Removing intermediate container c067f373ed7f 20:12:58 ---> f7c47081290b 20:12:58 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:12:58 ---> Running in ed5c9e38c1a8 20:12:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:13:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:13:01 OK: 270 MiB in 56 packages 20:13:02 Removing intermediate container ed5c9e38c1a8 20:13:02 ---> 4a8829e54b46 20:13:02 Step 8/25 : WORKDIR /device-rest-go 20:13:02 ---> Running in cdc3c484b86a 20:13:02 Removing intermediate container cdc3c484b86a 20:13:02 ---> 4a3715a97a7c 20:13:02 Step 9/25 : COPY go.mod vendor* ./ 20:13:03 ---> 877a46cfb706 20:13:03 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:13:03 ---> Running in e3df6ed5d967 20:13:08 Removing intermediate container e3df6ed5d967 20:13:08 ---> 89a257e799f9 20:13:08 Step 11/25 : COPY . . 20:13:08 ---> 745fd483efee 20:13:08 Step 12/25 : RUN $MAKE 20:13:08 ---> Running in 27d7ab7447fc 20:13:09 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.35" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:15:01 Removing intermediate container 27d7ab7447fc 20:15:01 ---> 13997eda7c90 20:15:01 Step 13/25 : FROM alpine:3.18 20:15:01 3.18: Pulling from library/alpine 20:15:01 579b34f0a95b: Pulling fs layer 20:15:01 579b34f0a95b: Verifying Checksum 20:15:01 579b34f0a95b: Download complete 20:15:01 579b34f0a95b: Pull complete 20:15:01 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:15:01 Status: Downloaded newer image for alpine:3.18 20:15:01 ---> 3cc203321400 20:15:01 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:15:01 ---> Running in 29b3ec5e2e66 20:15:01 Removing intermediate container 29b3ec5e2e66 20:15:01 ---> 1ff57723b15d 20:15:01 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:15:01 ---> Running in 47de7e830156 20:15:01 Removing intermediate container 47de7e830156 20:15:01 ---> c16a15cd00ab 20:15:01 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:15:01 ---> Running in ab60afd2fa44 20:15:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:15:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:15:01 (1/1) Installing dumb-init (1.2.5-r2) 20:15:01 Executing busybox-1.36.1-r2.trigger 20:15:01 OK: 8 MiB in 16 packages 20:15:01 Removing intermediate container ab60afd2fa44 20:15:01 ---> 5112b71fff97 20:15:01 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:15:01 ---> f1208e085fbd 20:15:01 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:15:01 ---> 0f7adaf491d9 20:15:01 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:15:01 ---> cb2c4ad77780 20:15:01 Step 20/25 : EXPOSE 59986 20:15:01 ---> Running in 79ffd0740273 20:15:01 Removing intermediate container 79ffd0740273 20:15:01 ---> 80d70837d503 20:15:01 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:15:01 ---> Running in 5166d45182d6 20:15:01 Removing intermediate container 5166d45182d6 20:15:01 ---> 2a780e737c07 20:15:01 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:15:01 ---> Running in b1d705183c40 20:15:01 Removing intermediate container b1d705183c40 20:15:01 ---> 86e8e605fe41 20:15:01 Step 23/25 : LABEL arch=arm64 20:15:01 ---> Running in b610dcbd669a 20:15:01 Removing intermediate container b610dcbd669a 20:15:01 ---> a40f464c567d 20:15:01 Step 24/25 : LABEL git_sha=f6f9c375944694165ba7d6adc0efe34690708cf6 20:15:01 ---> Running in 6ebc3baef282 20:15:01 Removing intermediate container 6ebc3baef282 20:15:01 ---> 8fc8f3b3b0cb 20:15:01 Step 25/25 : LABEL version=0.0.0 20:15:01 ---> Running in 8b110c0211fc 20:15:01 Removing intermediate container 8b110c0211fc 20:15:01 ---> 385c8afdfd38 20:15:01 [Warning] One or more build-args [ARCH] were not consumed 20:15:01 Successfully built 385c8afdfd38 20:15:01 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:15:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:15:02 20:15:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:15:02 arm64: Pulling from edgex-lftools-log-publisher 20:15:02 8998bd30e6a1: Pulling fs layer 20:15:02 04944245beec: Pulling fs layer 20:15:02 699f458cf7ca: Pulling fs layer 20:15:02 765212b225bb: Pulling fs layer 20:15:02 f23df028b6ca: Pulling fs layer 20:15:02 d65c8cfc05b1: Pulling fs layer 20:15:02 2437ff75d9bd: Pulling fs layer 20:15:02 765212b225bb: Waiting 20:15:02 f23df028b6ca: Waiting 20:15:02 d65c8cfc05b1: Waiting 20:15:02 2437ff75d9bd: Waiting 20:15:02 04944245beec: Verifying Checksum 20:15:02 04944245beec: Download complete 20:15:02 765212b225bb: Verifying Checksum 20:15:02 765212b225bb: Download complete 20:15:02 f23df028b6ca: Verifying Checksum 20:15:02 f23df028b6ca: Download complete 20:15:02 d65c8cfc05b1: Verifying Checksum 20:15:02 d65c8cfc05b1: Download complete 20:15:02 699f458cf7ca: Verifying Checksum 20:15:02 699f458cf7ca: Download complete 20:15:03 8998bd30e6a1: Verifying Checksum 20:15:03 8998bd30e6a1: Download complete 20:15:06 2437ff75d9bd: Verifying Checksum 20:15:06 2437ff75d9bd: Download complete 20:15:08 8998bd30e6a1: Pull complete 20:15:10 04944245beec: Pull complete 20:15:11 699f458cf7ca: Pull complete 20:15:11 765212b225bb: Pull complete 20:15:12 f23df028b6ca: Pull complete 20:15:12 d65c8cfc05b1: Pull complete 20:15:31 2437ff75d9bd: Pull complete 20:15:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:15:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:15:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:31 prd-ubuntu20.04-docker-arm64-4c-16g-9546 does not seem to be running inside a container 20:15:31 $ 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:15:37 $ docker top 40a9766e1f40852b24f30fd3892c8e921a1551e352527fc17914a936473ee2c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:38 ---> job-cost.sh 20:15:38 lf-activate-venv: SKIPPING 20:15:38 INFO: No Stack... 20:15:38 INFO: Retrieving Pricing Info for: v3-standard-4 20:15:39 INFO: Archiving Costs [Pipeline] sh 20:15:40 + + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:15:40 cut -d, -f6 [Pipeline] lock 20:15:40 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-352-1-stack-cost] 20:15:40 Resource [jenkins-edgexfoundry-device-rest-go-PR-352-1-stack-cost] did not exist. Created. 20:15:40 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-352-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:15:40 /w/workspace/device-rest-go/1@tmp/durable-26bee4b8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:15:41 + echo total: 0.10999999940395355 [Pipeline] stash 20:15:41 Warning: overwriting stash ‘stack-cost’ 20:15:41 Stashed 1 file(s) [Pipeline] } 20:15:41 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-352-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:15:41 $ docker stop --time=1 40a9766e1f40852b24f30fd3892c8e921a1551e352527fc17914a936473ee2c8 20:15:43 $ docker rm -f --volumes 40a9766e1f40852b24f30fd3892c8e921a1551e352527fc17914a936473ee2c8 [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:15:44 provisioning config files... 20:15:44 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-352@tmp/config7995180924578845880tmp [Pipeline] { [Pipeline] sh 20:15:44 + set +x 20:15:44 + curl -s https://codecov.io/bash 20:15:44 + bash -s -- 20:15:44 20:15:44 _____ _ 20:15:44 / ____| | | 20:15:44 | | ___ __| | ___ ___ _____ __ 20:15:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:15:44 | |___| (_) | (_| | __/ (_| (_) \ V / 20:15:44 \_____\___/ \__,_|\___|\___\___/ \_/ 20:15:44 Bash-1.0.6 20:15:44 20:15:44 20:15:44 ==> git version 2.25.1 found 20:15:44 ==> 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:15:44 Release-Date: 2020-01-08 20:15:44 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:15:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:15:44 ==> Jenkins CI detected. 20:15:44 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-352 20:15:44 project root: . 20:15:44 --> token set from env 20:15:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:15:44 ==> Running gcov in . (disable via -X gcov) 20:15:44 ==> Python coveragepy not found 20:15:44 ==> Searching for coverage reports in: 20:15:44 + . 20:15:44 -> Found 1 reports 20:15:44 ==> Detecting git/mercurial file structure 20:15:44 ==> Reading reports 20:15:44 + ./coverage.out bytes=14499 20:15:44 ==> Appending adjustments 20:15:44 https://docs.codecov.io/docs/fixing-reports 20:15:44 + Found adjustments 20:15:44 ==> Gzipping contents 20:15:44 4.0K /tmp/codecov.vqomYq.gz 20:15:44 ==> Uploading reports 20:15:44 url: https://codecov.io 20:15:44 query: branch=PR-352&commit=f6f9c375944694165ba7d6adc0efe34690708cf6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-352%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=352&job=&cmd_args= 20:15:44 -> Pinging Codecov 20:15:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-352&commit=f6f9c375944694165ba7d6adc0efe34690708cf6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-352%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=352&job=&cmd_args= 20:15:45 -> Uploading to 20:15:45 https://storage.googleapis.com/codecov/v4/raw/2023-10-18/4E5D53B4F1F92C436F7061BF334D961C/f6f9c375944694165ba7d6adc0efe34690708cf6/1bcb4414-d3d7-46d6-9962-365c2d32f06c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231018%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231018T201544Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=846ba82dfcac8a1f047a6c4925b6eb8389cbdee194789ad2be66517d3d97410d 20:15:45 % Total % Received % Xferd Average Speed Time Time Time Current 20:15:45 Dload Upload Total Spent Left Speed 20:15:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 8903 --:--:-- --:--:-- --:--:-- 8903 20:15:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/f6f9c375944694165ba7d6adc0efe34690708cf6 [Pipeline] } 20:15:45 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:15:47 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-352/archives ] 20:15:47 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-352/archives 20:15:47 total 16 20:15:47 drwxr-xr-x 3 root root 4096 Oct 18 20:08 . 20:15:47 drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 20:08 .. 20:15:47 drwxr-xr-x 2 root root 4096 Oct 18 20:08 cost 20:15:47 -rw-r--r-- 1 root root 86 Oct 18 20:08 cost.csv 20:15:47 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-352/archives 20:15:47 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-352/archives 20:15:47 total 16 20:15:47 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 20:08 . 20:15:47 drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 20:08 .. 20:15:47 drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 20:08 cost 20:15:47 -rw-r--r-- 1 jenkins jenkins 86 Oct 18 20:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:15:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:15:48 ---> package-listing.sh 20:15:48 ++ facter osfamily 20:15:48 ++ tr '[:upper:]' '[:lower:]' 20:15:48 + OS_FAMILY=debian 20:15:48 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-352 20:15:48 + START_PACKAGES=/tmp/packages_start.txt 20:15:48 + END_PACKAGES=/tmp/packages_end.txt 20:15:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:15:48 + PACKAGES=/tmp/packages_start.txt 20:15:48 + '[' /w/workspace/gexfoundry_device-rest-go_PR-352 ']' 20:15:48 + PACKAGES=/tmp/packages_end.txt 20:15:48 + case "${OS_FAMILY}" in 20:15:48 + dpkg -l 20:15:48 + grep '^ii' 20:15:48 + '[' -f /tmp/packages_start.txt ']' 20:15:48 + '[' -f /tmp/packages_end.txt ']' 20:15:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:15:48 + '[' /w/workspace/gexfoundry_device-rest-go_PR-352 ']' 20:15:48 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-352/archives/ 20:15:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-352/archives/ [Pipeline] echo 20:15:48 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-352/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:15:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:49 prd-ubuntu20.04-docker-8c-8g-9545 does not seem to be running inside a container 20:15:49 $ 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-352/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-352 -v /w/workspace/gexfoundry_device-rest-go_PR-352:/w/workspace/gexfoundry_device-rest-go_PR-352:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-352@tmp:/w/workspace/gexfoundry_device-rest-go_PR-352@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:15:50 $ docker top 819d338312639fe3f23756a84a1b70502920a951d9cf5399d4ddf529003ecaad -eo pid,comm [Pipeline] { [Pipeline] sh 20:15:50 + touch /tmp/pre-build-complete [Pipeline] sh 20:15:50 + mkdir -p /var/log/sysstat [Pipeline] sh 20:15:51 + ls /var/log/sa-host 20:15:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:15:51 provisioning config files... 20:15:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-352@tmp/config17197101850553559748tmp [Pipeline] { [Pipeline] echo 20:15:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:15:51 ---> create-netrc.sh [Pipeline] } 20:15:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:15:52 ---> python-tools-install.sh [Pipeline] echo 20:15:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:15:52 ---> sudo-logs.sh 20:15:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:15:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:15:52 ---> job-cost.sh 20:15:52 lf-activate-venv: SKIPPING 20:15:52 DEBUG: total: 0.2199999988079071 20:15:52 INFO: Retrieving Stack Cost... 20:15:53 INFO: Retrieving Pricing Info for: v3-standard-8 20:15:53 INFO: Archiving Costs [Pipeline] echo 20:15:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:15:54 ---> logs-deploy.sh 20:15:54 lf-activate-venv: SKIPPING 20:15:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-352/1 20:15:54 INFO: archiving workspace using pattern(s): 20:15:55 Archives upload complete. 20:15:55 INFO: archiving logs to Nexus