Pull request #536 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 644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f+010fbd8dec9bbb1ea6641e05522169e05f3890e7 (2dc4879383212fa655506079bfafbf6d818d8686) 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-ssh4767220669801159950.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-ssh10544732862624380238.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-536/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-536/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17469248183100802471.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-536/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16103474384728493313.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-ssh6688821279735173961.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-536/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-536/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9351181435215224691.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-4034 in /w/workspace/foundry_device-virtual-go_PR-536 [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-536 # 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 010fbd8dec9bbb1ea6641e05522169e05f3890e7 into PR head commit 644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f Merge succeeded, producing 644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f Checking out Revision 644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f (PR-536) > 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/536/head:refs/remotes/origin/PR-536 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f # 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 010fbd8dec9bbb1ea6641e05522169e05f3890e7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f # timeout=10 Commit message: "fix: Add unit test for ObjectArray resource" 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 12:47:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:47:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:47:33 ========================================================= 12:47:33 EdgeX Global Pipelines Version Info 12:47:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:47:34 ------------------- 12:47:34 stable info: 12:47:34 ------------------- 12:47:34 Commited By: Ginny Guan ginny@iotechsys.com 12:47:34 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 12:47:34 Message: update stable to v1.0.274 12:47:34 ------------------- 12:47:34 experimental info: 12:47:34 ------------------- 12:47:34 Commited By: **** collab-it+edgex@linuxfoundation.org 12:47:34 Commit SHA: 8bc3b1671107dfff59e2863929571a4024cd8906 12:47:34 Message: update experimental to v1.0.275 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:47:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 12:47:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 12:47:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:47:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:47:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:47:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 12:47:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:47:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:47:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:47:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:47:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:47:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 12:47:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:47:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:47:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:47:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:47:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:47:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:47:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:47:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:47:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:47:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:47:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:47:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:47:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:47:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:47:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:47:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-536 [Pipeline] echo 12:47:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-536 [Pipeline] echo 12:47:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-536 [Pipeline] echo 12:47:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f [Pipeline] echo 12:47:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 644bc4a [Pipeline] echo 12:47:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:47:37 provisioning config files... 12:47:37 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-536@tmp/config16656641753994544456tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:47:37 ---> ****-login.sh 12:47:37 nexus3.edgexfoundry.org:10001 12:47:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:47:37 Configure a credential helper to remove this warning. See 12:47:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:47:37 12:47:37 Login Succeeded 12:47:37 nexus3.edgexfoundry.org:10002 12:47:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:47:37 Configure a credential helper to remove this warning. See 12:47:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:47:37 12:47:37 Login Succeeded 12:47:37 nexus3.edgexfoundry.org:10003 12:47:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:47:37 Configure a credential helper to remove this warning. See 12:47:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:47:37 12:47:37 Login Succeeded 12:47:37 nexus3.edgexfoundry.org:10004 12:47:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:47:38 Configure a credential helper to remove this warning. See 12:47:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:47:38 12:47:38 Login Succeeded 12:47:38 ****.io 12:47:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:47:38 Configure a credential helper to remove this warning. See 12:47:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:47:38 12:47:38 Login Succeeded 12:47:38 ---> ****-login.sh ends [Pipeline] } 12:47:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:47:39 + git rev-list -1 --merges 644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f~1..644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f [Pipeline] echo 12:47:39 -----------> git rev-list -1 --merges 644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f~1..644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f 644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f [false] [Pipeline] sh 12:47:39 + git log --format=format:%s -1 644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f [Pipeline] echo 12:47:39 ========================================================= 12:47:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:47:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:47:40 + git log --format=format:%s -1 644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f [Pipeline] echo 12:47:40 [semverPrep] GIT_COMMIT: 644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f, Commit Message: fix: Add unit test for ObjectArray resource [Pipeline] echo 12:47:40 [semverPrep] This is not a build commit. [Pipeline] sh 12:47:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:47:40 + grep -v github /etc/ssh/ssh_known_hosts 12:47:40 + [ -e /tmp/ssh_known_hosts ] 12:47:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:47:40 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:47:40 sudo tee -a /etc/ssh/ssh_known_hosts 12:47:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:47:41 12:47:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:47:41 0.1.4: Pulling from edgex-devops/py-git-semver 12:47:41 3dae71ba6b94: Pulling fs layer 12:47:41 6bf1a483ea7c: Pulling fs layer 12:47:41 f5dfc541a4d3: Pulling fs layer 12:47:41 461d9e800cba: Pulling fs layer 12:47:41 80192f66455f: Pulling fs layer 12:47:41 2e8e34ca0e6c: Pulling fs layer 12:47:41 a29436f7fd5d: Pulling fs layer 12:47:41 923cac83aea3: Pulling fs layer 12:47:41 25ad8b0a4227: Pulling fs layer 12:47:41 db01528c6b51: Pulling fs layer 12:47:41 28988de357af: Pulling fs layer 12:47:41 923cac83aea3: Waiting 12:47:41 a29436f7fd5d: Waiting 12:47:41 28988de357af: Waiting 12:47:41 2e8e34ca0e6c: Waiting 12:47:41 25ad8b0a4227: Waiting 12:47:41 461d9e800cba: Waiting 12:47:41 80192f66455f: Waiting 12:47:41 db01528c6b51: Waiting 12:47:41 6bf1a483ea7c: Verifying Checksum 12:47:41 6bf1a483ea7c: Download complete 12:47:41 461d9e800cba: Verifying Checksum 12:47:41 461d9e800cba: Download complete 12:47:41 80192f66455f: Verifying Checksum 12:47:41 80192f66455f: Download complete 12:47:41 f5dfc541a4d3: Verifying Checksum 12:47:41 f5dfc541a4d3: Download complete 12:47:41 3dae71ba6b94: Verifying Checksum 12:47:41 3dae71ba6b94: Download complete 12:47:41 923cac83aea3: Download complete 12:47:42 25ad8b0a4227: Verifying Checksum 12:47:42 25ad8b0a4227: Download complete 12:47:42 db01528c6b51: Download complete 12:47:42 28988de357af: Verifying Checksum 12:47:42 28988de357af: Download complete 12:47:42 a29436f7fd5d: Verifying Checksum 12:47:42 a29436f7fd5d: Download complete 12:47:42 2e8e34ca0e6c: Verifying Checksum 12:47:42 2e8e34ca0e6c: Download complete 12:47:42 3dae71ba6b94: Pull complete 12:47:43 6bf1a483ea7c: Pull complete 12:47:43 f5dfc541a4d3: Pull complete 12:47:43 461d9e800cba: Pull complete 12:47:43 80192f66455f: Pull complete 12:47:47 2e8e34ca0e6c: Pull complete 12:47:47 a29436f7fd5d: Pull complete 12:47:47 923cac83aea3: Pull complete 12:47:47 25ad8b0a4227: Pull complete 12:47:47 db01528c6b51: Pull complete 12:47:48 28988de357af: Pull complete 12:47:48 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 12:47:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:47:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:47:48 prd-ubuntu20.04-docker-8c-8g-4034 does not seem to be running inside a container 12:47:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-536 -v /w/workspace/foundry_device-virtual-go_PR-536:/w/workspace/foundry_device-virtual-go_PR-536:rw,z -v /w/workspace/foundry_device-virtual-go_PR-536@tmp:/w/workspace/foundry_device-virtual-go_PR-536@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 12:47:50 $ docker top 7722f248330c2b68d614c86e02fdd61c69b4318c8f78113cf1a8788ad6ffbc84 -eo pid,comm 12:47:50 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:47:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:47:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:47:50 [ssh-agent] Looking for ssh-agent implementation... 12:47:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:47:50 $ docker exec 7722f248330c2b68d614c86e02fdd61c69b4318c8f78113cf1a8788ad6ffbc84 ssh-agent 12:47:50 SSH_AUTH_SOCK=/tmp/ssh-m23Yy8IWcqVB/agent.32 12:47:50 SSH_AGENT_PID=38 12:47:50 Running ssh-add (command line suppressed) 12:47:50 Identity added: /w/workspace/foundry_device-virtual-go_PR-536@tmp/private_key_3988862563609776149.key (/w/workspace/foundry_device-virtual-go_PR-536@tmp/private_key_3988862563609776149.key) 12:47:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:47:51 + git tag --points-at HEAD [Pipeline] } 12:47:51 $ docker exec --env ******** --env ******** 7722f248330c2b68d614c86e02fdd61c69b4318c8f78113cf1a8788ad6ffbc84 ssh-agent -k 12:47:51 unset SSH_AUTH_SOCK; 12:47:51 unset SSH_AGENT_PID; 12:47:51 echo Agent pid 38 killed; 12:47:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:47:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:47:51 [ssh-agent] Looking for ssh-agent implementation... 12:47:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:47:51 $ docker exec 7722f248330c2b68d614c86e02fdd61c69b4318c8f78113cf1a8788ad6ffbc84 ssh-agent 12:47:51 SSH_AUTH_SOCK=/tmp/ssh-wbfvNaiApyPa/agent.71 12:47:51 SSH_AGENT_PID=77 12:47:51 Running ssh-add (command line suppressed) 12:47:51 Identity added: /w/workspace/foundry_device-virtual-go_PR-536@tmp/private_key_14779515684182355618.key (/w/workspace/foundry_device-virtual-go_PR-536@tmp/private_key_14779515684182355618.key) 12:47:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:47:52 + git semver init 12:47:52 2025-06-25 12:47:52,323 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 12:47:52 2025-06-25 12:47:52,327 [run_init] DEBUG init version:0.0.0 force:False 12:47:52 2025-06-25 12:47:52,328 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-536/.semver 12:47:52 2025-06-25 12:47:52,328 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-536/.semver 12:47:52 2025-06-25 12:47:52,328 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-536/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-536, stdin=None, shell=False, universal_newlines=False) 12:47:53 2025-06-25 12:47:53,645 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-536/.git/info/exclude 12:47:53 2025-06-25 12:47:53,645 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-536/.semver/PR-536 with force:False 12:47:53 2025-06-25 12:47:53,646 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-536/.semver/PR-536 12:47:53 2025-06-25 12:47:53,651 [execute] INFO git cat-file --batch-check 12:47:53 2025-06-25 12:47:53,651 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-536/.semver, stdin=, shell=False, universal_newlines=False) 12:47:53 2025-06-25 12:47:53,656 [execute] INFO git cat-file --batch 12:47:53 2025-06-25 12:47:53,656 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-536/.semver, stdin=, shell=False, universal_newlines=False) 12:47:53 2025-06-25 12:47:53,659 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-536/.semver/PR-536 12:47:53 0.0.0 [Pipeline] } 12:47:53 $ docker exec --env ******** --env ******** 7722f248330c2b68d614c86e02fdd61c69b4318c8f78113cf1a8788ad6ffbc84 ssh-agent -k 12:47:53 unset SSH_AUTH_SOCK; 12:47:53 unset SSH_AGENT_PID; 12:47:53 echo Agent pid 77 killed; 12:47:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:47:54 + git semver [Pipeline] } 12:47:54 $ docker stop --time=1 7722f248330c2b68d614c86e02fdd61c69b4318c8f78113cf1a8788ad6ffbc84 12:47:55 $ docker rm -f --volumes 7722f248330c2b68d614c86e02fdd61c69b4318c8f78113cf1a8788ad6ffbc84 [Pipeline] // withDockerContainer [Pipeline] sh 12:47:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:47:56 Stashed 1 file(s) [Pipeline] echo 12:47:56 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:47:57 provisioning config files... 12:47:57 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-536@tmp/config14036204056759022541tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 12:47:58 ---> ****-login.sh 12:47:58 nexus3.edgexfoundry.org:10001 12:47:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:47:58 Configure a credential helper to remove this warning. See 12:47:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:47:58 12:47:58 Login Succeeded 12:47:58 nexus3.edgexfoundry.org:10002 12:47:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:47:58 Configure a credential helper to remove this warning. See 12:47:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:47:58 12:47:58 Login Succeeded 12:47:58 nexus3.edgexfoundry.org:10003 12:47:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:47:58 Configure a credential helper to remove this warning. See 12:47:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:47:58 12:47:58 Login Succeeded 12:47:58 nexus3.edgexfoundry.org:10004 12:47:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:47:58 Configure a credential helper to remove this warning. See 12:47:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:47:58 12:47:58 Login Succeeded 12:47:58 ****.io 12:47:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:47:58 Configure a credential helper to remove this warning. See 12:47:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:47:58 12:47:58 Login Succeeded 12:47:58 ---> ****-login.sh ends [Pipeline] } 12:47:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:47:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 12:47:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 12:47:58 ========================================================= 12:47:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 12:47:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:59 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 12:47:59 Sending build context to Docker daemon 40.75MB 12:47:59 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 12:47:59 Step 2/12 : FROM ${BASE} AS builder 12:47:59 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 12:47:59 0a9a5dfd008f: Pulling fs layer 12:47:59 36466aa92d05: Pulling fs layer 12:47:59 e10405b45d13: Pulling fs layer 12:47:59 096b7ceb2af7: Pulling fs layer 12:47:59 4f4fb700ef54: Pulling fs layer 12:47:59 8213a616a21b: Pulling fs layer 12:47:59 985586143405: Pulling fs layer 12:47:59 0eae2285b678: Pulling fs layer 12:47:59 d3ac315be8c5: Pulling fs layer 12:47:59 8213a616a21b: Waiting 12:47:59 985586143405: Waiting 12:47:59 0eae2285b678: Waiting 12:47:59 d3ac315be8c5: Waiting 12:47:59 4f4fb700ef54: Waiting 12:47:59 096b7ceb2af7: Waiting 12:47:59 36466aa92d05: Verifying Checksum 12:47:59 36466aa92d05: Download complete 12:47:59 096b7ceb2af7: Verifying Checksum 12:47:59 096b7ceb2af7: Download complete 12:47:59 4f4fb700ef54: Verifying Checksum 12:47:59 4f4fb700ef54: Download complete 12:47:59 8213a616a21b: Download complete 12:47:59 0a9a5dfd008f: Download complete 12:47:59 985586143405: Verifying Checksum 12:47:59 985586143405: Download complete 12:47:59 0a9a5dfd008f: Pull complete 12:47:59 d3ac315be8c5: Verifying Checksum 12:47:59 d3ac315be8c5: Download complete 12:47:59 36466aa92d05: Pull complete 12:48:00 e10405b45d13: Download complete 12:48:00 0eae2285b678: Verifying Checksum 12:48:00 0eae2285b678: Download complete 12:48:03 e10405b45d13: Pull complete 12:48:03 096b7ceb2af7: Pull complete 12:48:03 4f4fb700ef54: Pull complete 12:48:03 8213a616a21b: Pull complete 12:48:03 985586143405: Pull complete 12:48:06 0eae2285b678: Pull complete 12:48:06 d3ac315be8c5: Pull complete 12:48:06 Digest: sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 12:48:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 12:48:06 ---> ea6120ae94a0 12:48:06 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:48:07 ---> Running in a4f5a052d9ae 12:48:07 Removing intermediate container a4f5a052d9ae 12:48:07 ---> 9a0287b0f73d 12:48:07 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:48:07 ---> Running in 022fc9391083 12:48:08 Removing intermediate container 022fc9391083 12:48:08 ---> 0d855b28a5a1 12:48:08 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:48:08 ---> Running in 82ab0c5d28ba 12:48:08 Removing intermediate container 82ab0c5d28ba 12:48:08 ---> 522ada384c09 12:48:08 Step 6/12 : WORKDIR /device-virtual-go 12:48:08 ---> Running in af369cbcf9b7 12:48:08 Removing intermediate container af369cbcf9b7 12:48:08 ---> f674a2f86e98 12:48:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:48:08 ---> Running in c77fce13b28c 12:48:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:48:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:48:09 (1/4) Installing openssh-keygen (9.7_p1-r5) 12:48:09 (2/4) Installing libedit (20240517.3.1-r0) 12:48:09 (3/4) Installing openssh-client-common (9.7_p1-r5) 12:48:09 (4/4) Installing openssh-client-default (9.7_p1-r5) 12:48:09 Executing busybox-1.36.1-r29.trigger 12:48:09 OK: 252 MiB in 62 packages 12:48:09 Removing intermediate container c77fce13b28c 12:48:09 ---> 4d50b72edaaf 12:48:09 Step 8/12 : COPY go.mod vendor* ./ 12:48:09 ---> 6e66c7fef976 12:48:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:48:09 ---> Running in 801ea45e05a5 12:49:17 Removing intermediate container 801ea45e05a5 12:49:17 ---> 443c830a9f8a 12:49:17 Step 10/12 : COPY . . 12:49:17 ---> 6ef8dff8f88f 12:49:17 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:49:17 ---> Running in db9ee2fa29d9 12:49:17 Removing intermediate container db9ee2fa29d9 12:49:17 ---> a69bce8e49b3 12:49:17 Step 12/12 : RUN $MAKE 12:49:17 ---> Running in efa1a9f36dd1 12:49:17 noop 12:49:17 Removing intermediate container efa1a9f36dd1 12:49:17 ---> 6ee6c09ba29a 12:49:17 Successfully built 6ee6c09ba29a 12:49:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:17 + docker inspect -f . ci-base-image-x86_64 12:49:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:49:18 prd-ubuntu20.04-docker-8c-8g-4034 does not seem to be running inside a container 12:49:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-536 -v /w/workspace/foundry_device-virtual-go_PR-536:/w/workspace/foundry_device-virtual-go_PR-536:rw,z -v /w/workspace/foundry_device-virtual-go_PR-536@tmp:/w/workspace/foundry_device-virtual-go_PR-536@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 12:49:18 $ docker top 21e155b905671ede0e58ef5be972f84a53f9f9f31f2f036db2124957411e9afc -eo pid,comm [Pipeline] { [Pipeline] sh 12:49:18 + go version 12:49:18 go version go1.23.9 linux/amd64 [Pipeline] } 12:49:18 $ docker stop --time=1 21e155b905671ede0e58ef5be972f84a53f9f9f31f2f036db2124957411e9afc 12:49:20 $ docker rm -f --volumes 21e155b905671ede0e58ef5be972f84a53f9f9f31f2f036db2124957411e9afc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:20 + docker inspect -f . ci-base-image-x86_64 12:49:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:49:21 prd-ubuntu20.04-docker-8c-8g-4034 does not seem to be running inside a container 12:49:21 $ 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-536 -v /w/workspace/foundry_device-virtual-go_PR-536:/w/workspace/foundry_device-virtual-go_PR-536:rw,z -v /w/workspace/foundry_device-virtual-go_PR-536@tmp:/w/workspace/foundry_device-virtual-go_PR-536@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 12:49:21 $ docker top 810431008e3a0954276074614e9f815f92ee1b232cbc95c7c4c72bd4d2a44d6f -eo pid,comm [Pipeline] { [Pipeline] sh 12:49:21 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-536 [Pipeline] fileExists [Pipeline] sh 12:49:22 + make test 12:49:22 go test ./... -coverprofile=coverage.out 12:49:23 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:49:41 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 12:49:41 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.012s coverage: 59.5% of statements 12:49:51 go vet ./... 12:49:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:49:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:49:55 ./bin/test-attribution-txt.sh 12:49:55 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 12:49:55 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add 12:49:56 An attribution for github.com/zitadel/logging is missing from Attribution.txt, please add 12:49:56 An attribution for github.com/zitadel/oidc/v3 is missing from Attribution.txt, please add 12:49:56 An attribution for github.com/zitadel/schema is missing from Attribution.txt, please add [Pipeline] echo 12:49:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 12:49:56 $ docker stop --time=1 810431008e3a0954276074614e9f815f92ee1b232cbc95c7c4c72bd4d2a44d6f 12:49:58 $ docker rm -f --volumes 810431008e3a0954276074614e9f815f92ee1b232cbc95c7c4c72bd4d2a44d6f [Pipeline] // withDockerContainer [Pipeline] sh 12:49:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:49:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:49:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:50:00 + ls -al . 12:50:00 total 272 12:50:00 drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 12:49 . 12:50:00 drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 12:47 .. 12:50:00 drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 12:49 .git 12:50:00 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 12:47 .github 12:50:00 -rw-rw-r-- 1 jenkins jenkins 272 Jun 25 12:47 .gitignore 12:50:00 -rw-rw-r-- 1 jenkins jenkins 199 Jun 25 12:47 .golangci.yml 12:50:00 drwxr-xr-x 3 jenkins jenkins 4096 Jun 25 12:47 .semver 12:50:00 -rw-rw-r-- 1 jenkins jenkins 18321 Jun 25 12:47 Attribution.txt 12:50:00 -rw-rw-r-- 1 jenkins jenkins 17302 Jun 25 12:47 CHANGELOG.md 12:50:00 -rw-rw-r-- 1 jenkins jenkins 1755 Jun 25 12:47 Dockerfile 12:50:00 -rw-rw-r-- 1 jenkins jenkins 677 Jun 25 12:47 GOVERNANCE.md 12:50:00 -rw-rw-r-- 1 jenkins jenkins 660 Jun 25 12:47 Jenkinsfile 12:50:00 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 25 12:47 LICENSE 12:50:00 -rw-rw-r-- 1 jenkins jenkins 2652 Jun 25 12:47 Makefile 12:50:00 -rw-rw-r-- 1 jenkins jenkins 623 Jun 25 12:47 OWNERS.md 12:50:00 -rw-rw-r-- 1 jenkins jenkins 4473 Jun 25 12:47 README.md 12:50:00 -rw-rw-r-- 1 jenkins jenkins 5 Jun 25 12:47 VERSION 12:50:00 drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 12:47 bin 12:50:00 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 12:47 cmd 12:50:00 -rw-r--r-- 1 jenkins jenkins 45558 Jun 25 12:49 coverage.out 12:50:00 -rw-rw-r-- 1 jenkins jenkins 6059 Jun 25 12:47 go.mod 12:50:00 -rw-rw-r-- 1 jenkins jenkins 86761 Jun 25 12:47 go.sum 12:50:00 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 12:47 internal 12:50:00 -rw-rw-r-- 1 jenkins jenkins 235 Jun 25 12:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:00 + 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=644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f --label arch=amd64 --label version=0.0.0 . 12:50:00 Sending build context to Docker daemon 40.8MB 12:50:00 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 12:50:00 Step 2/26 : FROM ${BASE} AS builder 12:50:00 ---> 6ee6c09ba29a 12:50:00 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:50:00 ---> Running in 66befc006d0d 12:50:00 Removing intermediate container 66befc006d0d 12:50:00 ---> 1eaf666fd1fc 12:50:00 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:50:00 ---> Running in f601a4f5cb9e 12:50:01 Removing intermediate container f601a4f5cb9e 12:50:01 ---> 247c17225ed3 12:50:01 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:50:01 ---> Running in 21c7b32ec97e 12:50:01 Removing intermediate container 21c7b32ec97e 12:50:01 ---> fcba71f6f7c5 12:50:01 Step 6/26 : WORKDIR /device-virtual-go 12:50:01 ---> Running in 11c0f0c5687c 12:50:01 Removing intermediate container 11c0f0c5687c 12:50:01 ---> 9fb1f4db0cb2 12:50:01 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:50:01 ---> Running in 606a34f3f64b 12:50:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:50:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:50:01 OK: 252 MiB in 62 packages 12:50:02 Removing intermediate container 606a34f3f64b 12:50:02 ---> 9e15f304390d 12:50:02 Step 8/26 : COPY go.mod vendor* ./ 12:50:02 ---> 3d599fe5cc0a 12:50:02 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:50:02 ---> Running in 7959662f9977 12:50:03 Removing intermediate container 7959662f9977 12:50:03 ---> 6904ff8167f7 12:50:03 Step 10/26 : COPY . . 12:50:03 ---> b2e24781b4f3 12:50:03 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:50:03 ---> Running in a0cfb6e262cc 12:50:03 Removing intermediate container a0cfb6e262cc 12:50:03 ---> e25dfa6a618c 12:50:03 Step 12/26 : RUN $MAKE 12:50:03 ---> Running in 25c6f25cf5e1 12:50:04 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.1.0-dev.15 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 12:50:30 Removing intermediate container 25c6f25cf5e1 12:50:30 ---> 4b15527a67d6 12:50:30 Step 13/26 : FROM alpine:3.20 12:50:30 3.20: Pulling from library/alpine 12:50:30 0a9a5dfd008f: Already exists 12:50:30 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 12:50:30 Status: Downloaded newer image for alpine:3.20 12:50:30 ---> ff221270b9fb 12:50:30 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:50:30 ---> Running in 8dd8133d8f1b 12:50:30 Removing intermediate container 8dd8133d8f1b 12:50:30 ---> 3b2b33a87c35 12:50:30 Step 15/26 : RUN apk add --update --no-cache dumb-init 12:50:30 ---> Running in 396afe6f7bc9 12:50:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:50:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:50:30 (1/1) Installing dumb-init (1.2.5-r3) 12:50:30 Executing busybox-1.36.1-r29.trigger 12:50:30 OK: 8 MiB in 15 packages 12:50:30 Removing intermediate container 396afe6f7bc9 12:50:30 ---> 873addfd2dfb 12:50:30 Step 16/26 : RUN apk --no-cache upgrade 12:50:30 ---> Running in 31887ed7dc77 12:50:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:50:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:50:30 OK: 8 MiB in 15 packages 12:50:31 Removing intermediate container 31887ed7dc77 12:50:31 ---> c156a3659c32 12:50:31 Step 17/26 : WORKDIR / 12:50:31 ---> Running in e34fc14a1ee7 12:50:31 Removing intermediate container e34fc14a1ee7 12:50:31 ---> 53d3b70821ba 12:50:31 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:50:31 ---> 4e12f7d3a355 12:50:31 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 12:50:31 ---> 1fa97a876735 12:50:31 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 12:50:32 ---> 811843cbe939 12:50:32 Step 21/26 : EXPOSE 59900 12:50:32 ---> Running in f2a4d793663a 12:50:32 Removing intermediate container f2a4d793663a 12:50:32 ---> 2ced9b8f0b3f 12:50:32 Step 22/26 : ENTRYPOINT ["/device-virtual"] 12:50:32 ---> Running in 6209764d253d 12:50:32 Removing intermediate container 6209764d253d 12:50:32 ---> 1495eaaf028f 12:50:32 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 12:50:32 ---> Running in 548741efe93f 12:50:32 Removing intermediate container 548741efe93f 12:50:32 ---> d7ed9280eb9f 12:50:32 Step 24/26 : LABEL arch=amd64 12:50:32 ---> Running in e357f8f138d7 12:50:32 Removing intermediate container e357f8f138d7 12:50:32 ---> 93cb2164029e 12:50:32 Step 25/26 : LABEL git_sha=644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f 12:50:32 ---> Running in 0f60f4aa052f 12:50:32 Removing intermediate container 0f60f4aa052f 12:50:32 ---> 7256d7b653a9 12:50:32 Step 26/26 : LABEL version=0.0.0 12:50:32 ---> Running in 2b11657531f8 12:50:32 Removing intermediate container 2b11657531f8 12:50:32 ---> 536d8b7b4cee 12:50:32 [Warning] One or more build-args [ARCH] were not consumed 12:50:32 Successfully built 536d8b7b4cee 12:50:32 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:50:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:50:33 12:50:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:50:34 latest: Pulling from edgex-lftools-log-publisher 12:50:34 5eb5b503b376: Pulling fs layer 12:50:34 5c69ac0246d0: Pulling fs layer 12:50:34 ec43610c2a17: Pulling fs layer 12:50:34 3a2ae6a8a46f: Pulling fs layer 12:50:34 33b1e0a273af: Pulling fs layer 12:50:34 5d3b04190fa2: Pulling fs layer 12:50:34 2f39f015ded8: Pulling fs layer 12:50:34 3a2ae6a8a46f: Waiting 12:50:34 33b1e0a273af: Waiting 12:50:34 2f39f015ded8: Waiting 12:50:34 5d3b04190fa2: Waiting 12:50:34 5c69ac0246d0: Verifying Checksum 12:50:34 5c69ac0246d0: Download complete 12:50:34 3a2ae6a8a46f: Download complete 12:50:34 33b1e0a273af: Verifying Checksum 12:50:34 33b1e0a273af: Download complete 12:50:34 ec43610c2a17: Verifying Checksum 12:50:34 ec43610c2a17: Download complete 12:50:34 5d3b04190fa2: Verifying Checksum 12:50:34 5d3b04190fa2: Download complete 12:50:34 5eb5b503b376: Verifying Checksum 12:50:34 5eb5b503b376: Download complete 12:50:34 2f39f015ded8: Download complete 12:50:35 5eb5b503b376: Pull complete 12:50:35 5c69ac0246d0: Pull complete 12:50:35 ec43610c2a17: Pull complete 12:50:35 3a2ae6a8a46f: Pull complete 12:50:36 33b1e0a273af: Pull complete 12:50:36 5d3b04190fa2: Pull complete 12:50:40 2f39f015ded8: Pull complete 12:50:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:50:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:50:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:50:40 prd-ubuntu20.04-docker-8c-8g-4034 does not seem to be running inside a container 12:50:40 $ 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-536 -v /w/workspace/foundry_device-virtual-go_PR-536:/w/workspace/foundry_device-virtual-go_PR-536:rw,z -v /w/workspace/foundry_device-virtual-go_PR-536@tmp:/w/workspace/foundry_device-virtual-go_PR-536@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 12:50:41 $ docker top 7a437444ee1b0ac625eba173d3fa86ed6b4976ea33067e7632c45cfd418edd3d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:50:42 ---> job-cost.sh 12:50:42 lf-activate-venv: SKIPPING 12:50:42 INFO: No Stack... 12:50:42 INFO: Retrieving Pricing Info for: v3-standard-8 12:50:42 INFO: Archiving Costs [Pipeline] sh 12:50:43 + cat /w/workspace/foundry_device-virtual-go_PR-536/archives/cost.csv 12:50:43 + cut -d, -f6 [Pipeline] lock 12:50:43 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-536-1-stack-cost] 12:50:43 Resource [jenkins-edgexfoundry-device-virtual-go-PR-536-1-stack-cost] did not exist. Created. 12:50:43 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-536-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:50:43 + echo total: 0.2199999988079071 [Pipeline] stash 12:50:43 Stashed 1 file(s) [Pipeline] } 12:50:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-536-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:50:43 $ docker stop --time=1 7a437444ee1b0ac625eba173d3fa86ed6b4976ea33067e7632c45cfd418edd3d 12:50:44 $ docker rm -f --volumes 7a437444ee1b0ac625eba173d3fa86ed6b4976ea33067e7632c45cfd418edd3d [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:50:45 provisioning config files... 12:50:45 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-536@tmp/config16154227400091099424tmp [Pipeline] { [Pipeline] sh 12:50:46 + set +x 12:50:46 + curl -s https://codecov.io/bash 12:50:46 + bash -s -- 12:50:46 12:50:46 _____ _ 12:50:46 / ____| | | 12:50:46 | | ___ __| | ___ ___ _____ __ 12:50:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:50:46 | |___| (_) | (_| | __/ (_| (_) \ V / 12:50:46 \_____\___/ \__,_|\___|\___\___/ \_/ 12:50:46 Bash-1.0.6 12:50:46 12:50:46 12:50:46 ==> git version 2.25.1 found 12:50:46 ==> 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:50:46 Release-Date: 2020-01-08 12:50:46 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:50:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:50:46 ==> Jenkins CI detected. 12:50:46 current dir:  /w/workspace/foundry_device-virtual-go_PR-536 12:50:46 project root: . 12:50:46 --> token set from env 12:50:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:50:46 ==> Running gcov in . (disable via -X gcov) 12:50:46 ==> Python coveragepy not found 12:50:46 ==> Searching for coverage reports in: 12:50:46 + . 12:50:46 -> Found 1 reports 12:50:46 ==> Detecting git/mercurial file structure 12:50:46 ==> Reading reports 12:50:46 + ./coverage.out bytes=45558 12:50:46 ==> Appending adjustments 12:50:46 https://docs.codecov.io/docs/fixing-reports 12:50:46 + Found adjustments 12:50:46 ==> Gzipping contents 12:50:46 8.0K /tmp/codecov.ZlQjAq.gz 12:50:46 ==> Uploading reports 12:50:46 url: https://codecov.io 12:50:46 query: branch=PR-536&commit=644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-536%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=536&job=&cmd_args= 12:50:46 -> Pinging Codecov 12:50:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-536&commit=644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-536%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=536&job=&cmd_args= 12:50:46 -> Uploading to 12:50:46 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-virtual-go/644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f/914bf389-5b63-4123-a8aa-d2db93866181.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250625%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250625T125046Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=0e254f87de1244822ad709919219647d23ec66168f984eb07bc4463148f46cee 12:50:46 % Total % Received % Xferd Average Speed Time Time Time Current 12:50:46 Dload Upload Total Spent Left Speed 12:50:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5367 0 0 100 5367 0 21817 --:--:-- --:--:-- --:--:-- 21817 12:50:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/644bc4a31f0ac546e4fcf24b1fd65b0400b7a29f [Pipeline] } 12:50:46 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:50:48 + [ -d /w/workspace/foundry_device-virtual-go_PR-536/archives ] 12:50:48 + ls -al /w/workspace/foundry_device-virtual-go_PR-536/archives 12:50:48 total 16 12:50:48 drwxr-xr-x 3 root root 4096 Jun 25 12:50 . 12:50:48 drwxrwxr-x 9 jenkins jenkins 4096 Jun 25 12:50 .. 12:50:48 drwxr-xr-x 2 root root 4096 Jun 25 12:50 cost 12:50:48 -rw-r--r-- 1 root root 89 Jun 25 12:50 cost.csv 12:50:48 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-536/archives 12:50:48 + ls -al /w/workspace/foundry_device-virtual-go_PR-536/archives 12:50:48 total 16 12:50:48 drwxr-xr-x 3 jenkins jenkins 4096 Jun 25 12:50 . 12:50:48 drwxrwxr-x 9 jenkins jenkins 4096 Jun 25 12:50 .. 12:50:48 drwxr-xr-x 2 jenkins jenkins 4096 Jun 25 12:50 cost 12:50:48 -rw-r--r-- 1 jenkins jenkins 89 Jun 25 12:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:50:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:50:50 ---> package-listing.sh 12:50:50 ++ tr '[:upper:]' '[:lower:]' 12:50:50 ++ facter osfamily 12:50:50 + OS_FAMILY=debian 12:50:50 + workspace=/w/workspace/foundry_device-virtual-go_PR-536 12:50:50 + START_PACKAGES=/tmp/packages_start.txt 12:50:50 + END_PACKAGES=/tmp/packages_end.txt 12:50:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:50:50 + PACKAGES=/tmp/packages_start.txt 12:50:50 + '[' /w/workspace/foundry_device-virtual-go_PR-536 ']' 12:50:50 + PACKAGES=/tmp/packages_end.txt 12:50:50 + case "${OS_FAMILY}" in 12:50:50 + dpkg -l 12:50:50 + grep '^ii' 12:50:50 + '[' -f /tmp/packages_start.txt ']' 12:50:50 + '[' -f /tmp/packages_end.txt ']' 12:50:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:50:50 + '[' /w/workspace/foundry_device-virtual-go_PR-536 ']' 12:50:50 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-536/archives/ 12:50:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-536/archives/ [Pipeline] echo 12:50:50 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-536/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:50:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:50:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:50:51 prd-ubuntu20.04-docker-8c-8g-4034 does not seem to be running inside a container 12:50:51 $ 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-536/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-536 -v /w/workspace/foundry_device-virtual-go_PR-536:/w/workspace/foundry_device-virtual-go_PR-536:rw,z -v /w/workspace/foundry_device-virtual-go_PR-536@tmp:/w/workspace/foundry_device-virtual-go_PR-536@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 12:50:51 $ docker top 541e0b3e34eb8f3636c7671b0af462edb6d38b9c35b4933cfcd5245e4d3a951c -eo pid,comm [Pipeline] { [Pipeline] sh 12:50:52 + touch /tmp/pre-build-complete [Pipeline] sh 12:50:52 + mkdir -p /var/log/sysstat [Pipeline] sh 12:50:52 + ls /var/log/sa-host 12:50:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:50:53 provisioning config files... 12:50:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-536@tmp/config3089345804725613073tmp [Pipeline] { [Pipeline] echo 12:50:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:50:53 ---> create-netrc.sh [Pipeline] } 12:50:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:50:53 ---> python-tools-install.sh [Pipeline] echo 12:50:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:50:54 ---> sudo-logs.sh 12:50:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:50:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:50:54 ---> job-cost.sh 12:50:54 lf-activate-venv: SKIPPING 12:50:54 DEBUG: total: 0.2199999988079071 12:50:54 INFO: Retrieving Stack Cost... 12:50:54 INFO: Retrieving Pricing Info for: v3-standard-8 12:50:54 INFO: Archiving Costs [Pipeline] echo 12:50:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:50:55 ---> logs-deploy.sh 12:50:55 lf-activate-venv: SKIPPING 12:50:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-536/1 12:50:55 INFO: archiving workspace using pattern(s): 12:50:56 Archives upload complete. 12:50:56 INFO: archiving logs to Nexus