Pull request #399 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5e3388642c5a996d213cfd67c5b8f75c1e5d53da+290df9772e99a502094e71001891edf463b76fa6 (d91fac8372fb0680cc21c4b22ef0c7b9c15b4359) 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-ssh13677541170638779279.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh16321231038400483346.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 590556114a56c6d90cc8043840e039c2f74196dc 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-399/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-399/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13422139289981095834.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-399/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh930040233964516764.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh13902251654983280784.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-399/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-399/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16423725444381387057.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 590556114a56c6d90cc8043840e039c2f74196dc 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-5666 in /w/workspace/gexfoundry_device-rest-go_PR-399 [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-399 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/399/head:refs/remotes/origin/PR-399 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 290df9772e99a502094e71001891edf463b76fa6 into PR head commit 5e3388642c5a996d213cfd67c5b8f75c1e5d53da Merge succeeded, producing 5e3388642c5a996d213cfd67c5b8f75c1e5d53da Checking out Revision 5e3388642c5a996d213cfd67c5b8f75c1e5d53da (PR-399) 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 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 5e3388642c5a996d213cfd67c5b8f75c1e5d53da # 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 290df9772e99a502094e71001891edf463b76fa6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5e3388642c5a996d213cfd67c5b8f75c1e5d53da # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:43:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:43:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:43:23 ========================================================= 20:43:23 EdgeX Global Pipelines Version Info 20:43:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:43:24 ------------------- 20:43:24 stable info: 20:43:24 ------------------- 20:43:24 Commited By: Ginny Guan ginny@iotechsys.com 20:43:24 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 20:43:24 Message: update stable to v1.0.260 20:43:24 ------------------- 20:43:24 experimental info: 20:43:24 ------------------- 20:43:24 Commited By: Ginny Guan ginny@iotechsys.com 20:43:24 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 20:43:24 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:43:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:43:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:43:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:43:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:43:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:43:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:43:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:43:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:43:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:43:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:43:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:43:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:43:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:43:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:43:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-399 [Pipeline] echo 20:43:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-399 [Pipeline] echo 20:43:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-399 [Pipeline] echo 20:43:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5e3388642c5a996d213cfd67c5b8f75c1e5d53da [Pipeline] echo 20:43:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5e33886 [Pipeline] echo 20:43:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:43:27 provisioning config files... 20:43:27 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-399@tmp/config11965361995827361167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:27 ---> ****-login.sh 20:43:27 nexus3.edgexfoundry.org:10001 20:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:28 Configure a credential helper to remove this warning. See 20:43:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:28 20:43:28 Login Succeeded 20:43:28 nexus3.edgexfoundry.org:10002 20:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:28 Configure a credential helper to remove this warning. See 20:43:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:28 20:43:28 Login Succeeded 20:43:28 nexus3.edgexfoundry.org:10003 20:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:28 Configure a credential helper to remove this warning. See 20:43:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:28 20:43:28 Login Succeeded 20:43:28 nexus3.edgexfoundry.org:10004 20:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:28 Configure a credential helper to remove this warning. See 20:43:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:28 20:43:28 Login Succeeded 20:43:28 ****.io 20:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:28 Configure a credential helper to remove this warning. See 20:43:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:28 20:43:28 Login Succeeded 20:43:28 ---> ****-login.sh ends [Pipeline] } 20:43:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:43:29 + git rev-list -1 --merges 5e3388642c5a996d213cfd67c5b8f75c1e5d53da~1..5e3388642c5a996d213cfd67c5b8f75c1e5d53da [Pipeline] echo 20:43:29 -----------> git rev-list -1 --merges 5e3388642c5a996d213cfd67c5b8f75c1e5d53da~1..5e3388642c5a996d213cfd67c5b8f75c1e5d53da 5e3388642c5a996d213cfd67c5b8f75c1e5d53da [false] [Pipeline] sh 20:43:29 + git log --format=format:%s -1 5e3388642c5a996d213cfd67c5b8f75c1e5d53da [Pipeline] echo 20:43:30 ========================================================= 20:43:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:43:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:43:30 + git log --format=format:%s -1 5e3388642c5a996d213cfd67c5b8f75c1e5d53da [Pipeline] echo 20:43:30 [semverPrep] GIT_COMMIT: 5e3388642c5a996d213cfd67c5b8f75c1e5d53da, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:43:30 [semverPrep] This is not a build commit. [Pipeline] sh 20:43:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:43:30 + grep -v github /etc/ssh/ssh_known_hosts 20:43:30 + [ -e /tmp/ssh_known_hosts ] 20:43:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:43:30 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 20:43:30 -a /etc/ssh/ssh_known_hosts 20:43:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:43:31 20:43:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:43:32 0.1.4: Pulling from edgex-devops/py-git-semver 20:43:32 b85a868b505f: Pulling fs layer 20:43:32 e2be974225ed: Pulling fs layer 20:43:32 339a4e72a1f5: Pulling fs layer 20:43:32 988bab9f4d93: Pulling fs layer 20:43:32 1469e6f7b9e6: Pulling fs layer 20:43:32 eaf3925da568: Pulling fs layer 20:43:32 bab4dde63d76: Pulling fs layer 20:43:32 bde34c3a00c8: Pulling fs layer 20:43:32 b352a97aabf1: Pulling fs layer 20:43:32 4872d77fe225: Pulling fs layer 20:43:32 5851b861e8e6: Pulling fs layer 20:43:32 988bab9f4d93: Waiting 20:43:32 1469e6f7b9e6: Waiting 20:43:32 eaf3925da568: Waiting 20:43:32 bab4dde63d76: Waiting 20:43:32 bde34c3a00c8: Waiting 20:43:32 5851b861e8e6: Waiting 20:43:32 4872d77fe225: Waiting 20:43:32 b352a97aabf1: Waiting 20:43:32 e2be974225ed: Verifying Checksum 20:43:32 e2be974225ed: Download complete 20:43:32 988bab9f4d93: Verifying Checksum 20:43:32 988bab9f4d93: Download complete 20:43:32 1469e6f7b9e6: Verifying Checksum 20:43:32 1469e6f7b9e6: Download complete 20:43:32 339a4e72a1f5: Verifying Checksum 20:43:32 339a4e72a1f5: Download complete 20:43:32 eaf3925da568: Verifying Checksum 20:43:32 eaf3925da568: Download complete 20:43:32 bde34c3a00c8: Verifying Checksum 20:43:32 bde34c3a00c8: Download complete 20:43:32 b352a97aabf1: Verifying Checksum 20:43:32 b352a97aabf1: Download complete 20:43:32 4872d77fe225: Verifying Checksum 20:43:32 4872d77fe225: Download complete 20:43:32 5851b861e8e6: Verifying Checksum 20:43:32 5851b861e8e6: Download complete 20:43:32 b85a868b505f: Verifying Checksum 20:43:32 b85a868b505f: Download complete 20:43:32 bab4dde63d76: Verifying Checksum 20:43:32 bab4dde63d76: Download complete 20:43:33 b85a868b505f: Pull complete 20:43:33 e2be974225ed: Pull complete 20:43:33 339a4e72a1f5: Pull complete 20:43:34 988bab9f4d93: Pull complete 20:43:34 1469e6f7b9e6: Pull complete 20:43:34 eaf3925da568: Pull complete 20:43:36 bab4dde63d76: Pull complete 20:43:36 bde34c3a00c8: Pull complete 20:43:36 b352a97aabf1: Pull complete 20:43:36 4872d77fe225: Pull complete 20:43:36 5851b861e8e6: Pull complete 20:43:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:43:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:43:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:36 prd-ubuntu20.04-docker-8c-8g-5666 does not seem to be running inside a container 20:43:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-399 -v /w/workspace/gexfoundry_device-rest-go_PR-399:/w/workspace/gexfoundry_device-rest-go_PR-399:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-399@tmp:/w/workspace/gexfoundry_device-rest-go_PR-399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:43:37 $ docker top 1c88b43a585d394cdac705791266737424b33325145fc1d3a3aac20b7c35bc01 -eo pid,comm 20:43:38 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:43:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:43:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:43:38 [ssh-agent] Looking for ssh-agent implementation... 20:43:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:43:38 $ docker exec 1c88b43a585d394cdac705791266737424b33325145fc1d3a3aac20b7c35bc01 ssh-agent 20:43:38 SSH_AUTH_SOCK=/tmp/ssh-THQZm0dDs1jB/agent.32 20:43:38 SSH_AGENT_PID=38 20:43:38 Running ssh-add (command line suppressed) 20:43:38 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-399@tmp/private_key_16916649818604660631.key (/w/workspace/gexfoundry_device-rest-go_PR-399@tmp/private_key_16916649818604660631.key) 20:43:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:43:38 + git tag --points-at HEAD [Pipeline] } 20:43:38 $ docker exec --env ******** --env ******** 1c88b43a585d394cdac705791266737424b33325145fc1d3a3aac20b7c35bc01 ssh-agent -k 20:43:39 unset SSH_AUTH_SOCK; 20:43:39 unset SSH_AGENT_PID; 20:43:39 echo Agent pid 38 killed; 20:43:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:43:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:43:39 [ssh-agent] Looking for ssh-agent implementation... 20:43:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:43:39 $ docker exec 1c88b43a585d394cdac705791266737424b33325145fc1d3a3aac20b7c35bc01 ssh-agent 20:43:39 SSH_AUTH_SOCK=/tmp/ssh-iOUHDMEHFjNS/agent.71 20:43:39 SSH_AGENT_PID=77 20:43:39 Running ssh-add (command line suppressed) 20:43:39 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-399@tmp/private_key_9711115649712794924.key (/w/workspace/gexfoundry_device-rest-go_PR-399@tmp/private_key_9711115649712794924.key) 20:43:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:43:39 + git semver init 20:43:40 2024-07-15 20:43:40,058 [run_init] DEBUG init version:0.0.0 force:False 20:43:40 2024-07-15 20:43:40,059 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-399/.semver 20:43:40 2024-07-15 20:43:40,059 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-399/.semver 20:43:40 2024-07-15 20:43:40,060 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-399/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-399, universal_newlines=False, shell=None, istream=None) 20:43:41 2024-07-15 20:43:41,184 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-399/.git/info/exclude 20:43:41 2024-07-15 20:43:41,185 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-399/.semver/PR-399 with force:False 20:43:41 2024-07-15 20:43:41,185 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-399/.semver/PR-399 20:43:41 2024-07-15 20:43:41,189 [execute] INFO git cat-file --batch-check 20:43:41 2024-07-15 20:43:41,190 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-399/.semver, universal_newlines=False, shell=None, istream=) 20:43:41 2024-07-15 20:43:41,195 [execute] INFO git cat-file --batch 20:43:41 2024-07-15 20:43:41,196 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-399/.semver, universal_newlines=False, shell=None, istream=) 20:43:41 2024-07-15 20:43:41,201 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-399/.semver/PR-399 20:43:41 0.0.0 [Pipeline] } 20:43:41 $ docker exec --env ******** --env ******** 1c88b43a585d394cdac705791266737424b33325145fc1d3a3aac20b7c35bc01 ssh-agent -k 20:43:41 unset SSH_AUTH_SOCK; 20:43:41 unset SSH_AGENT_PID; 20:43:41 echo Agent pid 77 killed; 20:43:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:43:42 + git semver [Pipeline] } 20:43:42 $ docker stop --time=1 1c88b43a585d394cdac705791266737424b33325145fc1d3a3aac20b7c35bc01 20:43:43 $ docker rm -f --volumes 1c88b43a585d394cdac705791266737424b33325145fc1d3a3aac20b7c35bc01 [Pipeline] // withDockerContainer [Pipeline] sh 20:43:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:43:44 Stashed 1 file(s) [Pipeline] echo 20:43:44 [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:43:45 provisioning config files... 20:43:45 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-399@tmp/config16206023826730760449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:45 ---> ****-login.sh 20:43:45 nexus3.edgexfoundry.org:10001 20:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:45 Configure a credential helper to remove this warning. See 20:43:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:45 20:43:45 Login Succeeded 20:43:45 nexus3.edgexfoundry.org:10002 20:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:45 Configure a credential helper to remove this warning. See 20:43:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:45 20:43:45 Login Succeeded 20:43:45 nexus3.edgexfoundry.org:10003 20:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:46 Configure a credential helper to remove this warning. See 20:43:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:46 20:43:46 Login Succeeded 20:43:46 nexus3.edgexfoundry.org:10004 20:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:46 Configure a credential helper to remove this warning. See 20:43:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:46 20:43:46 Login Succeeded 20:43:46 ****.io 20:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:46 Configure a credential helper to remove this warning. See 20:43:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:46 20:43:46 Login Succeeded 20:43:46 ---> ****-login.sh ends [Pipeline] } 20:43:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:43:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:43:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:43:46 ========================================================= 20:43:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:43:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:47 + 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:43:47 Sending build context to Docker daemon 16.54MB 20:43:47 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:43:47 Step 2/12 : FROM ${BASE} AS builder 20:43:47 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:43:47 619be1103602: Pulling fs layer 20:43:47 7862e08f4a3e: Pulling fs layer 20:43:47 5df492c9dc93: Pulling fs layer 20:43:47 7629e6793208: Pulling fs layer 20:43:47 4f4fb700ef54: Pulling fs layer 20:43:47 fb5054dd5b73: Pulling fs layer 20:43:47 eeca6798cff9: Pulling fs layer 20:43:47 aa269ceb94a6: Pulling fs layer 20:43:47 ada007ff1a6a: Pulling fs layer 20:43:47 7629e6793208: Waiting 20:43:47 4f4fb700ef54: Waiting 20:43:47 fb5054dd5b73: Waiting 20:43:47 eeca6798cff9: Waiting 20:43:47 ada007ff1a6a: Waiting 20:43:47 aa269ceb94a6: Waiting 20:43:47 7862e08f4a3e: Verifying Checksum 20:43:47 7862e08f4a3e: Download complete 20:43:47 7629e6793208: Verifying Checksum 20:43:47 7629e6793208: Download complete 20:43:47 4f4fb700ef54: Verifying Checksum 20:43:47 4f4fb700ef54: Download complete 20:43:47 619be1103602: Download complete 20:43:47 fb5054dd5b73: Verifying Checksum 20:43:47 fb5054dd5b73: Download complete 20:43:47 eeca6798cff9: Verifying Checksum 20:43:47 eeca6798cff9: Download complete 20:43:47 619be1103602: Pull complete 20:43:47 ada007ff1a6a: Verifying Checksum 20:43:47 ada007ff1a6a: Download complete 20:43:47 7862e08f4a3e: Pull complete 20:43:48 5df492c9dc93: Verifying Checksum 20:43:48 5df492c9dc93: Download complete 20:43:48 aa269ceb94a6: Verifying Checksum 20:43:51 5df492c9dc93: Pull complete 20:43:51 7629e6793208: Pull complete 20:43:51 4f4fb700ef54: Pull complete 20:43:51 fb5054dd5b73: Pull complete 20:43:51 eeca6798cff9: Pull complete 20:43:54 aa269ceb94a6: Pull complete 20:43:54 ada007ff1a6a: Pull complete 20:43:54 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 20:43:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:43:54 ---> f489d0715acc 20:43:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:43:57 ---> Running in 27bcdaece130 20:43:57 Removing intermediate container 27bcdaece130 20:43:57 ---> 4a342b4fba6e 20:43:57 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:43:57 ---> Running in 7b9aebaab348 20:43:57 Removing intermediate container 7b9aebaab348 20:43:57 ---> 384e20e2719a 20:43:57 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:43:57 ---> Running in f817bcced6d2 20:43:57 Removing intermediate container f817bcced6d2 20:43:57 ---> 5f5f62c64b32 20:43:57 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:43:57 ---> Running in 48752d8f5254 20:43:57 Removing intermediate container 48752d8f5254 20:43:57 ---> 30e964e940d6 20:43:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:43:57 ---> Running in b996d71bb950 20:43:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:43:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:43:58 (1/4) Installing openssh-keygen (9.3_p2-r2) 20:43:58 (2/4) Installing libedit (20221030.3.1-r1) 20:43:58 (3/4) Installing openssh-client-common (9.3_p2-r2) 20:43:58 (4/4) Installing openssh-client-default (9.3_p2-r2) 20:43:58 Executing busybox-1.36.1-r5.trigger 20:43:58 OK: 268 MiB in 56 packages 20:43:59 Removing intermediate container b996d71bb950 20:43:59 ---> 174f47efbcf5 20:43:59 Step 8/12 : WORKDIR /device-rest-go 20:43:59 ---> Running in a31237822a22 20:43:59 Removing intermediate container a31237822a22 20:43:59 ---> ba2426f942ff 20:43:59 Step 9/12 : COPY go.mod vendor* ./ 20:43:59 ---> a04fb24a527f 20:43:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:43:59 ---> Running in a90025293d59 20:44:00 Still waiting to schedule task 20:44:00 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:44:55 Removing intermediate container a90025293d59 20:44:55 ---> ae2534bafbaa 20:44:55 Step 11/12 : COPY . . 20:44:55 ---> d049cb051f33 20:44:55 Step 12/12 : RUN $MAKE 20:44:55 ---> Running in 135bc0384e62 20:44:55 noop 20:44:55 Removing intermediate container 135bc0384e62 20:44:55 ---> 906c1c59bc8a 20:44:55 Successfully built 906c1c59bc8a 20:44:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:56 + docker inspect -f . ci-base-image-x86_64 20:44:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:56 prd-ubuntu20.04-docker-8c-8g-5666 does not seem to be running inside a container 20:44:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-399 -v /w/workspace/gexfoundry_device-rest-go_PR-399:/w/workspace/gexfoundry_device-rest-go_PR-399:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-399@tmp:/w/workspace/gexfoundry_device-rest-go_PR-399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:44:56 $ docker top b0cea40b37a3cd15272230522ae74d11462eb554ed8e7a95b903e4899bf009fb -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:57 + go version 20:44:57 go version go1.21.9 linux/amd64 [Pipeline] } 20:44:57 $ docker stop --time=1 b0cea40b37a3cd15272230522ae74d11462eb554ed8e7a95b903e4899bf009fb 20:44:58 $ docker rm -f --volumes b0cea40b37a3cd15272230522ae74d11462eb554ed8e7a95b903e4899bf009fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:59 + docker inspect -f . ci-base-image-x86_64 20:44:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:59 prd-ubuntu20.04-docker-8c-8g-5666 does not seem to be running inside a container 20:44:59 $ 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-399 -v /w/workspace/gexfoundry_device-rest-go_PR-399:/w/workspace/gexfoundry_device-rest-go_PR-399:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-399@tmp:/w/workspace/gexfoundry_device-rest-go_PR-399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:44:59 $ docker top b409af1bae3eb998147ba0b15c5fda9e66ac4cf8364fed877f91e67d67faa107 -eo pid,comm [Pipeline] { [Pipeline] sh 20:45:00 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-399 [Pipeline] fileExists [Pipeline] sh 20:45:00 + make test 20:45:00 go test ./... -coverprofile=coverage.out ./... 20:45:01 ? github.com/edgexfoundry/device-rest-go [no test files] 20:45:19 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:45:19 ok github.com/edgexfoundry/device-rest-go/driver 0.007s coverage: 33.2% of statements 20:45:27 go vet ./... 20:45:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:45:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:45:31 ./bin/test-attribution-txt.sh 20:45:31 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:45:31 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:45:31 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:45:31 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:45:31 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:45:31 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:45:31 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:45:31 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:45:31 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:45:31 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:45:31 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 20:45:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:45:32 $ docker stop --time=1 b409af1bae3eb998147ba0b15c5fda9e66ac4cf8364fed877f91e67d67faa107 20:45:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5667 in /w/workspace/gexfoundry_device-rest-go_PR-399 20:45:34 $ docker rm -f --volumes b409af1bae3eb998147ba0b15c5fda9e66ac4cf8364fed877f91e67d67faa107 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 20:45:34 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:45:34 + sudo chown -R jenkins:jenkins . 20:45:37 The recommended git tool is: git [Pipeline] stash 20:45:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:45:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:45:39 + ls -al . 20:45:39 total 248 20:45:39 drwxrwxr-x 9 jenkins jenkins 4096 Jul 15 20:45 . 20:45:39 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 20:43 .. 20:45:39 -rw-rw-r-- 1 jenkins jenkins 151 Jul 15 20:43 .dockerignore 20:45:39 drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 20:45 .git 20:45:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 20:43 .github 20:45:39 -rw-rw-r-- 1 jenkins jenkins 264 Jul 15 20:43 .gitignore 20:45:39 -rw-rw-r-- 1 jenkins jenkins 41 Jul 15 20:43 .golangci.yml 20:45:39 drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 20:43 .semver 20:45:39 -rw-rw-r-- 1 jenkins jenkins 10300 Jul 15 20:43 Attribution.txt 20:45:39 -rw-rw-r-- 1 jenkins jenkins 17685 Jul 15 20:43 CHANGELOG.md 20:45:39 -rw-rw-r-- 1 jenkins jenkins 1687 Jul 15 20:43 Dockerfile 20:45:39 -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 20:43 GOVERNANCE.md 20:45:39 -rw-rw-r-- 1 jenkins jenkins 680 Jul 15 20:43 Jenkinsfile 20:45:39 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 15 20:43 LICENSE 20:45:39 -rw-rw-r-- 1 jenkins jenkins 2016 Jul 15 20:43 Makefile 20:45:39 -rw-rw-r-- 1 jenkins jenkins 620 Jul 15 20:43 OWNERS.md 20:45:39 -rw-rw-r-- 1 jenkins jenkins 3989 Jul 15 20:43 README.md 20:45:39 -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 20:43 VERSION 20:45:39 drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 20:43 bin 20:45:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 20:43 cmd 20:45:39 -rw-r--r-- 1 jenkins jenkins 14499 Jul 15 20:45 coverage.out 20:45:39 drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 20:43 driver 20:45:39 -rw-rw-r-- 1 jenkins jenkins 7133 Jul 15 20:43 go.mod 20:45:39 -rw-rw-r-- 1 jenkins jenkins 101928 Jul 15 20:43 go.sum 20:45:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 20:43 openapi 20:45:39 -rw-rw-r-- 1 jenkins jenkins 713 Jul 15 20:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:39 + 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=5e3388642c5a996d213cfd67c5b8f75c1e5d53da --label arch=amd64 --label version=0.0.0 . 20:45:39 Sending build context to Docker daemon 16.56MB 20:45:39 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:45:39 Step 2/26 : FROM ${BASE} AS builder 20:45:39 ---> 906c1c59bc8a 20:45:39 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:45:39 ---> Running in 8366bda794e5 20:45:39 Removing intermediate container 8366bda794e5 20:45:39 ---> 351f54d0a60e 20:45:39 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:45:39 ---> Running in 2c680c19f86a 20:45:39 Removing intermediate container 2c680c19f86a 20:45:39 ---> 285c2656945e 20:45:39 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:45:39 ---> Running in 6cc64eb513ef 20:45:39 Removing intermediate container 6cc64eb513ef 20:45:39 ---> b5c625e8a365 20:45:39 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:45:39 ---> Running in 05632dfc6833 20:45:40 Removing intermediate container 05632dfc6833 20:45:40 ---> 8cedd4a23471 20:45:40 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:45:40 ---> Running in d5e2a42ad4a7 20:45:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:45:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:45:40 OK: 268 MiB in 56 packages 20:45:41 Removing intermediate container d5e2a42ad4a7 20:45:41 ---> a681f8150725 20:45:41 Step 8/26 : WORKDIR /device-rest-go 20:45:41 ---> Running in 704a6d640210 20:45:41 Removing intermediate container 704a6d640210 20:45:41 ---> 04c79133bc2d 20:45:41 Step 9/26 : COPY go.mod vendor* ./ 20:45:41 ---> c92e42f5188c 20:45:41 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:45:41 ---> Running in adb9074184c7 20:45:41 using credential edgex-jenkins-ssh 20:45:41 Cloning the remote Git repository 20:45:42 Removing intermediate container adb9074184c7 20:45:42 ---> 4edd6385c967 20:45:42 Step 11/26 : COPY . . 20:45:42 ---> e4367f5097cf 20:45:42 Step 12/26 : RUN $MAKE 20:45:42 ---> Running in 6e1dd9ca4dc5 20:45:42 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.24" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:45:42 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:45:42 > git init /w/workspace/device-rest-go/1 # timeout=10 20:45:42 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:45:42 > git --version # timeout=10 20:45:42 > git --version # 'git version 2.25.1' 20:45:42 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:45 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:45:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:46 Merging remotes/origin/main commit 290df9772e99a502094e71001891edf463b76fa6 into PR head commit 5e3388642c5a996d213cfd67c5b8f75c1e5d53da 20:45:45 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:45:45 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:45:45 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/399/head:refs/remotes/origin/PR-399 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:45:46 > git config core.sparsecheckout # timeout=10 20:45:46 Merge succeeded, producing 5e3388642c5a996d213cfd67c5b8f75c1e5d53da 20:45:46 Checking out Revision 5e3388642c5a996d213cfd67c5b8f75c1e5d53da (PR-399) 20:45:47 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:45:47 > git --version # timeout=10 20:45:47 > git --version # 'git version 2.25.1' 20:45:47 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 20:45:46 > git checkout -f 5e3388642c5a996d213cfd67c5b8f75c1e5d53da # timeout=10 20:45:46 > git remote # timeout=10 20:45:46 > git config --get remote.origin.url # timeout=10 20:45:46 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:46 > git merge 290df9772e99a502094e71001891edf463b76fa6 # timeout=10 20:45:46 > git rev-parse HEAD^{commit} # timeout=10 20:45:46 > git config core.sparsecheckout # timeout=10 20:45:46 > git checkout -f 5e3388642c5a996d213cfd67c5b8f75c1e5d53da # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:45:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:45:52 % Total % Received % Xferd Average Speed Time Time Time Current 20:45:52 Dload Upload Total Spent Left Speed 20:45:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 68967 0 --:--:-- --:--:-- --:--:-- 68967 100 12828 100 12828 0 0 68598 0 --:--:-- --:--:-- --:--:-- 68234 [Pipeline] sh 20:45:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:45:52 + sudo tee /etc/docker/daemon.new 20:45:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:45:52 { 20:45:52 "registry-mirrors": [ 20:45:52 "https://nexus3.edgexfoundry.org:10001" 20:45:52 ], 20:45:52 "bip": "10.250.0.254/24", 20:45:52 "hosts": [ 20:45:52 "tcp://0.0.0.0:5555", 20:45:52 "unix:///var/run/docker.sock" 20:45:52 ], 20:45:52 "mtu": 1458, 20:45:52 "selinux-enabled": true, 20:45:52 "seccomp-profile": "/etc/docker/seccomp.json" 20:45:52 } [Pipeline] sh 20:45:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:45:53 + sudo service docker restart 20:46:09 Removing intermediate container 6e1dd9ca4dc5 20:46:09 ---> a25ee5fd403b 20:46:09 Step 13/26 : FROM alpine:3.18 20:46:09 3.18: Pulling from library/alpine 20:46:09 73baa7ef167e: Pulling fs layer 20:46:09 73baa7ef167e: Verifying Checksum 20:46:09 73baa7ef167e: Download complete 20:46:09 73baa7ef167e: Pull complete 20:46:09 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 20:46:09 Status: Downloaded newer image for alpine:3.18 20:46:09 ---> 8fd7cac70a4a 20:46:09 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:46:09 ---> Running in fb104bddf6d3 20:46:09 Removing intermediate container fb104bddf6d3 20:46:09 ---> aeed8312b84e 20:46:09 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:46:09 ---> Running in 48359e435c59 20:46:09 Removing intermediate container 48359e435c59 20:46:09 ---> 0a44329c00e2 20:46:09 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:46:09 ---> Running in 8b432fe3dc32 20:46:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:46:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:46:10 (1/1) Installing dumb-init (1.2.5-r2) 20:46:10 Executing busybox-1.36.1-r7.trigger 20:46:10 OK: 7 MiB in 16 packages 20:46:10 Removing intermediate container 8b432fe3dc32 20:46:10 ---> cb6cf406bf8e 20:46:10 Step 17/26 : RUN apk --no-cache upgrade 20:46:10 ---> Running in 902aaff0906c 20:46:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:46:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:46:11 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 20:46:11 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 20:46:11 OK: 7 MiB in 16 packages 20:46:11 Removing intermediate container 902aaff0906c 20:46:11 ---> ab650d5f4810 20:46:11 Step 18/26 : COPY --from=builder /device-rest-go/cmd / [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:46:11 provisioning config files... 20:46:11 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8860020808319108851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:12 ---> 5fe4b7a84656 20:46:12 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:46:12 ---> 0075e6fd1506 20:46:12 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:46:12 ---> ****-login.sh 20:46:12 nexus3.edgexfoundry.org:10001 20:46:12 ---> c78fc885bfa4 20:46:12 Step 21/26 : EXPOSE 59986 20:46:12 ---> Running in 32683f413b4e 20:46:12 Removing intermediate container 32683f413b4e 20:46:12 ---> 4387cc0e26cb 20:46:12 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:46:12 ---> Running in 824d6a44fbc4 20:46:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:12 Removing intermediate container 824d6a44fbc4 20:46:12 ---> 050a1fcb906d 20:46:12 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:46:12 ---> Running in 9cb746439f58 20:46:12 Removing intermediate container 9cb746439f58 20:46:12 ---> 2c530934cab1 20:46:12 Step 24/26 : LABEL arch=amd64 20:46:12 ---> Running in 55df22d5cb90 20:46:12 Removing intermediate container 55df22d5cb90 20:46:12 ---> 9dcbd4bb95b5 20:46:12 Step 25/26 : LABEL git_sha=5e3388642c5a996d213cfd67c5b8f75c1e5d53da 20:46:12 ---> Running in 4797e4ccbd7b 20:46:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:46:12 Configure a credential helper to remove this warning. See 20:46:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:46:12 20:46:12 Login Succeeded 20:46:12 nexus3.edgexfoundry.org:10002 20:46:13 Removing intermediate container 4797e4ccbd7b 20:46:13 ---> 99cf6b166b04 20:46:13 Step 26/26 : LABEL version=0.0.0 20:46:13 ---> Running in ae3bdc6d4c52 20:46:13 Removing intermediate container ae3bdc6d4c52 20:46:13 ---> 65ecd7499908 20:46:13 [Warning] One or more build-args [ARCH] were not consumed 20:46:13 Successfully built 65ecd7499908 20:46:13 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv 20:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:46:13 Configure a credential helper to remove this warning. See 20:46:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:46:13 20:46:13 Login Succeeded 20:46:13 nexus3.edgexfoundry.org:10003 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } 20:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { 20:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:46:13 Configure a credential helper to remove this warning. See 20:46:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:46:13 20:46:13 Login Succeeded 20:46:13 nexus3.edgexfoundry.org:10004 20:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:46:14 Configure a credential helper to remove this warning. See 20:46:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:46:14 20:46:14 Login Succeeded 20:46:14 ****.io 20:46:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:46:14 20:46:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:46:14 Configure a credential helper to remove this warning. See 20:46:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:46:14 20:46:14 Login Succeeded 20:46:14 ---> ****-login.sh ends 20:46:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:46:14 latest: Pulling from edgex-lftools-log-publisher 20:46:14 5eb5b503b376: Pulling fs layer 20:46:14 5c69ac0246d0: Pulling fs layer 20:46:14 ec43610c2a17: Pulling fs layer 20:46:14 3a2ae6a8a46f: Pulling fs layer 20:46:14 33b1e0a273af: Pulling fs layer 20:46:14 5d3b04190fa2: Pulling fs layer 20:46:14 2f39f015ded8: Pulling fs layer 20:46:14 33b1e0a273af: Waiting 20:46:14 5d3b04190fa2: Waiting 20:46:14 2f39f015ded8: Waiting 20:46:14 3a2ae6a8a46f: Waiting 20:46:14 5c69ac0246d0: Verifying Checksum 20:46:14 5c69ac0246d0: Download complete 20:46:14 3a2ae6a8a46f: Verifying Checksum 20:46:14 3a2ae6a8a46f: Download complete 20:46:14 33b1e0a273af: Verifying Checksum 20:46:14 33b1e0a273af: Download complete 20:46:14 5d3b04190fa2: Verifying Checksum 20:46:14 5d3b04190fa2: Download complete [Pipeline] } 20:46:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 20:46:14 ec43610c2a17: Verifying Checksum 20:46:14 ec43610c2a17: Download complete 20:46:14 5eb5b503b376: Verifying Checksum 20:46:14 5eb5b503b376: Download complete [Pipeline] echo 20:46:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:46:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:46:15 ========================================================= 20:46:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:46:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:15 + 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:46:15 Sending build context to Docker daemon 130.6kB 20:46:15 2f39f015ded8: Download complete 20:46:15 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:46:15 Step 2/12 : FROM ${BASE} AS builder 20:46:15 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:46:15 c6b39de5b339: Pulling fs layer 20:46:15 a69c41024577: Pulling fs layer 20:46:15 d6de4b400683: Pulling fs layer 20:46:15 35cb2a7552d0: Pulling fs layer 20:46:15 4f4fb700ef54: Pulling fs layer 20:46:15 464afbd9ba4c: Pulling fs layer 20:46:15 00f215d4a9da: Pulling fs layer 20:46:15 d496ad576159: Pulling fs layer 20:46:15 4f4fb700ef54: Waiting 20:46:15 464afbd9ba4c: Waiting 20:46:15 00f215d4a9da: Waiting 20:46:15 d496ad576159: Waiting 20:46:15 35cb2a7552d0: Waiting 20:46:15 a69c41024577: Verifying Checksum 20:46:15 a69c41024577: Download complete 20:46:15 35cb2a7552d0: Verifying Checksum 20:46:15 35cb2a7552d0: Download complete 20:46:16 5eb5b503b376: Pull complete 20:46:16 5c69ac0246d0: Pull complete 20:46:16 4f4fb700ef54: Verifying Checksum 20:46:16 4f4fb700ef54: Download complete 20:46:16 c6b39de5b339: Verifying Checksum 20:46:16 c6b39de5b339: Download complete 20:46:16 464afbd9ba4c: Download complete 20:46:16 d496ad576159: Verifying Checksum 20:46:16 d496ad576159: Download complete 20:46:16 ec43610c2a17: Pull complete 20:46:16 3a2ae6a8a46f: Pull complete 20:46:16 33b1e0a273af: Pull complete 20:46:16 5d3b04190fa2: Pull complete 20:46:17 c6b39de5b339: Pull complete 20:46:17 a69c41024577: Pull complete 20:46:17 d6de4b400683: Verifying Checksum 20:46:17 d6de4b400683: Download complete 20:46:19 00f215d4a9da: Verifying Checksum 20:46:19 00f215d4a9da: Download complete 20:46:21 2f39f015ded8: Pull complete 20:46:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:46:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:46:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:21 prd-ubuntu20.04-docker-8c-8g-5666 does not seem to be running inside a container 20:46:21 $ 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-399 -v /w/workspace/gexfoundry_device-rest-go_PR-399:/w/workspace/gexfoundry_device-rest-go_PR-399:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-399@tmp:/w/workspace/gexfoundry_device-rest-go_PR-399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:46:22 $ docker top fd18ead6c17bce46a10853d99e4226bf31f3335c993c31575231dca910f387e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:23 ---> job-cost.sh 20:46:23 lf-activate-venv: SKIPPING 20:46:23 INFO: No Stack... 20:46:23 INFO: Retrieving Pricing Info for: v3-standard-8 20:46:23 INFO: Archiving Costs [Pipeline] sh 20:46:23 + cat /w/workspace/gexfoundry_device-rest-go_PR-399/archives/cost.csv 20:46:23 + cut -d, -f6 [Pipeline] lock 20:46:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-399-1-stack-cost] 20:46:24 Resource [jenkins-edgexfoundry-device-rest-go-PR-399-1-stack-cost] did not exist. Created. 20:46:24 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-399-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:46:24 + echo total: 0.2199999988079071 [Pipeline] stash 20:46:24 Stashed 1 file(s) [Pipeline] } 20:46:24 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-399-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:46:24 $ docker stop --time=1 fd18ead6c17bce46a10853d99e4226bf31f3335c993c31575231dca910f387e0 20:46:25 $ docker rm -f --volumes fd18ead6c17bce46a10853d99e4226bf31f3335c993c31575231dca910f387e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:46:31 d6de4b400683: Pull complete 20:46:31 35cb2a7552d0: Pull complete 20:46:31 4f4fb700ef54: Pull complete 20:46:31 464afbd9ba4c: Pull complete 20:46:41 00f215d4a9da: Pull complete 20:46:41 d496ad576159: Pull complete 20:46:41 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 20:46:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:46:41 ---> f246e2811388 20:46:41 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:46:43 ---> Running in 9bac5eedc232 20:46:43 Removing intermediate container 9bac5eedc232 20:46:43 ---> c11fde3e3521 20:46:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:46:43 ---> Running in 52f5bdec70a0 20:46:44 Removing intermediate container 52f5bdec70a0 20:46:44 ---> 54f174cf37b3 20:46:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:46:44 ---> Running in 5af5a73b570f 20:46:44 Removing intermediate container 5af5a73b570f 20:46:44 ---> 061273386dc9 20:46:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:46:44 ---> Running in f82a98afa807 20:46:44 Removing intermediate container f82a98afa807 20:46:44 ---> 7506f9e4e22e 20:46:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:46:44 ---> Running in 681f1f5d1e66 20:46:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:46:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:46:47 (1/4) Installing openssh-keygen (9.3_p2-r2) 20:46:47 (2/4) Installing libedit (20221030.3.1-r1) 20:46:47 (3/4) Installing openssh-client-common (9.3_p2-r2) 20:46:47 (4/4) Installing openssh-client-default (9.3_p2-r2) 20:46:47 Executing busybox-1.36.1-r5.trigger 20:46:47 OK: 271 MiB in 56 packages 20:46:48 Removing intermediate container 681f1f5d1e66 20:46:48 ---> c5e69e9fbd06 20:46:48 Step 8/12 : WORKDIR /device-rest-go 20:46:48 ---> Running in a0005f6fb498 20:46:48 Removing intermediate container a0005f6fb498 20:46:48 ---> 10a1083c4d21 20:46:48 Step 9/12 : COPY go.mod vendor* ./ 20:46:49 ---> 280125b84ebb 20:46:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:46:49 ---> Running in bc7121707343 20:48:40 Removing intermediate container bc7121707343 20:48:40 ---> d130e23f70a2 20:48:40 Step 11/12 : COPY . . 20:48:40 ---> d5fe3922cde7 20:48:40 Step 12/12 : RUN $MAKE 20:48:40 ---> Running in 5bd5de247732 20:48:40 noop 20:48:40 Removing intermediate container 5bd5de247732 20:48:40 ---> a0b9af93d437 20:48:40 Successfully built a0b9af93d437 20:48:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:41 + docker inspect -f . ci-base-image-arm64 20:48:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:41 prd-ubuntu20.04-docker-arm64-4c-16g-5667 does not seem to be running inside a container 20:48:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:48:42 $ docker top cae1bcda0dc1beeb8879996566f706a1b99c62fc444797d33415cd2575300d20 -eo pid,comm [Pipeline] { [Pipeline] sh 20:48:43 + go version 20:48:43 go version go1.21.9 linux/arm64 [Pipeline] } 20:48:43 $ docker stop --time=1 cae1bcda0dc1beeb8879996566f706a1b99c62fc444797d33415cd2575300d20 20:48:45 $ docker rm -f --volumes cae1bcda0dc1beeb8879996566f706a1b99c62fc444797d33415cd2575300d20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:46 + docker inspect -f . ci-base-image-arm64 20:48:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:46 prd-ubuntu20.04-docker-arm64-4c-16g-5667 does not seem to be running inside a container 20:48:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:48:47 $ docker top b69d3237b4ba7d8f68f38107094e99e24d4102ddf1bdc189a427b720e97b16fb -eo pid,comm [Pipeline] { [Pipeline] sh 20:48:48 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:48:49 + make test 20:48:49 go test ./... -coverprofile=coverage.out ./... 20:48:54 ? github.com/edgexfoundry/device-rest-go [no test files] 20:52:31 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:52:31 ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 33.2% of statements 20:52:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:52:31 go vet ./... 20:53:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:53:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:53:18 ./bin/test-attribution-txt.sh 20:53:18 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:53:18 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:53:18 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:53:18 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:53:18 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:53:18 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:53:18 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:53:18 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:53:18 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:53:18 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:53:18 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 20:53:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:53:18 $ docker stop --time=1 b69d3237b4ba7d8f68f38107094e99e24d4102ddf1bdc189a427b720e97b16fb 20:53:20 $ docker rm -f --volumes b69d3237b4ba7d8f68f38107094e99e24d4102ddf1bdc189a427b720e97b16fb [Pipeline] // withDockerContainer [Pipeline] sh 20:53:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:53:22 Warning: overwriting stash ‘coverage-report’ 20:53:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:53:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:53:23 + ls -al . 20:53:23 total 244 20:53:23 drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 20:48 . 20:53:23 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 20:45 .. 20:53:23 -rw-rw-r-- 1 jenkins jenkins 151 Jul 15 20:45 .dockerignore 20:53:23 drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 20:45 .git 20:53:23 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 20:45 .github 20:53:23 -rw-rw-r-- 1 jenkins jenkins 264 Jul 15 20:45 .gitignore 20:53:23 -rw-rw-r-- 1 jenkins jenkins 41 Jul 15 20:45 .golangci.yml 20:53:23 -rw-rw-r-- 1 jenkins jenkins 10300 Jul 15 20:45 Attribution.txt 20:53:23 -rw-rw-r-- 1 jenkins jenkins 17685 Jul 15 20:45 CHANGELOG.md 20:53:23 -rw-rw-r-- 1 jenkins jenkins 1687 Jul 15 20:45 Dockerfile 20:53:23 -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 20:45 GOVERNANCE.md 20:53:23 -rw-rw-r-- 1 jenkins jenkins 680 Jul 15 20:45 Jenkinsfile 20:53:23 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 15 20:45 LICENSE 20:53:23 -rw-rw-r-- 1 jenkins jenkins 2016 Jul 15 20:45 Makefile 20:53:23 -rw-rw-r-- 1 jenkins jenkins 620 Jul 15 20:45 OWNERS.md 20:53:23 -rw-rw-r-- 1 jenkins jenkins 3989 Jul 15 20:45 README.md 20:53:23 -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 20:43 VERSION 20:53:23 drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 20:45 bin 20:53:23 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 20:45 cmd 20:53:23 -rw-r--r-- 1 jenkins jenkins 14499 Jul 15 20:52 coverage.out 20:53:23 drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 20:45 driver 20:53:23 -rw-rw-r-- 1 jenkins jenkins 7133 Jul 15 20:45 go.mod 20:53:23 -rw-rw-r-- 1 jenkins jenkins 101928 Jul 15 20:45 go.sum 20:53:23 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 20:45 openapi 20:53:23 -rw-rw-r-- 1 jenkins jenkins 713 Jul 15 20:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:24 + 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=5e3388642c5a996d213cfd67c5b8f75c1e5d53da --label arch=arm64 --label version=0.0.0 . 20:53:24 Sending build context to Docker daemon 145.9kB 20:53:24 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:53:24 Step 2/26 : FROM ${BASE} AS builder 20:53:24 ---> a0b9af93d437 20:53:24 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:53:24 ---> Running in db7a2e808d1c 20:53:24 Removing intermediate container db7a2e808d1c 20:53:24 ---> ac149314e427 20:53:24 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:53:24 ---> Running in c736338fbd13 20:53:25 Removing intermediate container c736338fbd13 20:53:25 ---> 80c36f881c17 20:53:25 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:53:25 ---> Running in 48bb573059fc 20:53:25 Removing intermediate container 48bb573059fc 20:53:25 ---> 654b541265bc 20:53:25 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:53:25 ---> Running in d78f009786d3 20:53:25 Removing intermediate container d78f009786d3 20:53:25 ---> 47ee4994112b 20:53:25 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:53:25 ---> Running in a7542ca53e47 20:53:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:53:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:53:28 OK: 271 MiB in 56 packages 20:53:29 Removing intermediate container a7542ca53e47 20:53:29 ---> 5f30904375bd 20:53:29 Step 8/26 : WORKDIR /device-rest-go 20:53:29 ---> Running in 6353e6cfa3aa 20:53:29 Removing intermediate container 6353e6cfa3aa 20:53:29 ---> 53871dc916b6 20:53:29 Step 9/26 : COPY go.mod vendor* ./ 20:53:29 ---> 4b9790566e7c 20:53:29 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:53:29 ---> Running in 74f8df169419 20:53:32 Removing intermediate container 74f8df169419 20:53:32 ---> 9cc74d2ce187 20:53:32 Step 11/26 : COPY . . 20:53:32 ---> ae2d0994dc3a 20:53:32 Step 12/26 : RUN $MAKE 20:53:32 ---> Running in 3560b1952ab2 20:53:33 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.24" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:56:55 Removing intermediate container 3560b1952ab2 20:56:55 ---> 7798054ac43e 20:56:55 Step 13/26 : FROM alpine:3.18 20:56:55 3.18: Pulling from library/alpine 20:56:55 5c905c7ebe2f: Pulling fs layer 20:56:55 5c905c7ebe2f: Verifying Checksum 20:56:55 5c905c7ebe2f: Download complete 20:56:55 5c905c7ebe2f: Pull complete 20:56:55 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 20:56:55 Status: Downloaded newer image for alpine:3.18 20:56:55 ---> dec292d02e07 20:56:55 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:56:55 ---> Running in ad19e9310567 20:56:55 Removing intermediate container ad19e9310567 20:56:55 ---> 5bd2076b9254 20:56:55 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:56:55 ---> Running in 904abd83bc12 20:56:55 Removing intermediate container 904abd83bc12 20:56:55 ---> ced56933e0c8 20:56:55 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:56:55 ---> Running in 2ad5a721d7c3 20:56:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:56:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:56:55 (1/1) Installing dumb-init (1.2.5-r2) 20:56:55 Executing busybox-1.36.1-r7.trigger 20:56:55 OK: 8 MiB in 16 packages 20:56:55 Removing intermediate container 2ad5a721d7c3 20:56:55 ---> 2b120669a4d5 20:56:55 Step 17/26 : RUN apk --no-cache upgrade 20:56:55 ---> Running in aa05431ec5d1 20:56:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:56:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:56:55 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 20:56:55 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 20:56:55 OK: 8 MiB in 16 packages 20:56:56 Removing intermediate container aa05431ec5d1 20:56:56 ---> 3d194099cda6 20:56:56 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:56:58 ---> 39876180af39 20:56:58 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:56:58 ---> ca8d8ab7209c 20:56:58 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:56:59 ---> 4ce0cab5f005 20:56:59 Step 21/26 : EXPOSE 59986 20:56:59 ---> Running in f71637d62e9d 20:56:59 Removing intermediate container f71637d62e9d 20:56:59 ---> 7b3d3fd02694 20:56:59 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:56:59 ---> Running in 7a1dd2857bbd 20:56:59 Removing intermediate container 7a1dd2857bbd 20:56:59 ---> 63be7c8b2d4f 20:56:59 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:56:59 ---> Running in bea6071e0c76 20:57:00 Removing intermediate container bea6071e0c76 20:57:00 ---> 3c87c38bf911 20:57:00 Step 24/26 : LABEL arch=arm64 20:57:00 ---> Running in 076cbce00d7c 20:57:00 Removing intermediate container 076cbce00d7c 20:57:00 ---> 5d2561e6678f 20:57:00 Step 25/26 : LABEL git_sha=5e3388642c5a996d213cfd67c5b8f75c1e5d53da 20:57:00 ---> Running in 79d79bb1edb9 20:57:01 Removing intermediate container 79d79bb1edb9 20:57:01 ---> ad04b28036f8 20:57:01 Step 26/26 : LABEL version=0.0.0 20:57:01 ---> Running in 34cd3788d3b0 20:57:01 Removing intermediate container 34cd3788d3b0 20:57:01 ---> 10b8f50bbfe2 20:57:01 [Warning] One or more build-args [ARCH] were not consumed 20:57:01 Successfully built 10b8f50bbfe2 20:57:01 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:57:02 20:57:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:57:02 arm64: Pulling from edgex-lftools-log-publisher 20:57:02 8998bd30e6a1: Pulling fs layer 20:57:02 04944245beec: Pulling fs layer 20:57:02 699f458cf7ca: Pulling fs layer 20:57:02 765212b225bb: Pulling fs layer 20:57:02 f23df028b6ca: Pulling fs layer 20:57:02 d65c8cfc05b1: Pulling fs layer 20:57:02 2437ff75d9bd: Pulling fs layer 20:57:02 765212b225bb: Waiting 20:57:02 f23df028b6ca: Waiting 20:57:02 2437ff75d9bd: Waiting 20:57:02 d65c8cfc05b1: Waiting 20:57:03 04944245beec: Verifying Checksum 20:57:03 04944245beec: Download complete 20:57:03 765212b225bb: Verifying Checksum 20:57:03 765212b225bb: Download complete 20:57:03 f23df028b6ca: Download complete 20:57:03 d65c8cfc05b1: Download complete 20:57:03 699f458cf7ca: Verifying Checksum 20:57:03 699f458cf7ca: Download complete 20:57:03 8998bd30e6a1: Verifying Checksum 20:57:03 8998bd30e6a1: Download complete 20:57:06 2437ff75d9bd: Verifying Checksum 20:57:06 2437ff75d9bd: Download complete 20:57:08 8998bd30e6a1: Pull complete 20:57:08 04944245beec: Pull complete 20:57:09 699f458cf7ca: Pull complete 20:57:10 765212b225bb: Pull complete 20:57:11 f23df028b6ca: Pull complete 20:57:11 d65c8cfc05b1: Pull complete 20:57:29 2437ff75d9bd: Pull complete 20:57:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:57:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:57:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:29 prd-ubuntu20.04-docker-arm64-4c-16g-5667 does not seem to be running inside a container 20:57:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:57:32 $ docker top b4876a0ea0e2e371faa2f9f5e81315ec7a7f0bd7e5bbef0af34d992a723b8349 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:33 ---> job-cost.sh 20:57:33 lf-activate-venv: SKIPPING 20:57:33 INFO: No Stack... 20:57:33 INFO: Retrieving Pricing Info for: v3-standard-4 20:57:34 INFO: Archiving Costs [Pipeline] sh 20:57:34 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:57:34 + cut -d, -f6 [Pipeline] lock 20:57:35 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-399-1-stack-cost] 20:57:35 Resource [jenkins-edgexfoundry-device-rest-go-PR-399-1-stack-cost] did not exist. Created. 20:57:35 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-399-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:57:35 /w/workspace/device-rest-go/1@tmp/durable-5dbdbefd/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:57:36 + echo total: 0.10999999940395355 [Pipeline] stash 20:57:36 Warning: overwriting stash ‘stack-cost’ 20:57:36 Stashed 1 file(s) [Pipeline] } 20:57:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-399-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:57:36 $ docker stop --time=1 b4876a0ea0e2e371faa2f9f5e81315ec7a7f0bd7e5bbef0af34d992a723b8349 20:57:38 $ docker rm -f --volumes b4876a0ea0e2e371faa2f9f5e81315ec7a7f0bd7e5bbef0af34d992a723b8349 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:57:39 provisioning config files... 20:57:39 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-399@tmp/config18361767281094485393tmp [Pipeline] { [Pipeline] sh 20:57:39 + set +x 20:57:39 + curl -s https://codecov.io/bash 20:57:39 + bash -s -- 20:57:39 20:57:39 _____ _ 20:57:39 / ____| | | 20:57:39 | | ___ __| | ___ ___ _____ __ 20:57:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:57:39 | |___| (_) | (_| | __/ (_| (_) \ V / 20:57:39 \_____\___/ \__,_|\___|\___\___/ \_/ 20:57:39 Bash-1.0.6 20:57:39 20:57:39 20:57:39 ==> git version 2.25.1 found 20:57:39 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:57:39 Release-Date: 2020-01-08 20:57:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:57:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:57:39 ==> Jenkins CI detected. 20:57:39 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-399 20:57:39 project root: . 20:57:39 --> token set from env 20:57:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:57:39 ==> Running gcov in . (disable via -X gcov) 20:57:39 ==> Python coveragepy not found 20:57:39 ==> Searching for coverage reports in: 20:57:39 + . 20:57:39 -> Found 1 reports 20:57:39 ==> Detecting git/mercurial file structure 20:57:40 ==> Reading reports 20:57:40 + ./coverage.out bytes=14499 20:57:40 ==> Appending adjustments 20:57:40 https://docs.codecov.io/docs/fixing-reports 20:57:40 + Found adjustments 20:57:40 ==> Gzipping contents 20:57:40 4.0K /tmp/codecov.5noR7P.gz 20:57:40 ==> Uploading reports 20:57:40 url: https://codecov.io 20:57:40 query: branch=PR-399&commit=5e3388642c5a996d213cfd67c5b8f75c1e5d53da&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-399%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=399&job=&cmd_args= 20:57:40 -> Pinging Codecov 20:57:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-399&commit=5e3388642c5a996d213cfd67c5b8f75c1e5d53da&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-399%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=399&job=&cmd_args= 20:57:40 -> Uploading to 20:57:40 https://storage.googleapis.com/codecov/v4/raw/2024-07-15/4E5D53B4F1F92C436F7061BF334D961C/5e3388642c5a996d213cfd67c5b8f75c1e5d53da/08caf9f7-2ab9-42b6-b93a-2803eb4dfe8b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240715%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240715T205740Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e55a0e078bcebb8d2ec1cacaf366a7b5b58be05f86f14df1076a7ee5cd71f5a 20:57:40 % Total % Received % Xferd Average Speed Time Time Time Current 20:57:40 Dload Upload Total Spent Left Speed 20:57:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9630 --:--:-- --:--:-- --:--:-- 9630 20:57:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/5e3388642c5a996d213cfd67c5b8f75c1e5d53da [Pipeline] } 20:57:40 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 20:57:42 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-399/archives ] 20:57:42 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-399/archives 20:57:42 total 16 20:57:42 drwxr-xr-x 3 root root 4096 Jul 15 20:46 . 20:57:42 drwxrwxr-x 10 jenkins jenkins 4096 Jul 15 20:46 .. 20:57:42 drwxr-xr-x 2 root root 4096 Jul 15 20:46 cost 20:57:42 -rw-r--r-- 1 root root 86 Jul 15 20:46 cost.csv 20:57:42 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-399/archives 20:57:42 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-399/archives 20:57:42 total 16 20:57:42 drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 20:46 . 20:57:42 drwxrwxr-x 10 jenkins jenkins 4096 Jul 15 20:46 .. 20:57:42 drwxr-xr-x 2 jenkins jenkins 4096 Jul 15 20:46 cost 20:57:42 -rw-r--r-- 1 jenkins jenkins 86 Jul 15 20:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:57:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:57:44 ---> package-listing.sh 20:57:44 ++ facter osfamily 20:57:44 ++ tr '[:upper:]' '[:lower:]' 20:57:44 + OS_FAMILY=debian 20:57:44 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-399 20:57:44 + START_PACKAGES=/tmp/packages_start.txt 20:57:44 + END_PACKAGES=/tmp/packages_end.txt 20:57:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:57:44 + PACKAGES=/tmp/packages_start.txt 20:57:44 + '[' /w/workspace/gexfoundry_device-rest-go_PR-399 ']' 20:57:44 + PACKAGES=/tmp/packages_end.txt 20:57:44 + case "${OS_FAMILY}" in 20:57:44 + dpkg -l 20:57:44 + grep '^ii' 20:57:44 + '[' -f /tmp/packages_start.txt ']' 20:57:44 + '[' -f /tmp/packages_end.txt ']' 20:57:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:57:44 + '[' /w/workspace/gexfoundry_device-rest-go_PR-399 ']' 20:57:44 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-399/archives/ 20:57:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-399/archives/ [Pipeline] echo 20:57:44 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-399/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:57:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:57:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:45 prd-ubuntu20.04-docker-8c-8g-5666 does not seem to be running inside a container 20:57:45 $ 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-399/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-399 -v /w/workspace/gexfoundry_device-rest-go_PR-399:/w/workspace/gexfoundry_device-rest-go_PR-399:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-399@tmp:/w/workspace/gexfoundry_device-rest-go_PR-399@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:57:45 $ docker top 14c1cba3bbba11b5c1359dec8020ba10d36bbc99462245725bd98f9b5a2db9c0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:46 + touch /tmp/pre-build-complete [Pipeline] sh 20:57:46 + mkdir -p /var/log/sysstat [Pipeline] sh 20:57:46 + ls /var/log/sa-host 20:57:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:57:47 provisioning config files... 20:57:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-399@tmp/config2540392935105503823tmp [Pipeline] { [Pipeline] echo 20:57:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:57:47 ---> create-netrc.sh [Pipeline] } 20:57:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:57:48 ---> python-tools-install.sh [Pipeline] echo 20:57:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:57:48 ---> sudo-logs.sh 20:57:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:57:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:57:48 ---> job-cost.sh 20:57:48 lf-activate-venv: SKIPPING 20:57:48 DEBUG: total: 0.2199999988079071 20:57:48 INFO: Retrieving Stack Cost... 20:57:49 INFO: Retrieving Pricing Info for: v3-standard-8 20:57:49 INFO: Archiving Costs [Pipeline] echo 20:57:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:57:50 ---> logs-deploy.sh 20:57:50 lf-activate-venv: SKIPPING 20:57:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-399/1 20:57:50 INFO: archiving workspace using pattern(s): 20:57:51 Archives upload complete. 20:57:51 INFO: archiving logs to Nexus