Pull request #410 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648+3ca1d9672aa57d288ff73684e8f7d94170c5a17a (22206cb80302970e8afbadafc6c2aeb32254e85f) 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-ssh14083730126820648395.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh7825855331022896770.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 f3350a1713306dce7682ed7e37d5774890d03277 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-410/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-410/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1857502067977747966.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-410/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2343351186713004280.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh9281271790829786767.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-410/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-410/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10449499844636315222.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 f3350a1713306dce7682ed7e37d5774890d03277 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-9905 in /w/workspace/gexfoundry_device-rest-go_PR-410 [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-410 # 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 Merging remotes/origin/main commit 3ca1d9672aa57d288ff73684e8f7d94170c5a17a into PR head commit 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 Merge succeeded, producing 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 Checking out Revision 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 (PR-410) 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 f3350a1713306dce7682ed7e37d5774890d03277 > 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/410/head:refs/remotes/origin/PR-410 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 # 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 3ca1d9672aa57d288ff73684e8f7d94170c5a17a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:47:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:47:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:47:15 ========================================================= 20:47:15 EdgeX Global Pipelines Version Info 20:47:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:47:16 ------------------- 20:47:16 stable info: 20:47:16 ------------------- 20:47:16 Commited By: Cherry Wang cherry@iotechsys.com 20:47:16 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 20:47:16 Message: update stable to v1.0.263 20:47:17 ------------------- 20:47:17 experimental info: 20:47:17 ------------------- 20:47:17 Commited By: Cherry Wang cherry@iotechsys.com 20:47:17 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 20:47:17 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:47:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:47:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:47:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:47:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:47:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:47:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:47:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:47:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:47:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:47:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:47:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:47:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:47:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:47:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:47:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:47:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:47:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:47:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:47:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:47:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:47:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:47:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:47:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:47:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:47:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:47:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:47:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:47:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-410 [Pipeline] echo 20:47:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-410 [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-410 [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c6b207 [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:47:19 provisioning config files... 20:47:19 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-410@tmp/config14810804424185682486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:47:19 ---> ****-login.sh 20:47:19 nexus3.edgexfoundry.org:10001 20:47:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:20 Configure a credential helper to remove this warning. See 20:47:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:20 20:47:20 Login Succeeded 20:47:20 nexus3.edgexfoundry.org:10002 20:47:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:20 Configure a credential helper to remove this warning. See 20:47:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:20 20:47:20 Login Succeeded 20:47:20 nexus3.edgexfoundry.org:10003 20:47:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:20 Configure a credential helper to remove this warning. See 20:47:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:20 20:47:20 Login Succeeded 20:47:20 nexus3.edgexfoundry.org:10004 20:47:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:20 Configure a credential helper to remove this warning. See 20:47:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:20 20:47:20 Login Succeeded 20:47:20 ****.io 20:47:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:20 Configure a credential helper to remove this warning. See 20:47:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:20 20:47:20 Login Succeeded 20:47:20 ---> ****-login.sh ends [Pipeline] } 20:47:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:47:21 + git rev-list -1 --merges 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648~1..1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 [Pipeline] echo 20:47:21 -----------> git rev-list -1 --merges 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648~1..1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 [false] [Pipeline] sh 20:47:21 + git log --format=format:%s -1 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 [Pipeline] echo 20:47:21 ========================================================= 20:47:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:47:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:47:22 + git log --format=format:%s -1 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 [Pipeline] echo 20:47:22 [semverPrep] GIT_COMMIT: 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:47:22 [semverPrep] This is not a build commit. [Pipeline] sh 20:47:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:47:22 + grep -v github /etc/ssh/ssh_known_hosts 20:47:22 + [ -e /tmp/ssh_known_hosts ] 20:47:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:47:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:47:22 + sudo tee -a /etc/ssh/ssh_known_hosts 20:47:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:47:23 20:47:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:47:23 0.1.4: Pulling from edgex-devops/py-git-semver 20:47:23 b85a868b505f: Pulling fs layer 20:47:23 e2be974225ed: Pulling fs layer 20:47:23 339a4e72a1f5: Pulling fs layer 20:47:23 988bab9f4d93: Pulling fs layer 20:47:23 1469e6f7b9e6: Pulling fs layer 20:47:23 eaf3925da568: Pulling fs layer 20:47:23 bab4dde63d76: Pulling fs layer 20:47:23 bde34c3a00c8: Pulling fs layer 20:47:23 b352a97aabf1: Pulling fs layer 20:47:23 4872d77fe225: Pulling fs layer 20:47:23 5851b861e8e6: Pulling fs layer 20:47:23 bab4dde63d76: Waiting 20:47:23 bde34c3a00c8: Waiting 20:47:23 988bab9f4d93: Waiting 20:47:23 b352a97aabf1: Waiting 20:47:23 1469e6f7b9e6: Waiting 20:47:23 4872d77fe225: Waiting 20:47:23 eaf3925da568: Waiting 20:47:23 5851b861e8e6: Waiting 20:47:23 e2be974225ed: Download complete 20:47:23 988bab9f4d93: Verifying Checksum 20:47:23 988bab9f4d93: Download complete 20:47:23 1469e6f7b9e6: Verifying Checksum 20:47:23 1469e6f7b9e6: Download complete 20:47:24 eaf3925da568: Verifying Checksum 20:47:24 eaf3925da568: Download complete 20:47:24 339a4e72a1f5: Verifying Checksum 20:47:24 339a4e72a1f5: Download complete 20:47:24 bde34c3a00c8: Verifying Checksum 20:47:24 bde34c3a00c8: Download complete 20:47:24 b352a97aabf1: Download complete 20:47:24 4872d77fe225: Download complete 20:47:24 5851b861e8e6: Verifying Checksum 20:47:24 5851b861e8e6: Download complete 20:47:24 b85a868b505f: Verifying Checksum 20:47:24 b85a868b505f: Download complete 20:47:24 bab4dde63d76: Download complete 20:47:25 b85a868b505f: Pull complete 20:47:25 e2be974225ed: Pull complete 20:47:25 339a4e72a1f5: Pull complete 20:47:25 988bab9f4d93: Pull complete 20:47:26 1469e6f7b9e6: Pull complete 20:47:26 eaf3925da568: Pull complete 20:47:28 bab4dde63d76: Pull complete 20:47:28 bde34c3a00c8: Pull complete 20:47:28 b352a97aabf1: Pull complete 20:47:28 4872d77fe225: Pull complete 20:47:28 5851b861e8e6: Pull complete 20:47:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:47:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:47:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:28 prd-ubuntu20.04-docker-8c-8g-9905 does not seem to be running inside a container 20:47:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-410 -v /w/workspace/gexfoundry_device-rest-go_PR-410:/w/workspace/gexfoundry_device-rest-go_PR-410:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-410@tmp:/w/workspace/gexfoundry_device-rest-go_PR-410@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:47:31 $ docker top ca5bdb2ee757cd89dfdf89a05196e9f7cb07fb882b294f8d8528006b067668aa -eo pid,comm 20:47:31 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:47:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:47:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:47:31 [ssh-agent] Looking for ssh-agent implementation... 20:47:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:47:31 $ docker exec ca5bdb2ee757cd89dfdf89a05196e9f7cb07fb882b294f8d8528006b067668aa ssh-agent 20:47:31 SSH_AUTH_SOCK=/tmp/ssh-t4FdYHQM0ptJ/agent.33 20:47:31 SSH_AGENT_PID=39 20:47:31 Running ssh-add (command line suppressed) 20:47:31 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-410@tmp/private_key_15068792676078757717.key (/w/workspace/gexfoundry_device-rest-go_PR-410@tmp/private_key_15068792676078757717.key) 20:47:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:47:32 + git tag --points-at HEAD [Pipeline] } 20:47:32 $ docker exec --env ******** --env ******** ca5bdb2ee757cd89dfdf89a05196e9f7cb07fb882b294f8d8528006b067668aa ssh-agent -k 20:47:32 unset SSH_AUTH_SOCK; 20:47:32 unset SSH_AGENT_PID; 20:47:32 echo Agent pid 39 killed; 20:47:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:47:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:47:32 [ssh-agent] Looking for ssh-agent implementation... 20:47:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:47:32 $ docker exec ca5bdb2ee757cd89dfdf89a05196e9f7cb07fb882b294f8d8528006b067668aa ssh-agent 20:47:32 SSH_AUTH_SOCK=/tmp/ssh-KXtXGt8kJgui/agent.72 20:47:32 SSH_AGENT_PID=78 20:47:32 Running ssh-add (command line suppressed) 20:47:32 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-410@tmp/private_key_2488474735841581420.key (/w/workspace/gexfoundry_device-rest-go_PR-410@tmp/private_key_2488474735841581420.key) 20:47:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:47:33 + git semver init 20:47:33 2024-09-09 20:47:33,257 [run_init] DEBUG init version:0.0.0 force:False 20:47:33 2024-09-09 20:47:33,258 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-410/.semver 20:47:33 2024-09-09 20:47:33,259 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-410/.semver 20:47:33 2024-09-09 20:47:33,259 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-410/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-410, universal_newlines=False, shell=None, istream=None) 20:47:34 2024-09-09 20:47:34,546 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-410/.git/info/exclude 20:47:34 2024-09-09 20:47:34,546 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-410/.semver/PR-410 with force:False 20:47:34 2024-09-09 20:47:34,546 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-410/.semver/PR-410 20:47:34 2024-09-09 20:47:34,550 [execute] INFO git cat-file --batch-check 20:47:34 2024-09-09 20:47:34,551 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-410/.semver, universal_newlines=False, shell=None, istream=) 20:47:34 2024-09-09 20:47:34,556 [execute] INFO git cat-file --batch 20:47:34 2024-09-09 20:47:34,557 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-410/.semver, universal_newlines=False, shell=None, istream=) 20:47:34 2024-09-09 20:47:34,561 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-410/.semver/PR-410 20:47:34 0.0.0 [Pipeline] } 20:47:34 $ docker exec --env ******** --env ******** ca5bdb2ee757cd89dfdf89a05196e9f7cb07fb882b294f8d8528006b067668aa ssh-agent -k 20:47:34 unset SSH_AUTH_SOCK; 20:47:34 unset SSH_AGENT_PID; 20:47:34 echo Agent pid 78 killed; 20:47:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:47:35 + git semver [Pipeline] } 20:47:35 $ docker stop --time=1 ca5bdb2ee757cd89dfdf89a05196e9f7cb07fb882b294f8d8528006b067668aa 20:47:36 $ docker rm -f --volumes ca5bdb2ee757cd89dfdf89a05196e9f7cb07fb882b294f8d8528006b067668aa [Pipeline] // withDockerContainer [Pipeline] sh 20:47:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:47:37 Stashed 1 file(s) [Pipeline] echo 20:47:37 [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:47:38 provisioning config files... 20:47:38 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-410@tmp/config5708849234781249250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:47:38 ---> ****-login.sh 20:47:38 nexus3.edgexfoundry.org:10001 20:47:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:38 Configure a credential helper to remove this warning. See 20:47:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:38 20:47:38 Login Succeeded 20:47:38 nexus3.edgexfoundry.org:10002 20:47:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:38 Configure a credential helper to remove this warning. See 20:47:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:38 20:47:38 Login Succeeded 20:47:38 nexus3.edgexfoundry.org:10003 20:47:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:39 Configure a credential helper to remove this warning. See 20:47:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:39 20:47:39 Login Succeeded 20:47:39 nexus3.edgexfoundry.org:10004 20:47:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:39 Configure a credential helper to remove this warning. See 20:47:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:39 20:47:39 Login Succeeded 20:47:39 ****.io 20:47:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:39 Configure a credential helper to remove this warning. See 20:47:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:39 20:47:39 Login Succeeded 20:47:39 ---> ****-login.sh ends [Pipeline] } 20:47:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:47:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:47:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:47:39 ========================================================= 20:47:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:47:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:40 + 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:47:40 Sending build context to Docker daemon 16.59MB 20:47:40 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:47:40 Step 2/12 : FROM ${BASE} AS builder 20:47:40 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:47:40 619be1103602: Pulling fs layer 20:47:40 7862e08f4a3e: Pulling fs layer 20:47:40 5df492c9dc93: Pulling fs layer 20:47:40 7629e6793208: Pulling fs layer 20:47:40 4f4fb700ef54: Pulling fs layer 20:47:40 fb5054dd5b73: Pulling fs layer 20:47:40 eeca6798cff9: Pulling fs layer 20:47:40 aa269ceb94a6: Pulling fs layer 20:47:40 ada007ff1a6a: Pulling fs layer 20:47:40 7629e6793208: Waiting 20:47:40 4f4fb700ef54: Waiting 20:47:40 fb5054dd5b73: Waiting 20:47:40 7862e08f4a3e: Download complete 20:47:40 7629e6793208: Verifying Checksum 20:47:40 7629e6793208: Download complete 20:47:40 4f4fb700ef54: Verifying Checksum 20:47:40 4f4fb700ef54: Download complete 20:47:40 619be1103602: Verifying Checksum 20:47:40 fb5054dd5b73: Verifying Checksum 20:47:40 fb5054dd5b73: Download complete 20:47:40 619be1103602: Download complete 20:47:40 eeca6798cff9: Verifying Checksum 20:47:40 eeca6798cff9: Download complete 20:47:40 619be1103602: Pull complete 20:47:40 7862e08f4a3e: Pull complete 20:47:40 ada007ff1a6a: Verifying Checksum 20:47:40 ada007ff1a6a: Download complete 20:47:41 5df492c9dc93: Verifying Checksum 20:47:41 5df492c9dc93: Download complete 20:47:41 aa269ceb94a6: Verifying Checksum 20:47:41 aa269ceb94a6: Download complete 20:47:43 5df492c9dc93: Pull complete 20:47:43 7629e6793208: Pull complete 20:47:43 4f4fb700ef54: Pull complete 20:47:44 fb5054dd5b73: Pull complete 20:47:44 eeca6798cff9: Pull complete 20:47:46 aa269ceb94a6: Pull complete 20:47:47 ada007ff1a6a: Pull complete 20:47:47 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 20:47:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:47:47 ---> f489d0715acc 20:47:47 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:47:51 ---> Running in 663f81005cb0 20:47:51 Removing intermediate container 663f81005cb0 20:47:51 ---> 91448fe9ee34 20:47:51 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:47:51 ---> Running in de383b1f76d2 20:47:51 Removing intermediate container de383b1f76d2 20:47:51 ---> 0b84993476a5 20:47:51 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:47:51 ---> Running in 248b41b509f4 20:47:51 Removing intermediate container 248b41b509f4 20:47:51 ---> 87047fc7e737 20:47:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:47:51 ---> Running in 8140a72fd62f 20:47:51 Removing intermediate container 8140a72fd62f 20:47:51 ---> 9dd601a95e3d 20:47:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:47:51 ---> Running in 5844bfc525de 20:47:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:47:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:47:51 (1/4) Installing openssh-keygen (9.3_p2-r2) 20:47:51 (2/4) Installing libedit (20221030.3.1-r1) 20:47:51 (3/4) Installing openssh-client-common (9.3_p2-r2) 20:47:51 (4/4) Installing openssh-client-default (9.3_p2-r2) 20:47:51 Executing busybox-1.36.1-r5.trigger 20:47:51 OK: 268 MiB in 56 packages 20:47:52 Removing intermediate container 5844bfc525de 20:47:52 ---> a483aaa7ad56 20:47:52 Step 8/12 : WORKDIR /device-rest-go 20:47:52 ---> Running in 778012e9a6f6 20:47:52 Removing intermediate container 778012e9a6f6 20:47:52 ---> c4468eb47321 20:47:52 Step 9/12 : COPY go.mod vendor* ./ 20:47:52 ---> 24a6586f8dc8 20:47:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:47:52 ---> Running in cd5a18a0dbc1 20:47:53 Still waiting to schedule task 20:47:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:48:49 Removing intermediate container cd5a18a0dbc1 20:48:49 ---> 0e970aa54923 20:48:49 Step 11/12 : COPY . . 20:48:49 ---> 8bed8cf76e4a 20:48:49 Step 12/12 : RUN $MAKE 20:48:49 ---> Running in ac3f8a960aa2 20:48:49 noop 20:48:49 Removing intermediate container ac3f8a960aa2 20:48:49 ---> f7f761fafbb6 20:48:49 Successfully built f7f761fafbb6 20:48:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:49 + docker inspect -f . ci-base-image-x86_64 20:48:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:49 prd-ubuntu20.04-docker-8c-8g-9905 does not seem to be running inside a container 20:48:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-410 -v /w/workspace/gexfoundry_device-rest-go_PR-410:/w/workspace/gexfoundry_device-rest-go_PR-410:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-410@tmp:/w/workspace/gexfoundry_device-rest-go_PR-410@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:48:50 $ docker top f55a4439ce461d76206cc7ef8a3e5c3d92fdc48e1e0e995d3a500d3a2f45fbf2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:48:50 + go version 20:48:50 go version go1.21.9 linux/amd64 [Pipeline] } 20:48:50 $ docker stop --time=1 f55a4439ce461d76206cc7ef8a3e5c3d92fdc48e1e0e995d3a500d3a2f45fbf2 20:48:51 $ docker rm -f --volumes f55a4439ce461d76206cc7ef8a3e5c3d92fdc48e1e0e995d3a500d3a2f45fbf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:52 + docker inspect -f . ci-base-image-x86_64 20:48:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:52 prd-ubuntu20.04-docker-8c-8g-9905 does not seem to be running inside a container 20:48:52 $ 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-410 -v /w/workspace/gexfoundry_device-rest-go_PR-410:/w/workspace/gexfoundry_device-rest-go_PR-410:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-410@tmp:/w/workspace/gexfoundry_device-rest-go_PR-410@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:48:53 $ docker top a48d9a33db71df5d21886a82f5a21d88aca850006b6379daa7a0478ba08c09d3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:48:53 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-410 [Pipeline] fileExists [Pipeline] sh 20:48:53 + make test 20:48:53 go test ./... -coverprofile=coverage.out ./... 20:48:55 ? github.com/edgexfoundry/device-rest-go [no test files] 20:49:13 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:49:13 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 33.2% of statements 20:49:23 go vet ./... 20:49:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9906 in /w/workspace/gexfoundry_device-rest-go_PR-410 [Pipeline] { [Pipeline] ws 20:49:27 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:49:27 The recommended git tool is: git 20:49:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:49:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:49:30 ./bin/test-attribution-txt.sh 20:49:30 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:49:30 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:49:30 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:49:30 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:49:30 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:49:30 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:49:30 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:49:30 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:49:30 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:49:30 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:49:30 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 20:49:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:49:30 $ docker stop --time=1 a48d9a33db71df5d21886a82f5a21d88aca850006b6379daa7a0478ba08c09d3 20:49:32 using credential edgex-jenkins-ssh 20:49:32 Cloning the remote Git repository 20:49:32 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:49:32 > git init /w/workspace/device-rest-go/1 # timeout=10 20:49:32 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:49:32 > git --version # timeout=10 20:49:32 > git --version # 'git version 2.25.1' 20:49:32 using GIT_SSH to set credentials SSH Credentials for GitHub 20:49:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:49:34 $ docker rm -f --volumes a48d9a33db71df5d21886a82f5a21d88aca850006b6379daa7a0478ba08c09d3 [Pipeline] // withDockerContainer [Pipeline] sh 20:49:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:49:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:49:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:49:35 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:49:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:49:36 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:49:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:49:36 using GIT_SSH to set credentials SSH Credentials for GitHub 20:49:36 + ls -al . 20:49:36 total 248 20:49:36 drwxrwxr-x 9 jenkins jenkins 4096 Sep 9 20:48 . 20:49:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 20:47 .. 20:49:36 -rw-rw-r-- 1 jenkins jenkins 151 Sep 9 20:47 .dockerignore 20:49:36 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 20:49 .git 20:49:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 20:47 .github 20:49:36 -rw-rw-r-- 1 jenkins jenkins 264 Sep 9 20:47 .gitignore 20:49:36 -rw-rw-r-- 1 jenkins jenkins 41 Sep 9 20:47 .golangci.yml 20:49:36 drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 20:47 .semver 20:49:36 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 9 20:47 Attribution.txt 20:49:36 -rw-rw-r-- 1 jenkins jenkins 17685 Sep 9 20:47 CHANGELOG.md 20:49:36 -rw-rw-r-- 1 jenkins jenkins 1687 Sep 9 20:47 Dockerfile 20:49:36 -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 20:47 GOVERNANCE.md 20:49:36 -rw-rw-r-- 1 jenkins jenkins 680 Sep 9 20:47 Jenkinsfile 20:49:36 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 9 20:47 LICENSE 20:49:36 -rw-rw-r-- 1 jenkins jenkins 2016 Sep 9 20:47 Makefile 20:49:36 -rw-rw-r-- 1 jenkins jenkins 620 Sep 9 20:47 OWNERS.md 20:49:36 -rw-rw-r-- 1 jenkins jenkins 3989 Sep 9 20:47 README.md 20:49:36 -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 20:47 VERSION 20:49:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 20:47 bin 20:49:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 20:47 cmd 20:49:36 -rw-r--r-- 1 jenkins jenkins 14499 Sep 9 20:49 coverage.out 20:49:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 20:47 driver 20:49:36 -rw-rw-r-- 1 jenkins jenkins 7135 Sep 9 20:47 go.mod 20:49:36 -rw-rw-r-- 1 jenkins jenkins 101675 Sep 9 20:47 go.sum 20:49:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 20:47 openapi 20:49:36 -rw-rw-r-- 1 jenkins jenkins 713 Sep 9 20:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 20:49:36 Merging remotes/origin/main commit 3ca1d9672aa57d288ff73684e8f7d94170c5a17a into PR head commit 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 [Pipeline] sh 20:49:37 + 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=1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 --label arch=amd64 --label version=0.0.0 . 20:49:37 Sending build context to Docker daemon 16.61MB 20:49:37 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:49:37 Step 2/26 : FROM ${BASE} AS builder 20:49:37 ---> f7f761fafbb6 20:49:37 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:49:37 Merge succeeded, producing 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 20:49:37 Checking out Revision 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 (PR-410) 20:49:37 ---> Running in 588a7a043b8f 20:49:37 Removing intermediate container 588a7a043b8f 20:49:37 ---> 037e2e72597a 20:49:37 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:49:37 ---> Running in 011a62d53baa 20:49:37 Removing intermediate container 011a62d53baa 20:49:37 ---> c2ac0c6b43ba 20:49:37 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:49:37 ---> Running in f74393820604 20:49:37 Removing intermediate container f74393820604 20:49:37 ---> 3abe4e76fd1a 20:49:37 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:49:37 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:49:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/410/head:refs/remotes/origin/PR-410 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:49:36 > git config core.sparsecheckout # timeout=10 20:49:36 > git checkout -f 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 # timeout=10 20:49:37 > git remote # timeout=10 20:49:37 > git config --get remote.origin.url # timeout=10 20:49:37 using GIT_SSH to set credentials SSH Credentials for GitHub 20:49:37 > git merge 3ca1d9672aa57d288ff73684e8f7d94170c5a17a # timeout=10 20:49:37 > git rev-parse HEAD^{commit} # timeout=10 20:49:37 > git config core.sparsecheckout # timeout=10 20:49:37 > git checkout -f 1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 # timeout=10 20:49:37 > git --version # timeout=10 20:49:37 > git --version # 'git version 2.25.1' 20:49:37 fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 20:49:38 ---> Running in 7b47d8be7ded 20:49:38 Removing intermediate container 7b47d8be7ded 20:49:38 ---> d68249b2f41d 20:49:38 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:49:38 ---> Running in beec24b506e7 20:49:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:49:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:49:38 OK: 268 MiB in 56 packages 20:49:39 Removing intermediate container beec24b506e7 20:49:39 ---> aa1eb9a44bd5 20:49:39 Step 8/26 : WORKDIR /device-rest-go 20:49:39 ---> Running in 51a221175481 20:49:39 Removing intermediate container 51a221175481 20:49:39 ---> 20ba97455f47 20:49:39 Step 9/26 : COPY go.mod vendor* ./ 20:49:39 ---> 51faa3c4ecf3 20:49:39 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:49:39 ---> Running in 1e9be4661302 20:49:39 Removing intermediate container 1e9be4661302 20:49:39 ---> 7736e0459dca 20:49:39 Step 11/26 : COPY . . 20:49:40 ---> be6595b61edc 20:49:40 Step 12/26 : RUN $MAKE 20:49:40 ---> Running in 82ca50d7997d 20:49:40 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.37" -trimpath -mod=readonly -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:49:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:49:42 % Total % Received % Xferd Average Speed Time Time Time Current 20:49:42 Dload Upload Total Spent Left Speed 20:49:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97181 0 --:--:-- --:--:-- --:--:-- 97923 [Pipeline] sh 20:49:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:49:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:49:43 + sudo tee /etc/docker/daemon.new 20:49:43 { 20:49:43 "registry-mirrors": [ 20:49:43 "https://nexus3.edgexfoundry.org:10001" 20:49:43 ], 20:49:43 "bip": "10.250.0.254/24", 20:49:43 "hosts": [ 20:49:43 "tcp://0.0.0.0:5555", 20:49:43 "unix:///var/run/docker.sock" 20:49:43 ], 20:49:43 "mtu": 1458, 20:49:43 "selinux-enabled": true, 20:49:43 "seccomp-profile": "/etc/docker/seccomp.json" 20:49:43 } [Pipeline] sh 20:49:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:49:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:50:02 provisioning config files... 20:50:02 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3405383084550732220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:50:03 ---> ****-login.sh 20:50:03 nexus3.edgexfoundry.org:10001 20:50:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:50:03 Configure a credential helper to remove this warning. See 20:50:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:50:03 20:50:03 Login Succeeded 20:50:03 nexus3.edgexfoundry.org:10002 20:50:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:50:03 Configure a credential helper to remove this warning. See 20:50:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:50:03 20:50:03 Login Succeeded 20:50:04 nexus3.edgexfoundry.org:10003 20:50:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:50:04 Configure a credential helper to remove this warning. See 20:50:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:50:04 20:50:04 Login Succeeded 20:50:04 nexus3.edgexfoundry.org:10004 20:50:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:50:04 Configure a credential helper to remove this warning. See 20:50:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:50:04 20:50:04 Login Succeeded 20:50:04 ****.io 20:50:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:50:05 Configure a credential helper to remove this warning. See 20:50:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:50:05 20:50:05 Login Succeeded 20:50:05 ---> ****-login.sh ends [Pipeline] } 20:50:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:50:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:50:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:50:05 ========================================================= 20:50:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:50:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:06 + 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:50:06 Sending build context to Docker daemon 130.6kB 20:50:06 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:50:06 Step 2/12 : FROM ${BASE} AS builder 20:50:06 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:50:06 c6b39de5b339: Pulling fs layer 20:50:06 a69c41024577: Pulling fs layer 20:50:06 d6de4b400683: Pulling fs layer 20:50:06 35cb2a7552d0: Pulling fs layer 20:50:06 4f4fb700ef54: Pulling fs layer 20:50:06 464afbd9ba4c: Pulling fs layer 20:50:06 00f215d4a9da: Pulling fs layer 20:50:06 35cb2a7552d0: Waiting 20:50:06 4f4fb700ef54: Waiting 20:50:06 464afbd9ba4c: Waiting 20:50:06 00f215d4a9da: Waiting 20:50:06 d496ad576159: Pulling fs layer 20:50:06 d496ad576159: Waiting 20:50:06 a69c41024577: Verifying Checksum 20:50:06 a69c41024577: Download complete 20:50:06 35cb2a7552d0: Verifying Checksum 20:50:06 35cb2a7552d0: Download complete 20:50:06 4f4fb700ef54: Verifying Checksum 20:50:06 4f4fb700ef54: Download complete 20:50:06 c6b39de5b339: Verifying Checksum 20:50:06 c6b39de5b339: Download complete 20:50:06 464afbd9ba4c: Verifying Checksum 20:50:06 464afbd9ba4c: Download complete 20:50:07 d496ad576159: Verifying Checksum 20:50:07 d496ad576159: Download complete 20:50:07 c6b39de5b339: Pull complete 20:50:08 a69c41024577: Pull complete 20:50:08 d6de4b400683: Download complete 20:50:09 00f215d4a9da: Verifying Checksum 20:50:09 00f215d4a9da: Download complete 20:50:12 Removing intermediate container 82ca50d7997d 20:50:12 ---> 69712d5f0153 20:50:12 Step 13/26 : FROM alpine:3.18 20:50:12 3.18: Pulling from library/alpine 20:50:12 1cc3d825d8b2: Pulling fs layer 20:50:12 1cc3d825d8b2: Verifying Checksum 20:50:12 1cc3d825d8b2: Download complete 20:50:12 1cc3d825d8b2: Pull complete 20:50:12 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 20:50:12 Status: Downloaded newer image for alpine:3.18 20:50:12 ---> 2c64cf60f6f0 20:50:12 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:50:12 ---> Running in 8f5826f9bb48 20:50:12 Removing intermediate container 8f5826f9bb48 20:50:12 ---> 1775f0e05acf 20:50:12 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:50:12 ---> Running in ddb6f569ee48 20:50:12 Removing intermediate container ddb6f569ee48 20:50:12 ---> f9612ea609d6 20:50:12 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:50:12 ---> Running in a183e7267483 20:50:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:50:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:50:13 (1/1) Installing dumb-init (1.2.5-r2) 20:50:13 Executing busybox-1.36.1-r7.trigger 20:50:13 OK: 7 MiB in 16 packages 20:50:13 Removing intermediate container a183e7267483 20:50:13 ---> e4f5744e8589 20:50:13 Step 17/26 : RUN apk --no-cache upgrade 20:50:13 ---> Running in 6112db725fcb 20:50:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:50:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:50:14 OK: 7 MiB in 16 packages 20:50:14 Removing intermediate container 6112db725fcb 20:50:14 ---> 04e7d97afc31 20:50:14 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:50:15 ---> b0740f261c55 20:50:15 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:50:15 ---> 4f6f221da99e 20:50:15 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:50:15 ---> 641b63b07627 20:50:15 Step 21/26 : EXPOSE 59986 20:50:15 ---> Running in 655ada668304 20:50:15 Removing intermediate container 655ada668304 20:50:15 ---> 5a617cabdcc1 20:50:15 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:50:15 ---> Running in 8b2b6205ce8f 20:50:16 Removing intermediate container 8b2b6205ce8f 20:50:16 ---> a201b4217782 20:50:16 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:50:16 ---> Running in 2eeab8e8eea8 20:50:16 Removing intermediate container 2eeab8e8eea8 20:50:16 ---> 3c1e6e1f820c 20:50:16 Step 24/26 : LABEL arch=amd64 20:50:16 ---> Running in 24a4f62c937e 20:50:16 Removing intermediate container 24a4f62c937e 20:50:16 ---> 6b8f92d52a4b 20:50:16 Step 25/26 : LABEL git_sha=1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 20:50:16 ---> Running in 6aab4b2e0238 20:50:16 Removing intermediate container 6aab4b2e0238 20:50:16 ---> 205d46341490 20:50:16 Step 26/26 : LABEL version=0.0.0 20:50:16 ---> Running in edd3ae68da5d 20:50:16 Removing intermediate container edd3ae68da5d 20:50:16 ---> 07822b37d547 20:50:16 [Warning] One or more build-args [ARCH] were not consumed 20:50:16 Successfully built 07822b37d547 20:50:16 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:50:17 20:50:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:50:17 latest: Pulling from edgex-lftools-log-publisher 20:50:17 5eb5b503b376: Pulling fs layer 20:50:17 5c69ac0246d0: Pulling fs layer 20:50:17 ec43610c2a17: Pulling fs layer 20:50:17 3a2ae6a8a46f: Pulling fs layer 20:50:17 33b1e0a273af: Pulling fs layer 20:50:17 5d3b04190fa2: Pulling fs layer 20:50:17 2f39f015ded8: Pulling fs layer 20:50:17 33b1e0a273af: Waiting 20:50:17 5d3b04190fa2: Waiting 20:50:17 2f39f015ded8: Waiting 20:50:17 3a2ae6a8a46f: Waiting 20:50:17 5c69ac0246d0: Verifying Checksum 20:50:17 5c69ac0246d0: Download complete 20:50:17 3a2ae6a8a46f: Download complete 20:50:17 33b1e0a273af: Verifying Checksum 20:50:17 33b1e0a273af: Download complete 20:50:17 ec43610c2a17: Verifying Checksum 20:50:17 ec43610c2a17: Download complete 20:50:17 5d3b04190fa2: Verifying Checksum 20:50:17 5d3b04190fa2: Download complete 20:50:18 5eb5b503b376: Verifying Checksum 20:50:18 5eb5b503b376: Download complete 20:50:18 2f39f015ded8: Verifying Checksum 20:50:18 2f39f015ded8: Download complete 20:50:19 5eb5b503b376: Pull complete 20:50:19 5c69ac0246d0: Pull complete 20:50:19 ec43610c2a17: Pull complete 20:50:19 3a2ae6a8a46f: Pull complete 20:50:20 33b1e0a273af: Pull complete 20:50:20 5d3b04190fa2: Pull complete 20:50:21 d6de4b400683: Pull complete 20:50:21 35cb2a7552d0: Pull complete 20:50:21 4f4fb700ef54: Pull complete 20:50:21 464afbd9ba4c: Pull complete 20:50:24 2f39f015ded8: Pull complete 20:50:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:50:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:50:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:50:24 prd-ubuntu20.04-docker-8c-8g-9905 does not seem to be running inside a container 20:50:24 $ 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-410 -v /w/workspace/gexfoundry_device-rest-go_PR-410:/w/workspace/gexfoundry_device-rest-go_PR-410:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-410@tmp:/w/workspace/gexfoundry_device-rest-go_PR-410@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:50:28 $ docker top d9dd5ae11fa2dc7c224082f43110e4ca9cc026d5af9767541f812d9b33f2245f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:50:29 ---> job-cost.sh 20:50:29 lf-activate-venv: SKIPPING 20:50:29 INFO: No Stack... 20:50:29 INFO: Retrieving Pricing Info for: v3-standard-8 20:50:29 INFO: Archiving Costs [Pipeline] sh 20:50:30 00f215d4a9da: Pull complete 20:50:30 + cat /w/workspace/gexfoundry_device-rest-go_PR-410/archives/cost.csv 20:50:30 + cut -d, -f6 [Pipeline] lock 20:50:30 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-410-1-stack-cost] 20:50:30 Resource [jenkins-edgexfoundry-device-rest-go-PR-410-1-stack-cost] did not exist. Created. 20:50:30 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-410-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:50:30 + echo total: 0.2199999988079071 [Pipeline] stash 20:50:30 Stashed 1 file(s) [Pipeline] } 20:50:30 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-410-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:50:30 $ docker stop --time=1 d9dd5ae11fa2dc7c224082f43110e4ca9cc026d5af9767541f812d9b33f2245f 20:50:32 d496ad576159: Pull complete 20:50:32 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 20:50:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:50:32 ---> f246e2811388 20:50:32 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:50:32 $ docker rm -f --volumes d9dd5ae11fa2dc7c224082f43110e4ca9cc026d5af9767541f812d9b33f2245f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:50:33 ---> Running in fa60257355e3 20:50:33 Removing intermediate container fa60257355e3 20:50:33 ---> 7a8c91187e0b 20:50:33 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:50:33 ---> Running in 9ecf02939683 20:50:34 Removing intermediate container 9ecf02939683 20:50:34 ---> 472444ec67ac 20:50:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:50:34 ---> Running in ca2cc410091d 20:50:34 Removing intermediate container ca2cc410091d 20:50:34 ---> 9ae223d9db65 20:50:34 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:50:34 ---> Running in c741279192a1 20:50:35 Removing intermediate container c741279192a1 20:50:35 ---> 30687616646c 20:50:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:50:35 ---> Running in bf0debfc68f0 20:50:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:50:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:50:37 (1/4) Installing openssh-keygen (9.3_p2-r2) 20:50:37 (2/4) Installing libedit (20221030.3.1-r1) 20:50:37 (3/4) Installing openssh-client-common (9.3_p2-r2) 20:50:37 (4/4) Installing openssh-client-default (9.3_p2-r2) 20:50:37 Executing busybox-1.36.1-r5.trigger 20:50:37 OK: 271 MiB in 56 packages 20:50:38 Removing intermediate container bf0debfc68f0 20:50:38 ---> b37005b058e6 20:50:38 Step 8/12 : WORKDIR /device-rest-go 20:50:38 ---> Running in 7673befe6f26 20:50:38 Removing intermediate container 7673befe6f26 20:50:38 ---> 3d499a9ada00 20:50:38 Step 9/12 : COPY go.mod vendor* ./ 20:50:39 ---> dd4416894af9 20:50:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:50:39 ---> Running in 770bfb4c6215 20:52:31 Removing intermediate container 770bfb4c6215 20:52:31 ---> 28acc1a2470b 20:52:31 Step 11/12 : COPY . . 20:52:31 ---> 0d475452326e 20:52:31 Step 12/12 : RUN $MAKE 20:52:31 ---> Running in 8d844eefd496 20:52:31 noop 20:52:31 Removing intermediate container 8d844eefd496 20:52:31 ---> c3be59c3bd13 20:52:31 Successfully built c3be59c3bd13 20:52:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:31 + docker inspect -f . ci-base-image-arm64 20:52:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:31 prd-ubuntu20.04-docker-arm64-4c-16g-9906 does not seem to be running inside a container 20:52:31 $ 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 ******** ci-base-image-arm64 cat 20:52:33 $ docker top 4f2e588f9d55f5a6d2dc510eff5b48bc0da9388d7013b3f22c12bde7b0689e31 -eo pid,comm [Pipeline] { [Pipeline] sh 20:52:34 + go version 20:52:34 go version go1.21.9 linux/arm64 [Pipeline] } 20:52:34 $ docker stop --time=1 4f2e588f9d55f5a6d2dc510eff5b48bc0da9388d7013b3f22c12bde7b0689e31 20:52:35 $ docker rm -f --volumes 4f2e588f9d55f5a6d2dc510eff5b48bc0da9388d7013b3f22c12bde7b0689e31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:36 + docker inspect -f . ci-base-image-arm64 20:52:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:36 prd-ubuntu20.04-docker-arm64-4c-16g-9906 does not seem to be running inside a container 20:52:36 $ 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 ******** ci-base-image-arm64 cat 20:52:38 $ docker top 1543ccf2ff564811a340d5df2d9a1be7aacced0d6dcd9f3768957cd55111e033 -eo pid,comm [Pipeline] { [Pipeline] sh 20:52:38 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:52:39 + make test 20:52:39 go test ./... -coverprofile=coverage.out ./... 20:52:44 ? github.com/edgexfoundry/device-rest-go [no test files] 20:56:21 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:56:21 ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 33.2% of statements 20:56:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:56:21 go vet ./... 20:57:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:57:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:57:08 ./bin/test-attribution-txt.sh 20:57:08 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:57:08 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:57:08 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:57:08 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:57:08 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:57:08 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:57:08 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:57:08 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:57:08 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:57:08 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:57:08 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 20:57:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:57:08 $ docker stop --time=1 1543ccf2ff564811a340d5df2d9a1be7aacced0d6dcd9f3768957cd55111e033 20:57:11 $ docker rm -f --volumes 1543ccf2ff564811a340d5df2d9a1be7aacced0d6dcd9f3768957cd55111e033 [Pipeline] // withDockerContainer [Pipeline] sh 20:57:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:57:12 Warning: overwriting stash ‘coverage-report’ 20:57:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:57:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:57:14 + ls -al . 20:57:14 total 244 20:57:14 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 20:52 . 20:57:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 20:49 .. 20:57:14 -rw-rw-r-- 1 jenkins jenkins 151 Sep 9 20:49 .dockerignore 20:57:14 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 20:49 .git 20:57:14 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 20:49 .github 20:57:14 -rw-rw-r-- 1 jenkins jenkins 264 Sep 9 20:49 .gitignore 20:57:14 -rw-rw-r-- 1 jenkins jenkins 41 Sep 9 20:49 .golangci.yml 20:57:14 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 9 20:49 Attribution.txt 20:57:14 -rw-rw-r-- 1 jenkins jenkins 17685 Sep 9 20:49 CHANGELOG.md 20:57:14 -rw-rw-r-- 1 jenkins jenkins 1687 Sep 9 20:49 Dockerfile 20:57:14 -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 20:49 GOVERNANCE.md 20:57:14 -rw-rw-r-- 1 jenkins jenkins 680 Sep 9 20:49 Jenkinsfile 20:57:14 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 9 20:49 LICENSE 20:57:14 -rw-rw-r-- 1 jenkins jenkins 2016 Sep 9 20:49 Makefile 20:57:14 -rw-rw-r-- 1 jenkins jenkins 620 Sep 9 20:49 OWNERS.md 20:57:14 -rw-rw-r-- 1 jenkins jenkins 3989 Sep 9 20:49 README.md 20:57:14 -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 20:47 VERSION 20:57:14 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 20:49 bin 20:57:14 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 20:49 cmd 20:57:14 -rw-r--r-- 1 jenkins jenkins 14499 Sep 9 20:56 coverage.out 20:57:14 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 20:49 driver 20:57:14 -rw-rw-r-- 1 jenkins jenkins 7135 Sep 9 20:49 go.mod 20:57:14 -rw-rw-r-- 1 jenkins jenkins 101675 Sep 9 20:49 go.sum 20:57:14 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 20:49 openapi 20:57:14 -rw-rw-r-- 1 jenkins jenkins 713 Sep 9 20:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:14 + 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=1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 --label arch=arm64 --label version=0.0.0 . 20:57:14 Sending build context to Docker daemon 145.9kB 20:57:14 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:57:14 Step 2/26 : FROM ${BASE} AS builder 20:57:14 ---> c3be59c3bd13 20:57:14 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:57:14 ---> Running in 48767fe0479b 20:57:15 Removing intermediate container 48767fe0479b 20:57:15 ---> fea505ce5030 20:57:15 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:57:15 ---> Running in 57fa0f8153fe 20:57:15 Removing intermediate container 57fa0f8153fe 20:57:15 ---> b2bf336360e6 20:57:15 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:57:15 ---> Running in 4a3fdfb355f8 20:57:15 Removing intermediate container 4a3fdfb355f8 20:57:15 ---> f1923ae74d94 20:57:15 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:57:16 ---> Running in 88e19506dbad 20:57:16 Removing intermediate container 88e19506dbad 20:57:16 ---> bfa19e561af8 20:57:16 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:57:16 ---> Running in 92a064406aa5 20:57:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:57:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:57:18 OK: 271 MiB in 56 packages 20:57:19 Removing intermediate container 92a064406aa5 20:57:19 ---> 3ca1f554078d 20:57:19 Step 8/26 : WORKDIR /device-rest-go 20:57:19 ---> Running in 5169ebb70a11 20:57:19 Removing intermediate container 5169ebb70a11 20:57:19 ---> 7d67d673fb91 20:57:19 Step 9/26 : COPY go.mod vendor* ./ 20:57:20 ---> 22e6f8fe3a16 20:57:20 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:57:20 ---> Running in 3744f9a977bf 20:57:22 Removing intermediate container 3744f9a977bf 20:57:22 ---> ba8268d5df2b 20:57:22 Step 11/26 : COPY . . 20:57:23 ---> a7615700d3d6 20:57:23 Step 12/26 : RUN $MAKE 20:57:23 ---> Running in c69d05cc2eeb 20:57:24 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.37" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:00:46 Removing intermediate container c69d05cc2eeb 21:00:46 ---> 530c29cbbbdf 21:00:46 Step 13/26 : FROM alpine:3.18 21:00:46 3.18: Pulling from library/alpine 21:00:46 720f3032cd11: Pulling fs layer 21:00:46 720f3032cd11: Download complete 21:00:46 720f3032cd11: Pull complete 21:00:46 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 21:00:46 Status: Downloaded newer image for alpine:3.18 21:00:46 ---> 3e834921e367 21:00:46 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:00:46 ---> Running in 9753976335b4 21:00:46 Removing intermediate container 9753976335b4 21:00:46 ---> 1c4c52a6b650 21:00:46 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 21:00:46 ---> Running in df9327b9f234 21:00:46 Removing intermediate container df9327b9f234 21:00:46 ---> 88b79e473cf4 21:00:46 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:00:46 ---> Running in 45f1e6ada28c 21:00:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:00:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:00:46 (1/1) Installing dumb-init (1.2.5-r2) 21:00:46 Executing busybox-1.36.1-r7.trigger 21:00:46 OK: 8 MiB in 16 packages 21:00:46 Removing intermediate container 45f1e6ada28c 21:00:46 ---> 848ea9713e39 21:00:46 Step 17/26 : RUN apk --no-cache upgrade 21:00:46 ---> Running in 935274e39102 21:00:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:00:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:00:46 OK: 8 MiB in 16 packages 21:00:46 Removing intermediate container 935274e39102 21:00:46 ---> b27f48d0a31a 21:00:46 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 21:00:46 ---> 89178414892a 21:00:46 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 21:00:47 ---> ee4f50275e3d 21:00:47 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 21:00:47 ---> 9902711e423f 21:00:47 Step 21/26 : EXPOSE 59986 21:00:47 ---> Running in 83d56a52481c 21:00:47 Removing intermediate container 83d56a52481c 21:00:47 ---> 018fdf71ef3a 21:00:47 Step 22/26 : ENTRYPOINT ["/device-rest"] 21:00:47 ---> Running in b7443278e720 21:00:48 Removing intermediate container b7443278e720 21:00:48 ---> cb6bfa517221 21:00:48 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:00:48 ---> Running in fb55409921f5 21:00:48 Removing intermediate container fb55409921f5 21:00:48 ---> 28153e90b25b 21:00:48 Step 24/26 : LABEL arch=arm64 21:00:48 ---> Running in bef220f79b4b 21:00:48 Removing intermediate container bef220f79b4b 21:00:48 ---> 96e5a96e294a 21:00:48 Step 25/26 : LABEL git_sha=1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 21:00:48 ---> Running in f6613cd05ce3 21:00:49 Removing intermediate container f6613cd05ce3 21:00:49 ---> 2b726d79187c 21:00:49 Step 26/26 : LABEL version=0.0.0 21:00:49 ---> Running in 766c08772af3 21:00:49 Removing intermediate container 766c08772af3 21:00:49 ---> 59570cfc1835 21:00:49 [Warning] One or more build-args [ARCH] were not consumed 21:00:49 Successfully built 59570cfc1835 21:00:49 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:00:50 21:00:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:00:50 arm64: Pulling from edgex-lftools-log-publisher 21:00:50 8998bd30e6a1: Pulling fs layer 21:00:50 04944245beec: Pulling fs layer 21:00:50 699f458cf7ca: Pulling fs layer 21:00:50 765212b225bb: Pulling fs layer 21:00:50 f23df028b6ca: Pulling fs layer 21:00:50 d65c8cfc05b1: Pulling fs layer 21:00:50 2437ff75d9bd: Pulling fs layer 21:00:50 f23df028b6ca: Waiting 21:00:50 d65c8cfc05b1: Waiting 21:00:50 2437ff75d9bd: Waiting 21:00:50 765212b225bb: Waiting 21:00:51 04944245beec: Verifying Checksum 21:00:51 04944245beec: Download complete 21:00:51 765212b225bb: Download complete 21:00:51 f23df028b6ca: Verifying Checksum 21:00:51 f23df028b6ca: Download complete 21:00:51 d65c8cfc05b1: Verifying Checksum 21:00:51 d65c8cfc05b1: Download complete 21:00:51 699f458cf7ca: Verifying Checksum 21:00:51 699f458cf7ca: Download complete 21:00:51 8998bd30e6a1: Verifying Checksum 21:00:51 8998bd30e6a1: Download complete 21:00:54 2437ff75d9bd: Verifying Checksum 21:00:54 2437ff75d9bd: Download complete 21:00:56 8998bd30e6a1: Pull complete 21:00:56 04944245beec: Pull complete 21:00:58 699f458cf7ca: Pull complete 21:00:58 765212b225bb: Pull complete 21:00:59 f23df028b6ca: Pull complete 21:00:59 d65c8cfc05b1: Pull complete 21:01:17 2437ff75d9bd: Pull complete 21:01:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:01:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:01:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:18 prd-ubuntu20.04-docker-arm64-4c-16g-9906 does not seem to be running inside a container 21:01:18 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:01:20 $ docker top b212352f9a182f2acc54e2577f77fc10998bb8451c10029db5a99b65f5f7ab1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:21 ---> job-cost.sh 21:01:21 lf-activate-venv: SKIPPING 21:01:21 INFO: No Stack... 21:01:21 INFO: Retrieving Pricing Info for: v3-standard-4 21:01:22 INFO: Archiving Costs [Pipeline] sh 21:01:23 + cut -d, -f6 21:01:23 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 21:01:23 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-410-1-stack-cost] 21:01:23 Resource [jenkins-edgexfoundry-device-rest-go-PR-410-1-stack-cost] did not exist. Created. 21:01:23 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-410-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:01:24 /w/workspace/device-rest-go/1@tmp/durable-e6ef6c1b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:01:25 + echo total: 0.10999999940395355 [Pipeline] stash 21:01:25 Warning: overwriting stash ‘stack-cost’ 21:01:25 Stashed 1 file(s) [Pipeline] } 21:01:25 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-410-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:01:25 $ docker stop --time=1 b212352f9a182f2acc54e2577f77fc10998bb8451c10029db5a99b65f5f7ab1b 21:01:26 $ docker rm -f --volumes b212352f9a182f2acc54e2577f77fc10998bb8451c10029db5a99b65f5f7ab1b [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 21:01:27 provisioning config files... 21:01:27 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-410@tmp/config8473749747306849245tmp [Pipeline] { [Pipeline] sh 21:01:28 + set +x 21:01:28 + bash -s -- 21:01:28 + curl -s https://codecov.io/bash 21:01:28 21:01:28 _____ _ 21:01:28 / ____| | | 21:01:28 | | ___ __| | ___ ___ _____ __ 21:01:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:01:28 | |___| (_) | (_| | __/ (_| (_) \ V / 21:01:28 \_____\___/ \__,_|\___|\___\___/ \_/ 21:01:28 Bash-1.0.6 21:01:28 21:01:28 21:01:28 ==> git version 2.25.1 found 21:01:28 ==> 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 21:01:28 Release-Date: 2020-01-08 21:01:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:01:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:01:28 ==> Jenkins CI detected. 21:01:28 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-410 21:01:28 project root: . 21:01:28 --> token set from env 21:01:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:01:28 ==> Running gcov in . (disable via -X gcov) 21:01:28 ==> Python coveragepy not found 21:01:28 ==> Searching for coverage reports in: 21:01:28 + . 21:01:28 -> Found 1 reports 21:01:28 ==> Detecting git/mercurial file structure 21:01:28 ==> Reading reports 21:01:28 + ./coverage.out bytes=14499 21:01:28 ==> Appending adjustments 21:01:28 https://docs.codecov.io/docs/fixing-reports 21:01:28 + Found adjustments 21:01:28 ==> Gzipping contents 21:01:28 4.0K /tmp/codecov.7tyeaB.gz 21:01:28 ==> Uploading reports 21:01:28 url: https://codecov.io 21:01:28 query: branch=PR-410&commit=1c6b207c0ffd4a88ff50fc986f859e6bbcee7648&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-410%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=410&job=&cmd_args= 21:01:28 -> Pinging Codecov 21:01:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-410&commit=1c6b207c0ffd4a88ff50fc986f859e6bbcee7648&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-410%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=410&job=&cmd_args= 21:01:28 -> Uploading to 21:01:28 https://storage.googleapis.com/codecov/v4/raw/2024-09-09/4E5D53B4F1F92C436F7061BF334D961C/1c6b207c0ffd4a88ff50fc986f859e6bbcee7648/a8b3080d-e888-4300-ba58-6f2553908eb8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240909%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240909T210128Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b2162371eaec0781f0bffc5123b29e119bd29c36417aa6776fb04da912fb3fb3 21:01:28 % Total % Received % Xferd Average Speed Time Time Time Current 21:01:28 Dload Upload Total Spent Left Speed 21:01:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9247 --:--:-- --:--:-- --:--:-- 9247 21:01:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/1c6b207c0ffd4a88ff50fc986f859e6bbcee7648 [Pipeline] } 21:01:29 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:01:31 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-410/archives ] 21:01:31 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-410/archives 21:01:31 total 16 21:01:31 drwxr-xr-x 3 root root 4096 Sep 9 20:50 . 21:01:31 drwxrwxr-x 10 jenkins jenkins 4096 Sep 9 20:50 .. 21:01:31 drwxr-xr-x 2 root root 4096 Sep 9 20:50 cost 21:01:31 -rw-r--r-- 1 root root 86 Sep 9 20:50 cost.csv 21:01:31 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-410/archives 21:01:31 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-410/archives 21:01:31 total 16 21:01:31 drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 20:50 . 21:01:31 drwxrwxr-x 10 jenkins jenkins 4096 Sep 9 20:50 .. 21:01:31 drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 20:50 cost 21:01:31 -rw-r--r-- 1 jenkins jenkins 86 Sep 9 20:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:01:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:01:32 ---> package-listing.sh 21:01:32 ++ facter osfamily 21:01:32 ++ tr '[:upper:]' '[:lower:]' 21:01:33 + OS_FAMILY=debian 21:01:33 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-410 21:01:33 + START_PACKAGES=/tmp/packages_start.txt 21:01:33 + END_PACKAGES=/tmp/packages_end.txt 21:01:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:01:33 + PACKAGES=/tmp/packages_start.txt 21:01:33 + '[' /w/workspace/gexfoundry_device-rest-go_PR-410 ']' 21:01:33 + PACKAGES=/tmp/packages_end.txt 21:01:33 + case "${OS_FAMILY}" in 21:01:33 + dpkg -l 21:01:33 + grep '^ii' 21:01:33 + '[' -f /tmp/packages_start.txt ']' 21:01:33 + '[' -f /tmp/packages_end.txt ']' 21:01:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:01:33 + '[' /w/workspace/gexfoundry_device-rest-go_PR-410 ']' 21:01:33 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-410/archives/ 21:01:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-410/archives/ [Pipeline] echo 21:01:33 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-410/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:01:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:34 prd-ubuntu20.04-docker-8c-8g-9905 does not seem to be running inside a container 21:01:34 $ 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-410/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-410 -v /w/workspace/gexfoundry_device-rest-go_PR-410:/w/workspace/gexfoundry_device-rest-go_PR-410:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-410@tmp:/w/workspace/gexfoundry_device-rest-go_PR-410@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:01:34 $ docker top 50dc0be95d282bd57bb9a6cbbfa6618af0f78553a2a18d4b440e3095e04d3dd1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:35 + touch /tmp/pre-build-complete [Pipeline] sh 21:01:35 + mkdir -p /var/log/sysstat [Pipeline] sh 21:01:35 + ls /var/log/sa-host 21:01:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:01:36 provisioning config files... 21:01:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-410@tmp/config15385597572616936991tmp [Pipeline] { [Pipeline] echo 21:01:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:01:36 ---> create-netrc.sh [Pipeline] } 21:01:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:01:36 ---> python-tools-install.sh [Pipeline] echo 21:01:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:01:37 ---> sudo-logs.sh 21:01:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:01:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:01:37 ---> job-cost.sh 21:01:37 lf-activate-venv: SKIPPING 21:01:37 DEBUG: total: 0.2199999988079071 21:01:37 INFO: Retrieving Stack Cost... 21:01:38 INFO: Retrieving Pricing Info for: v3-standard-8 21:01:38 INFO: Archiving Costs [Pipeline] echo 21:01:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:01:38 ---> logs-deploy.sh 21:01:38 lf-activate-venv: SKIPPING 21:01:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-410/1 21:01:38 INFO: archiving workspace using pattern(s): 21:01:39 Archives upload complete. 21:01:39 INFO: archiving logs to Nexus