Pull request #531 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 46de10706179617abcd3f4aa787411eea339f871+f1ae59df93e15168f5c84516dd369218cbd3ebf1 (1c2ec78fd765c73e7c36484bb04661c6cf13d9c5) 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-ssh17851831920041418478.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 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-ssh910112560716926238.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 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 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-virtual-go/branches/PR-531/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-virtual-go/branches/PR-531/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17679526270156613697.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-virtual-go/branches/PR-531/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1275850700250729998.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 5f16b0674693bda8419e7356c8caa12f8ebbbe1e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5f16b0674693bda8419e7356c8caa12f8ebbbe1e # timeout=10 Commit message: "Merge pull request #468 from cherrycl/issue-467" > 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-ssh6779430018924729520.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-virtual-go/branches/PR-531/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-virtual-go/branches/PR-531/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12490218550014447213.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 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 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-virtual-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-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 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-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-41773 in /w/workspace/foundry_device-virtual-go_PR-531 [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-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-531 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f1ae59df93e15168f5c84516dd369218cbd3ebf1 into PR head commit 46de10706179617abcd3f4aa787411eea339f871 Merge succeeded, producing 46de10706179617abcd3f4aa787411eea339f871 Checking out Revision 46de10706179617abcd3f4aa787411eea339f871 (PR-531) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-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-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/531/head:refs/remotes/origin/PR-531 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 46de10706179617abcd3f4aa787411eea339f871 # 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 f1ae59df93e15168f5c84516dd369218cbd3ebf1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 46de10706179617abcd3f4aa787411eea339f871 # timeout=10 Commit message: "build(deps): Bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 5f16b0674693bda8419e7356c8caa12f8ebbbe1e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:19:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:19:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:19:33 ========================================================= 22:19:33 EdgeX Global Pipelines Version Info 22:19:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:19:34 ------------------- 22:19:34 stable info: 22:19:34 ------------------- 22:19:34 Commited By: Cherry Wang cherry@iotechsys.com 22:19:34 Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 22:19:34 Message: update stable to v1.0.272 22:19:34 ------------------- 22:19:34 experimental info: 22:19:34 ------------------- 22:19:34 Commited By: **** collab-it+edgex@linuxfoundation.org 22:19:34 Commit SHA: 7c45c8a198bad082eec5dc6eba334c557e460952 22:19:34 Message: update experimental to v1.0.273 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:19:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 22:19:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 22:19:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:19:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:19:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:19:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 22:19:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:19:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:19:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:19:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:19:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:19:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 22:19:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:19:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:19:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:19:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:19:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:19:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:19:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:19:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:19:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:19:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:19:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:19:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:19:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:19:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:19:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:19:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-531 [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-531 [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-531 [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 46de10706179617abcd3f4aa787411eea339f871 [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 46de107 [Pipeline] echo 22:19:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:19:37 provisioning config files... 22:19:37 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-531@tmp/config11439653202463888826tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:37 ---> ****-login.sh 22:19:37 nexus3.edgexfoundry.org:10001 22:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:19:38 Configure a credential helper to remove this warning. See 22:19:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:19:38 22:19:38 Login Succeeded 22:19:38 nexus3.edgexfoundry.org:10002 22:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:19:38 Configure a credential helper to remove this warning. See 22:19:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:19:38 22:19:38 Login Succeeded 22:19:38 nexus3.edgexfoundry.org:10003 22:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:19:38 Configure a credential helper to remove this warning. See 22:19:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:19:38 22:19:38 Login Succeeded 22:19:38 nexus3.edgexfoundry.org:10004 22:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:19:38 Configure a credential helper to remove this warning. See 22:19:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:19:38 22:19:38 Login Succeeded 22:19:38 ****.io 22:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:19:38 Configure a credential helper to remove this warning. See 22:19:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:19:38 22:19:38 Login Succeeded 22:19:38 ---> ****-login.sh ends [Pipeline] } 22:19:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:19:39 + git rev-list -1 --merges 46de10706179617abcd3f4aa787411eea339f871~1..46de10706179617abcd3f4aa787411eea339f871 [Pipeline] echo 22:19:39 -----------> git rev-list -1 --merges 46de10706179617abcd3f4aa787411eea339f871~1..46de10706179617abcd3f4aa787411eea339f871 46de10706179617abcd3f4aa787411eea339f871 [false] [Pipeline] sh 22:19:39 + git log --format=format:%s -1 46de10706179617abcd3f4aa787411eea339f871 [Pipeline] echo 22:19:39 ========================================================= 22:19:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:19:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:19:40 + git log --format=format:%s -1 46de10706179617abcd3f4aa787411eea339f871 [Pipeline] echo 22:19:40 [semverPrep] GIT_COMMIT: 46de10706179617abcd3f4aa787411eea339f871, Commit Message: build(deps): Bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 [Pipeline] echo 22:19:40 [semverPrep] This is not a build commit. [Pipeline] sh 22:19:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:19:40 + grep -v github /etc/ssh/ssh_known_hosts 22:19:40 + [ -e /tmp/ssh_known_hosts ] 22:19:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:19:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:19:40 + sudo tee -a /etc/ssh/ssh_known_hosts 22:19:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:19:41 22:19:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:19:41 0.1.4: Pulling from edgex-devops/py-git-semver 22:19:41 b85a868b505f: Pulling fs layer 22:19:41 e2be974225ed: Pulling fs layer 22:19:41 339a4e72a1f5: Pulling fs layer 22:19:41 988bab9f4d93: Pulling fs layer 22:19:41 1469e6f7b9e6: Pulling fs layer 22:19:41 eaf3925da568: Pulling fs layer 22:19:41 bab4dde63d76: Pulling fs layer 22:19:41 bde34c3a00c8: Pulling fs layer 22:19:41 b352a97aabf1: Pulling fs layer 22:19:41 4872d77fe225: Pulling fs layer 22:19:41 5851b861e8e6: Pulling fs layer 22:19:41 1469e6f7b9e6: Waiting 22:19:41 eaf3925da568: Waiting 22:19:41 bab4dde63d76: Waiting 22:19:41 988bab9f4d93: Waiting 22:19:41 4872d77fe225: Waiting 22:19:41 bde34c3a00c8: Waiting 22:19:41 5851b861e8e6: Waiting 22:19:41 b352a97aabf1: Waiting 22:19:41 e2be974225ed: Verifying Checksum 22:19:41 e2be974225ed: Download complete 22:19:41 988bab9f4d93: Verifying Checksum 22:19:41 988bab9f4d93: Download complete 22:19:41 1469e6f7b9e6: Verifying Checksum 22:19:41 1469e6f7b9e6: Download complete 22:19:41 eaf3925da568: Download complete 22:19:41 339a4e72a1f5: Verifying Checksum 22:19:41 339a4e72a1f5: Download complete 22:19:41 bde34c3a00c8: Download complete 22:19:41 b352a97aabf1: Download complete 22:19:41 4872d77fe225: Download complete 22:19:41 5851b861e8e6: Download complete 22:19:42 b85a868b505f: Verifying Checksum 22:19:42 b85a868b505f: Download complete 22:19:42 bab4dde63d76: Verifying Checksum 22:19:42 bab4dde63d76: Download complete 22:19:42 b85a868b505f: Pull complete 22:19:43 e2be974225ed: Pull complete 22:19:43 339a4e72a1f5: Pull complete 22:19:43 988bab9f4d93: Pull complete 22:19:44 1469e6f7b9e6: Pull complete 22:19:44 eaf3925da568: Pull complete 22:19:45 bab4dde63d76: Pull complete 22:19:45 bde34c3a00c8: Pull complete 22:19:46 b352a97aabf1: Pull complete 22:19:46 4872d77fe225: Pull complete 22:19:46 5851b861e8e6: Pull complete 22:19:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:19:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:19:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:46 prd-ubuntu20.04-docker-8c-8g-41773 does not seem to be running inside a container 22:19:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-531 -v /w/workspace/foundry_device-virtual-go_PR-531:/w/workspace/foundry_device-virtual-go_PR-531:rw,z -v /w/workspace/foundry_device-virtual-go_PR-531@tmp:/w/workspace/foundry_device-virtual-go_PR-531@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 22:19:49 $ docker top 5200818f4fc77fd68d66a13ade2aab7dee625b4ca38ffd95e2bc08758819f681 -eo pid,comm 22:19:49 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). 22:19:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:19:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:19:50 [ssh-agent] Looking for ssh-agent implementation... 22:19:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:19:50 $ docker exec 5200818f4fc77fd68d66a13ade2aab7dee625b4ca38ffd95e2bc08758819f681 ssh-agent 22:19:50 SSH_AUTH_SOCK=/tmp/ssh-lO4vmxUtfsWR/agent.32 22:19:50 SSH_AGENT_PID=38 22:19:50 Running ssh-add (command line suppressed) 22:19:50 Identity added: /w/workspace/foundry_device-virtual-go_PR-531@tmp/private_key_4365106647620753438.key (/w/workspace/foundry_device-virtual-go_PR-531@tmp/private_key_4365106647620753438.key) 22:19:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:19:50 + git tag --points-at HEAD [Pipeline] } 22:19:50 $ docker exec --env ******** --env ******** 5200818f4fc77fd68d66a13ade2aab7dee625b4ca38ffd95e2bc08758819f681 ssh-agent -k 22:19:50 unset SSH_AUTH_SOCK; 22:19:50 unset SSH_AGENT_PID; 22:19:50 echo Agent pid 38 killed; 22:19:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:19:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:19:51 [ssh-agent] Looking for ssh-agent implementation... 22:19:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:19:51 $ docker exec 5200818f4fc77fd68d66a13ade2aab7dee625b4ca38ffd95e2bc08758819f681 ssh-agent 22:19:51 SSH_AUTH_SOCK=/tmp/ssh-BGAYGmboxlyj/agent.71 22:19:51 SSH_AGENT_PID=77 22:19:51 Running ssh-add (command line suppressed) 22:19:51 Identity added: /w/workspace/foundry_device-virtual-go_PR-531@tmp/private_key_17432761663507045404.key (/w/workspace/foundry_device-virtual-go_PR-531@tmp/private_key_17432761663507045404.key) 22:19:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:19:51 + git semver init 22:19:51 2025-03-21 22:19:51,973 [run_init] DEBUG init version:0.0.0 force:False 22:19:51 2025-03-21 22:19:51,974 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-531/.semver 22:19:51 2025-03-21 22:19:51,974 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-531/.semver 22:19:51 2025-03-21 22:19:51,975 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-531/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-531, universal_newlines=False, shell=None, istream=None) 22:19:53 2025-03-21 22:19:53,347 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-531/.git/info/exclude 22:19:53 2025-03-21 22:19:53,348 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-531/.semver/PR-531 with force:False 22:19:53 2025-03-21 22:19:53,348 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-531/.semver/PR-531 22:19:53 2025-03-21 22:19:53,352 [execute] INFO git cat-file --batch-check 22:19:53 2025-03-21 22:19:53,353 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-531/.semver, universal_newlines=False, shell=None, istream=) 22:19:53 2025-03-21 22:19:53,360 [execute] INFO git cat-file --batch 22:19:53 2025-03-21 22:19:53,361 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-531/.semver, universal_newlines=False, shell=None, istream=) 22:19:53 2025-03-21 22:19:53,367 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-531/.semver/PR-531 22:19:53 0.0.0 [Pipeline] } 22:19:53 $ docker exec --env ******** --env ******** 5200818f4fc77fd68d66a13ade2aab7dee625b4ca38ffd95e2bc08758819f681 ssh-agent -k 22:19:53 unset SSH_AUTH_SOCK; 22:19:53 unset SSH_AGENT_PID; 22:19:53 echo Agent pid 77 killed; 22:19:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:19:54 + git semver [Pipeline] } 22:19:54 $ docker stop --time=1 5200818f4fc77fd68d66a13ade2aab7dee625b4ca38ffd95e2bc08758819f681 22:19:55 $ docker rm -f --volumes 5200818f4fc77fd68d66a13ade2aab7dee625b4ca38ffd95e2bc08758819f681 [Pipeline] // withDockerContainer [Pipeline] sh 22:19:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:19:56 Stashed 1 file(s) [Pipeline] echo 22:19:56 [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:19:57 provisioning config files... 22:19:57 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-531@tmp/config10245179182176545264tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 22:19:58 ---> ****-login.sh 22:19:58 nexus3.edgexfoundry.org:10001 22:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:19:58 Configure a credential helper to remove this warning. See 22:19:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:19:58 22:19:58 Login Succeeded 22:19:58 nexus3.edgexfoundry.org:10002 22:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:19:58 Configure a credential helper to remove this warning. See 22:19:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:19:58 22:19:58 Login Succeeded 22:19:58 nexus3.edgexfoundry.org:10003 22:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:19:58 Configure a credential helper to remove this warning. See 22:19:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:19:58 22:19:58 Login Succeeded 22:19:58 nexus3.edgexfoundry.org:10004 22:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:19:58 Configure a credential helper to remove this warning. See 22:19:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:19:58 22:19:58 Login Succeeded 22:19:58 ****.io 22:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:19:58 Configure a credential helper to remove this warning. See 22:19:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:19:58 22:19:58 Login Succeeded 22:19:58 ---> ****-login.sh ends [Pipeline] } 22:19:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:19:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 22:19:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 22:19:58 ========================================================= 22:19:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 22:19:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:59 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 22:19:59 Sending build context to Docker daemon 40.75MB 22:19:59 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 22:19:59 Step 2/12 : FROM ${BASE} AS builder 22:19:59 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 22:19:59 da9db072f522: Pulling fs layer 22:19:59 6ef4a4ee8ca5: Pulling fs layer 22:19:59 06f05ace1117: Pulling fs layer 22:19:59 5fe327b54edc: Pulling fs layer 22:19:59 4f4fb700ef54: Pulling fs layer 22:19:59 92a5565b7b96: Pulling fs layer 22:19:59 ff9bb7016b71: Pulling fs layer 22:19:59 b67dba6c2c7d: Pulling fs layer 22:19:59 5fe327b54edc: Waiting 22:19:59 4f4fb700ef54: Waiting 22:19:59 ff9bb7016b71: Waiting 22:19:59 92a5565b7b96: Waiting 22:19:59 a813b0c90790: Pulling fs layer 22:19:59 b67dba6c2c7d: Waiting 22:19:59 a813b0c90790: Waiting 22:19:59 6ef4a4ee8ca5: Download complete 22:19:59 5fe327b54edc: Verifying Checksum 22:19:59 5fe327b54edc: Download complete 22:19:59 4f4fb700ef54: Verifying Checksum 22:19:59 4f4fb700ef54: Download complete 22:19:59 92a5565b7b96: Verifying Checksum 22:19:59 92a5565b7b96: Download complete 22:19:59 da9db072f522: Download complete 22:19:59 ff9bb7016b71: Verifying Checksum 22:19:59 ff9bb7016b71: Download complete 22:19:59 da9db072f522: Pull complete 22:19:59 a813b0c90790: Verifying Checksum 22:19:59 a813b0c90790: Download complete 22:19:59 6ef4a4ee8ca5: Pull complete 22:20:00 06f05ace1117: Download complete 22:20:00 b67dba6c2c7d: Verifying Checksum 22:20:00 b67dba6c2c7d: Download complete 22:20:03 06f05ace1117: Pull complete 22:20:03 5fe327b54edc: Pull complete 22:20:03 4f4fb700ef54: Pull complete 22:20:04 92a5565b7b96: Pull complete 22:20:04 ff9bb7016b71: Pull complete 22:20:06 b67dba6c2c7d: Pull complete 22:20:07 a813b0c90790: Pull complete 22:20:07 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 22:20:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 22:20:07 ---> 3ba60ce46760 22:20:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:20:10 ---> Running in 95b36eec1125 22:20:10 Removing intermediate container 95b36eec1125 22:20:10 ---> b8bfda655e40 22:20:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:20:10 ---> Running in 7a9b656391ba 22:20:10 Removing intermediate container 7a9b656391ba 22:20:10 ---> 5657fb022359 22:20:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:20:10 ---> Running in eb2d24dcfcdf 22:20:10 Removing intermediate container eb2d24dcfcdf 22:20:10 ---> 643c27498b41 22:20:10 Step 6/12 : WORKDIR /device-virtual-go 22:20:10 ---> Running in e300990cfe7a 22:20:10 Removing intermediate container e300990cfe7a 22:20:10 ---> b53988f846f6 22:20:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:20:10 ---> Running in 14c08c547cbc 22:20:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:20:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:20:10 (1/4) Installing openssh-keygen (9.7_p1-r5) 22:20:10 (2/4) Installing libedit (20240517.3.1-r0) 22:20:10 (3/4) Installing openssh-client-common (9.7_p1-r5) 22:20:10 (4/4) Installing openssh-client-default (9.7_p1-r5) 22:20:10 Executing busybox-1.36.1-r29.trigger 22:20:10 OK: 252 MiB in 62 packages 22:20:11 Removing intermediate container 14c08c547cbc 22:20:11 ---> 1f1a8416fb27 22:20:11 Step 8/12 : COPY go.mod vendor* ./ 22:20:11 ---> c42819863331 22:20:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:20:11 ---> Running in ade9a28bbf96 22:20:50 Removing intermediate container ade9a28bbf96 22:20:50 ---> 12d0375f29e3 22:20:50 Step 10/12 : COPY . . 22:20:50 ---> d5d4a3b65ed2 22:20:50 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:20:50 ---> Running in be402dcb028d 22:20:50 Removing intermediate container be402dcb028d 22:20:50 ---> cb8cd923e341 22:20:50 Step 12/12 : RUN $MAKE 22:20:50 ---> Running in 62577dc84738 22:20:50 noop 22:20:50 Removing intermediate container 62577dc84738 22:20:50 ---> abcfcec9497a 22:20:50 Successfully built abcfcec9497a 22:20:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:50 + docker inspect -f . ci-base-image-x86_64 22:20:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:51 prd-ubuntu20.04-docker-8c-8g-41773 does not seem to be running inside a container 22:20:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-531 -v /w/workspace/foundry_device-virtual-go_PR-531:/w/workspace/foundry_device-virtual-go_PR-531:rw,z -v /w/workspace/foundry_device-virtual-go_PR-531@tmp:/w/workspace/foundry_device-virtual-go_PR-531@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 22:20:51 $ docker top 118f73cc18ae785a82a995ec3ae73ad7174b7b6aae1025efa88c885222c6b1d8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:51 + go version 22:20:51 go version go1.23.4 linux/amd64 [Pipeline] } 22:20:51 $ docker stop --time=1 118f73cc18ae785a82a995ec3ae73ad7174b7b6aae1025efa88c885222c6b1d8 22:20:53 $ docker rm -f --volumes 118f73cc18ae785a82a995ec3ae73ad7174b7b6aae1025efa88c885222c6b1d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:54 + docker inspect -f . ci-base-image-x86_64 22:20:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:54 prd-ubuntu20.04-docker-8c-8g-41773 does not seem to be running inside a container 22:20:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-531 -v /w/workspace/foundry_device-virtual-go_PR-531:/w/workspace/foundry_device-virtual-go_PR-531:rw,z -v /w/workspace/foundry_device-virtual-go_PR-531@tmp:/w/workspace/foundry_device-virtual-go_PR-531@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 22:20:54 $ docker top e707ed416df6cd1185f36bb298be2cafff120e9ba3c37af8d4f57d1d38a91ec2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:54 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-531 [Pipeline] fileExists [Pipeline] sh 22:20:55 + make test 22:20:55 go test ./... -coverprofile=coverage.out 22:20:56 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:21:18 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 22:21:18 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.013s coverage: 58.4% of statements 22:21:28 go vet ./... 22:21:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:21:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:21:33 ./bin/test-attribution-txt.sh [Pipeline] echo 22:21:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 22:21:34 $ docker stop --time=1 e707ed416df6cd1185f36bb298be2cafff120e9ba3c37af8d4f57d1d38a91ec2 22:21:36 $ docker rm -f --volumes e707ed416df6cd1185f36bb298be2cafff120e9ba3c37af8d4f57d1d38a91ec2 [Pipeline] // withDockerContainer [Pipeline] sh 22:21:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:21:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:21:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:21:38 + ls -al . 22:21:38 total 268 22:21:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 22:20 . 22:21:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 22:19 .. 22:21:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 22:21 .git 22:21:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 22:19 .github 22:21:38 -rw-rw-r-- 1 jenkins jenkins 272 Mar 21 22:19 .gitignore 22:21:38 -rw-rw-r-- 1 jenkins jenkins 199 Mar 21 22:19 .golangci.yml 22:21:38 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 22:19 .semver 22:21:38 -rw-rw-r-- 1 jenkins jenkins 18321 Mar 21 22:19 Attribution.txt 22:21:38 -rw-rw-r-- 1 jenkins jenkins 17302 Mar 21 22:19 CHANGELOG.md 22:21:38 -rw-rw-r-- 1 jenkins jenkins 1755 Mar 21 22:19 Dockerfile 22:21:38 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 22:19 GOVERNANCE.md 22:21:38 -rw-rw-r-- 1 jenkins jenkins 660 Mar 21 22:19 Jenkinsfile 22:21:38 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 22:19 LICENSE 22:21:38 -rw-rw-r-- 1 jenkins jenkins 2652 Mar 21 22:19 Makefile 22:21:38 -rw-rw-r-- 1 jenkins jenkins 623 Mar 21 22:19 OWNERS.md 22:21:38 -rw-rw-r-- 1 jenkins jenkins 4473 Mar 21 22:19 README.md 22:21:38 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 22:19 VERSION 22:21:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 22:19 bin 22:21:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 22:19 cmd 22:21:38 -rw-r--r-- 1 jenkins jenkins 43316 Mar 21 22:21 coverage.out 22:21:38 -rw-rw-r-- 1 jenkins jenkins 6032 Mar 21 22:19 go.mod 22:21:38 -rw-rw-r-- 1 jenkins jenkins 86532 Mar 21 22:19 go.sum 22:21:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 22:19 internal 22:21:38 -rw-rw-r-- 1 jenkins jenkins 235 Mar 21 22:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:38 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=46de10706179617abcd3f4aa787411eea339f871 --label arch=amd64 --label version=0.0.0 . 22:21:38 Sending build context to Docker daemon 40.79MB 22:21:38 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 22:21:38 Step 2/26 : FROM ${BASE} AS builder 22:21:38 ---> abcfcec9497a 22:21:38 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:21:38 ---> Running in 4c41af3ea792 22:21:39 Removing intermediate container 4c41af3ea792 22:21:39 ---> be1f122b7597 22:21:39 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:21:39 ---> Running in 201754f1b63c 22:21:39 Removing intermediate container 201754f1b63c 22:21:39 ---> 71fd33a18f8b 22:21:39 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:21:39 ---> Running in 4b5202f22100 22:21:39 Removing intermediate container 4b5202f22100 22:21:39 ---> 224a96480a32 22:21:39 Step 6/26 : WORKDIR /device-virtual-go 22:21:39 ---> Running in ce8b2ffc6a38 22:21:39 Removing intermediate container ce8b2ffc6a38 22:21:39 ---> 9f1d5d9d7122 22:21:39 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:21:39 ---> Running in cd80ebd7fc76 22:21:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:21:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:21:39 OK: 252 MiB in 62 packages 22:21:40 Removing intermediate container cd80ebd7fc76 22:21:40 ---> a02d299f1372 22:21:40 Step 8/26 : COPY go.mod vendor* ./ 22:21:40 ---> 5c32c0ba0783 22:21:40 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:21:40 ---> Running in 6f223ff8d127 22:21:41 Removing intermediate container 6f223ff8d127 22:21:41 ---> fecd2ebf3590 22:21:41 Step 10/26 : COPY . . 22:21:42 ---> eea8eb7dc51b 22:21:42 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:21:42 ---> Running in db118bd018a3 22:21:42 Removing intermediate container db118bd018a3 22:21:42 ---> 1af645b1b820 22:21:42 Step 12/26 : RUN $MAKE 22:21:42 ---> Running in 509e32e1355e 22:21:42 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 22:22:14 Removing intermediate container 509e32e1355e 22:22:14 ---> cbf91c59a994 22:22:14 Step 13/26 : FROM alpine:3.20 22:22:14 3.20: Pulling from library/alpine 22:22:14 0a9a5dfd008f: Pulling fs layer 22:22:14 0a9a5dfd008f: Verifying Checksum 22:22:14 0a9a5dfd008f: Download complete 22:22:15 0a9a5dfd008f: Pull complete 22:22:15 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 22:22:15 Status: Downloaded newer image for alpine:3.20 22:22:15 ---> ff221270b9fb 22:22:15 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:22:15 ---> Running in 634703ff4b93 22:22:15 Removing intermediate container 634703ff4b93 22:22:15 ---> 30c9f43ff31d 22:22:15 Step 15/26 : RUN apk add --update --no-cache dumb-init 22:22:15 ---> Running in fd0c13a5d44b 22:22:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:22:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:22:16 (1/1) Installing dumb-init (1.2.5-r3) 22:22:16 Executing busybox-1.36.1-r29.trigger 22:22:16 OK: 8 MiB in 15 packages 22:22:16 Removing intermediate container fd0c13a5d44b 22:22:16 ---> 9da738036537 22:22:16 Step 16/26 : RUN apk --no-cache upgrade 22:22:16 ---> Running in d9f1e0c1c7fb 22:22:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:22:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:22:17 OK: 8 MiB in 15 packages 22:22:17 Removing intermediate container d9f1e0c1c7fb 22:22:17 ---> d2a06d3c5b4e 22:22:17 Step 17/26 : WORKDIR / 22:22:17 ---> Running in a15bdfda298b 22:22:17 Removing intermediate container a15bdfda298b 22:22:17 ---> 55b6cdb938d3 22:22:17 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:22:17 ---> 10a593440d92 22:22:17 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 22:22:17 ---> b28081b3877f 22:22:17 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 22:22:18 ---> e6324a9f6756 22:22:18 Step 21/26 : EXPOSE 59900 22:22:18 ---> Running in 83c982eca962 22:22:18 Removing intermediate container 83c982eca962 22:22:18 ---> b871669cdce5 22:22:18 Step 22/26 : ENTRYPOINT ["/device-virtual"] 22:22:18 ---> Running in e77d9e826c1f 22:22:18 Removing intermediate container e77d9e826c1f 22:22:18 ---> fe394cc8a4e5 22:22:18 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 22:22:18 ---> Running in e4e69d0733ae 22:22:18 Removing intermediate container e4e69d0733ae 22:22:18 ---> b93af6bd9d0b 22:22:18 Step 24/26 : LABEL arch=amd64 22:22:18 ---> Running in 626597df33f9 22:22:19 Removing intermediate container 626597df33f9 22:22:19 ---> 393a2e9a4f6b 22:22:19 Step 25/26 : LABEL git_sha=46de10706179617abcd3f4aa787411eea339f871 22:22:19 ---> Running in 44dc1271f741 22:22:19 Removing intermediate container 44dc1271f741 22:22:19 ---> 768a56b419b7 22:22:19 Step 26/26 : LABEL version=0.0.0 22:22:19 ---> Running in 2e3198f6401e 22:22:19 Removing intermediate container 2e3198f6401e 22:22:19 ---> 1a1f44c1dd1a 22:22:19 [Warning] One or more build-args [ARCH] were not consumed 22:22:19 Successfully built 1a1f44c1dd1a 22:22:19 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:22:20 22:22:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:22:20 latest: Pulling from edgex-lftools-log-publisher 22:22:20 5eb5b503b376: Pulling fs layer 22:22:20 5c69ac0246d0: Pulling fs layer 22:22:20 ec43610c2a17: Pulling fs layer 22:22:20 3a2ae6a8a46f: Pulling fs layer 22:22:20 33b1e0a273af: Pulling fs layer 22:22:20 5d3b04190fa2: Pulling fs layer 22:22:20 2f39f015ded8: Pulling fs layer 22:22:20 33b1e0a273af: Waiting 22:22:20 5d3b04190fa2: Waiting 22:22:20 2f39f015ded8: Waiting 22:22:20 3a2ae6a8a46f: Waiting 22:22:20 5c69ac0246d0: Download complete 22:22:20 3a2ae6a8a46f: Verifying Checksum 22:22:20 3a2ae6a8a46f: Download complete 22:22:20 33b1e0a273af: Download complete 22:22:20 5d3b04190fa2: Verifying Checksum 22:22:20 5d3b04190fa2: Download complete 22:22:20 ec43610c2a17: Verifying Checksum 22:22:20 ec43610c2a17: Download complete 22:22:20 5eb5b503b376: Verifying Checksum 22:22:20 5eb5b503b376: Download complete 22:22:21 2f39f015ded8: Download complete 22:22:22 5eb5b503b376: Pull complete 22:22:22 5c69ac0246d0: Pull complete 22:22:22 ec43610c2a17: Pull complete 22:22:22 3a2ae6a8a46f: Pull complete 22:22:23 33b1e0a273af: Pull complete 22:22:23 5d3b04190fa2: Pull complete 22:22:28 2f39f015ded8: Pull complete 22:22:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:22:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:22:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:28 prd-ubuntu20.04-docker-8c-8g-41773 does not seem to be running inside a container 22:22:28 $ 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/foundry_device-virtual-go_PR-531 -v /w/workspace/foundry_device-virtual-go_PR-531:/w/workspace/foundry_device-virtual-go_PR-531:rw,z -v /w/workspace/foundry_device-virtual-go_PR-531@tmp:/w/workspace/foundry_device-virtual-go_PR-531@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 22:22:30 $ docker top 049eb29588310a86c653b809b1127f62bfd166c63c02ee1e5332bc67d11c444b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:22:31 ---> job-cost.sh 22:22:31 lf-activate-venv: SKIPPING 22:22:31 INFO: No Stack... 22:22:31 INFO: Retrieving Pricing Info for: v3-standard-8 22:22:31 INFO: Archiving Costs [Pipeline] sh 22:22:32 + cat /w/workspace/foundry_device-virtual-go_PR-531/archives/cost.csv 22:22:32 + cut -d, -f6 [Pipeline] lock 22:22:32 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-531-1-stack-cost] 22:22:32 Resource [jenkins-edgexfoundry-device-virtual-go-PR-531-1-stack-cost] did not exist. Created. 22:22:32 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-531-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:22:32 + echo total: 0.2199999988079071 [Pipeline] stash 22:22:32 Stashed 1 file(s) [Pipeline] } 22:22:32 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-531-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:22:32 $ docker stop --time=1 049eb29588310a86c653b809b1127f62bfd166c63c02ee1e5332bc67d11c444b 22:22:33 $ docker rm -f --volumes 049eb29588310a86c653b809b1127f62bfd166c63c02ee1e5332bc67d11c444b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:22:34 provisioning config files... 22:22:34 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-531@tmp/config2710862274387586645tmp [Pipeline] { [Pipeline] sh 22:22:34 + set +x 22:22:34 + bash -s -- 22:22:34 + curl -s https://codecov.io/bash 22:22:34 22:22:34 _____ _ 22:22:34 / ____| | | 22:22:34 | | ___ __| | ___ ___ _____ __ 22:22:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:22:34 | |___| (_) | (_| | __/ (_| (_) \ V / 22:22:34 \_____\___/ \__,_|\___|\___\___/ \_/ 22:22:34 Bash-1.0.6 22:22:34 22:22:34 22:22:34 ==> git version 2.25.1 found 22:22:34 ==> 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 22:22:34 Release-Date: 2020-01-08 22:22:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:22:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:22:34 ==> Jenkins CI detected. 22:22:34 current dir:  /w/workspace/foundry_device-virtual-go_PR-531 22:22:34 project root: . 22:22:34 --> token set from env 22:22:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:22:34 ==> Running gcov in . (disable via -X gcov) 22:22:34 ==> Python coveragepy not found 22:22:34 ==> Searching for coverage reports in: 22:22:34 + . 22:22:34 -> Found 1 reports 22:22:34 ==> Detecting git/mercurial file structure 22:22:34 ==> Reading reports 22:22:34 + ./coverage.out bytes=43316 22:22:35 ==> Appending adjustments 22:22:35 https://docs.codecov.io/docs/fixing-reports 22:22:35 + Found adjustments 22:22:35 ==> Gzipping contents 22:22:35 8.0K /tmp/codecov.tWDufF.gz 22:22:35 ==> Uploading reports 22:22:35 url: https://codecov.io 22:22:35 query: branch=PR-531&commit=46de10706179617abcd3f4aa787411eea339f871&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-531%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=531&job=&cmd_args= 22:22:35 -> Pinging Codecov 22:22:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-531&commit=46de10706179617abcd3f4aa787411eea339f871&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-531%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=531&job=&cmd_args= 22:22:35 -> Uploading to 22:22:35 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-virtual-go/46de10706179617abcd3f4aa787411eea339f871/86e4ed15-ca18-49c1-ad49-96f56ca0e31b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250321%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250321T222235Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=858d667a88fbf95452bc0e365669a00298b47d6b73c1ed6f3b0ea371df78cc17 22:22:35 % Total % Received % Xferd Average Speed Time Time Time Current 22:22:35 Dload Upload Total Spent Left Speed 22:22:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5039 0 0 100 5039 0 33593 --:--:-- --:--:-- --:--:-- 33593 22:22:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/46de10706179617abcd3f4aa787411eea339f871 [Pipeline] } 22:22:35 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 22:22:37 + [ -d /w/workspace/foundry_device-virtual-go_PR-531/archives ] 22:22:37 + ls -al /w/workspace/foundry_device-virtual-go_PR-531/archives 22:22:37 total 16 22:22:37 drwxr-xr-x 3 root root 4096 Mar 21 22:22 . 22:22:37 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 22:22 .. 22:22:37 drwxr-xr-x 2 root root 4096 Mar 21 22:22 cost 22:22:37 -rw-r--r-- 1 root root 89 Mar 21 22:22 cost.csv 22:22:37 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-531/archives 22:22:37 + ls -al /w/workspace/foundry_device-virtual-go_PR-531/archives 22:22:37 total 16 22:22:37 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 22:22 . 22:22:37 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 22:22 .. 22:22:37 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 22:22 cost 22:22:37 -rw-r--r-- 1 jenkins jenkins 89 Mar 21 22:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:22:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:22:38 ---> package-listing.sh 22:22:38 ++ facter osfamily 22:22:38 ++ tr '[:upper:]' '[:lower:]' 22:22:39 + OS_FAMILY=debian 22:22:39 + workspace=/w/workspace/foundry_device-virtual-go_PR-531 22:22:39 + START_PACKAGES=/tmp/packages_start.txt 22:22:39 + END_PACKAGES=/tmp/packages_end.txt 22:22:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:22:39 + PACKAGES=/tmp/packages_start.txt 22:22:39 + '[' /w/workspace/foundry_device-virtual-go_PR-531 ']' 22:22:39 + PACKAGES=/tmp/packages_end.txt 22:22:39 + case "${OS_FAMILY}" in 22:22:39 + dpkg -l 22:22:39 + grep '^ii' 22:22:39 + '[' -f /tmp/packages_start.txt ']' 22:22:39 + '[' -f /tmp/packages_end.txt ']' 22:22:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:22:39 + '[' /w/workspace/foundry_device-virtual-go_PR-531 ']' 22:22:39 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-531/archives/ 22:22:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-531/archives/ [Pipeline] echo 22:22:39 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/foundry_device-virtual-go_PR-531/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:22:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:22:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:40 prd-ubuntu20.04-docker-8c-8g-41773 does not seem to be running inside a container 22:22:40 $ 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/foundry_device-virtual-go_PR-531/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-531 -v /w/workspace/foundry_device-virtual-go_PR-531:/w/workspace/foundry_device-virtual-go_PR-531:rw,z -v /w/workspace/foundry_device-virtual-go_PR-531@tmp:/w/workspace/foundry_device-virtual-go_PR-531@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 22:22:40 $ docker top 11f96e2d36918b2fb152bd3f60c972e629e6c487818805b7c00b0aa889b6058a -eo pid,comm [Pipeline] { [Pipeline] sh 22:22:40 + touch /tmp/pre-build-complete [Pipeline] sh 22:22:41 + mkdir -p /var/log/sysstat [Pipeline] sh 22:22:41 + ls /var/log/sa-host 22:22:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:22:41 provisioning config files... 22:22:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-531@tmp/config1043356974999742296tmp [Pipeline] { [Pipeline] echo 22:22:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:22:42 ---> create-netrc.sh [Pipeline] } 22:22:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:22:42 ---> python-tools-install.sh [Pipeline] echo 22:22:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:22:42 ---> sudo-logs.sh 22:22:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:22:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:22:43 ---> job-cost.sh 22:22:43 lf-activate-venv: SKIPPING 22:22:43 DEBUG: total: 0.2199999988079071 22:22:43 INFO: Retrieving Stack Cost... 22:22:43 INFO: Retrieving Pricing Info for: v3-standard-8 22:22:43 INFO: Archiving Costs [Pipeline] echo 22:22:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:22:44 ---> logs-deploy.sh 22:22:44 lf-activate-venv: SKIPPING 22:22:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-531/1 22:22:44 INFO: archiving workspace using pattern(s): 22:22:45 Archives upload complete. 22:22:45 INFO: archiving logs to Nexus