Pull request #515 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3a62305cc4327faaed78b4629f839b6a073d354d+0e25f9ddff1f5f86c101f6df9b932be439593de6 (f6127a5ce9793b2e39971dff09ab507101bc144e) 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-ssh15230561356449707266.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-ssh8770617685463923285.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 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-515/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-515/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5733847063685640991.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-515/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3067838452185979690.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 > 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-ssh11274515382570890182.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-515/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-515/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2212302050579378246.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-36844 in /w/workspace/foundry_device-virtual-go_PR-515 [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-515 # 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 0e25f9ddff1f5f86c101f6df9b932be439593de6 into PR head commit 3a62305cc4327faaed78b4629f839b6a073d354d Merge succeeded, producing 3a62305cc4327faaed78b4629f839b6a073d354d Checking out Revision 3a62305cc4327faaed78b4629f839b6a073d354d (PR-515) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 > 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/515/head:refs/remotes/origin/PR-515 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3a62305cc4327faaed78b4629f839b6a073d354d # 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 0e25f9ddff1f5f86c101f6df9b932be439593de6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3a62305cc4327faaed78b4629f839b6a073d354d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:01:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:01:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:01:14 ========================================================= 12:01:14 EdgeX Global Pipelines Version Info 12:01:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:01:15 ------------------- 12:01:15 stable info: 12:01:15 ------------------- 12:01:15 Commited By: Cherry Wang cherry@iotechsys.com 12:01:15 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 12:01:15 Message: update stable to v1.0.269 12:01:15 ------------------- 12:01:15 experimental info: 12:01:15 ------------------- 12:01:15 Commited By: **** collab-it+edgex@linuxfoundation.org 12:01:15 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 12:01:15 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:01:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 12:01:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 12:01:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:01:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:01:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:01:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 12:01:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:01:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:01:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:01:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:01:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:01:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 12:01:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:01:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:01:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:01:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:01:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:01:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:01:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:01:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:01:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:01:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:01:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:01:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:01:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:01:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:01:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:01:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-515 [Pipeline] echo 12:01:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-515 [Pipeline] echo 12:01:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-515 [Pipeline] echo 12:01:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3a62305cc4327faaed78b4629f839b6a073d354d [Pipeline] echo 12:01:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3a62305 [Pipeline] echo 12:01:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:01:17 provisioning config files... 12:01:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-515@tmp/config15034372490723138645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:01:18 ---> ****-login.sh 12:01:18 nexus3.edgexfoundry.org:10001 12:01:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:01:18 Configure a credential helper to remove this warning. See 12:01:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:01:18 12:01:18 Login Succeeded 12:01:18 nexus3.edgexfoundry.org:10002 12:01:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:01:18 Configure a credential helper to remove this warning. See 12:01:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:01:18 12:01:18 Login Succeeded 12:01:18 nexus3.edgexfoundry.org:10003 12:01:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:01:19 Configure a credential helper to remove this warning. See 12:01:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:01:19 12:01:19 Login Succeeded 12:01:19 nexus3.edgexfoundry.org:10004 12:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:01:19 Configure a credential helper to remove this warning. See 12:01:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:01:19 12:01:19 Login Succeeded 12:01:19 ****.io 12:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:01:19 Configure a credential helper to remove this warning. See 12:01:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:01:19 12:01:19 Login Succeeded 12:01:19 ---> ****-login.sh ends [Pipeline] } 12:01:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:01:20 + git rev-list -1 --merges 3a62305cc4327faaed78b4629f839b6a073d354d~1..3a62305cc4327faaed78b4629f839b6a073d354d [Pipeline] echo 12:01:20 -----------> git rev-list -1 --merges 3a62305cc4327faaed78b4629f839b6a073d354d~1..3a62305cc4327faaed78b4629f839b6a073d354d 3a62305cc4327faaed78b4629f839b6a073d354d [false] [Pipeline] sh 12:01:20 + git log --format=format:%s -1 3a62305cc4327faaed78b4629f839b6a073d354d [Pipeline] echo 12:01:20 ========================================================= 12:01:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:01:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:01:21 + git log --format=format:%s -1 3a62305cc4327faaed78b4629f839b6a073d354d [Pipeline] echo 12:01:21 [semverPrep] GIT_COMMIT: 3a62305cc4327faaed78b4629f839b6a073d354d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo 12:01:21 [semverPrep] This is not a build commit. [Pipeline] sh 12:01:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:01:21 + grep -v github /etc/ssh/ssh_known_hosts 12:01:21 + [ -e /tmp/ssh_known_hosts ] 12:01:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:01:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:01:21 + sudo tee -a /etc/ssh/ssh_known_hosts 12:01:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:01:21 12:01:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:01:22 0.1.4: Pulling from edgex-devops/py-git-semver 12:01:22 b85a868b505f: Pulling fs layer 12:01:22 e2be974225ed: Pulling fs layer 12:01:22 339a4e72a1f5: Pulling fs layer 12:01:22 988bab9f4d93: Pulling fs layer 12:01:22 1469e6f7b9e6: Pulling fs layer 12:01:22 eaf3925da568: Pulling fs layer 12:01:22 bab4dde63d76: Pulling fs layer 12:01:22 bde34c3a00c8: Pulling fs layer 12:01:22 b352a97aabf1: Pulling fs layer 12:01:22 4872d77fe225: Pulling fs layer 12:01:22 5851b861e8e6: Pulling fs layer 12:01:22 bab4dde63d76: Waiting 12:01:22 bde34c3a00c8: Waiting 12:01:22 b352a97aabf1: Waiting 12:01:22 4872d77fe225: Waiting 12:01:22 5851b861e8e6: Waiting 12:01:22 988bab9f4d93: Waiting 12:01:22 1469e6f7b9e6: Waiting 12:01:22 eaf3925da568: Waiting 12:01:22 e2be974225ed: Download complete 12:01:22 988bab9f4d93: Verifying Checksum 12:01:22 988bab9f4d93: Download complete 12:01:22 1469e6f7b9e6: Verifying Checksum 12:01:22 1469e6f7b9e6: Download complete 12:01:22 eaf3925da568: Download complete 12:01:22 339a4e72a1f5: Verifying Checksum 12:01:22 339a4e72a1f5: Download complete 12:01:22 bde34c3a00c8: Download complete 12:01:22 b352a97aabf1: Download complete 12:01:22 4872d77fe225: Download complete 12:01:22 5851b861e8e6: Download complete 12:01:22 b85a868b505f: Download complete 12:01:22 bab4dde63d76: Verifying Checksum 12:01:22 bab4dde63d76: Download complete 12:01:23 b85a868b505f: Pull complete 12:01:24 e2be974225ed: Pull complete 12:01:24 339a4e72a1f5: Pull complete 12:01:24 988bab9f4d93: Pull complete 12:01:24 1469e6f7b9e6: Pull complete 12:01:24 eaf3925da568: Pull complete 12:01:26 bab4dde63d76: Pull complete 12:01:26 bde34c3a00c8: Pull complete 12:01:27 b352a97aabf1: Pull complete 12:01:27 4872d77fe225: Pull complete 12:01:27 5851b861e8e6: Pull complete 12:01:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:01:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:01:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:01:27 prd-ubuntu20.04-docker-8c-8g-36844 does not seem to be running inside a container 12:01:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-515 -v /w/workspace/foundry_device-virtual-go_PR-515:/w/workspace/foundry_device-virtual-go_PR-515:rw,z -v /w/workspace/foundry_device-virtual-go_PR-515@tmp:/w/workspace/foundry_device-virtual-go_PR-515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:01:30 $ docker top d395c2ba293ac65af2112edfee84a57bfba3d382d2cdf294fc068898acbb7751 -eo pid,comm 12:01:30 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). 12:01:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:01:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:01:30 [ssh-agent] Looking for ssh-agent implementation... 12:01:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:01:30 $ docker exec d395c2ba293ac65af2112edfee84a57bfba3d382d2cdf294fc068898acbb7751 ssh-agent 12:01:30 SSH_AUTH_SOCK=/tmp/ssh-DEZBHgHhrrul/agent.33 12:01:30 SSH_AGENT_PID=39 12:01:30 Running ssh-add (command line suppressed) 12:01:30 Identity added: /w/workspace/foundry_device-virtual-go_PR-515@tmp/private_key_5720594998935834783.key (/w/workspace/foundry_device-virtual-go_PR-515@tmp/private_key_5720594998935834783.key) 12:01:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:01:31 + git tag --points-at HEAD [Pipeline] } 12:01:31 $ docker exec --env ******** --env ******** d395c2ba293ac65af2112edfee84a57bfba3d382d2cdf294fc068898acbb7751 ssh-agent -k 12:01:31 unset SSH_AUTH_SOCK; 12:01:31 unset SSH_AGENT_PID; 12:01:31 echo Agent pid 39 killed; 12:01:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:01:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:01:31 [ssh-agent] Looking for ssh-agent implementation... 12:01:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:01:31 $ docker exec d395c2ba293ac65af2112edfee84a57bfba3d382d2cdf294fc068898acbb7751 ssh-agent 12:01:31 SSH_AUTH_SOCK=/tmp/ssh-eFH838Y8Agl8/agent.73 12:01:31 SSH_AGENT_PID=79 12:01:31 Running ssh-add (command line suppressed) 12:01:31 Identity added: /w/workspace/foundry_device-virtual-go_PR-515@tmp/private_key_13610216290687491151.key (/w/workspace/foundry_device-virtual-go_PR-515@tmp/private_key_13610216290687491151.key) 12:01:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:01:32 + git semver init 12:01:32 2025-01-16 12:01:32,231 [run_init] DEBUG init version:0.0.0 force:False 12:01:32 2025-01-16 12:01:32,232 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-515/.semver 12:01:32 2025-01-16 12:01:32,232 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-515/.semver 12:01:32 2025-01-16 12:01:32,233 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-515/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-515, universal_newlines=False, shell=None, istream=None) 12:01:33 2025-01-16 12:01:33,582 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-515/.git/info/exclude 12:01:33 2025-01-16 12:01:33,583 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-515/.semver/PR-515 with force:False 12:01:33 2025-01-16 12:01:33,583 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-515/.semver/PR-515 12:01:33 2025-01-16 12:01:33,588 [execute] INFO git cat-file --batch-check 12:01:33 2025-01-16 12:01:33,588 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-515/.semver, universal_newlines=False, shell=None, istream=) 12:01:33 2025-01-16 12:01:33,596 [execute] INFO git cat-file --batch 12:01:33 2025-01-16 12:01:33,596 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-515/.semver, universal_newlines=False, shell=None, istream=) 12:01:33 2025-01-16 12:01:33,602 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-515/.semver/PR-515 12:01:33 0.0.0 [Pipeline] } 12:01:33 $ docker exec --env ******** --env ******** d395c2ba293ac65af2112edfee84a57bfba3d382d2cdf294fc068898acbb7751 ssh-agent -k 12:01:33 unset SSH_AUTH_SOCK; 12:01:33 unset SSH_AGENT_PID; 12:01:33 echo Agent pid 79 killed; 12:01:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:01:34 + git semver [Pipeline] } 12:01:34 $ docker stop --time=1 d395c2ba293ac65af2112edfee84a57bfba3d382d2cdf294fc068898acbb7751 12:01:35 $ docker rm -f --volumes d395c2ba293ac65af2112edfee84a57bfba3d382d2cdf294fc068898acbb7751 [Pipeline] // withDockerContainer [Pipeline] sh 12:01:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:01:36 Stashed 1 file(s) [Pipeline] echo 12:01:36 [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 12:01:37 provisioning config files... 12:01:37 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-515@tmp/config13740314437950869463tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 12:01:38 ---> ****-login.sh 12:01:38 nexus3.edgexfoundry.org:10001 12:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:01:38 Configure a credential helper to remove this warning. See 12:01:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:01:38 12:01:38 Login Succeeded 12:01:38 nexus3.edgexfoundry.org:10002 12:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:01:38 Configure a credential helper to remove this warning. See 12:01:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:01:38 12:01:38 Login Succeeded 12:01:38 nexus3.edgexfoundry.org:10003 12:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:01:38 Configure a credential helper to remove this warning. See 12:01:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:01:38 12:01:38 Login Succeeded 12:01:38 nexus3.edgexfoundry.org:10004 12:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:01:38 Configure a credential helper to remove this warning. See 12:01:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:01:38 12:01:38 Login Succeeded 12:01:38 ****.io 12:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:01:38 Configure a credential helper to remove this warning. See 12:01:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:01:38 12:01:38 Login Succeeded 12:01:38 ---> ****-login.sh ends [Pipeline] } 12:01:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:01:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:01:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:01:38 ========================================================= 12:01:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 12:01:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:39 + 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 . 12:01:39 Sending build context to Docker daemon 37.77MB 12:01:39 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 12:01:39 Step 2/12 : FROM ${BASE} AS builder 12:01:39 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 12:01:39 da9db072f522: Pulling fs layer 12:01:39 6ef4a4ee8ca5: Pulling fs layer 12:01:39 06f05ace1117: Pulling fs layer 12:01:39 5fe327b54edc: Pulling fs layer 12:01:39 4f4fb700ef54: Pulling fs layer 12:01:39 92a5565b7b96: Pulling fs layer 12:01:39 ff9bb7016b71: Pulling fs layer 12:01:39 b67dba6c2c7d: Pulling fs layer 12:01:39 a813b0c90790: Pulling fs layer 12:01:39 5fe327b54edc: Waiting 12:01:39 4f4fb700ef54: Waiting 12:01:39 92a5565b7b96: Waiting 12:01:39 ff9bb7016b71: Waiting 12:01:39 b67dba6c2c7d: Waiting 12:01:39 a813b0c90790: Waiting 12:01:39 6ef4a4ee8ca5: Verifying Checksum 12:01:39 6ef4a4ee8ca5: Download complete 12:01:39 5fe327b54edc: Verifying Checksum 12:01:39 5fe327b54edc: Download complete 12:01:39 4f4fb700ef54: Download complete 12:01:39 92a5565b7b96: Verifying Checksum 12:01:39 92a5565b7b96: Download complete 12:01:39 da9db072f522: Download complete 12:01:39 ff9bb7016b71: Verifying Checksum 12:01:39 ff9bb7016b71: Download complete 12:01:39 da9db072f522: Pull complete 12:01:39 a813b0c90790: Verifying Checksum 12:01:39 a813b0c90790: Download complete 12:01:39 6ef4a4ee8ca5: Pull complete 12:01:40 06f05ace1117: Verifying Checksum 12:01:40 06f05ace1117: Download complete 12:01:40 b67dba6c2c7d: Verifying Checksum 12:01:40 b67dba6c2c7d: Download complete 12:01:44 06f05ace1117: Pull complete 12:01:44 5fe327b54edc: Pull complete 12:01:44 4f4fb700ef54: Pull complete 12:01:44 92a5565b7b96: Pull complete 12:01:44 ff9bb7016b71: Pull complete 12:01:46 b67dba6c2c7d: Pull complete 12:01:47 a813b0c90790: Pull complete 12:01:47 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 12:01:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 12:01:47 ---> 3ba60ce46760 12:01:47 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:01:51 ---> Running in 339e9abe46bc 12:01:51 Removing intermediate container 339e9abe46bc 12:01:51 ---> e4016155d7eb 12:01:51 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:01:51 ---> Running in 35249f8e0627 12:01:51 Removing intermediate container 35249f8e0627 12:01:51 ---> 44de880eaf89 12:01:51 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:01:51 ---> Running in fa92850c7767 12:01:51 Removing intermediate container fa92850c7767 12:01:51 ---> 81844f9251f1 12:01:51 Step 6/12 : WORKDIR /device-virtual-go 12:01:51 ---> Running in a03358a15115 12:01:51 Removing intermediate container a03358a15115 12:01:51 ---> bae720028a39 12:01:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:01:51 ---> Running in e898a958b422 12:01:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:01:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:01:52 (1/4) Installing openssh-keygen (9.7_p1-r4) 12:01:52 (2/4) Installing libedit (20240517.3.1-r0) 12:01:52 (3/4) Installing openssh-client-common (9.7_p1-r4) 12:01:52 (4/4) Installing openssh-client-default (9.7_p1-r4) 12:01:52 Executing busybox-1.36.1-r29.trigger 12:01:52 OK: 252 MiB in 62 packages 12:01:52 Removing intermediate container e898a958b422 12:01:52 ---> 1da5023d2bca 12:01:52 Step 8/12 : COPY go.mod vendor* ./ 12:01:52 ---> 347da920f9c6 12:01:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:01:52 ---> Running in 66c8859b4dd4 12:02:49 Removing intermediate container 66c8859b4dd4 12:02:49 ---> 4c49fc53873d 12:02:49 Step 10/12 : COPY . . 12:02:49 ---> 1e6b5850c3b5 12:02:49 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:02:49 ---> Running in e196e3ff31f0 12:02:49 Removing intermediate container e196e3ff31f0 12:02:49 ---> 559cc02496f4 12:02:49 Step 12/12 : RUN $MAKE 12:02:49 ---> Running in 4c045769008d 12:02:49 noop 12:02:49 Removing intermediate container 4c045769008d 12:02:49 ---> cf4c6e847b4a 12:02:49 Successfully built cf4c6e847b4a 12:02:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:49 + docker inspect -f . ci-base-image-x86_64 12:02:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:49 prd-ubuntu20.04-docker-8c-8g-36844 does not seem to be running inside a container 12:02:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-515 -v /w/workspace/foundry_device-virtual-go_PR-515:/w/workspace/foundry_device-virtual-go_PR-515:rw,z -v /w/workspace/foundry_device-virtual-go_PR-515@tmp:/w/workspace/foundry_device-virtual-go_PR-515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:02:50 $ docker top 696f1aa4c4fe5b9f1d18a656aa3ffeb5788250fadd8603e65a7de7356c506c69 -eo pid,comm [Pipeline] { [Pipeline] sh 12:02:50 + go version 12:02:50 go version go1.23.4 linux/amd64 [Pipeline] } 12:02:50 $ docker stop --time=1 696f1aa4c4fe5b9f1d18a656aa3ffeb5788250fadd8603e65a7de7356c506c69 12:02:52 $ docker rm -f --volumes 696f1aa4c4fe5b9f1d18a656aa3ffeb5788250fadd8603e65a7de7356c506c69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:52 + docker inspect -f . ci-base-image-x86_64 12:02:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:52 prd-ubuntu20.04-docker-8c-8g-36844 does not seem to be running inside a container 12:02:53 $ 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-515 -v /w/workspace/foundry_device-virtual-go_PR-515:/w/workspace/foundry_device-virtual-go_PR-515:rw,z -v /w/workspace/foundry_device-virtual-go_PR-515@tmp:/w/workspace/foundry_device-virtual-go_PR-515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:02:53 $ docker top 867be3f81d30bda7019130c37bbf82695e575551ba0ed2af976ab3810506fc9d -eo pid,comm [Pipeline] { [Pipeline] sh 12:02:53 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-515 [Pipeline] fileExists [Pipeline] sh 12:02:54 + make test 12:02:54 go test ./... -coverprofile=coverage.out 12:02:56 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:03:14 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 12:03:14 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.010s coverage: 58.4% of statements 12:03:26 go vet ./... 12:03:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:03:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:03:31 ./bin/test-attribution-txt.sh [Pipeline] echo 12:03:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:03:31 $ docker stop --time=1 867be3f81d30bda7019130c37bbf82695e575551ba0ed2af976ab3810506fc9d 12:03:35 $ docker rm -f --volumes 867be3f81d30bda7019130c37bbf82695e575551ba0ed2af976ab3810506fc9d [Pipeline] // withDockerContainer [Pipeline] sh 12:03:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:03:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:03:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:03:37 + ls -al . 12:03:37 total 264 12:03:37 drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 12:02 . 12:03:37 drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 12:01 .. 12:03:37 drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 12:03 .git 12:03:37 drwxrwxr-x 3 jenkins jenkins 4096 Jan 16 12:01 .github 12:03:37 -rw-rw-r-- 1 jenkins jenkins 272 Jan 16 12:01 .gitignore 12:03:37 -rw-rw-r-- 1 jenkins jenkins 199 Jan 16 12:01 .golangci.yml 12:03:37 drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 12:01 .semver 12:03:37 -rw-rw-r-- 1 jenkins jenkins 18321 Jan 16 12:01 Attribution.txt 12:03:37 -rw-rw-r-- 1 jenkins jenkins 15941 Jan 16 12:01 CHANGELOG.md 12:03:37 -rw-rw-r-- 1 jenkins jenkins 1755 Jan 16 12:01 Dockerfile 12:03:37 -rw-rw-r-- 1 jenkins jenkins 677 Jan 16 12:01 GOVERNANCE.md 12:03:37 -rw-rw-r-- 1 jenkins jenkins 660 Jan 16 12:01 Jenkinsfile 12:03:37 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 16 12:01 LICENSE 12:03:37 -rw-rw-r-- 1 jenkins jenkins 2652 Jan 16 12:01 Makefile 12:03:37 -rw-rw-r-- 1 jenkins jenkins 623 Jan 16 12:01 OWNERS.md 12:03:37 -rw-rw-r-- 1 jenkins jenkins 4473 Jan 16 12:01 README.md 12:03:37 -rw-rw-r-- 1 jenkins jenkins 5 Jan 16 12:01 VERSION 12:03:37 drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 12:01 bin 12:03:37 drwxrwxr-x 3 jenkins jenkins 4096 Jan 16 12:01 cmd 12:03:37 -rw-r--r-- 1 jenkins jenkins 43316 Jan 16 12:03 coverage.out 12:03:37 -rw-rw-r-- 1 jenkins jenkins 6126 Jan 16 12:01 go.mod 12:03:37 -rw-rw-r-- 1 jenkins jenkins 86632 Jan 16 12:01 go.sum 12:03:37 drwxrwxr-x 3 jenkins jenkins 4096 Jan 16 12:01 internal 12:03:37 -rw-rw-r-- 1 jenkins jenkins 235 Jan 16 12:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:37 + 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=3a62305cc4327faaed78b4629f839b6a073d354d --label arch=amd64 --label version=0.0.0 . 12:03:37 Sending build context to Docker daemon 37.81MB 12:03:37 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 12:03:37 Step 2/26 : FROM ${BASE} AS builder 12:03:37 ---> cf4c6e847b4a 12:03:37 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:03:37 ---> Running in 8f8f17c607de 12:03:37 Removing intermediate container 8f8f17c607de 12:03:37 ---> a28322dee2fc 12:03:37 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:03:37 ---> Running in d343015c5942 12:03:38 Removing intermediate container d343015c5942 12:03:38 ---> 75a00f1d3911 12:03:38 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:03:38 ---> Running in e718a11f9eca 12:03:38 Removing intermediate container e718a11f9eca 12:03:38 ---> d674870b06ce 12:03:38 Step 6/26 : WORKDIR /device-virtual-go 12:03:38 ---> Running in bd20766fb9bd 12:03:38 Removing intermediate container bd20766fb9bd 12:03:38 ---> 50eba7e645ce 12:03:38 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:03:38 ---> Running in 44c166105753 12:03:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:03:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:03:39 OK: 252 MiB in 62 packages 12:03:39 Removing intermediate container 44c166105753 12:03:39 ---> 9e25845a48ea 12:03:39 Step 8/26 : COPY go.mod vendor* ./ 12:03:39 ---> bde1fe466d84 12:03:39 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:03:39 ---> Running in 838cdf0dfa73 12:03:40 Removing intermediate container 838cdf0dfa73 12:03:40 ---> b082ee140c27 12:03:40 Step 10/26 : COPY . . 12:03:41 ---> b329cabce621 12:03:41 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:03:41 ---> Running in e02a032f4d50 12:03:41 Removing intermediate container e02a032f4d50 12:03:41 ---> 32c9c7d30fa1 12:03:41 Step 12/26 : RUN $MAKE 12:03:41 ---> Running in b45565e3b79f 12:03:41 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.18 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 12:04:13 Removing intermediate container b45565e3b79f 12:04:13 ---> f4e187d888d2 12:04:13 Step 13/26 : FROM alpine:3.20 12:04:14 3.20: Pulling from library/alpine 12:04:14 66a3d608f3fa: Pulling fs layer 12:04:14 66a3d608f3fa: Verifying Checksum 12:04:14 66a3d608f3fa: Download complete 12:04:14 66a3d608f3fa: Pull complete 12:04:14 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 12:04:14 Status: Downloaded newer image for alpine:3.20 12:04:14 ---> e29df9b510ff 12:04:14 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:04:14 ---> Running in e425fa1fbf8c 12:04:14 Removing intermediate container e425fa1fbf8c 12:04:14 ---> d654d9951514 12:04:14 Step 15/26 : RUN apk add --update --no-cache dumb-init 12:04:14 ---> Running in 94c9af0eeda3 12:04:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:04:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:04:15 (1/1) Installing dumb-init (1.2.5-r3) 12:04:15 Executing busybox-1.36.1-r29.trigger 12:04:15 OK: 8 MiB in 15 packages 12:04:15 Removing intermediate container 94c9af0eeda3 12:04:15 ---> b325fcbff810 12:04:15 Step 16/26 : RUN apk --no-cache upgrade 12:04:15 ---> Running in d54e6f5f2c72 12:04:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:04:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:04:16 OK: 8 MiB in 15 packages 12:04:16 Removing intermediate container d54e6f5f2c72 12:04:16 ---> d565b4e411bd 12:04:16 Step 17/26 : WORKDIR / 12:04:16 ---> Running in 6607ca2b2071 12:04:16 Removing intermediate container 6607ca2b2071 12:04:16 ---> 9a186ee44e46 12:04:16 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:04:17 ---> 7d629c75e5b5 12:04:17 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 12:04:17 ---> 026d59c884fa 12:04:17 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 12:04:18 ---> 854312942b9b 12:04:18 Step 21/26 : EXPOSE 59900 12:04:18 ---> Running in 66677ff9ab7d 12:04:18 Removing intermediate container 66677ff9ab7d 12:04:18 ---> 971d207104ce 12:04:18 Step 22/26 : ENTRYPOINT ["/device-virtual"] 12:04:18 ---> Running in 70e6d21aac96 12:04:18 Removing intermediate container 70e6d21aac96 12:04:18 ---> 8263c868d3c4 12:04:18 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 12:04:18 ---> Running in 8451d8de8420 12:04:18 Removing intermediate container 8451d8de8420 12:04:18 ---> 56a93299d7fd 12:04:18 Step 24/26 : LABEL arch=amd64 12:04:18 ---> Running in c64372438b4d 12:04:18 Removing intermediate container c64372438b4d 12:04:18 ---> a9b992c8c14c 12:04:18 Step 25/26 : LABEL git_sha=3a62305cc4327faaed78b4629f839b6a073d354d 12:04:18 ---> Running in 3a14e9b16409 12:04:18 Removing intermediate container 3a14e9b16409 12:04:18 ---> 2667248cf91f 12:04:18 Step 26/26 : LABEL version=0.0.0 12:04:18 ---> Running in 9a0eb2ec1b13 12:04:18 Removing intermediate container 9a0eb2ec1b13 12:04:18 ---> 1eae96a86c93 12:04:18 [Warning] One or more build-args [ARCH] were not consumed 12:04:18 Successfully built 1eae96a86c93 12:04:18 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 12:04:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:04:19 12:04:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:04:20 latest: Pulling from edgex-lftools-log-publisher 12:04:20 5eb5b503b376: Pulling fs layer 12:04:20 5c69ac0246d0: Pulling fs layer 12:04:20 ec43610c2a17: Pulling fs layer 12:04:20 3a2ae6a8a46f: Pulling fs layer 12:04:20 33b1e0a273af: Pulling fs layer 12:04:20 5d3b04190fa2: Pulling fs layer 12:04:20 2f39f015ded8: Pulling fs layer 12:04:20 33b1e0a273af: Waiting 12:04:20 3a2ae6a8a46f: Waiting 12:04:20 2f39f015ded8: Waiting 12:04:20 5c69ac0246d0: Download complete 12:04:20 33b1e0a273af: Verifying Checksum 12:04:20 33b1e0a273af: Download complete 12:04:20 5d3b04190fa2: Verifying Checksum 12:04:20 5d3b04190fa2: Download complete 12:04:20 ec43610c2a17: Download complete 12:04:20 5eb5b503b376: Verifying Checksum 12:04:20 5eb5b503b376: Download complete 12:04:21 2f39f015ded8: Download complete 12:04:21 5eb5b503b376: Pull complete 12:04:21 5c69ac0246d0: Pull complete 12:04:22 ec43610c2a17: Pull complete 12:04:22 3a2ae6a8a46f: Pull complete 12:04:22 33b1e0a273af: Pull complete 12:04:22 5d3b04190fa2: Pull complete 12:04:26 2f39f015ded8: Pull complete 12:04:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:04:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:04:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:04:27 prd-ubuntu20.04-docker-8c-8g-36844 does not seem to be running inside a container 12:04:27 $ 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-515 -v /w/workspace/foundry_device-virtual-go_PR-515:/w/workspace/foundry_device-virtual-go_PR-515:rw,z -v /w/workspace/foundry_device-virtual-go_PR-515@tmp:/w/workspace/foundry_device-virtual-go_PR-515@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 12:04:30 $ docker top 73e09e1f225595d4fddbb88a50d547f9c433279d0cf99c86a05a9eda8a377bf5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:04:30 ---> job-cost.sh 12:04:30 lf-activate-venv: SKIPPING 12:04:30 INFO: No Stack... 12:04:31 INFO: Retrieving Pricing Info for: v3-standard-8 12:04:31 INFO: Archiving Costs [Pipeline] sh 12:04:31 + cat /w/workspace/foundry_device-virtual-go_PR-515/archives/cost.csv 12:04:31 + cut -d, -f6 [Pipeline] lock 12:04:32 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-515-1-stack-cost] 12:04:32 Resource [jenkins-edgexfoundry-device-virtual-go-PR-515-1-stack-cost] did not exist. Created. 12:04:32 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-515-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:04:32 + echo total: 0.2199999988079071 [Pipeline] stash 12:04:32 Stashed 1 file(s) [Pipeline] } 12:04:32 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-515-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:04:32 $ docker stop --time=1 73e09e1f225595d4fddbb88a50d547f9c433279d0cf99c86a05a9eda8a377bf5 12:04:33 $ docker rm -f --volumes 73e09e1f225595d4fddbb88a50d547f9c433279d0cf99c86a05a9eda8a377bf5 [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 12:04:34 provisioning config files... 12:04:34 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-515@tmp/config4581955871741624127tmp [Pipeline] { [Pipeline] sh 12:04:34 + set +x 12:04:34 + curl -s https://codecov.io/bash 12:04:34 + bash -s -- 12:04:34 12:04:34 _____ _ 12:04:34 / ____| | | 12:04:34 | | ___ __| | ___ ___ _____ __ 12:04:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:04:34 | |___| (_) | (_| | __/ (_| (_) \ V / 12:04:34 \_____\___/ \__,_|\___|\___\___/ \_/ 12:04:34 Bash-1.0.6 12:04:34 12:04:34 12:04:34 ==> git version 2.25.1 found 12:04: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 12:04:34 Release-Date: 2020-01-08 12:04: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 12:04:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:04:34 ==> Jenkins CI detected. 12:04:34 current dir:  /w/workspace/foundry_device-virtual-go_PR-515 12:04:34 project root: . 12:04:34 --> token set from env 12:04:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:04:34 ==> Running gcov in . (disable via -X gcov) 12:04:34 ==> Python coveragepy not found 12:04:34 ==> Searching for coverage reports in: 12:04:34 + . 12:04:35 -> Found 1 reports 12:04:35 ==> Detecting git/mercurial file structure 12:04:35 ==> Reading reports 12:04:35 + ./coverage.out bytes=43316 12:04:35 ==> Appending adjustments 12:04:35 https://docs.codecov.io/docs/fixing-reports 12:04:35 + Found adjustments 12:04:35 ==> Gzipping contents 12:04:35 8.0K /tmp/codecov.YSLESR.gz 12:04:35 ==> Uploading reports 12:04:35 url: https://codecov.io 12:04:35 query: branch=PR-515&commit=3a62305cc4327faaed78b4629f839b6a073d354d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-515%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=515&job=&cmd_args= 12:04:35 -> Pinging Codecov 12:04:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-515&commit=3a62305cc4327faaed78b4629f839b6a073d354d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-515%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=515&job=&cmd_args= 12:04:35 -> Uploading to 12:04:35 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-virtual-go/3a62305cc4327faaed78b4629f839b6a073d354d/898d85a4-8ac1-4cc8-a342-33b528ac0478.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250116%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250116T120435Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=5b94947f5cb94df505c98a0846e583bbacc37d178c30b967149c91314f971d1a 12:04:35 % Total % Received % Xferd Average Speed Time Time Time Current 12:04:35 Dload Upload Total Spent Left Speed 12:04:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5039 0 0 100 5039 0 31892 --:--:-- --:--:-- --:--:-- 32095 12:04:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/3a62305cc4327faaed78b4629f839b6a073d354d [Pipeline] } 12:04: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 12:04:37 + [ -d /w/workspace/foundry_device-virtual-go_PR-515/archives ] 12:04:37 + ls -al /w/workspace/foundry_device-virtual-go_PR-515/archives 12:04:37 total 16 12:04:37 drwxr-xr-x 3 root root 4096 Jan 16 12:04 . 12:04:37 drwxrwxr-x 9 jenkins jenkins 4096 Jan 16 12:04 .. 12:04:37 drwxr-xr-x 2 root root 4096 Jan 16 12:04 cost 12:04:37 -rw-r--r-- 1 root root 89 Jan 16 12:04 cost.csv 12:04:37 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-515/archives 12:04:37 + ls -al /w/workspace/foundry_device-virtual-go_PR-515/archives 12:04:37 total 16 12:04:37 drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 12:04 . 12:04:37 drwxrwxr-x 9 jenkins jenkins 4096 Jan 16 12:04 .. 12:04:37 drwxr-xr-x 2 jenkins jenkins 4096 Jan 16 12:04 cost 12:04:37 -rw-r--r-- 1 jenkins jenkins 89 Jan 16 12:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:04:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:04:39 ---> package-listing.sh 12:04:39 ++ facter osfamily 12:04:39 ++ tr '[:upper:]' '[:lower:]' 12:04:39 + OS_FAMILY=debian 12:04:39 + workspace=/w/workspace/foundry_device-virtual-go_PR-515 12:04:39 + START_PACKAGES=/tmp/packages_start.txt 12:04:39 + END_PACKAGES=/tmp/packages_end.txt 12:04:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:04:39 + PACKAGES=/tmp/packages_start.txt 12:04:39 + '[' /w/workspace/foundry_device-virtual-go_PR-515 ']' 12:04:39 + PACKAGES=/tmp/packages_end.txt 12:04:39 + case "${OS_FAMILY}" in 12:04:39 + dpkg -l 12:04:39 + grep '^ii' 12:04:39 + '[' -f /tmp/packages_start.txt ']' 12:04:39 + '[' -f /tmp/packages_end.txt ']' 12:04:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:04:39 + '[' /w/workspace/foundry_device-virtual-go_PR-515 ']' 12:04:39 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-515/archives/ 12:04:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-515/archives/ [Pipeline] echo 12:04: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-515/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:04:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:04:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:04:40 prd-ubuntu20.04-docker-8c-8g-36844 does not seem to be running inside a container 12:04: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-515/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-515 -v /w/workspace/foundry_device-virtual-go_PR-515:/w/workspace/foundry_device-virtual-go_PR-515:rw,z -v /w/workspace/foundry_device-virtual-go_PR-515@tmp:/w/workspace/foundry_device-virtual-go_PR-515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:04:40 $ docker top a9332e58894d2985d823900712ac478684c0b543433a8a568a2fa76181d52822 -eo pid,comm [Pipeline] { [Pipeline] sh 12:04:41 + touch /tmp/pre-build-complete [Pipeline] sh 12:04:41 + mkdir -p /var/log/sysstat [Pipeline] sh 12:04:41 + ls /var/log/sa-host 12:04:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:04:42 provisioning config files... 12:04:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-515@tmp/config694878798183347733tmp [Pipeline] { [Pipeline] echo 12:04:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:04:42 ---> create-netrc.sh [Pipeline] } 12:04:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:04:42 ---> python-tools-install.sh [Pipeline] echo 12:04:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:04:43 ---> sudo-logs.sh 12:04:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:04:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:04:43 ---> job-cost.sh 12:04:43 lf-activate-venv: SKIPPING 12:04:43 DEBUG: total: 0.2199999988079071 12:04:43 INFO: Retrieving Stack Cost... 12:04:43 INFO: Retrieving Pricing Info for: v3-standard-8 12:04:44 INFO: Archiving Costs [Pipeline] echo 12:04:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:04:44 ---> logs-deploy.sh 12:04:44 lf-activate-venv: SKIPPING 12:04:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-515/1 12:04:44 INFO: archiving workspace using pattern(s): 12:04:45 Archives upload complete. 12:04:45 INFO: archiving logs to Nexus 12:04:46 ---> uname -a: 12:04:46 Linux prd-ubuntu20-04-docker-8c-8g-36844 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 12:04:46 12:04:46 12:04:46 ---> lscpu: 12:04:46 Architecture: x86_64 12:04:46 CPU op-mode(s): 32-bit, 64-bit 12:04:46 Byte Order: Little Endian 12:04:46 Address sizes: 40 bits physical, 48 bits virtual 12:04:46 CPU(s): 8 12:04:46 On-line CPU(s) list: 0-7 12:04:46 Thread(s) per core: 1 12:04:46 Core(s) per socket: 1 12:04:46 Socket(s): 8 12:04:46 NUMA node(s): 1 12:04:46 Vendor ID: AuthenticAMD 12:04:46 CPU family: 23 12:04:46 Model: 49 12:04:46 Model name: AMD EPYC-Rome Processor 12:04:46 Stepping: 0 12:04:46 CPU MHz: 2799.998 12:04:46 BogoMIPS: 5599.99 12:04:46 Virtualization: AMD-V 12:04:46 Hypervisor vendor: KVM 12:04:46 Virtualization type: full 12:04:46 L1d cache: 256 KiB 12:04:46 L1i cache: 256 KiB 12:04:46 L2 cache: 4 MiB 12:04:46 L3 cache: 128 MiB 12:04:46 NUMA node0 CPU(s): 0-7 12:04:46 Vulnerability Itlb multihit: Not affected 12:04:46 Vulnerability L1tf: Not affected 12:04:46 Vulnerability Mds: Not affected 12:04:46 Vulnerability Meltdown: Not affected 12:04:46 Vulnerability Mmio stale data: Not affected 12:04:46 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 12:04:46 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 12:04:46 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 12:04:46 Vulnerability Srbds: Not affected 12:04:46 Vulnerability Tsx async abort: Not affected 12:04:46 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 12:04:46 12:04:46 12:04:46 ---> nproc: 12:04:46 8 12:04:46 12:04:46 12:04:46 ---> df -h: 12:04:46 Filesystem Size Used Avail Use% Mounted on 12:04:46 overlay 155G 12G 144G 8% / 12:04:46 tmpfs 64M 0 64M 0% /dev 12:04:46 tmpfs 16G 0 16G 0% /sys/fs/cgroup 12:04:46 shm 64M 0 64M 0% /dev/shm 12:04:46 /dev/vda1 155G 12G 144G 8% /facter-os 12:04:46 12:04:46