Pull request #523 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 95e3459f8cb75d8b475887a7ecff1900ebaaa7ed+10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 (02a6faae7857e22a3be7951247c24594f7909109) 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-ssh2726459491556759358.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh1834775625083807236.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-523/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-523/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16989399373020807426.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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 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-ssh12241947826728748533.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-523/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-523/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh443306344028438482.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-40297 in /w/workspace/foundry_device-virtual-go_PR-523 [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-523 # 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 > 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 Merging remotes/origin/main commit 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 into PR head commit 95e3459f8cb75d8b475887a7ecff1900ebaaa7ed Merge succeeded, producing 4a0aa5c39d8c5143ff320418672b401584f4d85a Checking out Revision 4a0aa5c39d8c5143ff320418672b401584f4d85a (PR-523) > 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/523/head:refs/remotes/origin/PR-523 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 95e3459f8cb75d8b475887a7ecff1900ebaaa7ed # 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 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a0aa5c39d8c5143ff320418672b401584f4d85a # timeout=10 Commit message: "Merge commit '10c0576949a063dd5cf6a91dd144b4cdf6afd1d5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:03:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:03:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:03:59 ========================================================= 10:03:59 EdgeX Global Pipelines Version Info 10:03:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 31bee89f5cd4d6aeb791d9963f32603b7596545d # timeout=10 10:04:00 ------------------- 10:04:00 stable info: 10:04:00 ------------------- 10:04:00 Commited By: Cherry Wang cherry@iotechsys.com 10:04:00 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 10:04:00 Message: update stable to v1.0.269 10:04:00 ------------------- 10:04:00 experimental info: 10:04:00 ------------------- 10:04:00 Commited By: Ginny Guan ginny@iotechsys.com 10:04:00 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 10:04:00 Message: update experimental to stable [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:04:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 10:04:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 10:04:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:04:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:04:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:04:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 10:04:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:04:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:04:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:04:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-523 [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-523 [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-523 [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a0aa5c39d8c5143ff320418672b401584f4d85a [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a0aa5c [Pipeline] echo 10:04:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:04:01 provisioning config files... 10:04:01 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-523@tmp/config2086149232348756206tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:04:01 ---> ****-login.sh 10:04:01 nexus3.edgexfoundry.org:10001 10:04:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:02 Configure a credential helper to remove this warning. See 10:04:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:02 10:04:02 Login Succeeded 10:04:02 nexus3.edgexfoundry.org:10002 10:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:02 Configure a credential helper to remove this warning. See 10:04:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:02 10:04:02 Login Succeeded 10:04:02 nexus3.edgexfoundry.org:10003 10:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:02 Configure a credential helper to remove this warning. See 10:04:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:02 10:04:02 Login Succeeded 10:04:02 nexus3.edgexfoundry.org:10004 10:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:02 Configure a credential helper to remove this warning. See 10:04:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:02 10:04:02 Login Succeeded 10:04:02 ****.io 10:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:03 Configure a credential helper to remove this warning. See 10:04:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:03 10:04:03 Login Succeeded 10:04:03 ---> ****-login.sh ends [Pipeline] } 10:04:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:04:03 + git rev-list -1 --merges 4a0aa5c39d8c5143ff320418672b401584f4d85a~1..4a0aa5c39d8c5143ff320418672b401584f4d85a [Pipeline] echo 10:04:03 -----------> git rev-list -1 --merges 4a0aa5c39d8c5143ff320418672b401584f4d85a~1..4a0aa5c39d8c5143ff320418672b401584f4d85a 4a0aa5c39d8c5143ff320418672b401584f4d85a 10:04:03 4a0aa5c39d8c5143ff320418672b401584f4d85a [false] [Pipeline] sh 10:04:03 + git log --format=format:%s -1 4a0aa5c39d8c5143ff320418672b401584f4d85a [Pipeline] echo 10:04:03 ========================================================= 10:04:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:04:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:04:04 + git log --format=format:%s -1 4a0aa5c39d8c5143ff320418672b401584f4d85a [Pipeline] echo 10:04:04 [semverPrep] GIT_COMMIT: 4a0aa5c39d8c5143ff320418672b401584f4d85a, Commit Message: Merge commit '10c0576949a063dd5cf6a91dd144b4cdf6afd1d5' into HEAD [Pipeline] echo 10:04:04 [semverPrep] This is not a build commit. [Pipeline] sh 10:04:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:04:04 + grep -v github /etc/ssh/ssh_known_hosts 10:04:04 + [ -e /tmp/ssh_known_hosts ] 10:04:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:04:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:04:04 + sudo tee -a /etc/ssh/ssh_known_hosts 10:04:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:04:05 10:04:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:04:05 0.1.4: Pulling from edgex-devops/py-git-semver 10:04:05 b85a868b505f: Pulling fs layer 10:04:05 e2be974225ed: Pulling fs layer 10:04:05 339a4e72a1f5: Pulling fs layer 10:04:05 988bab9f4d93: Pulling fs layer 10:04:05 1469e6f7b9e6: Pulling fs layer 10:04:05 eaf3925da568: Pulling fs layer 10:04:05 bab4dde63d76: Pulling fs layer 10:04:05 bde34c3a00c8: Pulling fs layer 10:04:05 b352a97aabf1: Pulling fs layer 10:04:05 4872d77fe225: Pulling fs layer 10:04:05 5851b861e8e6: Pulling fs layer 10:04:05 bab4dde63d76: Waiting 10:04:05 bde34c3a00c8: Waiting 10:04:05 b352a97aabf1: Waiting 10:04:05 4872d77fe225: Waiting 10:04:05 5851b861e8e6: Waiting 10:04:05 988bab9f4d93: Waiting 10:04:05 eaf3925da568: Waiting 10:04:05 1469e6f7b9e6: Waiting 10:04:05 e2be974225ed: Download complete 10:04:05 988bab9f4d93: Verifying Checksum 10:04:05 988bab9f4d93: Download complete 10:04:05 1469e6f7b9e6: Verifying Checksum 10:04:05 1469e6f7b9e6: Download complete 10:04:05 eaf3925da568: Verifying Checksum 10:04:05 eaf3925da568: Download complete 10:04:05 339a4e72a1f5: Verifying Checksum 10:04:05 339a4e72a1f5: Download complete 10:04:05 bde34c3a00c8: Download complete 10:04:05 b352a97aabf1: Download complete 10:04:05 4872d77fe225: Verifying Checksum 10:04:05 4872d77fe225: Download complete 10:04:05 5851b861e8e6: Verifying Checksum 10:04:05 5851b861e8e6: Download complete 10:04:05 b85a868b505f: Download complete 10:04:06 bab4dde63d76: Verifying Checksum 10:04:06 bab4dde63d76: Download complete 10:04:06 b85a868b505f: Pull complete 10:04:06 e2be974225ed: Pull complete 10:04:07 339a4e72a1f5: Pull complete 10:04:07 988bab9f4d93: Pull complete 10:04:07 1469e6f7b9e6: Pull complete 10:04:07 eaf3925da568: Pull complete 10:04:08 bab4dde63d76: Pull complete 10:04:08 bde34c3a00c8: Pull complete 10:04:09 b352a97aabf1: Pull complete 10:04:09 4872d77fe225: Pull complete 10:04:09 5851b861e8e6: Pull complete 10:04:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:04:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:04:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:04:09 prd-ubuntu20.04-docker-8c-8g-40297 does not seem to be running inside a container 10:04:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-523 -v /w/workspace/foundry_device-virtual-go_PR-523:/w/workspace/foundry_device-virtual-go_PR-523:rw,z -v /w/workspace/foundry_device-virtual-go_PR-523@tmp:/w/workspace/foundry_device-virtual-go_PR-523@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:04:11 $ docker top 672d55ecf2c4a29107205228dc4fa1740d45a76c7d00d91bb92de0f22f4256ce -eo pid,comm 10:04:11 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). 10:04:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:04:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:04:11 [ssh-agent] Looking for ssh-agent implementation... 10:04:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:04:11 $ docker exec 672d55ecf2c4a29107205228dc4fa1740d45a76c7d00d91bb92de0f22f4256ce ssh-agent 10:04:11 SSH_AUTH_SOCK=/tmp/ssh-hSjAcjY914tu/agent.32 10:04:11 SSH_AGENT_PID=38 10:04:11 Running ssh-add (command line suppressed) 10:04:12 Identity added: /w/workspace/foundry_device-virtual-go_PR-523@tmp/private_key_5677226618272687269.key (/w/workspace/foundry_device-virtual-go_PR-523@tmp/private_key_5677226618272687269.key) 10:04:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:04:12 + git tag --points-at HEAD [Pipeline] } 10:04:12 $ docker exec --env ******** --env ******** 672d55ecf2c4a29107205228dc4fa1740d45a76c7d00d91bb92de0f22f4256ce ssh-agent -k 10:04:12 unset SSH_AUTH_SOCK; 10:04:12 unset SSH_AGENT_PID; 10:04:12 echo Agent pid 38 killed; 10:04:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:04:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:04:12 [ssh-agent] Looking for ssh-agent implementation... 10:04:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:04:12 $ docker exec 672d55ecf2c4a29107205228dc4fa1740d45a76c7d00d91bb92de0f22f4256ce ssh-agent 10:04:12 SSH_AUTH_SOCK=/tmp/ssh-WldsVjsxHfkQ/agent.71 10:04:12 SSH_AGENT_PID=77 10:04:12 Running ssh-add (command line suppressed) 10:04:12 Identity added: /w/workspace/foundry_device-virtual-go_PR-523@tmp/private_key_14627811810170535740.key (/w/workspace/foundry_device-virtual-go_PR-523@tmp/private_key_14627811810170535740.key) 10:04:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:04:13 + git semver init 10:04:13 2025-03-05 10:04:13,295 [run_init] DEBUG init version:0.0.0 force:False 10:04:13 2025-03-05 10:04:13,296 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-523/.semver 10:04:13 2025-03-05 10:04:13,296 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-523/.semver 10:04:13 2025-03-05 10:04:13,296 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-523/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-523, universal_newlines=False, shell=None, istream=None) 10:04:14 2025-03-05 10:04:14,536 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-523/.git/info/exclude 10:04:14 2025-03-05 10:04:14,537 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-523/.semver/PR-523 with force:False 10:04:14 2025-03-05 10:04:14,537 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-523/.semver/PR-523 10:04:14 2025-03-05 10:04:14,541 [execute] INFO git cat-file --batch-check 10:04:14 2025-03-05 10:04:14,541 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-523/.semver, universal_newlines=False, shell=None, istream=) 10:04:14 2025-03-05 10:04:14,547 [execute] INFO git cat-file --batch 10:04:14 2025-03-05 10:04:14,547 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-523/.semver, universal_newlines=False, shell=None, istream=) 10:04:14 2025-03-05 10:04:14,552 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-523/.semver/PR-523 10:04:14 0.0.0 [Pipeline] } 10:04:14 $ docker exec --env ******** --env ******** 672d55ecf2c4a29107205228dc4fa1740d45a76c7d00d91bb92de0f22f4256ce ssh-agent -k 10:04:14 unset SSH_AUTH_SOCK; 10:04:14 unset SSH_AGENT_PID; 10:04:14 echo Agent pid 77 killed; 10:04:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:04:15 + git semver [Pipeline] } 10:04:15 $ docker stop --time=1 672d55ecf2c4a29107205228dc4fa1740d45a76c7d00d91bb92de0f22f4256ce 10:04:16 $ docker rm -f --volumes 672d55ecf2c4a29107205228dc4fa1740d45a76c7d00d91bb92de0f22f4256ce [Pipeline] // withDockerContainer [Pipeline] sh 10:04:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:04:17 Stashed 1 file(s) [Pipeline] echo 10:04:17 [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 10:04:17 provisioning config files... [Pipeline] // stage [Pipeline] } 10:04:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-523@tmp/config14168838839219762848tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 10:04:17 ---> ****-login.sh 10:04:17 nexus3.edgexfoundry.org:10001 10:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:17 Configure a credential helper to remove this warning. See 10:04:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:17 10:04:17 Login Succeeded 10:04:17 nexus3.edgexfoundry.org:10002 10:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:17 Configure a credential helper to remove this warning. See 10:04:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:17 10:04:17 Login Succeeded 10:04:17 nexus3.edgexfoundry.org:10003 10:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:18 Configure a credential helper to remove this warning. See 10:04:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:18 10:04:18 Login Succeeded 10:04:18 nexus3.edgexfoundry.org:10004 10:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:18 Configure a credential helper to remove this warning. See 10:04:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:18 10:04:18 Login Succeeded 10:04:18 ****.io 10:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:18 Configure a credential helper to remove this warning. See 10:04:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:18 10:04:18 Login Succeeded 10:04:18 ---> ****-login.sh ends [Pipeline] } 10:04:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:04:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:04:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:04:18 ========================================================= 10:04:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 10:04:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:19 + 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 . 10:04:19 Sending build context to Docker daemon 37.91MB 10:04:19 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 10:04:19 Step 2/12 : FROM ${BASE} AS builder 10:04:19 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 10:04:19 da9db072f522: Pulling fs layer 10:04:19 6ef4a4ee8ca5: Pulling fs layer 10:04:19 06f05ace1117: Pulling fs layer 10:04:19 5fe327b54edc: Pulling fs layer 10:04:19 4f4fb700ef54: Pulling fs layer 10:04:19 92a5565b7b96: Pulling fs layer 10:04:19 ff9bb7016b71: Pulling fs layer 10:04:19 b67dba6c2c7d: Pulling fs layer 10:04:19 5fe327b54edc: Waiting 10:04:19 4f4fb700ef54: Waiting 10:04:19 92a5565b7b96: Waiting 10:04:19 ff9bb7016b71: Waiting 10:04:19 a813b0c90790: Pulling fs layer 10:04:19 6ef4a4ee8ca5: Download complete 10:04:19 5fe327b54edc: Verifying Checksum 10:04:19 5fe327b54edc: Download complete 10:04:19 4f4fb700ef54: Verifying Checksum 10:04:19 4f4fb700ef54: Download complete 10:04:19 da9db072f522: Verifying Checksum 10:04:19 da9db072f522: Download complete 10:04:19 92a5565b7b96: Verifying Checksum 10:04:19 92a5565b7b96: Download complete 10:04:19 ff9bb7016b71: Verifying Checksum 10:04:19 ff9bb7016b71: Download complete 10:04:19 da9db072f522: Pull complete 10:04:19 a813b0c90790: Verifying Checksum 10:04:19 a813b0c90790: Download complete 10:04:19 6ef4a4ee8ca5: Pull complete 10:04:19 06f05ace1117: Verifying Checksum 10:04:19 06f05ace1117: Download complete 10:04:20 b67dba6c2c7d: Verifying Checksum 10:04:20 b67dba6c2c7d: Download complete 10:04:22 06f05ace1117: Pull complete 10:04:22 5fe327b54edc: Pull complete 10:04:22 4f4fb700ef54: Pull complete 10:04:22 92a5565b7b96: Pull complete 10:04:22 ff9bb7016b71: Pull complete 10:04:25 b67dba6c2c7d: Pull complete 10:04:25 a813b0c90790: Pull complete 10:04:25 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 10:04:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 10:04:25 ---> 3ba60ce46760 10:04:25 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:04:29 ---> Running in 5fe6b0e58027 10:04:29 Removing intermediate container 5fe6b0e58027 10:04:29 ---> 458b6cce5c91 10:04:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:04:29 ---> Running in 5ab79fcd7521 10:04:29 Removing intermediate container 5ab79fcd7521 10:04:29 ---> 6eae66329407 10:04:29 Step 5/12 : ARG ADD_BUILD_TAGS="" 10:04:29 ---> Running in dfe286d3cc2d 10:04:29 Removing intermediate container dfe286d3cc2d 10:04:29 ---> 1555e816d7e2 10:04:29 Step 6/12 : WORKDIR /device-virtual-go 10:04:29 ---> Running in 341fcd335967 10:04:29 Removing intermediate container 341fcd335967 10:04:29 ---> dd9341d80c5a 10:04:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:04:29 ---> Running in 74e1e58f8640 10:04:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:04:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:04:30 (1/4) Installing openssh-keygen (9.7_p1-r5) 10:04:30 (2/4) Installing libedit (20240517.3.1-r0) 10:04:30 (3/4) Installing openssh-client-common (9.7_p1-r5) 10:04:30 (4/4) Installing openssh-client-default (9.7_p1-r5) 10:04:30 Executing busybox-1.36.1-r29.trigger 10:04:30 OK: 252 MiB in 62 packages 10:04:30 Removing intermediate container 74e1e58f8640 10:04:30 ---> a016fadd06ad 10:04:30 Step 8/12 : COPY go.mod vendor* ./ 10:04:30 ---> 8b6bc2457906 10:04:30 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:04:30 ---> Running in 8fda8bb3db46 10:05:09 Removing intermediate container 8fda8bb3db46 10:05:09 ---> 5d7500dcfe6c 10:05:09 Step 10/12 : COPY . . 10:05:09 ---> e118d8a09b75 10:05:09 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:05:09 ---> Running in 5067be810165 10:05:09 Removing intermediate container 5067be810165 10:05:09 ---> 07d7abb05e48 10:05:09 Step 12/12 : RUN $MAKE 10:05:09 ---> Running in 9f46a9c6c544 10:05:09 noop 10:05:09 Removing intermediate container 9f46a9c6c544 10:05:09 ---> 723f2121194c 10:05:09 Successfully built 723f2121194c 10:05:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:10 + docker inspect -f . ci-base-image-x86_64 10:05:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:05:10 prd-ubuntu20.04-docker-8c-8g-40297 does not seem to be running inside a container 10:05:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-523 -v /w/workspace/foundry_device-virtual-go_PR-523:/w/workspace/foundry_device-virtual-go_PR-523:rw,z -v /w/workspace/foundry_device-virtual-go_PR-523@tmp:/w/workspace/foundry_device-virtual-go_PR-523@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:05:10 $ docker top 7337dd618fcbccc362e805170b58fa4dd553dbe2c748891b242b74dd0d61aad0 -eo pid,comm [Pipeline] { [Pipeline] sh 10:05:10 + go version 10:05:10 go version go1.23.4 linux/amd64 [Pipeline] } 10:05:10 $ docker stop --time=1 7337dd618fcbccc362e805170b58fa4dd553dbe2c748891b242b74dd0d61aad0 10:05:12 $ docker rm -f --volumes 7337dd618fcbccc362e805170b58fa4dd553dbe2c748891b242b74dd0d61aad0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:12 + docker inspect -f . ci-base-image-x86_64 10:05:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:05:12 prd-ubuntu20.04-docker-8c-8g-40297 does not seem to be running inside a container 10:05:12 $ 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-523 -v /w/workspace/foundry_device-virtual-go_PR-523:/w/workspace/foundry_device-virtual-go_PR-523:rw,z -v /w/workspace/foundry_device-virtual-go_PR-523@tmp:/w/workspace/foundry_device-virtual-go_PR-523@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:05:13 $ docker top 5b3b7a8bd3258935893072aac8c85f0631f86410b27f36619f1f50e013039afe -eo pid,comm [Pipeline] { [Pipeline] sh 10:05:13 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-523 [Pipeline] fileExists [Pipeline] sh 10:05:13 + make test 10:05:13 go test ./... -coverprofile=coverage.out 10:05:15 ? github.com/edgexfoundry/device-virtual-go [no test files] 10:05:33 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 10:05:33 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.013s coverage: 58.4% of statements 10:05:45 go vet ./... 10:05:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:05:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:05:49 ./bin/test-attribution-txt.sh [Pipeline] echo 10:05:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:05:49 $ docker stop --time=1 5b3b7a8bd3258935893072aac8c85f0631f86410b27f36619f1f50e013039afe 10:05:51 $ docker rm -f --volumes 5b3b7a8bd3258935893072aac8c85f0631f86410b27f36619f1f50e013039afe [Pipeline] // withDockerContainer [Pipeline] sh 10:05:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:05:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:05:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:05:53 + ls -al . 10:05:53 total 268 10:05:53 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 10:05 . 10:05:53 drwxrwxr-x 4 jenkins jenkins 4096 Mar 5 10:03 .. 10:05:53 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 10:05 .git 10:05:53 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 10:03 .github 10:05:53 -rw-rw-r-- 1 jenkins jenkins 272 Mar 5 10:03 .gitignore 10:05:53 -rw-rw-r-- 1 jenkins jenkins 199 Mar 5 10:03 .golangci.yml 10:05:53 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 10:04 .semver 10:05:53 -rw-rw-r-- 1 jenkins jenkins 18321 Mar 5 10:03 Attribution.txt 10:05:53 -rw-rw-r-- 1 jenkins jenkins 17302 Mar 5 10:03 CHANGELOG.md 10:05:53 -rw-rw-r-- 1 jenkins jenkins 1755 Mar 5 10:03 Dockerfile 10:05:53 -rw-rw-r-- 1 jenkins jenkins 677 Mar 5 10:03 GOVERNANCE.md 10:05:53 -rw-rw-r-- 1 jenkins jenkins 660 Mar 5 10:03 Jenkinsfile 10:05:53 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 5 10:03 LICENSE 10:05:53 -rw-rw-r-- 1 jenkins jenkins 2652 Mar 5 10:03 Makefile 10:05:53 -rw-rw-r-- 1 jenkins jenkins 623 Mar 5 10:03 OWNERS.md 10:05:53 -rw-rw-r-- 1 jenkins jenkins 4473 Mar 5 10:03 README.md 10:05:53 -rw-rw-r-- 1 jenkins jenkins 5 Mar 5 10:04 VERSION 10:05:53 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 10:03 bin 10:05:53 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 10:03 cmd 10:05:53 -rw-r--r-- 1 jenkins jenkins 43316 Mar 5 10:05 coverage.out 10:05:53 -rw-rw-r-- 1 jenkins jenkins 6080 Mar 5 10:03 go.mod 10:05:53 -rw-rw-r-- 1 jenkins jenkins 86628 Mar 5 10:03 go.sum 10:05:53 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 10:03 internal 10:05:53 -rw-rw-r-- 1 jenkins jenkins 235 Mar 5 10:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:53 + 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=4a0aa5c39d8c5143ff320418672b401584f4d85a --label arch=amd64 --label version=0.0.0 . 10:05:53 Sending build context to Docker daemon 37.95MB 10:05:53 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 10:05:53 Step 2/26 : FROM ${BASE} AS builder 10:05:53 ---> 723f2121194c 10:05:53 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:05:53 ---> Running in 62f5623e5d8e 10:05:54 Removing intermediate container 62f5623e5d8e 10:05:54 ---> 46edfa2b07b7 10:05:54 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 10:05:54 ---> Running in d6e1e447be8a 10:05:54 Removing intermediate container d6e1e447be8a 10:05:54 ---> d4ee77b3c429 10:05:54 Step 5/26 : ARG ADD_BUILD_TAGS="" 10:05:54 ---> Running in 1469f6d89e44 10:05:54 Removing intermediate container 1469f6d89e44 10:05:54 ---> 8c6d8a47c387 10:05:54 Step 6/26 : WORKDIR /device-virtual-go 10:05:54 ---> Running in 14ff64fda337 10:05:54 Removing intermediate container 14ff64fda337 10:05:54 ---> 3d3a3d231f0c 10:05:54 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:05:54 ---> Running in e9a4a55576f4 10:05:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:05:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:05:55 OK: 252 MiB in 62 packages 10:05:55 Removing intermediate container e9a4a55576f4 10:05:55 ---> b5aaa62e42fa 10:05:55 Step 8/26 : COPY go.mod vendor* ./ 10:05:55 ---> 800a6bf27191 10:05:55 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:05:55 ---> Running in f5cff34bff16 10:05:56 Removing intermediate container f5cff34bff16 10:05:56 ---> 80fc585978ee 10:05:56 Step 10/26 : COPY . . 10:05:57 ---> 59cb238d5363 10:05:57 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:05:57 ---> Running in a5028e09ec55 10:05:57 Removing intermediate container a5028e09ec55 10:05:57 ---> abebb5f54e9d 10:05:57 Step 12/26 : RUN $MAKE 10:05:57 ---> Running in 35b85e12b28c 10:05:57 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-dev.26 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 10:06:29 Removing intermediate container 35b85e12b28c 10:06:29 ---> a8099bc23a75 10:06:29 Step 13/26 : FROM alpine:3.20 10:06:29 3.20: Pulling from library/alpine 10:06:29 0a9a5dfd008f: Pulling fs layer 10:06:29 0a9a5dfd008f: Download complete 10:06:29 0a9a5dfd008f: Pull complete 10:06:29 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 10:06:29 Status: Downloaded newer image for alpine:3.20 10:06:29 ---> ff221270b9fb 10:06:29 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 10:06:29 ---> Running in 0fb56f291ce0 10:06:29 Removing intermediate container 0fb56f291ce0 10:06:29 ---> 65b6764723b2 10:06:29 Step 15/26 : RUN apk add --update --no-cache dumb-init 10:06:29 ---> Running in 8dadb7ba8c99 10:06:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:06:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:06:29 (1/1) Installing dumb-init (1.2.5-r3) 10:06:29 Executing busybox-1.36.1-r29.trigger 10:06:29 OK: 8 MiB in 15 packages 10:06:29 Removing intermediate container 8dadb7ba8c99 10:06:29 ---> c0b4c4537526 10:06:29 Step 16/26 : RUN apk --no-cache upgrade 10:06:29 ---> Running in 7a2bca775156 10:06:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:06:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:06:29 OK: 8 MiB in 15 packages 10:06:29 Removing intermediate container 7a2bca775156 10:06:29 ---> 41ddccff4c93 10:06:29 Step 17/26 : WORKDIR / 10:06:29 ---> Running in 27a48b9a72d8 10:06:29 Removing intermediate container 27a48b9a72d8 10:06:29 ---> e2e68099a1ce 10:06:29 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 10:06:29 ---> 62dc50afdc58 10:06:29 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 10:06:29 ---> 44ece574dbf3 10:06:29 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 10:06:29 ---> 991cf33bc1c5 10:06:29 Step 21/26 : EXPOSE 59900 10:06:29 ---> Running in 376678d09c78 10:06:29 Removing intermediate container 376678d09c78 10:06:29 ---> 48b15e927239 10:06:29 Step 22/26 : ENTRYPOINT ["/device-virtual"] 10:06:29 ---> Running in 38c655e5666a 10:06:29 Removing intermediate container 38c655e5666a 10:06:29 ---> 0806fe9d95e5 10:06:29 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 10:06:29 ---> Running in 86d4215d5f89 10:06:29 Removing intermediate container 86d4215d5f89 10:06:29 ---> ead686dc2bd6 10:06:29 Step 24/26 : LABEL arch=amd64 10:06:29 ---> Running in d6d1c29c894d 10:06:29 Removing intermediate container d6d1c29c894d 10:06:29 ---> 49edb29bddbd 10:06:29 Step 25/26 : LABEL git_sha=4a0aa5c39d8c5143ff320418672b401584f4d85a 10:06:29 ---> Running in 3171f1e6d16c 10:06:29 Removing intermediate container 3171f1e6d16c 10:06:29 ---> 925cbdf712d3 10:06:29 Step 26/26 : LABEL version=0.0.0 10:06:29 ---> Running in 20750412cf5c 10:06:29 Removing intermediate container 20750412cf5c 10:06:29 ---> b6a7db84233d 10:06:29 [Warning] One or more build-args [ARCH] were not consumed 10:06:29 Successfully built b6a7db84233d 10:06:29 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 10:06:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:06:32 10:06:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:06:33 latest: Pulling from edgex-lftools-log-publisher 10:06:33 5eb5b503b376: Pulling fs layer 10:06:33 5c69ac0246d0: Pulling fs layer 10:06:33 ec43610c2a17: Pulling fs layer 10:06:33 3a2ae6a8a46f: Pulling fs layer 10:06:33 33b1e0a273af: Pulling fs layer 10:06:33 5d3b04190fa2: Pulling fs layer 10:06:33 2f39f015ded8: Pulling fs layer 10:06:33 5d3b04190fa2: Waiting 10:06:33 3a2ae6a8a46f: Waiting 10:06:33 33b1e0a273af: Waiting 10:06:33 5c69ac0246d0: Download complete 10:06:33 3a2ae6a8a46f: Verifying Checksum 10:06:33 3a2ae6a8a46f: Download complete 10:06:33 33b1e0a273af: Verifying Checksum 10:06:33 33b1e0a273af: Download complete 10:06:33 5d3b04190fa2: Verifying Checksum 10:06:33 5d3b04190fa2: Download complete 10:06:33 ec43610c2a17: Verifying Checksum 10:06:33 ec43610c2a17: Download complete 10:06:33 5eb5b503b376: Verifying Checksum 10:06:33 5eb5b503b376: Download complete 10:06:33 2f39f015ded8: Download complete 10:06:34 5eb5b503b376: Pull complete 10:06:34 5c69ac0246d0: Pull complete 10:06:34 ec43610c2a17: Pull complete 10:06:34 3a2ae6a8a46f: Pull complete 10:06:34 33b1e0a273af: Pull complete 10:06:35 5d3b04190fa2: Pull complete 10:06:39 2f39f015ded8: Pull complete 10:06:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:06:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:06:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:39 prd-ubuntu20.04-docker-8c-8g-40297 does not seem to be running inside a container 10:06:39 $ 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-523 -v /w/workspace/foundry_device-virtual-go_PR-523:/w/workspace/foundry_device-virtual-go_PR-523:rw,z -v /w/workspace/foundry_device-virtual-go_PR-523@tmp:/w/workspace/foundry_device-virtual-go_PR-523@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:06:41 $ docker top b4041934f094a1cb3a33464f6ca7f3991a87d90c912b4c8f8428d8d7d600ce53 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:06:41 ---> job-cost.sh 10:06:41 lf-activate-venv: SKIPPING 10:06:41 INFO: No Stack... 10:06:42 INFO: Retrieving Pricing Info for: v3-standard-8 10:06:42 INFO: Archiving Costs [Pipeline] sh 10:06:42 + cat /w/workspace/foundry_device-virtual-go_PR-523/archives/cost.csv 10:06:42 + cut -d, -f6 [Pipeline] lock 10:06:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-523-4-stack-cost] 10:06:42 Resource [jenkins-edgexfoundry-device-virtual-go-PR-523-4-stack-cost] did not exist. Created. 10:06:42 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-523-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:06:43 + echo total: 0.2199999988079071 [Pipeline] stash 10:06:43 Stashed 1 file(s) [Pipeline] } 10:06:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-523-4-stack-cost] [Pipeline] // lock [Pipeline] } 10:06:43 $ docker stop --time=1 b4041934f094a1cb3a33464f6ca7f3991a87d90c912b4c8f8428d8d7d600ce53 10:06:44 $ docker rm -f --volumes b4041934f094a1cb3a33464f6ca7f3991a87d90c912b4c8f8428d8d7d600ce53 [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 10:06:44 provisioning config files... 10:06:44 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-523@tmp/config17508591483710489804tmp [Pipeline] { [Pipeline] sh 10:06:44 + set +x 10:06:44 + + curl -s https://codecov.io/bash 10:06:44 bash -s -- 10:06:44 10:06:44 _____ _ 10:06:44 / ____| | | 10:06:44 | | ___ __| | ___ ___ _____ __ 10:06:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:06:44 | |___| (_) | (_| | __/ (_| (_) \ V / 10:06:44 \_____\___/ \__,_|\___|\___\___/ \_/ 10:06:44 Bash-1.0.6 10:06:44 10:06:44 10:06:44 ==> git version 2.25.1 found 10:06:44 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 10:06:44 Release-Date: 2020-01-08 10:06:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:06:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:06:44 ==> Jenkins CI detected. 10:06:44 current dir:  /w/workspace/foundry_device-virtual-go_PR-523 10:06:44 project root: . 10:06:44 --> token set from env 10:06:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:06:44 ==> Running gcov in . (disable via -X gcov) 10:06:44 ==> Python coveragepy not found 10:06:44 ==> Searching for coverage reports in: 10:06:44 + . 10:06:44 -> Found 1 reports 10:06:44 ==> Detecting git/mercurial file structure 10:06:44 ==> Reading reports 10:06:45 + ./coverage.out bytes=43316 10:06:45 ==> Appending adjustments 10:06:45 https://docs.codecov.io/docs/fixing-reports 10:06:45 + Found adjustments 10:06:45 ==> Gzipping contents 10:06:45 8.0K /tmp/codecov.7WtB8y.gz 10:06:45 ==> Uploading reports 10:06:45 url: https://codecov.io 10:06:45 query: branch=PR-523&commit=4a0aa5c39d8c5143ff320418672b401584f4d85a&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-523%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=523&job=&cmd_args= 10:06:45 -> Pinging Codecov 10:06:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-523&commit=4a0aa5c39d8c5143ff320418672b401584f4d85a&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-523%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=523&job=&cmd_args= 10:06:45 -> Uploading to 10:06:45 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-virtual-go/4a0aa5c39d8c5143ff320418672b401584f4d85a/db5266a5-1be1-4975-a339-11c0439432cd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250305%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250305T100645Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=42d44681ddc13703f8f44bbe08381f402b344640ecbafc5fc22357e58eaecd64 10:06:45 % Total % Received % Xferd Average Speed Time Time Time Current 10:06:45 Dload Upload Total Spent Left Speed 10:06:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5039 0 0 100 5039 0 33370 --:--:-- --:--:-- --:--:-- 33370 10:06:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/4a0aa5c39d8c5143ff320418672b401584f4d85a [Pipeline] } 10:06:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] 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 10:06:46 + [ -d /w/workspace/foundry_device-virtual-go_PR-523/archives ] 10:06:46 + ls -al /w/workspace/foundry_device-virtual-go_PR-523/archives 10:06:46 total 16 10:06:46 drwxr-xr-x 3 root root 4096 Mar 5 10:06 . 10:06:46 drwxrwxr-x 9 jenkins jenkins 4096 Mar 5 10:06 .. 10:06:46 drwxr-xr-x 2 root root 4096 Mar 5 10:06 cost 10:06:46 -rw-r--r-- 1 root root 89 Mar 5 10:06 cost.csv 10:06:46 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-523/archives 10:06:46 + ls -al /w/workspace/foundry_device-virtual-go_PR-523/archives 10:06:46 total 16 10:06:46 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 10:06 . 10:06:46 drwxrwxr-x 9 jenkins jenkins 4096 Mar 5 10:06 .. 10:06:46 drwxr-xr-x 2 jenkins jenkins 4096 Mar 5 10:06 cost 10:06:46 -rw-r--r-- 1 jenkins jenkins 89 Mar 5 10:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:06:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:06:47 ---> package-listing.sh 10:06:47 ++ facter osfamily 10:06:47 ++ tr '[:upper:]' '[:lower:]' 10:06:47 + OS_FAMILY=debian 10:06:47 + workspace=/w/workspace/foundry_device-virtual-go_PR-523 10:06:47 + START_PACKAGES=/tmp/packages_start.txt 10:06:47 + END_PACKAGES=/tmp/packages_end.txt 10:06:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:06:47 + PACKAGES=/tmp/packages_start.txt 10:06:47 + '[' /w/workspace/foundry_device-virtual-go_PR-523 ']' 10:06:47 + PACKAGES=/tmp/packages_end.txt 10:06:47 + case "${OS_FAMILY}" in 10:06:47 + dpkg -l 10:06:47 + grep '^ii' 10:06:47 + '[' -f /tmp/packages_start.txt ']' 10:06:47 + '[' -f /tmp/packages_end.txt ']' 10:06:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:06:47 + '[' /w/workspace/foundry_device-virtual-go_PR-523 ']' 10:06:47 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-523/archives/ 10:06:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-523/archives/ [Pipeline] echo 10:06:47 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-523/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:06:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:06:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:48 prd-ubuntu20.04-docker-8c-8g-40297 does not seem to be running inside a container 10:06:48 $ 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-523/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-523 -v /w/workspace/foundry_device-virtual-go_PR-523:/w/workspace/foundry_device-virtual-go_PR-523:rw,z -v /w/workspace/foundry_device-virtual-go_PR-523@tmp:/w/workspace/foundry_device-virtual-go_PR-523@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:06:48 $ docker top 78e82da5220f0b9beba498f80eac37ca506fabff03c59874e96d40ac9ffb7249 -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:49 + touch /tmp/pre-build-complete [Pipeline] sh 10:06:49 + mkdir -p /var/log/sysstat [Pipeline] sh 10:06:49 + ls /var/log/sa-host 10:06:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:06:49 provisioning config files... 10:06:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-523@tmp/config4389375341158653913tmp [Pipeline] { [Pipeline] echo 10:06:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:06:50 ---> create-netrc.sh [Pipeline] } 10:06:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:06:50 ---> python-tools-install.sh [Pipeline] echo 10:06:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:06:50 ---> sudo-logs.sh 10:06:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:06:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:06:51 ---> job-cost.sh 10:06:51 lf-activate-venv: SKIPPING 10:06:51 DEBUG: total: 0.2199999988079071 10:06:51 INFO: Retrieving Stack Cost... 10:06:51 INFO: Retrieving Pricing Info for: v3-standard-8 10:06:51 INFO: Archiving Costs [Pipeline] echo 10:06:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:06:51 ---> logs-deploy.sh 10:06:51 lf-activate-venv: SKIPPING 10:06:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-523/4 10:06:51 INFO: archiving workspace using pattern(s): 10:06:52 Archives upload complete. 10:06:52 INFO: archiving logs to Nexus