Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f1ae59df93e15168f5c84516dd369218cbd3ebf1 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-ssh5110921837666011114.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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-ssh12288197375385573628.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 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4795431003596621905.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa # timeout=10 Commit message: "fix: add new goLTSImages 1.23 (#466)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh810641614568733225.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1887538673110406449.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-40898 in /w/workspace/exfoundry_device-virtual-go_main [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/exfoundry_device-virtual-go_main # 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 Avoid second fetch Checking out Revision f1ae59df93e15168f5c84516dd369218cbd3ebf1 (main) Commit message: "Merge pull request #529 from judehung/update-odesa" > git config core.sparsecheckout # timeout=10 > git checkout -f f1ae59df93e15168f5c84516dd369218cbd3ebf1 # timeout=10 > git rev-list --no-walk 5da0a0ee199354dbeb8e2af176f21c093c99ecf8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:34:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:34:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:34:15 ========================================================= 09:34:15 EdgeX Global Pipelines Version Info 09:34:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:34:16 ------------------- 09:34:16 stable info: 09:34:16 ------------------- 09:34:16 Commited By: Cherry Wang cherry@iotechsys.com 09:34:16 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 09:34:16 Message: update stable to v1.0.271 09:34:16 ------------------- 09:34:16 experimental info: 09:34:16 ------------------- 09:34:16 Commited By: **** collab-it+edgex@linuxfoundation.org 09:34:16 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 09:34:16 Message: update experimental to v1.0.271 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:34:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 09:34:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 09:34:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:34:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:34:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:34:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 09:34:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f1ae59df93e15168f5c84516dd369218cbd3ebf1 [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f1ae59d [Pipeline] echo 09:34:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:34:17 provisioning config files... 09:34:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7232794068520515394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:34:17 ---> ****-login.sh 09:34:17 nexus3.edgexfoundry.org:10001 09:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:18 Configure a credential helper to remove this warning. See 09:34:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:18 09:34:18 Login Succeeded 09:34:18 nexus3.edgexfoundry.org:10002 09:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:18 Configure a credential helper to remove this warning. See 09:34:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:18 09:34:18 Login Succeeded 09:34:18 nexus3.edgexfoundry.org:10003 09:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:18 Configure a credential helper to remove this warning. See 09:34:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:18 09:34:18 Login Succeeded 09:34:18 nexus3.edgexfoundry.org:10004 09:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:18 Configure a credential helper to remove this warning. See 09:34:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:18 09:34:18 Login Succeeded 09:34:18 ****.io 09:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:18 Configure a credential helper to remove this warning. See 09:34:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:18 09:34:18 Login Succeeded 09:34:18 ---> ****-login.sh ends [Pipeline] } 09:34:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:34:19 + git rev-list -1 --merges f1ae59df93e15168f5c84516dd369218cbd3ebf1~1..f1ae59df93e15168f5c84516dd369218cbd3ebf1 [Pipeline] echo 09:34:19 -----------> git rev-list -1 --merges f1ae59df93e15168f5c84516dd369218cbd3ebf1~1..f1ae59df93e15168f5c84516dd369218cbd3ebf1 f1ae59df93e15168f5c84516dd369218cbd3ebf1 09:34:19 f1ae59df93e15168f5c84516dd369218cbd3ebf1 [false] [Pipeline] sh 09:34:19 + git log --format=format:%s -1 f1ae59df93e15168f5c84516dd369218cbd3ebf1 [Pipeline] echo 09:34:19 ========================================================= 09:34:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:34:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:34:20 + git log --format=format:%s -1 f1ae59df93e15168f5c84516dd369218cbd3ebf1 [Pipeline] echo 09:34:20 [semverPrep] GIT_COMMIT: f1ae59df93e15168f5c84516dd369218cbd3ebf1, Commit Message: Merge pull request #529 from judehung/update-odesa [Pipeline] echo 09:34:20 [semverPrep] This is not a build commit. [Pipeline] sh 09:34:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:34:20 + grep -v github /etc/ssh/ssh_known_hosts 09:34:20 + [ -e /tmp/ssh_known_hosts ] 09:34:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:34:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:34:20 + sudo tee -a /etc/ssh/ssh_known_hosts 09:34:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:34:20 09:34:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:34:21 0.1.4: Pulling from edgex-devops/py-git-semver 09:34:21 b85a868b505f: Pulling fs layer 09:34:21 e2be974225ed: Pulling fs layer 09:34:21 339a4e72a1f5: Pulling fs layer 09:34:21 988bab9f4d93: Pulling fs layer 09:34:21 1469e6f7b9e6: Pulling fs layer 09:34:21 eaf3925da568: Pulling fs layer 09:34:21 bab4dde63d76: Pulling fs layer 09:34:21 bde34c3a00c8: Pulling fs layer 09:34:21 b352a97aabf1: Pulling fs layer 09:34:21 4872d77fe225: Pulling fs layer 09:34:21 5851b861e8e6: Pulling fs layer 09:34:21 988bab9f4d93: Waiting 09:34:21 eaf3925da568: Waiting 09:34:21 bab4dde63d76: Waiting 09:34:21 1469e6f7b9e6: Waiting 09:34:21 4872d77fe225: Waiting 09:34:21 bde34c3a00c8: Waiting 09:34:21 5851b861e8e6: Waiting 09:34:21 b352a97aabf1: Waiting 09:34:21 e2be974225ed: Verifying Checksum 09:34:21 e2be974225ed: Download complete 09:34:21 988bab9f4d93: Download complete 09:34:21 1469e6f7b9e6: Verifying Checksum 09:34:21 1469e6f7b9e6: Download complete 09:34:21 339a4e72a1f5: Verifying Checksum 09:34:21 339a4e72a1f5: Download complete 09:34:21 eaf3925da568: Verifying Checksum 09:34:21 eaf3925da568: Download complete 09:34:21 bde34c3a00c8: Download complete 09:34:21 b352a97aabf1: Download complete 09:34:21 4872d77fe225: Verifying Checksum 09:34:21 4872d77fe225: Download complete 09:34:21 5851b861e8e6: Download complete 09:34:21 b85a868b505f: Verifying Checksum 09:34:21 b85a868b505f: Download complete 09:34:21 bab4dde63d76: Verifying Checksum 09:34:21 bab4dde63d76: Download complete 09:34:22 b85a868b505f: Pull complete 09:34:22 e2be974225ed: Pull complete 09:34:23 339a4e72a1f5: Pull complete 09:34:23 988bab9f4d93: Pull complete 09:34:23 1469e6f7b9e6: Pull complete 09:34:23 eaf3925da568: Pull complete 09:34:25 bab4dde63d76: Pull complete 09:34:25 bde34c3a00c8: Pull complete 09:34:25 b352a97aabf1: Pull complete 09:34:25 4872d77fe225: Pull complete 09:34:25 5851b861e8e6: Pull complete 09:34:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:34:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:34:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:34:26 prd-ubuntu20.04-docker-8c-8g-40898 does not seem to be running inside a container 09:34:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:34:28 $ docker top 87532a338fd39bdaa222bb6e8cc5ab00b0cd1e4c5b234ce7cb0186fe48bc2cc1 -eo pid,comm 09:34:28 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). 09:34:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:34:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:34:28 [ssh-agent] Looking for ssh-agent implementation... 09:34:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:34:28 $ docker exec 87532a338fd39bdaa222bb6e8cc5ab00b0cd1e4c5b234ce7cb0186fe48bc2cc1 ssh-agent 09:34:28 SSH_AUTH_SOCK=/tmp/ssh-q9xGVNjHDM4D/agent.33 09:34:28 SSH_AGENT_PID=39 09:34:28 Running ssh-add (command line suppressed) 09:34:28 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12200950298973811674.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12200950298973811674.key) 09:34:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:34:29 + git tag --points-at HEAD [Pipeline] } 09:34:29 $ docker exec --env ******** --env ******** 87532a338fd39bdaa222bb6e8cc5ab00b0cd1e4c5b234ce7cb0186fe48bc2cc1 ssh-agent -k 09:34:29 unset SSH_AUTH_SOCK; 09:34:29 unset SSH_AGENT_PID; 09:34:29 echo Agent pid 39 killed; 09:34:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:34:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:34:29 [ssh-agent] Looking for ssh-agent implementation... 09:34:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:34:29 $ docker exec 87532a338fd39bdaa222bb6e8cc5ab00b0cd1e4c5b234ce7cb0186fe48bc2cc1 ssh-agent 09:34:29 SSH_AUTH_SOCK=/tmp/ssh-1KGsok1CuXJw/agent.72 09:34:29 SSH_AGENT_PID=78 09:34:29 Running ssh-add (command line suppressed) 09:34:29 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3018073178221633865.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3018073178221633865.key) 09:34:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:34:29 + git semver init 09:34:30 2025-03-11 09:34:30,077 [run_init] DEBUG init version:0.0.0 force:False 09:34:30 2025-03-11 09:34:30,077 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 09:34:30 2025-03-11 09:34:30,078 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 09:34:30 2025-03-11 09:34:30,078 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 09:34:31 2025-03-11 09:34:31,463 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 09:34:31 2025-03-11 09:34:31,463 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 09:34:31 2025-03-11 09:34:31,463 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:34:31 2025-03-11 09:34:31,464 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:34:31 4.0.0-dev.19 [Pipeline] } 09:34:31 $ docker exec --env ******** --env ******** 87532a338fd39bdaa222bb6e8cc5ab00b0cd1e4c5b234ce7cb0186fe48bc2cc1 ssh-agent -k 09:34:31 unset SSH_AUTH_SOCK; 09:34:31 unset SSH_AGENT_PID; 09:34:31 echo Agent pid 78 killed; 09:34:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:34:31 + git semver [Pipeline] } 09:34:32 $ docker stop --time=1 87532a338fd39bdaa222bb6e8cc5ab00b0cd1e4c5b234ce7cb0186fe48bc2cc1 09:34:33 $ docker rm -f --volumes 87532a338fd39bdaa222bb6e8cc5ab00b0cd1e4c5b234ce7cb0186fe48bc2cc1 [Pipeline] // withDockerContainer [Pipeline] sh 09:34:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:34:34 Stashed 1 file(s) [Pipeline] echo 09:34:34 [edgeXSemver]: initialized semver on version 4.0.0-dev.19 [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) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:34:34 provisioning config files... 09:34:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4217713379968161867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:34:34 ---> ****-login.sh 09:34:34 nexus3.edgexfoundry.org:10001 09:34:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:34 Configure a credential helper to remove this warning. See 09:34:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:34 09:34:34 Login Succeeded 09:34:34 nexus3.edgexfoundry.org:10002 09:34:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:34 Configure a credential helper to remove this warning. See 09:34:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:34 09:34:34 Login Succeeded 09:34:34 nexus3.edgexfoundry.org:10003 09:34:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:34 Configure a credential helper to remove this warning. See 09:34:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:34 09:34:34 Login Succeeded 09:34:34 nexus3.edgexfoundry.org:10004 09:34:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:34 Configure a credential helper to remove this warning. See 09:34:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:34 09:34:34 Login Succeeded 09:34:34 ****.io 09:34:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:35 Configure a credential helper to remove this warning. See 09:34:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:35 09:34:35 Login Succeeded 09:34:35 ---> ****-login.sh ends [Pipeline] } 09:34:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:34:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 09:34:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 09:34:35 ========================================================= 09:34:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 09:34:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:35 + 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 . 09:34:35 Sending build context to Docker daemon 37.91MB 09:34:35 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 09:34:35 Step 2/12 : FROM ${BASE} AS builder 09:34:35 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 09:34:35 da9db072f522: Pulling fs layer 09:34:35 6ef4a4ee8ca5: Pulling fs layer 09:34:35 06f05ace1117: Pulling fs layer 09:34:35 5fe327b54edc: Pulling fs layer 09:34:35 4f4fb700ef54: Pulling fs layer 09:34:35 92a5565b7b96: Pulling fs layer 09:34:35 ff9bb7016b71: Pulling fs layer 09:34:35 b67dba6c2c7d: Pulling fs layer 09:34:35 a813b0c90790: Pulling fs layer 09:34:35 5fe327b54edc: Waiting 09:34:35 4f4fb700ef54: Waiting 09:34:35 92a5565b7b96: Waiting 09:34:35 ff9bb7016b71: Waiting 09:34:35 b67dba6c2c7d: Waiting 09:34:35 a813b0c90790: Waiting 09:34:35 6ef4a4ee8ca5: Verifying Checksum 09:34:35 6ef4a4ee8ca5: Download complete 09:34:35 5fe327b54edc: Download complete 09:34:35 4f4fb700ef54: Verifying Checksum 09:34:35 4f4fb700ef54: Download complete 09:34:35 92a5565b7b96: Verifying Checksum 09:34:35 92a5565b7b96: Download complete 09:34:35 da9db072f522: Verifying Checksum 09:34:35 da9db072f522: Download complete 09:34:35 ff9bb7016b71: Verifying Checksum 09:34:35 ff9bb7016b71: Download complete 09:34:36 da9db072f522: Pull complete 09:34:36 6ef4a4ee8ca5: Pull complete 09:34:36 a813b0c90790: Verifying Checksum 09:34:36 a813b0c90790: Download complete 09:34:36 06f05ace1117: Verifying Checksum 09:34:36 06f05ace1117: Download complete 09:34:36 b67dba6c2c7d: Verifying Checksum 09:34:36 b67dba6c2c7d: Download complete 09:34:39 06f05ace1117: Pull complete 09:34:39 5fe327b54edc: Pull complete 09:34:40 4f4fb700ef54: Pull complete 09:34:40 92a5565b7b96: Pull complete 09:34:40 ff9bb7016b71: Pull complete 09:34:42 b67dba6c2c7d: Pull complete 09:34:43 a813b0c90790: Pull complete 09:34:43 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 09:34:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 09:34:43 ---> 3ba60ce46760 09:34:43 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:34:46 ---> Running in 459111e3e1a4 09:34:46 Removing intermediate container 459111e3e1a4 09:34:46 ---> 87263deee8bc 09:34:46 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:34:46 ---> Running in c8228ddd10ec 09:34:46 Removing intermediate container c8228ddd10ec 09:34:46 ---> 17b41fa51a1e 09:34:46 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:34:46 ---> Running in 8674b60ceffa 09:34:46 Removing intermediate container 8674b60ceffa 09:34:46 ---> 5f8de05cd13d 09:34:46 Step 6/12 : WORKDIR /device-virtual-go 09:34:46 ---> Running in 8c9ba1cf0e62 09:34:46 Removing intermediate container 8c9ba1cf0e62 09:34:46 ---> c041d90b6973 09:34:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:34:46 ---> Running in ee968e251107 09:34:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:34:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:34:47 (1/4) Installing openssh-keygen (9.7_p1-r5) 09:34:47 (2/4) Installing libedit (20240517.3.1-r0) 09:34:47 (3/4) Installing openssh-client-common (9.7_p1-r5) 09:34:47 (4/4) Installing openssh-client-default (9.7_p1-r5) 09:34:47 Executing busybox-1.36.1-r29.trigger 09:34:47 OK: 252 MiB in 62 packages 09:34:48 Removing intermediate container ee968e251107 09:34:48 ---> 1db9c036c489 09:34:48 Step 8/12 : COPY go.mod vendor* ./ 09:34:48 ---> 270f496d9cfa 09:34:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:34:48 ---> Running in ad8ac8f8c8d1 09:34:49 Still waiting to schedule task 09:34:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:35:44 Removing intermediate container ad8ac8f8c8d1 09:35:44 ---> a9046c101076 09:35:44 Step 10/12 : COPY . . 09:35:44 ---> e9f8f7168c56 09:35:44 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:35:44 ---> Running in b1d7fb37e7ca 09:35:44 Removing intermediate container b1d7fb37e7ca 09:35:44 ---> b0615000a032 09:35:44 Step 12/12 : RUN $MAKE 09:35:44 ---> Running in de304c1f78c3 09:35:44 noop 09:35:44 Removing intermediate container de304c1f78c3 09:35:44 ---> 450a937da682 09:35:44 Successfully built 450a937da682 09:35:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:45 + docker inspect -f . ci-base-image-x86_64 09:35:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:35:45 prd-ubuntu20.04-docker-8c-8g-40898 does not seem to be running inside a container 09:35:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** ci-base-image-x86_64 cat 09:35:45 $ docker top f6be21668e4f63093a46ef008ce982068ccb7d155a2396ea3a7166e94a78acee -eo pid,comm [Pipeline] { [Pipeline] sh 09:35:45 + go version 09:35:45 go version go1.23.4 linux/amd64 [Pipeline] } 09:35:45 $ docker stop --time=1 f6be21668e4f63093a46ef008ce982068ccb7d155a2396ea3a7166e94a78acee 09:35:47 $ docker rm -f --volumes f6be21668e4f63093a46ef008ce982068ccb7d155a2396ea3a7166e94a78acee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:47 + docker inspect -f . ci-base-image-x86_64 09:35:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:35:47 prd-ubuntu20.04-docker-8c-8g-40898 does not seem to be running inside a container 09:35:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** ci-base-image-x86_64 cat 09:35:48 $ docker top 068f06832a7957c5ebd202863c5b4d7cd6b972aaae5d506a25032cd8411a3645 -eo pid,comm [Pipeline] { [Pipeline] sh 09:35:48 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 09:35:48 + make test 09:35:48 go test ./... -coverprofile=coverage.out 09:35:50 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:36:12 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 09:36:12 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.011s coverage: 58.4% of statements 09:36:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40899 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 09:36:13 Running in /w/workspace/device-virtual-go/204 [Pipeline] { [Pipeline] checkout 09:36:17 The recommended git tool is: git 09:36:21 using credential edgex-jenkins-ssh 09:36:21 Cloning the remote Git repository 09:36:21 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:36:21 > git init /w/workspace/device-virtual-go/204 # timeout=10 09:36:21 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:36:21 > git --version # timeout=10 09:36:21 > git --version # 'git version 2.25.1' 09:36:21 using GIT_SSH to set credentials SSH Credentials for GitHub 09:36:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:36:22 go vet ./... 09:36:25 Avoid second fetch 09:36:25 Checking out Revision f1ae59df93e15168f5c84516dd369218cbd3ebf1 (main) 09:36:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:36:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:36:26 Commit message: "Merge pull request #529 from judehung/update-odesa" 09:36:25 > git config core.sparsecheckout # timeout=10 09:36:25 > git checkout -f f1ae59df93e15168f5c84516dd369218cbd3ebf1 # timeout=10 09:36:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:36:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:36:27 ./bin/test-attribution-txt.sh [Pipeline] echo 09:36:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 09:36:27 $ docker stop --time=1 068f06832a7957c5ebd202863c5b4d7cd6b972aaae5d506a25032cd8411a3645 09:36:30 $ docker rm -f --volumes 068f06832a7957c5ebd202863c5b4d7cd6b972aaae5d506a25032cd8411a3645 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:36:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:36:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 09:36:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:36:31 % Total % Received % Xferd Average Speed Time Time Time Current 09:36:31 Dload Upload Total Spent Left Speed 09:36:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 70483 0 --:--:-- --:--:-- --:--:-- 70483 [Pipeline] sh [Pipeline] sh 09:36:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:36:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:36:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:36:32 + sudo tee /etc/docker/daemon.new 09:36:32 { 09:36:32 "registry-mirrors": [ 09:36:32 "https://nexus3.edgexfoundry.org:10001" 09:36:32 ], 09:36:32 "bip": "10.250.0.254/24", 09:36:32 "hosts": [ 09:36:32 "tcp://0.0.0.0:5555", 09:36:32 "unix:///var/run/docker.sock" 09:36:32 ], 09:36:32 "mtu": 1458, 09:36:32 "selinux-enabled": true, 09:36:32 "seccomp-profile": "/etc/docker/seccomp.json" 09:36:32 } [Pipeline] sh 09:36:32 + ls -al . 09:36:32 total 268 09:36:32 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 09:35 . 09:36:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 09:34 .. 09:36:32 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 09:36 .git 09:36:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 09:34 .github 09:36:32 -rw-rw-r-- 1 jenkins jenkins 272 Mar 11 09:34 .gitignore 09:36:32 -rw-rw-r-- 1 jenkins jenkins 199 Mar 11 09:34 .golangci.yml 09:36:32 drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 09:34 .semver 09:36:32 -rw-rw-r-- 1 jenkins jenkins 18321 Mar 11 09:34 Attribution.txt 09:36:32 -rw-rw-r-- 1 jenkins jenkins 17302 Mar 11 09:34 CHANGELOG.md 09:36:32 -rw-rw-r-- 1 jenkins jenkins 1755 Mar 11 09:34 Dockerfile 09:36:32 -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 09:34 GOVERNANCE.md 09:36:32 -rw-rw-r-- 1 jenkins jenkins 660 Mar 11 09:34 Jenkinsfile 09:36:32 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 11 09:34 LICENSE 09:36:32 -rw-rw-r-- 1 jenkins jenkins 2652 Mar 11 09:34 Makefile 09:36:32 -rw-rw-r-- 1 jenkins jenkins 623 Mar 11 09:34 OWNERS.md 09:36:32 -rw-rw-r-- 1 jenkins jenkins 4473 Mar 11 09:34 README.md 09:36:32 -rw-rw-r-- 1 jenkins jenkins 12 Mar 11 09:34 VERSION 09:36:32 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 09:34 bin 09:36:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 09:34 cmd 09:36:32 -rw-r--r-- 1 jenkins jenkins 43316 Mar 11 09:36 coverage.out 09:36:32 -rw-rw-r-- 1 jenkins jenkins 6032 Mar 11 09:34 go.mod 09:36:32 -rw-rw-r-- 1 jenkins jenkins 86532 Mar 11 09:34 go.sum 09:36:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 09:34 internal 09:36:32 -rw-rw-r-- 1 jenkins jenkins 235 Mar 11 09:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:36:32 + 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=f1ae59df93e15168f5c84516dd369218cbd3ebf1 --label arch=amd64 --label version=4.0.0-dev.19 . 09:36:32 Sending build context to Docker daemon 37.95MB 09:36:32 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 09:36:32 Step 2/26 : FROM ${BASE} AS builder 09:36:32 ---> 450a937da682 09:36:32 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:36:33 + sudo service docker restart 09:36:33 ---> Running in 1808b4ce96c0 09:36:33 Removing intermediate container 1808b4ce96c0 09:36:33 ---> 7c9e4e3b2a11 09:36:33 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 09:36:33 ---> Running in 8ae8e29e67ef 09:36:33 Removing intermediate container 8ae8e29e67ef 09:36:33 ---> c8e45912b779 09:36:33 Step 5/26 : ARG ADD_BUILD_TAGS="" 09:36:33 ---> Running in 57253fdbb0d6 09:36:33 Removing intermediate container 57253fdbb0d6 09:36:33 ---> 77268cb8fd82 09:36:33 Step 6/26 : WORKDIR /device-virtual-go 09:36:33 ---> Running in 2c12bcc0c363 09:36:33 Removing intermediate container 2c12bcc0c363 09:36:33 ---> c56607c4deb2 09:36:33 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:36:33 ---> Running in 7f3bcab23849 09:36:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:36:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:36:34 OK: 252 MiB in 62 packages 09:36:35 Removing intermediate container 7f3bcab23849 09:36:35 ---> 25a7e554934d 09:36:35 Step 8/26 : COPY go.mod vendor* ./ 09:36:35 ---> 0f3abde79404 09:36:35 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:36:35 ---> Running in 759dac74a3a1 09:36:36 Removing intermediate container 759dac74a3a1 09:36:36 ---> ef46aaaf3cbc 09:36:36 Step 10/26 : COPY . . 09:36:37 ---> bd89ac210271 09:36:37 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:36:37 ---> Running in d2a3306e2d40 09:36:37 Removing intermediate container d2a3306e2d40 09:36:37 ---> fe2b172c7345 09:36:37 Step 12/26 : RUN $MAKE 09:36:37 ---> Running in 5f77cd1d363e 09:36:37 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=4.0.0-dev.19 -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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:36:51 provisioning config files... 09:36:51 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/204@tmp/config10726441833326364483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:36:52 ---> ****-login.sh 09:36:52 nexus3.edgexfoundry.org:10001 09:36:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:36:52 Configure a credential helper to remove this warning. See 09:36:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:36:52 09:36:52 Login Succeeded 09:36:52 nexus3.edgexfoundry.org:10002 09:36:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:36:53 Configure a credential helper to remove this warning. See 09:36:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:36:53 09:36:53 Login Succeeded 09:36:53 nexus3.edgexfoundry.org:10003 09:36:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:36:53 Configure a credential helper to remove this warning. See 09:36:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:36:53 09:36:53 Login Succeeded 09:36:53 nexus3.edgexfoundry.org:10004 09:36:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:36:53 Configure a credential helper to remove this warning. See 09:36:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:36:53 09:36:53 Login Succeeded 09:36:53 ****.io 09:36:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:36:54 Configure a credential helper to remove this warning. See 09:36:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:36:54 09:36:54 Login Succeeded 09:36:54 ---> ****-login.sh ends [Pipeline] } 09:36:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:36:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 09:36:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 09:36:54 ========================================================= 09:36:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 09:36:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:54 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 09:36:55 Sending build context to Docker daemon 19.15MB 09:36:55 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 09:36:55 Step 2/12 : FROM ${BASE} AS builder 09:36:55 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:36:55 9986a736f7d3: Pulling fs layer 09:36:55 1f018df60701: Pulling fs layer 09:36:55 39f8f326b044: Pulling fs layer 09:36:55 e6a1e7a6a96a: Pulling fs layer 09:36:55 4f4fb700ef54: Pulling fs layer 09:36:55 e6a1e7a6a96a: Waiting 09:36:55 d45d956e0dbf: Pulling fs layer 09:36:55 4f4fb700ef54: Waiting 09:36:55 d7702b0d1db1: Pulling fs layer 09:36:55 d45d956e0dbf: Waiting 09:36:55 5c7f0f088c93: Pulling fs layer 09:36:55 4fdc064ae6cf: Pulling fs layer 09:36:55 d7702b0d1db1: Waiting 09:36:55 5c7f0f088c93: Waiting 09:36:55 4fdc064ae6cf: Waiting 09:36:55 1f018df60701: Download complete 09:36:55 e6a1e7a6a96a: Verifying Checksum 09:36:55 e6a1e7a6a96a: Download complete 09:36:55 4f4fb700ef54: Verifying Checksum 09:36:55 4f4fb700ef54: Download complete 09:36:55 d45d956e0dbf: Verifying Checksum 09:36:55 d45d956e0dbf: Download complete 09:36:55 d7702b0d1db1: Verifying Checksum 09:36:55 d7702b0d1db1: Download complete 09:36:55 9986a736f7d3: Verifying Checksum 09:36:55 9986a736f7d3: Download complete 09:36:56 4fdc064ae6cf: Verifying Checksum 09:36:56 4fdc064ae6cf: Download complete 09:36:56 9986a736f7d3: Pull complete 09:36:57 1f018df60701: Pull complete 09:36:57 39f8f326b044: Download complete 09:36:58 5c7f0f088c93: Verifying Checksum 09:36:58 5c7f0f088c93: Download complete 09:37:09 Removing intermediate container 5f77cd1d363e 09:37:09 ---> f1091c9de421 09:37:09 Step 13/26 : FROM alpine:3.20 09:37:09 3.20: Pulling from library/alpine 09:37:09 0a9a5dfd008f: Pulling fs layer 09:37:09 0a9a5dfd008f: Verifying Checksum 09:37:09 0a9a5dfd008f: Download complete 09:37:09 0a9a5dfd008f: Pull complete 09:37:09 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 09:37:09 Status: Downloaded newer image for alpine:3.20 09:37:09 ---> ff221270b9fb 09:37:09 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:37:09 ---> Running in ca28e64564de 09:37:09 Removing intermediate container ca28e64564de 09:37:09 ---> abb552c05ab9 09:37:09 Step 15/26 : RUN apk add --update --no-cache dumb-init 09:37:09 ---> Running in 1c6401d3756d 09:37:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:37:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:37:09 (1/1) Installing dumb-init (1.2.5-r3) 09:37:09 Executing busybox-1.36.1-r29.trigger 09:37:09 OK: 8 MiB in 15 packages 09:37:09 Removing intermediate container 1c6401d3756d 09:37:09 ---> f79ad37b2e03 09:37:09 Step 16/26 : RUN apk --no-cache upgrade 09:37:09 ---> Running in 2a555de90fe4 09:37:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:37:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:37:10 OK: 8 MiB in 15 packages 09:37:10 Removing intermediate container 2a555de90fe4 09:37:10 ---> 3e37d584c96d 09:37:10 Step 17/26 : WORKDIR / 09:37:10 ---> Running in 6a19d28e19ad 09:37:10 Removing intermediate container 6a19d28e19ad 09:37:10 ---> 9617ff704432 09:37:10 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:37:10 ---> fe62cefc2051 09:37:10 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 09:37:11 ---> 710615369b77 09:37:11 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 09:37:12 ---> 5ddfb0ad8210 09:37:12 Step 21/26 : EXPOSE 59900 09:37:12 ---> Running in aef855b23fa8 09:37:12 Removing intermediate container aef855b23fa8 09:37:12 ---> 722618ec5c01 09:37:12 Step 22/26 : ENTRYPOINT ["/device-virtual"] 09:37:12 ---> Running in 3aac014b15ef 09:37:12 Removing intermediate container 3aac014b15ef 09:37:12 ---> 5b60f89058ff 09:37:12 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 09:37:12 ---> Running in ec20fa332137 09:37:12 Removing intermediate container ec20fa332137 09:37:12 ---> adcdcce3483c 09:37:12 Step 24/26 : LABEL arch=amd64 09:37:12 ---> Running in 458135acc4a4 09:37:12 Removing intermediate container 458135acc4a4 09:37:12 ---> d16180f2b899 09:37:12 Step 25/26 : LABEL git_sha=f1ae59df93e15168f5c84516dd369218cbd3ebf1 09:37:12 ---> Running in 2240a051d27a 09:37:12 Removing intermediate container 2240a051d27a 09:37:12 ---> 7143f13b85db 09:37:12 Step 26/26 : LABEL version=4.0.0-dev.19 09:37:12 ---> Running in 39d722de4224 09:37:12 Removing intermediate container 39d722de4224 09:37:12 ---> 2ba74fa687ff 09:37:12 [Warning] One or more build-args [ARCH] were not consumed 09:37:12 Successfully built 2ba74fa687ff 09:37:12 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:37:12 provisioning config files... 09:37:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9373548764013303640tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:37:13 ---> ****-login.sh 09:37:13 nexus3.edgexfoundry.org:10001 09:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:37:13 Configure a credential helper to remove this warning. See 09:37:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:37:13 09:37:13 Login Succeeded 09:37:13 nexus3.edgexfoundry.org:10002 09:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:37:13 Configure a credential helper to remove this warning. See 09:37:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:37:13 09:37:13 Login Succeeded 09:37:13 nexus3.edgexfoundry.org:10003 09:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:37:13 Configure a credential helper to remove this warning. See 09:37:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:37:13 09:37:13 Login Succeeded 09:37:13 nexus3.edgexfoundry.org:10004 09:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:37:13 Configure a credential helper to remove this warning. See 09:37:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:37:13 09:37:13 Login Succeeded 09:37:13 ****.io 09:37:13 39f8f326b044: Pull complete 09:37:13 e6a1e7a6a96a: Pull complete 09:37:13 4f4fb700ef54: Pull complete 09:37:13 d45d956e0dbf: Pull complete 09:37:13 d7702b0d1db1: Pull complete 09:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:37:13 Configure a credential helper to remove this warning. See 09:37:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:37:13 09:37:13 Login Succeeded 09:37:13 ---> ****-login.sh ends [Pipeline] } 09:37:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:37:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 09:37:13 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 09:37:13 f1ae59df93e15168f5c84516dd369218cbd3ebf1 09:37:13 latest 09:37:13 4.0.0-dev.19 09:37:13 f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.0.0-dev.19 09:37:13 main 09:37:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:14 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:f1ae59df93e15168f5c84516dd369218cbd3ebf1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual:f1ae59df93e15168f5c84516dd369218cbd3ebf1 09:37:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 09:37:14 b1f120c5c555: Preparing 09:37:14 ac940bc07dee: Preparing 09:37:14 78f80f3d3a83: Preparing 09:37:14 f45f81d831a7: Preparing 09:37:14 4a5b018dc7ab: Preparing 09:37:14 994456c4fd7b: Preparing 09:37:14 994456c4fd7b: Waiting 09:37:14 f45f81d831a7: Pushed 09:37:14 ac940bc07dee: Pushed 09:37:14 78f80f3d3a83: Pushed 09:37:14 4a5b018dc7ab: Pushed 09:37:14 994456c4fd7b: Layer already exists 09:37:17 b1f120c5c555: Pushed 09:37:17 f1ae59df93e15168f5c84516dd369218cbd3ebf1: digest: sha256:da31ea2ff757d007422b90f481e0e8dd44aa14d9e84cce19430869a108e2b254 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:18 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 09:37:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 09:37:18 b1f120c5c555: Preparing 09:37:18 ac940bc07dee: Preparing 09:37:18 78f80f3d3a83: Preparing 09:37:18 f45f81d831a7: Preparing 09:37:18 4a5b018dc7ab: Preparing 09:37:18 994456c4fd7b: Preparing 09:37:18 994456c4fd7b: Waiting 09:37:18 b1f120c5c555: Layer already exists 09:37:18 78f80f3d3a83: Layer already exists 09:37:18 4a5b018dc7ab: Layer already exists 09:37:18 ac940bc07dee: Layer already exists 09:37:18 f45f81d831a7: Layer already exists 09:37:18 994456c4fd7b: Layer already exists 09:37:18 latest: digest: sha256:da31ea2ff757d007422b90f481e0e8dd44aa14d9e84cce19430869a108e2b254 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:18 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:19 + docker push nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.19 09:37:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 09:37:19 b1f120c5c555: Preparing 09:37:19 ac940bc07dee: Preparing 09:37:19 78f80f3d3a83: Preparing 09:37:19 f45f81d831a7: Preparing 09:37:19 4a5b018dc7ab: Preparing 09:37:19 994456c4fd7b: Preparing 09:37:19 994456c4fd7b: Waiting 09:37:19 b1f120c5c555: Layer already exists 09:37:19 78f80f3d3a83: Layer already exists 09:37:19 ac940bc07dee: Layer already exists 09:37:19 f45f81d831a7: Layer already exists 09:37:19 4a5b018dc7ab: Layer already exists 09:37:19 994456c4fd7b: Layer already exists 09:37:19 4.0.0-dev.19: digest: sha256:da31ea2ff757d007422b90f481e0e8dd44aa14d9e84cce19430869a108e2b254 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:19 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:19 + docker push nexus3.edgexfoundry.org:10004/device-virtual:f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.0.0-dev.19 09:37:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 09:37:19 b1f120c5c555: Preparing 09:37:19 ac940bc07dee: Preparing 09:37:19 78f80f3d3a83: Preparing 09:37:19 f45f81d831a7: Preparing 09:37:19 4a5b018dc7ab: Preparing 09:37:19 994456c4fd7b: Preparing 09:37:19 994456c4fd7b: Waiting 09:37:19 f45f81d831a7: Layer already exists 09:37:19 ac940bc07dee: Layer already exists 09:37:19 78f80f3d3a83: Layer already exists 09:37:19 b1f120c5c555: Layer already exists 09:37:19 4a5b018dc7ab: Layer already exists 09:37:19 994456c4fd7b: Layer already exists 09:37:19 f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.0.0-dev.19: digest: sha256:da31ea2ff757d007422b90f481e0e8dd44aa14d9e84cce19430869a108e2b254 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:20 5c7f0f088c93: Pull complete 09:37:20 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 09:37:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 09:37:20 b1f120c5c555: Preparing 09:37:20 ac940bc07dee: Preparing 09:37:20 78f80f3d3a83: Preparing 09:37:20 f45f81d831a7: Preparing 09:37:20 4a5b018dc7ab: Preparing 09:37:20 994456c4fd7b: Preparing 09:37:20 994456c4fd7b: Waiting 09:37:20 ac940bc07dee: Layer already exists 09:37:20 78f80f3d3a83: Layer already exists 09:37:20 f45f81d831a7: Layer already exists 09:37:20 b1f120c5c555: Layer already exists 09:37:20 4a5b018dc7ab: Layer already exists 09:37:20 994456c4fd7b: Layer already exists 09:37:20 main: digest: sha256:da31ea2ff757d007422b90f481e0e8dd44aa14d9e84cce19430869a108e2b254 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:37:20 ===================================================== [Pipeline] echo 09:37:20 taggedImages: 09:37:20 - nexus3.edgexfoundry.org:10004/device-virtual:f1ae59df93e15168f5c84516dd369218cbd3ebf1 09:37:20 - nexus3.edgexfoundry.org:10004/device-virtual:latest 09:37:20 - nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.19 09:37:20 - nexus3.edgexfoundry.org:10004/device-virtual:f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.0.0-dev.19 09:37:20 - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [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 09:37:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:37:21 09:37:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:37:21 latest: Pulling from edgex-lftools-log-publisher 09:37:21 5eb5b503b376: Pulling fs layer 09:37:21 5c69ac0246d0: Pulling fs layer 09:37:21 ec43610c2a17: Pulling fs layer 09:37:21 3a2ae6a8a46f: Pulling fs layer 09:37:21 33b1e0a273af: Pulling fs layer 09:37:21 5d3b04190fa2: Pulling fs layer 09:37:21 2f39f015ded8: Pulling fs layer 09:37:21 3a2ae6a8a46f: Waiting 09:37:21 5d3b04190fa2: Waiting 09:37:21 33b1e0a273af: Waiting 09:37:21 2f39f015ded8: Waiting 09:37:21 5c69ac0246d0: Verifying Checksum 09:37:21 5c69ac0246d0: Download complete 09:37:21 3a2ae6a8a46f: Verifying Checksum 09:37:21 3a2ae6a8a46f: Download complete 09:37:21 33b1e0a273af: Verifying Checksum 09:37:21 33b1e0a273af: Download complete 09:37:21 ec43610c2a17: Verifying Checksum 09:37:21 ec43610c2a17: Download complete 09:37:21 5d3b04190fa2: Download complete 09:37:21 5eb5b503b376: Download complete 09:37:22 4fdc064ae6cf: Pull complete 09:37:22 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 09:37:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 09:37:22 ---> 63f30b955cb9 09:37:22 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:37:22 2f39f015ded8: Verifying Checksum 09:37:22 2f39f015ded8: Download complete 09:37:22 5eb5b503b376: Pull complete 09:37:23 5c69ac0246d0: Pull complete 09:37:23 ---> Running in 1c39326c0b16 09:37:23 Removing intermediate container 1c39326c0b16 09:37:23 ---> 84292e6e77f7 09:37:23 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:37:23 ---> Running in b91403fe0a88 09:37:23 ec43610c2a17: Pull complete 09:37:23 3a2ae6a8a46f: Pull complete 09:37:23 Removing intermediate container b91403fe0a88 09:37:23 ---> aa98db492a1c 09:37:23 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:37:23 ---> Running in 9f1d2937d7b7 09:37:23 33b1e0a273af: Pull complete 09:37:23 5d3b04190fa2: Pull complete 09:37:23 Removing intermediate container 9f1d2937d7b7 09:37:23 ---> 26aae67e0f5b 09:37:23 Step 6/12 : WORKDIR /device-virtual-go 09:37:23 ---> Running in dfeff4e31ce8 09:37:24 Removing intermediate container dfeff4e31ce8 09:37:24 ---> f901c90c5ff2 09:37:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:37:24 ---> Running in 4eb692722454 09:37:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:37:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:37:27 (1/4) Installing openssh-keygen (9.7_p1-r5) 09:37:27 (2/4) Installing libedit (20240517.3.1-r0) 09:37:27 (3/4) Installing openssh-client-common (9.7_p1-r5) 09:37:27 (4/4) Installing openssh-client-default (9.7_p1-r5) 09:37:27 Executing busybox-1.36.1-r29.trigger 09:37:27 OK: 244 MiB in 62 packages 09:37:28 2f39f015ded8: Pull complete 09:37:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:37:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:37:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:28 prd-ubuntu20.04-docker-8c-8g-40898 does not seem to be running inside a container 09:37:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:37:28 Removing intermediate container 4eb692722454 09:37:28 ---> 57c5ea91bc8f 09:37:28 Step 8/12 : COPY go.mod vendor* ./ 09:37:28 ---> 7561f051f91a 09:37:28 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:37:28 ---> Running in 4b544b8974bc 09:37:30 $ docker top 28c088aa6866a849e20522744e9c718826e0bc3658ca925ea74e60203ac68556 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:37:31 ---> job-cost.sh 09:37:31 lf-activate-venv: SKIPPING 09:37:31 INFO: No Stack... 09:37:31 INFO: Retrieving Pricing Info for: v3-standard-8 09:37:31 INFO: Archiving Costs [Pipeline] sh 09:37:31 + cut -d, -f6 09:37:31 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [Pipeline] lock 09:37:32 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-204-stack-cost] 09:37:32 Resource [jenkins-edgexfoundry-device-virtual-go-main-204-stack-cost] did not exist. Created. 09:37:32 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-204-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:37:32 + echo total: 0.2199999988079071 [Pipeline] stash 09:37:32 Stashed 1 file(s) [Pipeline] } 09:37:32 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-204-stack-cost] [Pipeline] // lock [Pipeline] } 09:37:32 $ docker stop --time=1 28c088aa6866a849e20522744e9c718826e0bc3658ca925ea74e60203ac68556 09:37:33 $ docker rm -f --volumes 28c088aa6866a849e20522744e9c718826e0bc3658ca925ea74e60203ac68556 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:39:20 Removing intermediate container 4b544b8974bc 09:39:20 ---> 8538d402397d 09:39:20 Step 10/12 : COPY . . 09:39:20 ---> b7c96686cb0f 09:39:20 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:39:20 ---> Running in 46fb9e3efeb6 09:39:20 Removing intermediate container 46fb9e3efeb6 09:39:20 ---> 4d03840c6094 09:39:20 Step 12/12 : RUN $MAKE 09:39:20 ---> Running in 71ccadfb7fea 09:39:20 noop 09:39:20 Removing intermediate container 71ccadfb7fea 09:39:20 ---> 3b4ab6a28553 09:39:20 Successfully built 3b4ab6a28553 09:39:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:39:20 + docker inspect -f . ci-base-image-arm64 09:39:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:39:21 prd-ubuntu20.04-docker-arm64-4c-16g-40899 does not seem to be running inside a container 09:39:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/204 -v /w/workspace/device-virtual-go/204:/w/workspace/device-virtual-go/204:rw,z -v /w/workspace/device-virtual-go/204@tmp:/w/workspace/device-virtual-go/204@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 ******** ci-base-image-arm64 cat 09:39:22 $ docker top 9b18969cbeaf915f607d4d99327fb7247b254382a55e06b42c01b8656e16d53f -eo pid,comm [Pipeline] { [Pipeline] sh 09:39:23 + go version 09:39:23 go version go1.23.4 linux/arm64 [Pipeline] } 09:39:23 $ docker stop --time=1 9b18969cbeaf915f607d4d99327fb7247b254382a55e06b42c01b8656e16d53f 09:39:25 $ docker rm -f --volumes 9b18969cbeaf915f607d4d99327fb7247b254382a55e06b42c01b8656e16d53f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:39:25 + docker inspect -f . ci-base-image-arm64 09:39:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:39:25 prd-ubuntu20.04-docker-arm64-4c-16g-40899 does not seem to be running inside a container 09:39:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/204 -v /w/workspace/device-virtual-go/204:/w/workspace/device-virtual-go/204:rw,z -v /w/workspace/device-virtual-go/204@tmp:/w/workspace/device-virtual-go/204@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 ******** ci-base-image-arm64 cat 09:39:26 $ docker top 360ab00176d7032c74f09af3eca4ea7ec5ec930915f75bce9ace265d7509e4ba -eo pid,comm [Pipeline] { [Pipeline] sh 09:39:27 + git config --global --add safe.directory /w/workspace/device-virtual-go/204 [Pipeline] fileExists [Pipeline] sh 09:39:28 + make test 09:39:28 go test ./... -coverprofile=coverage.out 09:39:33 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:42:55 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 09:42:57 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.056s coverage: 58.3% of statements 09:42:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:42:58 go vet ./... 09:43:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:43:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:43:44 ./bin/test-attribution-txt.sh [Pipeline] echo 09:43:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 09:43:44 $ docker stop --time=1 360ab00176d7032c74f09af3eca4ea7ec5ec930915f75bce9ace265d7509e4ba 09:43:46 $ docker rm -f --volumes 360ab00176d7032c74f09af3eca4ea7ec5ec930915f75bce9ace265d7509e4ba [Pipeline] // withDockerContainer [Pipeline] sh 09:43:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:43:48 Warning: overwriting stash ‘coverage-report’ 09:43:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:43:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:43:49 + ls -al . 09:43:49 total 264 09:43:49 drwxrwxr-x 7 jenkins jenkins 4096 Mar 11 09:39 . 09:43:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 09:36 .. 09:43:49 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 09:36 .git 09:43:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 09:36 .github 09:43:49 -rw-rw-r-- 1 jenkins jenkins 272 Mar 11 09:36 .gitignore 09:43:49 -rw-rw-r-- 1 jenkins jenkins 199 Mar 11 09:36 .golangci.yml 09:43:49 -rw-rw-r-- 1 jenkins jenkins 18321 Mar 11 09:36 Attribution.txt 09:43:49 -rw-rw-r-- 1 jenkins jenkins 17302 Mar 11 09:36 CHANGELOG.md 09:43:49 -rw-rw-r-- 1 jenkins jenkins 1755 Mar 11 09:36 Dockerfile 09:43:49 -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 09:36 GOVERNANCE.md 09:43:49 -rw-rw-r-- 1 jenkins jenkins 660 Mar 11 09:36 Jenkinsfile 09:43:49 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 11 09:36 LICENSE 09:43:49 -rw-rw-r-- 1 jenkins jenkins 2652 Mar 11 09:36 Makefile 09:43:49 -rw-rw-r-- 1 jenkins jenkins 623 Mar 11 09:36 OWNERS.md 09:43:49 -rw-rw-r-- 1 jenkins jenkins 4473 Mar 11 09:36 README.md 09:43:49 -rw-rw-r-- 1 jenkins jenkins 12 Mar 11 09:34 VERSION 09:43:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 09:36 bin 09:43:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 09:36 cmd 09:43:49 -rw-r--r-- 1 jenkins jenkins 43316 Mar 11 09:42 coverage.out 09:43:49 -rw-rw-r-- 1 jenkins jenkins 6032 Mar 11 09:36 go.mod 09:43:49 -rw-rw-r-- 1 jenkins jenkins 86532 Mar 11 09:36 go.sum 09:43:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 09:36 internal 09:43:49 -rw-rw-r-- 1 jenkins jenkins 235 Mar 11 09:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:50 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f1ae59df93e15168f5c84516dd369218cbd3ebf1 --label arch=arm64 --label version=4.0.0-dev.19 . 09:43:50 Sending build context to Docker daemon 19.19MB 09:43:50 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 09:43:50 Step 2/26 : FROM ${BASE} AS builder 09:43:50 ---> 3b4ab6a28553 09:43:50 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:43:51 ---> Running in 8d712cac8452 09:43:51 Removing intermediate container 8d712cac8452 09:43:51 ---> d680297fdd93 09:43:51 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 09:43:51 ---> Running in 8a5af0d39494 09:43:51 Removing intermediate container 8a5af0d39494 09:43:51 ---> 1260da66b8b6 09:43:51 Step 5/26 : ARG ADD_BUILD_TAGS="" 09:43:51 ---> Running in b9e733816ea1 09:43:52 Removing intermediate container b9e733816ea1 09:43:52 ---> 51cb0147f1c4 09:43:52 Step 6/26 : WORKDIR /device-virtual-go 09:43:52 ---> Running in b36e652e195f 09:43:52 Removing intermediate container b36e652e195f 09:43:52 ---> c9032f883b83 09:43:52 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:43:52 ---> Running in fecfb431f3f9 09:43:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:43:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:43:54 OK: 244 MiB in 62 packages 09:43:55 Removing intermediate container fecfb431f3f9 09:43:55 ---> ae6df17f29fc 09:43:55 Step 8/26 : COPY go.mod vendor* ./ 09:43:56 ---> 966d805eb490 09:43:56 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:43:56 ---> Running in 67c94034f121 09:43:59 Removing intermediate container 67c94034f121 09:43:59 ---> 8546adee4a4a 09:43:59 Step 10/26 : COPY . . 09:44:00 ---> c725f6df3e06 09:44:00 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:44:00 ---> Running in 6f3acec04b9a 09:44:00 Removing intermediate container 6f3acec04b9a 09:44:00 ---> 7d2c5aa12daa 09:44:00 Step 12/26 : RUN $MAKE 09:44:00 ---> Running in 892ca9ce06eb 09:44:01 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=4.0.0-dev.19 -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 09:47:23 Removing intermediate container 892ca9ce06eb 09:47:23 ---> c560e058c05c 09:47:23 Step 13/26 : FROM alpine:3.20 09:47:23 3.20: Pulling from library/alpine 09:47:23 94e9d8af2201: Pulling fs layer 09:47:23 94e9d8af2201: Verifying Checksum 09:47:23 94e9d8af2201: Download complete 09:47:23 94e9d8af2201: Pull complete 09:47:23 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 09:47:23 Status: Downloaded newer image for alpine:3.20 09:47:23 ---> 7aab056cecc6 09:47:23 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:47:23 ---> Running in 90dc6ccf8367 09:47:23 Removing intermediate container 90dc6ccf8367 09:47:23 ---> 9768323e9568 09:47:23 Step 15/26 : RUN apk add --update --no-cache dumb-init 09:47:23 ---> Running in 917358d6e043 09:47:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:47:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:47:23 (1/1) Installing dumb-init (1.2.5-r3) 09:47:23 Executing busybox-1.36.1-r29.trigger 09:47:23 OK: 9 MiB in 15 packages 09:47:23 Removing intermediate container 917358d6e043 09:47:23 ---> 14085fb75250 09:47:23 Step 16/26 : RUN apk --no-cache upgrade 09:47:23 ---> Running in efdfddf00c9b 09:47:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:47:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:47:23 OK: 9 MiB in 15 packages 09:47:23 Removing intermediate container efdfddf00c9b 09:47:23 ---> 328ee31b2693 09:47:23 Step 17/26 : WORKDIR / 09:47:23 ---> Running in 3798250e99ad 09:47:23 Removing intermediate container 3798250e99ad 09:47:23 ---> cd1787d542a8 09:47:23 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:47:23 ---> 14eeec7b70a7 09:47:23 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 09:47:23 ---> 8b8f81b88ba4 09:47:23 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 09:47:23 ---> 7bc085193df6 09:47:23 Step 21/26 : EXPOSE 59900 09:47:23 ---> Running in 1cc064016f11 09:47:23 Removing intermediate container 1cc064016f11 09:47:23 ---> 7bbf2dc79959 09:47:23 Step 22/26 : ENTRYPOINT ["/device-virtual"] 09:47:23 ---> Running in 1be26e4b4ebc 09:47:23 Removing intermediate container 1be26e4b4ebc 09:47:23 ---> ec2946e3ec9a 09:47:23 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 09:47:23 ---> Running in 51073ee97e72 09:47:23 Removing intermediate container 51073ee97e72 09:47:23 ---> 01a48d3b65b8 09:47:23 Step 24/26 : LABEL arch=arm64 09:47:23 ---> Running in c3751b87dc1a 09:47:23 Removing intermediate container c3751b87dc1a 09:47:23 ---> dce682dd5ed3 09:47:23 Step 25/26 : LABEL git_sha=f1ae59df93e15168f5c84516dd369218cbd3ebf1 09:47:23 ---> Running in 57ab252054d1 09:47:23 Removing intermediate container 57ab252054d1 09:47:23 ---> 4bf00ced8fd0 09:47:23 Step 26/26 : LABEL version=4.0.0-dev.19 09:47:23 ---> Running in b80da3e22e93 09:47:23 Removing intermediate container b80da3e22e93 09:47:23 ---> 52894928c1bb 09:47:23 [Warning] One or more build-args [ARCH] were not consumed 09:47:23 Successfully built 52894928c1bb 09:47:23 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:47:23 provisioning config files... 09:47:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/204@tmp/config12609518749833364587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:47:23 ---> ****-login.sh 09:47:23 nexus3.edgexfoundry.org:10001 09:47:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:47:24 Configure a credential helper to remove this warning. See 09:47:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:47:24 09:47:24 Login Succeeded 09:47:24 nexus3.edgexfoundry.org:10002 09:47:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:47:24 Configure a credential helper to remove this warning. See 09:47:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:47:24 09:47:24 Login Succeeded 09:47:24 nexus3.edgexfoundry.org:10003 09:47:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:47:24 Configure a credential helper to remove this warning. See 09:47:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:47:24 09:47:24 Login Succeeded 09:47:24 nexus3.edgexfoundry.org:10004 09:47:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:47:25 Configure a credential helper to remove this warning. See 09:47:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:47:25 09:47:25 Login Succeeded 09:47:25 ****.io 09:47:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:47:25 Configure a credential helper to remove this warning. See 09:47:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:47:25 09:47:25 Login Succeeded 09:47:25 ---> ****-login.sh ends [Pipeline] } 09:47:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:47:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 09:47:25 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 09:47:25 f1ae59df93e15168f5c84516dd369218cbd3ebf1 09:47:25 latest 09:47:25 4.0.0-dev.19 09:47:25 f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.0.0-dev.19 09:47:25 main 09:47:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:26 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:f1ae59df93e15168f5c84516dd369218cbd3ebf1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:f1ae59df93e15168f5c84516dd369218cbd3ebf1 09:47:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:47:26 78d533740094: Preparing 09:47:26 0d9cd1384b8d: Preparing 09:47:26 d575820b2ca4: Preparing 09:47:26 7aecbdc76b85: Preparing 09:47:26 b011c351aeae: Preparing 09:47:26 dd9c8f8612c8: Preparing 09:47:26 dd9c8f8612c8: Waiting 09:47:26 d575820b2ca4: Pushed 09:47:26 0d9cd1384b8d: Pushed 09:47:26 7aecbdc76b85: Pushed 09:47:26 dd9c8f8612c8: Layer already exists 09:47:26 b011c351aeae: Pushed 09:47:34 78d533740094: Pushed 09:47:34 f1ae59df93e15168f5c84516dd369218cbd3ebf1: digest: sha256:ded6b1fae499955149f667b2b9b3af0d1f57d35171332469fd7405b4040d68f7 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:35 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:35 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 09:47:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:47:35 78d533740094: Preparing 09:47:35 0d9cd1384b8d: Preparing 09:47:35 d575820b2ca4: Preparing 09:47:35 7aecbdc76b85: Preparing 09:47:35 b011c351aeae: Preparing 09:47:35 dd9c8f8612c8: Preparing 09:47:35 dd9c8f8612c8: Waiting 09:47:35 78d533740094: Layer already exists 09:47:35 0d9cd1384b8d: Layer already exists 09:47:35 d575820b2ca4: Layer already exists 09:47:35 b011c351aeae: Layer already exists 09:47:35 7aecbdc76b85: Layer already exists 09:47:35 dd9c8f8612c8: Layer already exists 09:47:35 latest: digest: sha256:ded6b1fae499955149f667b2b9b3af0d1f57d35171332469fd7405b4040d68f7 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:36 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:36 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.19 09:47:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:47:36 78d533740094: Preparing 09:47:36 0d9cd1384b8d: Preparing 09:47:36 d575820b2ca4: Preparing 09:47:36 7aecbdc76b85: Preparing 09:47:36 b011c351aeae: Preparing 09:47:36 dd9c8f8612c8: Preparing 09:47:36 dd9c8f8612c8: Waiting 09:47:36 d575820b2ca4: Layer already exists 09:47:36 0d9cd1384b8d: Layer already exists 09:47:36 7aecbdc76b85: Layer already exists 09:47:36 b011c351aeae: Layer already exists 09:47:36 78d533740094: Layer already exists 09:47:36 dd9c8f8612c8: Layer already exists 09:47:36 4.0.0-dev.19: digest: sha256:ded6b1fae499955149f667b2b9b3af0d1f57d35171332469fd7405b4040d68f7 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:37 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:37 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.0.0-dev.19 09:47:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:47:37 78d533740094: Preparing 09:47:37 0d9cd1384b8d: Preparing 09:47:37 d575820b2ca4: Preparing 09:47:37 7aecbdc76b85: Preparing 09:47:37 b011c351aeae: Preparing 09:47:37 dd9c8f8612c8: Preparing 09:47:37 dd9c8f8612c8: Waiting 09:47:37 7aecbdc76b85: Layer already exists 09:47:37 b011c351aeae: Layer already exists 09:47:37 d575820b2ca4: Layer already exists 09:47:37 78d533740094: Layer already exists 09:47:37 0d9cd1384b8d: Layer already exists 09:47:37 dd9c8f8612c8: Layer already exists 09:47:37 f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.0.0-dev.19: digest: sha256:ded6b1fae499955149f667b2b9b3af0d1f57d35171332469fd7405b4040d68f7 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:37 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:38 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 09:47:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:47:38 78d533740094: Preparing 09:47:38 0d9cd1384b8d: Preparing 09:47:38 d575820b2ca4: Preparing 09:47:38 7aecbdc76b85: Preparing 09:47:38 b011c351aeae: Preparing 09:47:38 dd9c8f8612c8: Preparing 09:47:38 dd9c8f8612c8: Waiting 09:47:38 7aecbdc76b85: Layer already exists 09:47:38 0d9cd1384b8d: Layer already exists 09:47:38 d575820b2ca4: Layer already exists 09:47:38 b011c351aeae: Layer already exists 09:47:38 78d533740094: Layer already exists 09:47:38 dd9c8f8612c8: Layer already exists 09:47:38 main: digest: sha256:ded6b1fae499955149f667b2b9b3af0d1f57d35171332469fd7405b4040d68f7 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:47:38 ===================================================== [Pipeline] echo 09:47:38 taggedImages: 09:47:38 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:f1ae59df93e15168f5c84516dd369218cbd3ebf1 09:47:38 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 09:47:38 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.19 09:47:38 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.0.0-dev.19 09:47:38 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:47:39 09:47:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:47:39 arm64: Pulling from edgex-lftools-log-publisher 09:47:39 8998bd30e6a1: Pulling fs layer 09:47:39 04944245beec: Pulling fs layer 09:47:39 699f458cf7ca: Pulling fs layer 09:47:39 765212b225bb: Pulling fs layer 09:47:39 f23df028b6ca: Pulling fs layer 09:47:39 d65c8cfc05b1: Pulling fs layer 09:47:39 2437ff75d9bd: Pulling fs layer 09:47:39 765212b225bb: Waiting 09:47:39 f23df028b6ca: Waiting 09:47:39 2437ff75d9bd: Waiting 09:47:39 04944245beec: Verifying Checksum 09:47:39 04944245beec: Download complete 09:47:39 765212b225bb: Verifying Checksum 09:47:39 765212b225bb: Download complete 09:47:39 f23df028b6ca: Verifying Checksum 09:47:39 f23df028b6ca: Download complete 09:47:39 d65c8cfc05b1: Verifying Checksum 09:47:39 d65c8cfc05b1: Download complete 09:47:39 699f458cf7ca: Verifying Checksum 09:47:40 8998bd30e6a1: Verifying Checksum 09:47:40 8998bd30e6a1: Download complete 09:47:42 2437ff75d9bd: Download complete 09:47:44 8998bd30e6a1: Pull complete 09:47:45 04944245beec: Pull complete 09:47:46 699f458cf7ca: Pull complete 09:47:46 765212b225bb: Pull complete 09:47:47 f23df028b6ca: Pull complete 09:47:48 d65c8cfc05b1: Pull complete 09:48:06 2437ff75d9bd: Pull complete 09:48:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:48:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:48:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:48:06 prd-ubuntu20.04-docker-arm64-4c-16g-40899 does not seem to be running inside a container 09:48:06 $ 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/device-virtual-go/204 -v /w/workspace/device-virtual-go/204:/w/workspace/device-virtual-go/204:rw,z -v /w/workspace/device-virtual-go/204@tmp:/w/workspace/device-virtual-go/204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:48:09 $ docker top ee436e8c4e3cf6441d11a3cbc07b7146aae25f3fc9fa2f26abbecb75ff2d0ae5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:48:10 ---> job-cost.sh 09:48:10 lf-activate-venv: SKIPPING 09:48:10 INFO: No Stack... 09:48:10 INFO: Retrieving Pricing Info for: v3-standard-4 09:48:11 INFO: Archiving Costs [Pipeline] sh 09:48:11 + cat /w/workspace/device-virtual-go/204/archives/cost.csv 09:48:11 + cut -d, -f6 [Pipeline] lock 09:48:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-204-stack-cost] 09:48:12 Resource [jenkins-edgexfoundry-device-virtual-go-main-204-stack-cost] did not exist. Created. 09:48:12 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-204-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:48:12 /w/workspace/device-virtual-go/204@tmp/durable-334be918/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:48:13 + echo total: 0.10999999940395355 [Pipeline] stash 09:48:13 Warning: overwriting stash ‘stack-cost’ 09:48:13 Stashed 1 file(s) [Pipeline] } 09:48:13 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-204-stack-cost] [Pipeline] // lock [Pipeline] } 09:48:13 $ docker stop --time=1 ee436e8c4e3cf6441d11a3cbc07b7146aae25f3fc9fa2f26abbecb75ff2d0ae5 09:48:14 $ docker rm -f --volumes ee436e8c4e3cf6441d11a3cbc07b7146aae25f3fc9fa2f26abbecb75ff2d0ae5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 09:48:15 provisioning config files... 09:48:15 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5121662208949157741tmp [Pipeline] { [Pipeline] sh 09:48:15 + set +x 09:48:15 + + curl -s https://codecov.io/bash 09:48:15 bash -s -- 09:48:15 09:48:15 _____ _ 09:48:15 / ____| | | 09:48:15 | | ___ __| | ___ ___ _____ __ 09:48:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:48:15 | |___| (_) | (_| | __/ (_| (_) \ V / 09:48:15 \_____\___/ \__,_|\___|\___\___/ \_/ 09:48:15 Bash-1.0.6 09:48:15 09:48:15 09:48:15 ==> git version 2.25.1 found 09:48: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 09:48:15 Release-Date: 2020-01-08 09:48: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 09:48:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:48:15 ==> Jenkins CI detected. 09:48:15 current dir:  /w/workspace/exfoundry_device-virtual-go_main 09:48:15 project root: . 09:48:15 --> token set from env 09:48:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:48:15 ==> Running gcov in . (disable via -X gcov) 09:48:15 ==> Python coveragepy not found 09:48:15 ==> Searching for coverage reports in: 09:48:15 + . 09:48:15 -> Found 1 reports 09:48:15 ==> Detecting git/mercurial file structure 09:48:15 ==> Reading reports 09:48:15 + ./coverage.out bytes=43316 09:48:15 ==> Appending adjustments 09:48:15 https://docs.codecov.io/docs/fixing-reports 09:48:15 + Found adjustments 09:48:15 ==> Gzipping contents 09:48:15 8.0K /tmp/codecov.6Ub3w8.gz 09:48:15 ==> Uploading reports 09:48:15 url: https://codecov.io 09:48:15 query: branch=main&commit=f1ae59df93e15168f5c84516dd369218cbd3ebf1&build=204&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F204%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:48:15 -> Pinging Codecov 09:48:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=f1ae59df93e15168f5c84516dd369218cbd3ebf1&build=204&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F204%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:48:16 -> Uploading to 09:48:16 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-virtual-go/f1ae59df93e15168f5c84516dd369218cbd3ebf1/a99a78c8-d919-48f6-beea-939b01e004b1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250311%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250311T094815Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=581bbfccd1fdbb677cebf764c65530dae15bdbd48a4ffe811ccb46bb907509a3 09:48:16 % Total % Received % Xferd Average Speed Time Time Time Current 09:48:16 Dload Upload Total Spent Left Speed 09:48:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5040 0 0 100 5040 0 30545 --:--:-- --:--:-- --:--:-- 30545 09:48:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/f1ae59df93e15168f5c84516dd369218cbd3ebf1 [Pipeline] } 09:48:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:48:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:48:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:48:17 09:48:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:48:17 latest: Pulling from edgex-devops/edgex-snyk-go 09:48:17 43c4264eed91: Pulling fs layer 09:48:17 4cc291be95ef: Pulling fs layer 09:48:17 2ac1f1163629: Pulling fs layer 09:48:17 5c3c966382ef: Pulling fs layer 09:48:17 4f4fb700ef54: Pulling fs layer 09:48:17 d9c7d2e4e75e: Pulling fs layer 09:48:17 9c3e1370e548: Pulling fs layer 09:48:17 5c3c966382ef: Waiting 09:48:17 d9c7d2e4e75e: Waiting 09:48:17 4f4fb700ef54: Waiting 09:48:17 9c3e1370e548: Waiting 09:48:17 4cc291be95ef: Verifying Checksum 09:48:17 4cc291be95ef: Download complete 09:48:17 5c3c966382ef: Verifying Checksum 09:48:17 5c3c966382ef: Download complete 09:48:17 4f4fb700ef54: Verifying Checksum 09:48:17 43c4264eed91: Download complete 09:48:17 43c4264eed91: Pull complete 09:48:17 d9c7d2e4e75e: Verifying Checksum 09:48:17 d9c7d2e4e75e: Download complete 09:48:18 4cc291be95ef: Pull complete 09:48:18 2ac1f1163629: Verifying Checksum 09:48:18 2ac1f1163629: Download complete 09:48:18 9c3e1370e548: Verifying Checksum 09:48:18 9c3e1370e548: Download complete 09:48:21 2ac1f1163629: Pull complete 09:48:21 5c3c966382ef: Pull complete 09:48:21 4f4fb700ef54: Pull complete 09:48:21 d9c7d2e4e75e: Pull complete 09:48:24 9c3e1370e548: Pull complete 09:48:24 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 09:48:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:48:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:48:25 prd-ubuntu20.04-docker-8c-8g-40898 does not seem to be running inside a container 09:48:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 09:48:28 $ docker top b2113bcc988c3ea7ab2fd7e8e51320eaf1f01f5e527decd9e3468a7f697f720c -eo pid,comm [Pipeline] { [Pipeline] sh 09:48:28 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] echo 09:48:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 09:48:28 + set -o pipefail 09:48:28 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 09:48:36 09:48:36 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 09:48:36 09:48:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/4c51b4af-f1e0-4b23-b385-fd75a099f123/history/2e71d316-8f0e-4a37-8500-55731f2cb9ca 09:48:36 09:48:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:48:36 09:48:36 09:48:36 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 09:48:36 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 09:48:37 $ docker stop --time=1 b2113bcc988c3ea7ab2fd7e8e51320eaf1f01f5e527decd9e3468a7f697f720c 09:48:40 $ docker rm -f --volumes b2113bcc988c3ea7ab2fd7e8e51320eaf1f01f5e527decd9e3468a7f697f720c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:48:40 + git log --format=format:%s -1 f1ae59df93e15168f5c84516dd369218cbd3ebf1 [Pipeline] sh 09:48:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:48:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:48:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:48:41 prd-ubuntu20.04-docker-8c-8g-40898 does not seem to be running inside a container 09:48:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:48:42 $ docker top ba3a11e8717350eed5cfcac1e725efd1b043947aa8fa39cd850d4c482c596828 -eo pid,comm 09:48:42 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). 09:48:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:48:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:48:42 [ssh-agent] Looking for ssh-agent implementation... 09:48:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:48:42 $ docker exec ba3a11e8717350eed5cfcac1e725efd1b043947aa8fa39cd850d4c482c596828 ssh-agent 09:48:42 SSH_AUTH_SOCK=/tmp/ssh-z1xqMIKtYr7R/agent.32 09:48:42 SSH_AGENT_PID=38 09:48:42 Running ssh-add (command line suppressed) 09:48:42 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1714465223601736275.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1714465223601736275.key) 09:48:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:48:42 + git semver tag 09:48:43 2025-03-11 09:48:43,116 [run_tag] DEBUG tag force:False 09:48:43 2025-03-11 09:48:43,116 [check_head_tag] DEBUG check head tag 09:48:43 2025-03-11 09:48:43,117 [execute] INFO git cat-file --batch-check 09:48:43 2025-03-11 09:48:43,118 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 09:48:43 2025-03-11 09:48:43,121 [execute] INFO git cat-file --batch 09:48:43 2025-03-11 09:48:43,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 09:48:43 2025-03-11 09:48:43,147 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:48:43 2025-03-11 09:48:43,148 [execute] INFO git tag -a v4.0.0-dev.19 -m v4.0.0-dev.19 09:48:43 2025-03-11 09:48:43,148 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.19', '-m', 'v4.0.0-dev.19'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 09:48:43 2025-03-11 09:48:43,152 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:48:43 4.0.0-dev.19 [Pipeline] } 09:48:43 $ docker exec --env ******** --env ******** ba3a11e8717350eed5cfcac1e725efd1b043947aa8fa39cd850d4c482c596828 ssh-agent -k 09:48:43 unset SSH_AUTH_SOCK; 09:48:43 unset SSH_AGENT_PID; 09:48:43 echo Agent pid 38 killed; 09:48:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:48:43 + git semver [Pipeline] } 09:48:44 $ docker stop --time=1 ba3a11e8717350eed5cfcac1e725efd1b043947aa8fa39cd850d4c482c596828 09:48:45 $ docker rm -f --volumes ba3a11e8717350eed5cfcac1e725efd1b043947aa8fa39cd850d4c482c596828 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:48:45 09:48:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:48:46 0.23.1-centos7: Pulling from edgex-lftools 09:48:46 ab5ef0e58194: Pulling fs layer 09:48:46 9712f1f96733: Pulling fs layer 09:48:46 63f879dbbcfc: Pulling fs layer 09:48:46 0d9ebad4ef96: Pulling fs layer 09:48:46 e9a5061849ea: Pulling fs layer 09:48:46 d747dcd14b5f: Pulling fs layer 09:48:46 2de7ff778b66: Pulling fs layer 09:48:46 d747dcd14b5f: Waiting 09:48:46 2de7ff778b66: Waiting 09:48:46 0d9ebad4ef96: Waiting 09:48:46 e9a5061849ea: Waiting 09:48:46 9712f1f96733: Verifying Checksum 09:48:46 9712f1f96733: Download complete 09:48:46 63f879dbbcfc: Verifying Checksum 09:48:46 63f879dbbcfc: Download complete 09:48:46 0d9ebad4ef96: Verifying Checksum 09:48:46 0d9ebad4ef96: Download complete 09:48:46 d747dcd14b5f: Verifying Checksum 09:48:46 d747dcd14b5f: Download complete 09:48:46 e9a5061849ea: Verifying Checksum 09:48:46 e9a5061849ea: Download complete 09:48:46 2de7ff778b66: Download complete 09:48:46 ab5ef0e58194: Verifying Checksum 09:48:46 ab5ef0e58194: Download complete 09:48:50 ab5ef0e58194: Pull complete 09:48:50 9712f1f96733: Pull complete 09:48:50 63f879dbbcfc: Pull complete 09:48:54 0d9ebad4ef96: Pull complete 09:48:54 e9a5061849ea: Pull complete 09:48:54 d747dcd14b5f: Pull complete 09:48:55 2de7ff778b66: Pull complete 09:48:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:48:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:48:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:48:55 prd-ubuntu20.04-docker-8c-8g-40898 does not seem to be running inside a container 09:48:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:48:58 $ docker top 869483d8e2474534739ac248955a5f4cf56a91cdc51a150470db0f17db858e70 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:48:58 provisioning config files... 09:48:58 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config650459613742730500tmp 09:48:58 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5121831509137315010tmp 09:48:58 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6858885911764469292tmp [Pipeline] { [Pipeline] echo 09:48:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:48:59 ---> sigul-configuration.sh 09:48:59 gpg: directory `/root/.gnupg' created 09:48:59 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:48:59 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:48:59 gpg: keyring `/root/.gnupg/secring.gpg' created 09:48:59 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:48:59 gpg: CAST5 encrypted data 09:48:59 gpg: encrypted with 1 passphrase 09:48:59 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:48:59 + mkdir /home/jenkins 09:48:59 + mkdir /home/jenkins/sigul [Pipeline] sh 09:48:59 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 09:48:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:49:00 ---> sigul-install.sh 09:49:00 Sigul already installed; skipping installation. [Pipeline] sh 09:49:00 + git tag --list 09:49:00 v1.0.0 09:49:00 v1.1.0 09:49:00 v1.1.1 09:49:00 v1.2.1 09:49:00 v1.2.2 09:49:00 v1.2.3 09:49:00 v1.3.0 09:49:00 v1.3.1 09:49:00 v2.0.0 09:49:00 v2.1.0 09:49:00 v2.1.1 09:49:00 v2.2.0 09:49:00 v2.3.0 09:49:00 v3.0 09:49:00 v3.0.0 09:49:00 v3.1 09:49:00 v3.1.0 09:49:00 v3.1.0-dev.1 09:49:00 v3.1.0-dev.10 09:49:00 v3.1.0-dev.11 09:49:00 v3.1.0-dev.12 09:49:00 v3.1.0-dev.13 09:49:00 v3.1.0-dev.14 09:49:00 v3.1.0-dev.15 09:49:00 v3.1.0-dev.16 09:49:00 v3.1.0-dev.17 09:49:00 v3.1.0-dev.18 09:49:00 v3.1.0-dev.19 09:49:00 v3.1.0-dev.2 09:49:00 v3.1.0-dev.20 09:49:00 v3.1.0-dev.21 09:49:00 v3.1.0-dev.22 09:49:00 v3.1.0-dev.23 09:49:00 v3.1.0-dev.24 09:49:00 v3.1.0-dev.25 09:49:00 v3.1.0-dev.26 09:49:00 v3.1.0-dev.27 09:49:00 v3.1.0-dev.28 09:49:00 v3.1.0-dev.29 09:49:00 v3.1.0-dev.3 09:49:00 v3.1.0-dev.30 09:49:00 v3.1.0-dev.4 09:49:00 v3.1.0-dev.5 09:49:00 v3.1.0-dev.6 09:49:00 v3.1.0-dev.7 09:49:00 v3.1.0-dev.8 09:49:00 v3.1.0-dev.9 09:49:00 v3.1.1 09:49:00 v3.1.1-dev.1 09:49:00 v3.2.0-dev.1 09:49:00 v3.2.0-dev.10 09:49:00 v3.2.0-dev.11 09:49:00 v3.2.0-dev.12 09:49:00 v3.2.0-dev.13 09:49:00 v3.2.0-dev.14 09:49:00 v3.2.0-dev.15 09:49:00 v3.2.0-dev.16 09:49:00 v3.2.0-dev.17 09:49:00 v3.2.0-dev.18 09:49:00 v3.2.0-dev.19 09:49:00 v3.2.0-dev.2 09:49:00 v3.2.0-dev.20 09:49:00 v3.2.0-dev.21 09:49:00 v3.2.0-dev.22 09:49:00 v3.2.0-dev.23 09:49:00 v3.2.0-dev.24 09:49:00 v3.2.0-dev.25 09:49:00 v3.2.0-dev.26 09:49:00 v3.2.0-dev.27 09:49:00 v3.2.0-dev.28 09:49:00 v3.2.0-dev.3 09:49:00 v3.2.0-dev.4 09:49:00 v3.2.0-dev.5 09:49:00 v3.2.0-dev.6 09:49:00 v3.2.0-dev.7 09:49:00 v3.2.0-dev.8 09:49:00 v3.2.0-dev.9 09:49:00 v4.0.0-dev.1 09:49:00 v4.0.0-dev.10 09:49:00 v4.0.0-dev.11 09:49:00 v4.0.0-dev.12 09:49:00 v4.0.0-dev.13 09:49:00 v4.0.0-dev.14 09:49:00 v4.0.0-dev.15 09:49:00 v4.0.0-dev.16 09:49:00 v4.0.0-dev.17 09:49:00 v4.0.0-dev.18 09:49:00 v4.0.0-dev.19 09:49:00 v4.0.0-dev.2 09:49:00 v4.0.0-dev.3 09:49:00 v4.0.0-dev.4 09:49:00 v4.0.0-dev.5 09:49:00 v4.0.0-dev.6 09:49:00 v4.0.0-dev.7 09:49:00 v4.0.0-dev.8 09:49:00 v4.0.0-dev.9 [Pipeline] sh 09:49:00 + lftools sign git-tag v4.0.0-dev.19 09:49:01 Signing Git tag with Sigul... 09:49:01 Signing v4.0.0-dev.19 [Pipeline] echo 09:49:01 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:49:01 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:49:01 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:49:01 $ docker stop --time=1 869483d8e2474534739ac248955a5f4cf56a91cdc51a150470db0f17db858e70 09:49:03 $ docker rm -f --volumes 869483d8e2474534739ac248955a5f4cf56a91cdc51a150470db0f17db858e70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:49:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:49:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:49:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:49:04 prd-ubuntu20.04-docker-8c-8g-40898 does not seem to be running inside a container 09:49:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:49:04 $ docker top 40fc56a7b758d485bfe52bf8ce33a8a7e3fde1164cf1718a4926169199a7b4ee -eo pid,comm 09:49:04 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). 09:49:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:49:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:49:04 [ssh-agent] Looking for ssh-agent implementation... 09:49:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:49:04 $ docker exec 40fc56a7b758d485bfe52bf8ce33a8a7e3fde1164cf1718a4926169199a7b4ee ssh-agent 09:49:04 SSH_AUTH_SOCK=/tmp/ssh-AKdff4jwOIyq/agent.32 09:49:04 SSH_AGENT_PID=38 09:49:04 Running ssh-add (command line suppressed) 09:49:04 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_440205677427883608.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_440205677427883608.key) 09:49:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:49:05 + git semver bump pre 09:49:05 2025-03-11 09:49:05,303 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:49:05 2025-03-11 09:49:05,303 [bump_version] DEBUG bumping version:4.0.0-dev.19 on axis:pre with prefix:dev 09:49:05 2025-03-11 09:49:05,303 [bump_version] DEBUG bumped version:4.0.0-dev.20 09:49:05 2025-03-11 09:49:05,303 [write_version] DEBUG write version:4.0.0-dev.20 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 09:49:05 2025-03-11 09:49:05,303 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:49:05 2025-03-11 09:49:05,304 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:49:05 2025-03-11 09:49:05,306 [execute] INFO git cat-file --batch-check 09:49:05 2025-03-11 09:49:05,306 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:49:05 2025-03-11 09:49:05,311 [execute] INFO git cat-file --batch 09:49:05 2025-03-11 09:49:05,312 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:49:05 2025-03-11 09:49:05,317 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:49:05 4.0.0-dev.20 [Pipeline] } 09:49:05 $ docker exec --env ******** --env ******** 40fc56a7b758d485bfe52bf8ce33a8a7e3fde1164cf1718a4926169199a7b4ee ssh-agent -k 09:49:05 unset SSH_AUTH_SOCK; 09:49:05 unset SSH_AGENT_PID; 09:49:05 echo Agent pid 38 killed; 09:49:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:49:05 + git semver [Pipeline] } 09:49:06 $ docker stop --time=1 40fc56a7b758d485bfe52bf8ce33a8a7e3fde1164cf1718a4926169199a7b4ee 09:49:07 $ docker rm -f --volumes 40fc56a7b758d485bfe52bf8ce33a8a7e3fde1164cf1718a4926169199a7b4ee [Pipeline] // withDockerContainer [Pipeline] sh 09:49:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:49:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:49:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:49:08 prd-ubuntu20.04-docker-8c-8g-40898 does not seem to be running inside a container 09:49:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:49:08 $ docker top 82c0c4cceed7fb72f1ff846a9d7d603270505e071e7d6999f026c0bee5bd711e -eo pid,comm 09:49:08 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). 09:49:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:49:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:49:08 [ssh-agent] Looking for ssh-agent implementation... 09:49:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:49:08 $ docker exec 82c0c4cceed7fb72f1ff846a9d7d603270505e071e7d6999f026c0bee5bd711e ssh-agent 09:49:08 SSH_AUTH_SOCK=/tmp/ssh-xz3DGklwnfTj/agent.32 09:49:08 SSH_AGENT_PID=38 09:49:08 Running ssh-add (command line suppressed) 09:49:08 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11600566378572344421.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11600566378572344421.key) 09:49:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:49:09 + git semver push 09:49:09 2025-03-11 09:49:09,311 [run_push] DEBUG push 09:49:09 2025-03-11 09:49:09,311 [execute] INFO git cat-file --batch-check 09:49:09 2025-03-11 09:49:09,311 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:49:09 2025-03-11 09:49:09,315 [execute] INFO git rev-list debc0cc09db78d175e9b4a484234f607ddf17d57 -- 09:49:09 2025-03-11 09:49:09,315 [execute] DEBUG Popen(['git', 'rev-list', 'debc0cc09db78d175e9b4a484234f607ddf17d57', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:49:09 2025-03-11 09:49:09,325 [execute] INFO git fetch -v origin 09:49:09 2025-03-11 09:49:09,325 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:49:09 2025-03-11 09:49:09,770 [run_push] DEBUG no remote changes detected 09:49:09 2025-03-11 09:49:09,771 [execute] INFO git push origin semver 09:49:09 2025-03-11 09:49:09,771 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:49:11 2025-03-11 09:49:11,484 [run_push] DEBUG push all version tags 09:49:11 2025-03-11 09:49:11,485 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:49:11 2025-03-11 09:49:11,485 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 09:49:13 2025-03-11 09:49:13,010 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:49:13 4.0.0-dev.20 [Pipeline] } 09:49:13 $ docker exec --env ******** --env ******** 82c0c4cceed7fb72f1ff846a9d7d603270505e071e7d6999f026c0bee5bd711e ssh-agent -k 09:49:13 unset SSH_AUTH_SOCK; 09:49:13 unset SSH_AGENT_PID; 09:49:13 echo Agent pid 38 killed; 09:49:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:49:13 + git semver [Pipeline] } 09:49:13 $ docker stop --time=1 82c0c4cceed7fb72f1ff846a9d7d603270505e071e7d6999f026c0bee5bd711e 09:49:15 $ docker rm -f --volumes 82c0c4cceed7fb72f1ff846a9d7d603270505e071e7d6999f026c0bee5bd711e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 09:49:15 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 09:49:15 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 09:49:15 total 16 09:49:15 drwxr-xr-x 3 root root 4096 Mar 11 09:37 . 09:49:15 drwxrwxr-x 9 jenkins jenkins 4096 Mar 11 09:48 .. 09:49:15 drwxr-xr-x 2 root root 4096 Mar 11 09:37 cost 09:49:15 -rw-r--r-- 1 root root 89 Mar 11 09:37 cost.csv 09:49:15 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 09:49:15 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 09:49:15 total 16 09:49:15 drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 09:37 . 09:49:15 drwxrwxr-x 9 jenkins jenkins 4096 Mar 11 09:48 .. 09:49:15 drwxr-xr-x 2 jenkins jenkins 4096 Mar 11 09:37 cost 09:49:15 -rw-r--r-- 1 jenkins jenkins 89 Mar 11 09:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:49:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:49:17 ---> package-listing.sh 09:49:17 ++ facter osfamily 09:49:17 ++ tr '[:upper:]' '[:lower:]' 09:49:17 + OS_FAMILY=debian 09:49:17 + workspace=/w/workspace/exfoundry_device-virtual-go_main 09:49:17 + START_PACKAGES=/tmp/packages_start.txt 09:49:17 + END_PACKAGES=/tmp/packages_end.txt 09:49:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:49:17 + PACKAGES=/tmp/packages_start.txt 09:49:17 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 09:49:17 + PACKAGES=/tmp/packages_end.txt 09:49:17 + case "${OS_FAMILY}" in 09:49:17 + dpkg -l 09:49:17 + grep '^ii' 09:49:17 + '[' -f /tmp/packages_start.txt ']' 09:49:17 + '[' -f /tmp/packages_end.txt ']' 09:49:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:49:17 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 09:49:17 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 09:49:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 09:49:17 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/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:49:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:49:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:49:18 prd-ubuntu20.04-docker-8c-8g-40898 does not seem to be running inside a container 09:49:18 $ 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/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:49:18 $ docker top 0af91a43def7d22575f014e8b39dd17be4a1e812fce268c14b32b5852b22ba80 -eo pid,comm [Pipeline] { [Pipeline] sh 09:49:18 + touch /tmp/pre-build-complete [Pipeline] sh 09:49:19 + mkdir -p /var/log/sysstat [Pipeline] sh 09:49:19 + ls /var/log/sa-host 09:49:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:49:19 provisioning config files... 09:49:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5951437138421840927tmp [Pipeline] { [Pipeline] echo 09:49:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:49:19 ---> create-netrc.sh [Pipeline] } 09:49:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:49:20 ---> python-tools-install.sh [Pipeline] echo 09:49:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:49:20 ---> sudo-logs.sh 09:49:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:49:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:49:20 ---> job-cost.sh 09:49:20 lf-activate-venv: SKIPPING 09:49:20 DEBUG: total: 0.2199999988079071 09:49:20 INFO: Retrieving Stack Cost... 09:49:21 INFO: Retrieving Pricing Info for: v3-standard-8 09:49:21 INFO: Archiving Costs [Pipeline] echo 09:49:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:49:21 ---> logs-deploy.sh 09:49:21 lf-activate-venv: SKIPPING 09:49:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/204 09:49:21 INFO: archiving workspace using pattern(s): 09:49:22 Archives upload complete. 09:49:22 INFO: archiving logs to Nexus