Pull request #535 opened 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 FelixTing for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 26a549471705edf53de72da5adb911f40eb37efc+f1ae59df93e15168f5c84516dd369218cbd3ebf1 (08c70fc46b926844d60c14837f21e86301e00e95) 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-ssh7338254351261573765.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh15041209924132151123.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-535/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-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8588496902857572671.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-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3973287676580044762.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > 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-ssh12310702372853064658.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-535/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-535/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2617162669277635768.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-3540 in /w/workspace/foundry_device-virtual-go_PR-535 [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-535 # 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 f1ae59df93e15168f5c84516dd369218cbd3ebf1 into PR head commit 26a549471705edf53de72da5adb911f40eb37efc Merge succeeded, producing 26a549471705edf53de72da5adb911f40eb37efc Checking out Revision 26a549471705edf53de72da5adb911f40eb37efc (PR-535) > 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/535/head:refs/remotes/origin/PR-535 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26a549471705edf53de72da5adb911f40eb37efc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f1ae59df93e15168f5c84516dd369218cbd3ebf1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26a549471705edf53de72da5adb911f40eb37efc # timeout=10 Commit message: "feat: Add support for object-typed readings" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:35:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:35:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:35:55 ========================================================= 03:35:55 EdgeX Global Pipelines Version Info 03:35:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:35:56 ------------------- 03:35:56 stable info: 03:35:56 ------------------- 03:35:56 Commited By: Ginny Guan ginny@iotechsys.com 03:35:56 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 03:35:56 Message: update stable to v1.0.274 03:35:56 ------------------- 03:35:56 experimental info: 03:35:56 ------------------- 03:35:56 Commited By: **** collab-it+edgex@linuxfoundation.org 03:35:56 Commit SHA: 8bc3b1671107dfff59e2863929571a4024cd8906 03:35:56 Message: update experimental to v1.0.275 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:35:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 03:35:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 03:35:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:35:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:35:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:35:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 03:35:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:35:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:35:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:35:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:35:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:35:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 03:35:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:35:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:35:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:35:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:35:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:35:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:35:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:35:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:35:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:35:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:35:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:35:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:35:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:35:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:35:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:35:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-535 [Pipeline] echo 03:35:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-535 [Pipeline] echo 03:35:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-535 [Pipeline] echo 03:35:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 26a549471705edf53de72da5adb911f40eb37efc [Pipeline] echo 03:35:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 26a5494 [Pipeline] echo 03:35:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:35:58 provisioning config files... 03:35:58 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-535@tmp/config411223185462449154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:35:59 ---> ****-login.sh 03:35:59 nexus3.edgexfoundry.org:10001 03:35:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:00 Configure a credential helper to remove this warning. See 03:36:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:00 03:36:00 Login Succeeded 03:36:00 nexus3.edgexfoundry.org:10002 03:36:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:00 Configure a credential helper to remove this warning. See 03:36:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:00 03:36:00 Login Succeeded 03:36:00 nexus3.edgexfoundry.org:10003 03:36:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:00 Configure a credential helper to remove this warning. See 03:36:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:00 03:36:00 Login Succeeded 03:36:00 nexus3.edgexfoundry.org:10004 03:36:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:00 Configure a credential helper to remove this warning. See 03:36:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:00 03:36:00 Login Succeeded 03:36:00 ****.io 03:36:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:00 Configure a credential helper to remove this warning. See 03:36:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:00 03:36:00 Login Succeeded 03:36:00 ---> ****-login.sh ends [Pipeline] } 03:36:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:36:01 + git rev-list -1 --merges 26a549471705edf53de72da5adb911f40eb37efc~1..26a549471705edf53de72da5adb911f40eb37efc [Pipeline] echo 03:36:01 -----------> git rev-list -1 --merges 26a549471705edf53de72da5adb911f40eb37efc~1..26a549471705edf53de72da5adb911f40eb37efc 26a549471705edf53de72da5adb911f40eb37efc [false] [Pipeline] sh 03:36:01 + git log --format=format:%s -1 26a549471705edf53de72da5adb911f40eb37efc [Pipeline] echo 03:36:01 ========================================================= 03:36:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:36:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:36:02 + git log --format=format:%s -1 26a549471705edf53de72da5adb911f40eb37efc [Pipeline] echo 03:36:02 [semverPrep] GIT_COMMIT: 26a549471705edf53de72da5adb911f40eb37efc, Commit Message: feat: Add support for object-typed readings [Pipeline] echo 03:36:02 [semverPrep] This is not a build commit. [Pipeline] sh 03:36:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:36:02 + grep -v github /etc/ssh/ssh_known_hosts 03:36:02 + [ -e /tmp/ssh_known_hosts ] 03:36:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:36:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:36:02 + sudo tee -a /etc/ssh/ssh_known_hosts 03:36:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:36:03 03:36:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:36:03 0.1.4: Pulling from edgex-devops/py-git-semver 03:36:03 3dae71ba6b94: Pulling fs layer 03:36:03 6bf1a483ea7c: Pulling fs layer 03:36:03 f5dfc541a4d3: Pulling fs layer 03:36:03 461d9e800cba: Pulling fs layer 03:36:03 80192f66455f: Pulling fs layer 03:36:03 2e8e34ca0e6c: Pulling fs layer 03:36:03 a29436f7fd5d: Pulling fs layer 03:36:03 923cac83aea3: Pulling fs layer 03:36:03 25ad8b0a4227: Pulling fs layer 03:36:03 db01528c6b51: Pulling fs layer 03:36:03 28988de357af: Pulling fs layer 03:36:03 a29436f7fd5d: Waiting 03:36:03 461d9e800cba: Waiting 03:36:03 923cac83aea3: Waiting 03:36:03 db01528c6b51: Waiting 03:36:03 28988de357af: Waiting 03:36:03 6bf1a483ea7c: Verifying Checksum 03:36:03 6bf1a483ea7c: Download complete 03:36:03 461d9e800cba: Verifying Checksum 03:36:03 461d9e800cba: Download complete 03:36:04 80192f66455f: Verifying Checksum 03:36:04 80192f66455f: Download complete 03:36:04 f5dfc541a4d3: Verifying Checksum 03:36:04 f5dfc541a4d3: Download complete 03:36:04 3dae71ba6b94: Verifying Checksum 03:36:04 3dae71ba6b94: Download complete 03:36:04 923cac83aea3: Download complete 03:36:04 25ad8b0a4227: Verifying Checksum 03:36:04 25ad8b0a4227: Download complete 03:36:04 db01528c6b51: Verifying Checksum 03:36:04 db01528c6b51: Download complete 03:36:04 a29436f7fd5d: Verifying Checksum 03:36:04 a29436f7fd5d: Download complete 03:36:04 2e8e34ca0e6c: Download complete 03:36:05 3dae71ba6b94: Pull complete 03:36:05 6bf1a483ea7c: Pull complete 03:36:05 f5dfc541a4d3: Pull complete 03:36:05 461d9e800cba: Pull complete 03:36:05 80192f66455f: Pull complete 03:36:09 2e8e34ca0e6c: Pull complete 03:36:09 a29436f7fd5d: Pull complete 03:36:09 923cac83aea3: Pull complete 03:36:09 25ad8b0a4227: Pull complete 03:36:09 db01528c6b51: Pull complete 03:36:10 28988de357af: Pull complete 03:36:10 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 03:36:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:36:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:36:10 prd-ubuntu20.04-docker-8c-8g-3540 does not seem to be running inside a container 03:36:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-535 -v /w/workspace/foundry_device-virtual-go_PR-535:/w/workspace/foundry_device-virtual-go_PR-535:rw,z -v /w/workspace/foundry_device-virtual-go_PR-535@tmp:/w/workspace/foundry_device-virtual-go_PR-535@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-devops/py-git-semver:0.1.4 cat 03:36:13 $ docker top b46992f6b1ca118def624c96dfc1c6160a7aa0224413c102fa8babeab57be016 -eo pid,comm 03:36:13 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). 03:36:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:36:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:36:13 [ssh-agent] Looking for ssh-agent implementation... 03:36:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:36:13 $ docker exec b46992f6b1ca118def624c96dfc1c6160a7aa0224413c102fa8babeab57be016 ssh-agent 03:36:13 SSH_AUTH_SOCK=/tmp/ssh-9SXNc1nFgdWg/agent.33 03:36:13 SSH_AGENT_PID=39 03:36:13 Running ssh-add (command line suppressed) 03:36:13 Identity added: /w/workspace/foundry_device-virtual-go_PR-535@tmp/private_key_15914491179376979952.key (/w/workspace/foundry_device-virtual-go_PR-535@tmp/private_key_15914491179376979952.key) 03:36:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:36:14 + git tag --points-at HEAD [Pipeline] } 03:36:14 $ docker exec --env ******** --env ******** b46992f6b1ca118def624c96dfc1c6160a7aa0224413c102fa8babeab57be016 ssh-agent -k 03:36:14 unset SSH_AUTH_SOCK; 03:36:14 unset SSH_AGENT_PID; 03:36:14 echo Agent pid 39 killed; 03:36:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:36:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:36:14 [ssh-agent] Looking for ssh-agent implementation... 03:36:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:36:14 $ docker exec b46992f6b1ca118def624c96dfc1c6160a7aa0224413c102fa8babeab57be016 ssh-agent 03:36:14 SSH_AUTH_SOCK=/tmp/ssh-GWHENJgqadPp/agent.73 03:36:14 SSH_AGENT_PID=79 03:36:14 Running ssh-add (command line suppressed) 03:36:14 Identity added: /w/workspace/foundry_device-virtual-go_PR-535@tmp/private_key_16703931877290098425.key (/w/workspace/foundry_device-virtual-go_PR-535@tmp/private_key_16703931877290098425.key) 03:36:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:36:14 + git semver init 03:36:15 2025-06-19 03:36:15,177 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 03:36:15 2025-06-19 03:36:15,180 [run_init] DEBUG init version:0.0.0 force:False 03:36:15 2025-06-19 03:36:15,181 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-535/.semver 03:36:15 2025-06-19 03:36:15,181 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-535/.semver 03:36:15 2025-06-19 03:36:15,181 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-535/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-535, stdin=None, shell=False, universal_newlines=False) 03:36:17 2025-06-19 03:36:16,863 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-535/.git/info/exclude 03:36:17 2025-06-19 03:36:16,863 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-535/.semver/PR-535 with force:False 03:36:17 2025-06-19 03:36:16,863 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-535/.semver/PR-535 03:36:17 2025-06-19 03:36:16,868 [execute] INFO git cat-file --batch-check 03:36:17 2025-06-19 03:36:16,869 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-535/.semver, stdin=, shell=False, universal_newlines=False) 03:36:17 2025-06-19 03:36:16,872 [execute] INFO git cat-file --batch 03:36:17 2025-06-19 03:36:16,872 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-535/.semver, stdin=, shell=False, universal_newlines=False) 03:36:17 2025-06-19 03:36:16,876 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-535/.semver/PR-535 03:36:17 0.0.0 [Pipeline] } 03:36:17 $ docker exec --env ******** --env ******** b46992f6b1ca118def624c96dfc1c6160a7aa0224413c102fa8babeab57be016 ssh-agent -k 03:36:17 unset SSH_AUTH_SOCK; 03:36:17 unset SSH_AGENT_PID; 03:36:17 echo Agent pid 79 killed; 03:36:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:36:17 + git semver [Pipeline] } 03:36:18 $ docker stop --time=1 b46992f6b1ca118def624c96dfc1c6160a7aa0224413c102fa8babeab57be016 03:36:19 $ docker rm -f --volumes b46992f6b1ca118def624c96dfc1c6160a7aa0224413c102fa8babeab57be016 [Pipeline] // withDockerContainer [Pipeline] sh 03:36:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:36:20 Stashed 1 file(s) [Pipeline] echo 03:36:20 [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 03:36:21 provisioning config files... 03:36:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-535@tmp/config485322555441486487tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 03:36:21 ---> ****-login.sh 03:36:21 nexus3.edgexfoundry.org:10001 03:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:21 Configure a credential helper to remove this warning. See 03:36:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:21 03:36:21 Login Succeeded 03:36:21 nexus3.edgexfoundry.org:10002 03:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:21 Configure a credential helper to remove this warning. See 03:36:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:21 03:36:21 Login Succeeded 03:36:21 nexus3.edgexfoundry.org:10003 03:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:21 Configure a credential helper to remove this warning. See 03:36:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:21 03:36:21 Login Succeeded 03:36:21 nexus3.edgexfoundry.org:10004 03:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:21 Configure a credential helper to remove this warning. See 03:36:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:21 03:36:21 Login Succeeded 03:36:21 ****.io 03:36:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:22 Configure a credential helper to remove this warning. See 03:36:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:22 03:36:22 Login Succeeded 03:36:22 ---> ****-login.sh ends [Pipeline] } 03:36:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:36:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:36:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:36:22 ========================================================= 03:36:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 03:36:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:22 + 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 . 03:36:22 Sending build context to Docker daemon 40.73MB 03:36:22 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 03:36:22 Step 2/12 : FROM ${BASE} AS builder 03:36:23 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 03:36:23 0a9a5dfd008f: Pulling fs layer 03:36:23 36466aa92d05: Pulling fs layer 03:36:23 e10405b45d13: Pulling fs layer 03:36:23 096b7ceb2af7: Pulling fs layer 03:36:23 4f4fb700ef54: Pulling fs layer 03:36:23 8213a616a21b: Pulling fs layer 03:36:23 985586143405: Pulling fs layer 03:36:23 0eae2285b678: Pulling fs layer 03:36:23 d3ac315be8c5: Pulling fs layer 03:36:23 0eae2285b678: Waiting 03:36:23 d3ac315be8c5: Waiting 03:36:23 985586143405: Waiting 03:36:23 4f4fb700ef54: Waiting 03:36:23 096b7ceb2af7: Waiting 03:36:23 36466aa92d05: Verifying Checksum 03:36:23 36466aa92d05: Download complete 03:36:23 096b7ceb2af7: Verifying Checksum 03:36:23 096b7ceb2af7: Download complete 03:36:23 4f4fb700ef54: Download complete 03:36:23 8213a616a21b: Download complete 03:36:23 0a9a5dfd008f: Download complete 03:36:23 985586143405: Verifying Checksum 03:36:23 985586143405: Download complete 03:36:23 0a9a5dfd008f: Pull complete 03:36:23 d3ac315be8c5: Verifying Checksum 03:36:23 d3ac315be8c5: Download complete 03:36:23 36466aa92d05: Pull complete 03:36:23 e10405b45d13: Download complete 03:36:23 0eae2285b678: Verifying Checksum 03:36:23 0eae2285b678: Download complete 03:36:27 e10405b45d13: Pull complete 03:36:27 096b7ceb2af7: Pull complete 03:36:27 4f4fb700ef54: Pull complete 03:36:27 8213a616a21b: Pull complete 03:36:27 985586143405: Pull complete 03:36:29 0eae2285b678: Pull complete 03:36:29 d3ac315be8c5: Pull complete 03:36:29 Digest: sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 03:36:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 03:36:29 ---> ea6120ae94a0 03:36:29 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:36:31 ---> Running in c75b2b775500 03:36:32 Removing intermediate container c75b2b775500 03:36:32 ---> ace26b28978f 03:36:32 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:36:32 ---> Running in 51a6eba8255e 03:36:32 Removing intermediate container 51a6eba8255e 03:36:32 ---> 212eb3043b95 03:36:32 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:36:32 ---> Running in a8dd22443cf2 03:36:32 Removing intermediate container a8dd22443cf2 03:36:32 ---> 0a5bb4e547a2 03:36:32 Step 6/12 : WORKDIR /device-virtual-go 03:36:32 ---> Running in 8461854f9543 03:36:32 Removing intermediate container 8461854f9543 03:36:32 ---> bbad555116f9 03:36:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:36:32 ---> Running in 44269da87552 03:36:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:36:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:36:33 (1/4) Installing openssh-keygen (9.7_p1-r5) 03:36:33 (2/4) Installing libedit (20240517.3.1-r0) 03:36:33 (3/4) Installing openssh-client-common (9.7_p1-r5) 03:36:33 (4/4) Installing openssh-client-default (9.7_p1-r5) 03:36:33 Executing busybox-1.36.1-r29.trigger 03:36:33 OK: 252 MiB in 62 packages 03:36:33 Removing intermediate container 44269da87552 03:36:33 ---> f51d32ec7d34 03:36:33 Step 8/12 : COPY go.mod vendor* ./ 03:36:33 ---> f45cc87627dc 03:36:33 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:36:33 ---> Running in 7dff63b5057c 03:37:41 Removing intermediate container 7dff63b5057c 03:37:41 ---> 5ce586d07285 03:37:41 Step 10/12 : COPY . . 03:37:41 ---> 56b57c8189ce 03:37:41 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:37:41 ---> Running in a5664e8db5e3 03:37:41 Removing intermediate container a5664e8db5e3 03:37:41 ---> f3143b2c6d24 03:37:41 Step 12/12 : RUN $MAKE 03:37:41 ---> Running in 621a57a8195c 03:37:41 noop 03:37:41 Removing intermediate container 621a57a8195c 03:37:41 ---> b569d11bf8ba 03:37:41 Successfully built b569d11bf8ba 03:37:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:41 + docker inspect -f . ci-base-image-x86_64 03:37:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:37:42 prd-ubuntu20.04-docker-8c-8g-3540 does not seem to be running inside a container 03:37:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-535 -v /w/workspace/foundry_device-virtual-go_PR-535:/w/workspace/foundry_device-virtual-go_PR-535:rw,z -v /w/workspace/foundry_device-virtual-go_PR-535@tmp:/w/workspace/foundry_device-virtual-go_PR-535@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 ******** ci-base-image-x86_64 cat 03:37:42 $ docker top 07ba2109b48e4f77a46da7f5b3e36e59bfa435488505b9aef48639445542a546 -eo pid,comm [Pipeline] { [Pipeline] sh 03:37:42 + go version 03:37:42 go version go1.23.9 linux/amd64 [Pipeline] } 03:37:43 $ docker stop --time=1 07ba2109b48e4f77a46da7f5b3e36e59bfa435488505b9aef48639445542a546 03:37:44 $ docker rm -f --volumes 07ba2109b48e4f77a46da7f5b3e36e59bfa435488505b9aef48639445542a546 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:45 + docker inspect -f . ci-base-image-x86_64 03:37:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:37:45 prd-ubuntu20.04-docker-8c-8g-3540 does not seem to be running inside a container 03:37:45 $ 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-535 -v /w/workspace/foundry_device-virtual-go_PR-535:/w/workspace/foundry_device-virtual-go_PR-535:rw,z -v /w/workspace/foundry_device-virtual-go_PR-535@tmp:/w/workspace/foundry_device-virtual-go_PR-535@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 ******** ci-base-image-x86_64 cat 03:37:45 $ docker top 6a5b9ecb0694c3a0dfea172e3c87fa1aa8be20ccbe743d6e9727a1d1360725a5 -eo pid,comm [Pipeline] { [Pipeline] sh 03:37:46 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-535 [Pipeline] fileExists [Pipeline] sh 03:37:46 + make test 03:37:46 go test ./... -coverprofile=coverage.out 03:37:47 ? github.com/edgexfoundry/device-virtual-go [no test files] 03:38:05 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 03:38:05 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.013s coverage: 59.1% of statements 03:38:15 go vet ./... 03:38:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:38:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:38:20 ./bin/test-attribution-txt.sh [Pipeline] echo 03:38:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 03:38:20 $ docker stop --time=1 6a5b9ecb0694c3a0dfea172e3c87fa1aa8be20ccbe743d6e9727a1d1360725a5 03:38:23 $ docker rm -f --volumes 6a5b9ecb0694c3a0dfea172e3c87fa1aa8be20ccbe743d6e9727a1d1360725a5 [Pipeline] // withDockerContainer [Pipeline] sh 03:38:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:38:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:38:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:38:25 + ls -al . 03:38:25 total 268 03:38:25 drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 03:37 . 03:38:25 drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 03:35 .. 03:38:25 drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 03:38 .git 03:38:25 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 03:35 .github 03:38:25 -rw-rw-r-- 1 jenkins jenkins 272 Jun 19 03:35 .gitignore 03:38:25 -rw-rw-r-- 1 jenkins jenkins 199 Jun 19 03:35 .golangci.yml 03:38:25 drwxr-xr-x 3 jenkins jenkins 4096 Jun 19 03:36 .semver 03:38:25 -rw-rw-r-- 1 jenkins jenkins 18321 Jun 19 03:35 Attribution.txt 03:38:25 -rw-rw-r-- 1 jenkins jenkins 17302 Jun 19 03:35 CHANGELOG.md 03:38:25 -rw-rw-r-- 1 jenkins jenkins 1755 Jun 19 03:35 Dockerfile 03:38:25 -rw-rw-r-- 1 jenkins jenkins 677 Jun 19 03:35 GOVERNANCE.md 03:38:25 -rw-rw-r-- 1 jenkins jenkins 660 Jun 19 03:35 Jenkinsfile 03:38:25 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 19 03:35 LICENSE 03:38:25 -rw-rw-r-- 1 jenkins jenkins 2652 Jun 19 03:35 Makefile 03:38:25 -rw-rw-r-- 1 jenkins jenkins 623 Jun 19 03:35 OWNERS.md 03:38:25 -rw-rw-r-- 1 jenkins jenkins 4473 Jun 19 03:35 README.md 03:38:25 -rw-rw-r-- 1 jenkins jenkins 5 Jun 19 03:36 VERSION 03:38:25 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 03:35 bin 03:38:25 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 03:35 cmd 03:38:25 -rw-r--r-- 1 jenkins jenkins 44412 Jun 19 03:38 coverage.out 03:38:25 -rw-rw-r-- 1 jenkins jenkins 6032 Jun 19 03:35 go.mod 03:38:25 -rw-rw-r-- 1 jenkins jenkins 86532 Jun 19 03:35 go.sum 03:38:25 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 03:35 internal 03:38:25 -rw-rw-r-- 1 jenkins jenkins 235 Jun 19 03:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:25 + 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=26a549471705edf53de72da5adb911f40eb37efc --label arch=amd64 --label version=0.0.0 . 03:38:25 Sending build context to Docker daemon 40.78MB 03:38:25 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 03:38:25 Step 2/26 : FROM ${BASE} AS builder 03:38:25 ---> b569d11bf8ba 03:38:25 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:38:26 ---> Running in cde344f436f1 03:38:26 Removing intermediate container cde344f436f1 03:38:26 ---> 99a25880767d 03:38:26 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:38:26 ---> Running in 65c033ebacc3 03:38:26 Removing intermediate container 65c033ebacc3 03:38:26 ---> 5bd87e0ca53f 03:38:26 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:38:26 ---> Running in b79a2323ca20 03:38:26 Removing intermediate container b79a2323ca20 03:38:26 ---> 522a68dacb6f 03:38:26 Step 6/26 : WORKDIR /device-virtual-go 03:38:26 ---> Running in a0046f72c492 03:38:26 Removing intermediate container a0046f72c492 03:38:26 ---> 1c6fd29dd80a 03:38:26 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:38:26 ---> Running in 749ae1b60c9c 03:38:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:38:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:38:27 OK: 252 MiB in 62 packages 03:38:27 Removing intermediate container 749ae1b60c9c 03:38:27 ---> 8c94f22f3406 03:38:27 Step 8/26 : COPY go.mod vendor* ./ 03:38:27 ---> 29f5168831af 03:38:27 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:38:27 ---> Running in 84b53170479a 03:38:28 Removing intermediate container 84b53170479a 03:38:28 ---> 91b54a395a6c 03:38:28 Step 10/26 : COPY . . 03:38:29 ---> fd5f3cc41219 03:38:29 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:38:29 ---> Running in e43f4d915a30 03:38:29 Removing intermediate container e43f4d915a30 03:38:29 ---> 0e14ce2d7628 03:38:29 Step 12/26 : RUN $MAKE 03:38:29 ---> Running in 5bcd5b5133d9 03:38:29 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 03:38:56 Removing intermediate container 5bcd5b5133d9 03:38:56 ---> 83b5b50e4492 03:38:56 Step 13/26 : FROM alpine:3.20 03:38:56 3.20: Pulling from library/alpine 03:38:56 0a9a5dfd008f: Already exists 03:38:56 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 03:38:56 Status: Downloaded newer image for alpine:3.20 03:38:56 ---> ff221270b9fb 03:38:56 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 03:38:56 ---> Running in 8f6b987e7739 03:38:56 Removing intermediate container 8f6b987e7739 03:38:56 ---> 1341154032fc 03:38:56 Step 15/26 : RUN apk add --update --no-cache dumb-init 03:38:56 ---> Running in 66907ab6f90f 03:38:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:38:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:38:57 (1/1) Installing dumb-init (1.2.5-r3) 03:38:57 Executing busybox-1.36.1-r29.trigger 03:38:57 OK: 8 MiB in 15 packages 03:38:57 Removing intermediate container 66907ab6f90f 03:38:57 ---> 3f888a6d6ee6 03:38:57 Step 16/26 : RUN apk --no-cache upgrade 03:38:57 ---> Running in cc79ec3c08d1 03:38:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:38:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:38:58 OK: 8 MiB in 15 packages 03:38:58 Removing intermediate container cc79ec3c08d1 03:38:58 ---> f9a8f90a364d 03:38:58 Step 17/26 : WORKDIR / 03:38:58 ---> Running in f51dca5d8a0e 03:38:58 Removing intermediate container f51dca5d8a0e 03:38:58 ---> 611fb4139e0a 03:38:58 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 03:38:59 ---> c6cead172ae5 03:38:59 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 03:38:59 ---> 6b58424986bc 03:38:59 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 03:38:59 ---> 74b4b2919497 03:38:59 Step 21/26 : EXPOSE 59900 03:38:59 ---> Running in 80b10167c13d 03:38:59 Removing intermediate container 80b10167c13d 03:38:59 ---> e9d538b8276a 03:38:59 Step 22/26 : ENTRYPOINT ["/device-virtual"] 03:38:59 ---> Running in 4c2a474e1900 03:38:59 Removing intermediate container 4c2a474e1900 03:38:59 ---> c96342e0f002 03:38:59 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 03:38:59 ---> Running in 98699403dc24 03:38:59 Removing intermediate container 98699403dc24 03:38:59 ---> 95d27371a001 03:38:59 Step 24/26 : LABEL arch=amd64 03:38:59 ---> Running in b90154e15ace 03:39:00 Removing intermediate container b90154e15ace 03:39:00 ---> e5415fc4eba8 03:39:00 Step 25/26 : LABEL git_sha=26a549471705edf53de72da5adb911f40eb37efc 03:39:00 ---> Running in 59f01e930a83 03:39:00 Removing intermediate container 59f01e930a83 03:39:00 ---> 876d7ad11845 03:39:00 Step 26/26 : LABEL version=0.0.0 03:39:00 ---> Running in 3a1e2ad13ba7 03:39:00 Removing intermediate container 3a1e2ad13ba7 03:39:00 ---> 907352ea0005 03:39:00 [Warning] One or more build-args [ARCH] were not consumed 03:39:00 Successfully built 907352ea0005 03:39:00 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 03:39:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:39:01 03:39:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:39:01 latest: Pulling from edgex-lftools-log-publisher 03:39:01 5eb5b503b376: Pulling fs layer 03:39:01 5c69ac0246d0: Pulling fs layer 03:39:01 ec43610c2a17: Pulling fs layer 03:39:01 3a2ae6a8a46f: Pulling fs layer 03:39:01 33b1e0a273af: Pulling fs layer 03:39:01 5d3b04190fa2: Pulling fs layer 03:39:01 2f39f015ded8: Pulling fs layer 03:39:01 33b1e0a273af: Waiting 03:39:01 5d3b04190fa2: Waiting 03:39:01 2f39f015ded8: Waiting 03:39:01 3a2ae6a8a46f: Waiting 03:39:01 5c69ac0246d0: Verifying Checksum 03:39:01 5c69ac0246d0: Download complete 03:39:01 3a2ae6a8a46f: Verifying Checksum 03:39:01 3a2ae6a8a46f: Download complete 03:39:01 33b1e0a273af: Verifying Checksum 03:39:01 33b1e0a273af: Download complete 03:39:01 5d3b04190fa2: Verifying Checksum 03:39:01 5d3b04190fa2: Download complete 03:39:01 ec43610c2a17: Download complete 03:39:01 5eb5b503b376: Verifying Checksum 03:39:01 5eb5b503b376: Download complete 03:39:02 2f39f015ded8: Download complete 03:39:02 5eb5b503b376: Pull complete 03:39:02 5c69ac0246d0: Pull complete 03:39:03 ec43610c2a17: Pull complete 03:39:03 3a2ae6a8a46f: Pull complete 03:39:03 33b1e0a273af: Pull complete 03:39:03 5d3b04190fa2: Pull complete 03:39:07 2f39f015ded8: Pull complete 03:39:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:39:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:39:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:39:07 prd-ubuntu20.04-docker-8c-8g-3540 does not seem to be running inside a container 03:39:07 $ 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-535 -v /w/workspace/foundry_device-virtual-go_PR-535:/w/workspace/foundry_device-virtual-go_PR-535:rw,z -v /w/workspace/foundry_device-virtual-go_PR-535@tmp:/w/workspace/foundry_device-virtual-go_PR-535@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:39:11 $ docker top b4ed1d5b806b3deb1628c2943babdda44975b6cb359bf5e68c82963ff318657c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:39:11 ---> job-cost.sh 03:39:11 lf-activate-venv: SKIPPING 03:39:11 INFO: No Stack... 03:39:12 INFO: Retrieving Pricing Info for: v3-standard-8 03:39:12 INFO: Archiving Costs [Pipeline] sh 03:39:12 + cat /w/workspace/foundry_device-virtual-go_PR-535/archives/cost.csv 03:39:12 + cut -d, -f6 [Pipeline] lock 03:39:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-535-1-stack-cost] 03:39:12 Resource [jenkins-edgexfoundry-device-virtual-go-PR-535-1-stack-cost] did not exist. Created. 03:39:12 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-535-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:39:13 + echo total: 0.2199999988079071 [Pipeline] stash 03:39:13 Stashed 1 file(s) [Pipeline] } 03:39:13 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-535-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:39:13 $ docker stop --time=1 b4ed1d5b806b3deb1628c2943babdda44975b6cb359bf5e68c82963ff318657c 03:39:14 $ docker rm -f --volumes b4ed1d5b806b3deb1628c2943babdda44975b6cb359bf5e68c82963ff318657c [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 03:39:15 provisioning config files... 03:39:15 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-535@tmp/config11558919288162083418tmp [Pipeline] { [Pipeline] sh 03:39:15 + set +x 03:39:15 + curl -s https://codecov.io/bash 03:39:15 + bash -s -- 03:39:15 03:39:15 _____ _ 03:39:15 / ____| | | 03:39:15 | | ___ __| | ___ ___ _____ __ 03:39:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:39:15 | |___| (_) | (_| | __/ (_| (_) \ V / 03:39:15 \_____\___/ \__,_|\___|\___\___/ \_/ 03:39:15 Bash-1.0.6 03:39:15 03:39:15 03:39:15 ==> git version 2.25.1 found 03:39:15 ==> 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 03:39:15 Release-Date: 2020-01-08 03:39:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:39:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:39:15 ==> Jenkins CI detected. 03:39:15 current dir:  /w/workspace/foundry_device-virtual-go_PR-535 03:39:15 project root: . 03:39:15 --> token set from env 03:39:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:39:15 ==> Running gcov in . (disable via -X gcov) 03:39:15 ==> Python coveragepy not found 03:39:15 ==> Searching for coverage reports in: 03:39:15 + . 03:39:15 -> Found 1 reports 03:39:15 ==> Detecting git/mercurial file structure 03:39:15 ==> Reading reports 03:39:15 + ./coverage.out bytes=44412 03:39:15 ==> Appending adjustments 03:39:15 https://docs.codecov.io/docs/fixing-reports 03:39:15 + Found adjustments 03:39:15 ==> Gzipping contents 03:39:15 8.0K /tmp/codecov.pny52T.gz 03:39:15 ==> Uploading reports 03:39:15 url: https://codecov.io 03:39:15 query: branch=PR-535&commit=26a549471705edf53de72da5adb911f40eb37efc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-535%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=535&job=&cmd_args= 03:39:15 -> Pinging Codecov 03:39:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-535&commit=26a549471705edf53de72da5adb911f40eb37efc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-535%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=535&job=&cmd_args= 03:39:16 -> Uploading to 03:39:16 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-virtual-go/26a549471705edf53de72da5adb911f40eb37efc/157d5243-24b8-4ad9-bb0f-9f8712f0f8ba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250619%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250619T033915Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=e6c0c73e136cd456478ce43cde58489c8a69d5a21f62c984d201a912240b46dd 03:39:16 % Total % Received % Xferd Average Speed Time Time Time Current 03:39:16 Dload Upload Total Spent Left Speed 03:39:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5231 0 0 100 5231 0 20042 --:--:-- --:--:-- --:--:-- 19965 03:39:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/26a549471705edf53de72da5adb911f40eb37efc [Pipeline] } 03:39:16 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 03:39:18 + [ -d /w/workspace/foundry_device-virtual-go_PR-535/archives ] 03:39:18 + ls -al /w/workspace/foundry_device-virtual-go_PR-535/archives 03:39:18 total 16 03:39:18 drwxr-xr-x 3 root root 4096 Jun 19 03:39 . 03:39:18 drwxrwxr-x 9 jenkins jenkins 4096 Jun 19 03:39 .. 03:39:18 drwxr-xr-x 2 root root 4096 Jun 19 03:39 cost 03:39:18 -rw-r--r-- 1 root root 89 Jun 19 03:39 cost.csv 03:39:18 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-535/archives 03:39:18 + ls -al /w/workspace/foundry_device-virtual-go_PR-535/archives 03:39:18 total 16 03:39:18 drwxr-xr-x 3 jenkins jenkins 4096 Jun 19 03:39 . 03:39:18 drwxrwxr-x 9 jenkins jenkins 4096 Jun 19 03:39 .. 03:39:18 drwxr-xr-x 2 jenkins jenkins 4096 Jun 19 03:39 cost 03:39:18 -rw-r--r-- 1 jenkins jenkins 89 Jun 19 03:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:39:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:39:19 ---> package-listing.sh 03:39:19 ++ facter osfamily 03:39:19 ++ tr '[:upper:]' '[:lower:]' 03:39:19 + OS_FAMILY=debian 03:39:19 + workspace=/w/workspace/foundry_device-virtual-go_PR-535 03:39:19 + START_PACKAGES=/tmp/packages_start.txt 03:39:19 + END_PACKAGES=/tmp/packages_end.txt 03:39:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:39:19 + PACKAGES=/tmp/packages_start.txt 03:39:19 + '[' /w/workspace/foundry_device-virtual-go_PR-535 ']' 03:39:19 + PACKAGES=/tmp/packages_end.txt 03:39:19 + case "${OS_FAMILY}" in 03:39:19 + dpkg -l 03:39:19 + grep '^ii' 03:39:19 + '[' -f /tmp/packages_start.txt ']' 03:39:19 + '[' -f /tmp/packages_end.txt ']' 03:39:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:39:19 + '[' /w/workspace/foundry_device-virtual-go_PR-535 ']' 03:39:19 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-535/archives/ 03:39:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-535/archives/ [Pipeline] echo 03:39:19 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-535/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:39:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:39:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:39:20 prd-ubuntu20.04-docker-8c-8g-3540 does not seem to be running inside a container 03:39:20 $ 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-535/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-535 -v /w/workspace/foundry_device-virtual-go_PR-535:/w/workspace/foundry_device-virtual-go_PR-535:rw,z -v /w/workspace/foundry_device-virtual-go_PR-535@tmp:/w/workspace/foundry_device-virtual-go_PR-535@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:39:21 $ docker top 5039c8da4d7c485ff62c02d4ed4d8e288e474ca4ea41f230ba30f29c94bc1d48 -eo pid,comm [Pipeline] { [Pipeline] sh 03:39:21 + touch /tmp/pre-build-complete [Pipeline] sh 03:39:21 + mkdir -p /var/log/sysstat [Pipeline] sh 03:39:22 + ls /var/log/sa-host 03:39:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:39:22 provisioning config files... 03:39:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-535@tmp/config5360923975586486617tmp [Pipeline] { [Pipeline] echo 03:39:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:39:22 ---> create-netrc.sh [Pipeline] } 03:39:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:39:23 ---> python-tools-install.sh [Pipeline] echo 03:39:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:39:23 ---> sudo-logs.sh 03:39:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:39:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:39:24 ---> job-cost.sh 03:39:24 lf-activate-venv: SKIPPING 03:39:24 DEBUG: total: 0.2199999988079071 03:39:24 INFO: Retrieving Stack Cost... 03:39:24 INFO: Retrieving Pricing Info for: v3-standard-8 03:39:24 INFO: Archiving Costs [Pipeline] echo 03:39:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:39:24 ---> logs-deploy.sh 03:39:24 lf-activate-venv: SKIPPING 03:39:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-535/1 03:39:24 INFO: archiving workspace using pattern(s): 03:39:25 Archives upload complete. 03:39:25 INFO: archiving logs to Nexus