Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5da0a0ee199354dbeb8e2af176f21c093c99ecf8 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-ssh13108994501641065342.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4897223021664858500.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/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-ssh5731952489397248482.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4602464541319518782.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-ssh10028264969824381434.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 ‘prd-centos7-blackbox-4c-2g-39928’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-40300’ is offline ‘prd-ubuntu20.04-docker-8c-8g-40301’ is offline ‘prd-ubuntu20.04-docker-8c-8g-40302’ is offline ‘prd-ubuntu20.04-docker-8c-8g-40307’ is offline Running on prd-ubuntu20.04-docker-8c-8g-40309 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 5da0a0ee199354dbeb8e2af176f21c093c99ecf8 (main) Commit message: "docs: Update changelog for 4.0 release (#523)" > git config core.sparsecheckout # timeout=10 > git checkout -f 5da0a0ee199354dbeb8e2af176f21c093c99ecf8 # timeout=10 > git rev-list --no-walk 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:26:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:26:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:26:46 ========================================================= 10:26:46 EdgeX Global Pipelines Version Info 10:26:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:26:47 ------------------- 10:26:47 stable info: 10:26:47 ------------------- 10:26:47 Commited By: Cherry Wang cherry@iotechsys.com 10:26:47 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 10:26:47 Message: update stable to v1.0.269 10:26:47 ------------------- 10:26:47 experimental info: 10:26:47 ------------------- 10:26:47 Commited By: Ginny Guan ginny@iotechsys.com 10:26:47 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 10:26:47 Message: update experimental to stable [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:26:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 10:26:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 10:26:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:26:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:26:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:26:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5da0a0ee199354dbeb8e2af176f21c093c99ecf8 [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5da0a0e [Pipeline] echo 10:26:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:26:48 provisioning config files... 10:26:48 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3384413993353752756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:26:49 ---> ****-login.sh 10:26:49 nexus3.edgexfoundry.org:10001 10:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:26:49 Configure a credential helper to remove this warning. See 10:26:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:26:49 10:26:49 Login Succeeded 10:26:49 nexus3.edgexfoundry.org:10002 10:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:26:49 Configure a credential helper to remove this warning. See 10:26:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:26:49 10:26:49 Login Succeeded 10:26:49 nexus3.edgexfoundry.org:10003 10:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:26:49 Configure a credential helper to remove this warning. See 10:26:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:26:49 10:26:49 Login Succeeded 10:26:49 nexus3.edgexfoundry.org:10004 10:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:26:49 Configure a credential helper to remove this warning. See 10:26:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:26:49 10:26:49 Login Succeeded 10:26:49 ****.io 10:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:26:50 Configure a credential helper to remove this warning. See 10:26:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:26:50 10:26:50 Login Succeeded 10:26:50 ---> ****-login.sh ends [Pipeline] } 10:26:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:26:50 + git rev-list -1 --merges 5da0a0ee199354dbeb8e2af176f21c093c99ecf8~1..5da0a0ee199354dbeb8e2af176f21c093c99ecf8 [Pipeline] echo 10:26:50 -----------> git rev-list -1 --merges 5da0a0ee199354dbeb8e2af176f21c093c99ecf8~1..5da0a0ee199354dbeb8e2af176f21c093c99ecf8 5da0a0ee199354dbeb8e2af176f21c093c99ecf8 [false] [Pipeline] sh 10:26:50 + git log --format=format:%s -1 5da0a0ee199354dbeb8e2af176f21c093c99ecf8 [Pipeline] echo 10:26:50 ========================================================= 10:26:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:26:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:26:51 + git log --format=format:%s -1 5da0a0ee199354dbeb8e2af176f21c093c99ecf8 [Pipeline] echo 10:26:51 [semverPrep] GIT_COMMIT: 5da0a0ee199354dbeb8e2af176f21c093c99ecf8, Commit Message: docs: Update changelog for 4.0 release (#523) [Pipeline] echo 10:26:51 [semverPrep] This is not a build commit. [Pipeline] sh 10:26:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:26:51 + grep -v github /etc/ssh/ssh_known_hosts 10:26:51 + [ -e /tmp/ssh_known_hosts ] 10:26:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:26:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:26:51 + sudo tee -a /etc/ssh/ssh_known_hosts 10:26:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:26:51 10:26:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:26:52 0.1.4: Pulling from edgex-devops/py-git-semver 10:26:52 b85a868b505f: Pulling fs layer 10:26:52 e2be974225ed: Pulling fs layer 10:26:52 339a4e72a1f5: Pulling fs layer 10:26:52 988bab9f4d93: Pulling fs layer 10:26:52 1469e6f7b9e6: Pulling fs layer 10:26:52 eaf3925da568: Pulling fs layer 10:26:52 bab4dde63d76: Pulling fs layer 10:26:52 bde34c3a00c8: Pulling fs layer 10:26:52 b352a97aabf1: Pulling fs layer 10:26:52 4872d77fe225: Pulling fs layer 10:26:52 988bab9f4d93: Waiting 10:26:52 5851b861e8e6: Pulling fs layer 10:26:52 1469e6f7b9e6: Waiting 10:26:52 bde34c3a00c8: Waiting 10:26:52 b352a97aabf1: Waiting 10:26:52 eaf3925da568: Waiting 10:26:52 4872d77fe225: Waiting 10:26:52 bab4dde63d76: Waiting 10:26:52 5851b861e8e6: Waiting 10:26:52 e2be974225ed: Verifying Checksum 10:26:52 e2be974225ed: Download complete 10:26:52 988bab9f4d93: Verifying Checksum 10:26:52 988bab9f4d93: Download complete 10:26:52 1469e6f7b9e6: Verifying Checksum 10:26:52 1469e6f7b9e6: Download complete 10:26:52 eaf3925da568: Verifying Checksum 10:26:52 eaf3925da568: Download complete 10:26:52 339a4e72a1f5: Verifying Checksum 10:26:52 339a4e72a1f5: Download complete 10:26:52 bde34c3a00c8: Verifying Checksum 10:26:52 bde34c3a00c8: Download complete 10:26:52 b352a97aabf1: Download complete 10:26:52 4872d77fe225: Verifying Checksum 10:26:52 4872d77fe225: Download complete 10:26:52 5851b861e8e6: Download complete 10:26:52 b85a868b505f: Verifying Checksum 10:26:52 b85a868b505f: Download complete 10:26:52 bab4dde63d76: Verifying Checksum 10:26:52 bab4dde63d76: Download complete 10:26:53 b85a868b505f: Pull complete 10:26:54 e2be974225ed: Pull complete 10:26:54 339a4e72a1f5: Pull complete 10:26:54 988bab9f4d93: Pull complete 10:26:54 1469e6f7b9e6: Pull complete 10:26:54 eaf3925da568: Pull complete 10:26:56 bab4dde63d76: Pull complete 10:26:56 bde34c3a00c8: Pull complete 10:26:56 b352a97aabf1: Pull complete 10:26:56 4872d77fe225: Pull complete 10:26:57 5851b861e8e6: Pull complete 10:26:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:26:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:26:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:26:57 prd-ubuntu20.04-docker-8c-8g-40309 does not seem to be running inside a container 10:26:57 $ 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 10:26:59 $ docker top 63ca09be6be8261fc7710295977d87b48fd8cdbfe8c82d1ea862bc14649d6933 -eo pid,comm 10:26:59 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:26:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:26:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:26:59 [ssh-agent] Looking for ssh-agent implementation... 10:26:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:26:59 $ docker exec 63ca09be6be8261fc7710295977d87b48fd8cdbfe8c82d1ea862bc14649d6933 ssh-agent 10:26:59 SSH_AUTH_SOCK=/tmp/ssh-vWfxd133MrO1/agent.30 10:26:59 SSH_AGENT_PID=36 10:26:59 Running ssh-add (command line suppressed) 10:26:59 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3051886842009592138.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3051886842009592138.key) 10:26:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:26:59 + git tag --points-at HEAD [Pipeline] } 10:26:59 $ docker exec --env ******** --env ******** 63ca09be6be8261fc7710295977d87b48fd8cdbfe8c82d1ea862bc14649d6933 ssh-agent -k 10:26:59 unset SSH_AUTH_SOCK; 10:26:59 unset SSH_AGENT_PID; 10:26:59 echo Agent pid 36 killed; 10:26:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:26:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:26:59 [ssh-agent] Looking for ssh-agent implementation... 10:27:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:27:00 $ docker exec 63ca09be6be8261fc7710295977d87b48fd8cdbfe8c82d1ea862bc14649d6933 ssh-agent 10:27:00 SSH_AUTH_SOCK=/tmp/ssh-4aCf722uhBya/agent.70 10:27:00 SSH_AGENT_PID=76 10:27:00 Running ssh-add (command line suppressed) 10:27:00 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11139843388898470538.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11139843388898470538.key) 10:27:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:27:00 + git semver init 10:27:00 2025-03-05 10:27:00,784 [run_init] DEBUG init version:0.0.0 force:False 10:27:00 2025-03-05 10:27:00,785 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 10:27:00 2025-03-05 10:27:00,786 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 10:27:00 2025-03-05 10:27:00,786 [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) 10:27:02 2025-03-05 10:27:02,039 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 10:27:02 2025-03-05 10:27:02,040 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 10:27:02 2025-03-05 10:27:02,040 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 10:27:02 2025-03-05 10:27:02,040 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 10:27:02 4.0.0-dev.18 [Pipeline] } 10:27:02 $ docker exec --env ******** --env ******** 63ca09be6be8261fc7710295977d87b48fd8cdbfe8c82d1ea862bc14649d6933 ssh-agent -k 10:27:02 unset SSH_AUTH_SOCK; 10:27:02 unset SSH_AGENT_PID; 10:27:02 echo Agent pid 76 killed; 10:27:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:27:02 + git semver [Pipeline] } 10:27:02 $ docker stop --time=1 63ca09be6be8261fc7710295977d87b48fd8cdbfe8c82d1ea862bc14649d6933 10:27:04 $ docker rm -f --volumes 63ca09be6be8261fc7710295977d87b48fd8cdbfe8c82d1ea862bc14649d6933 [Pipeline] // withDockerContainer [Pipeline] sh 10:27:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:27:04 Stashed 1 file(s) [Pipeline] echo 10:27:04 [edgeXSemver]: initialized semver on version 4.0.0-dev.18 [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 10:27:05 provisioning config files... 10:27:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15051351092644546995tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:27:05 ---> ****-login.sh 10:27:05 nexus3.edgexfoundry.org:10001 10:27:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:27:05 Configure a credential helper to remove this warning. See 10:27:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:27:05 10:27:05 Login Succeeded 10:27:05 nexus3.edgexfoundry.org:10002 10:27:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:27:05 Configure a credential helper to remove this warning. See 10:27:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:27:05 10:27:05 Login Succeeded 10:27:05 nexus3.edgexfoundry.org:10003 10:27:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:27:05 Configure a credential helper to remove this warning. See 10:27:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:27:05 10:27:05 Login Succeeded 10:27:05 nexus3.edgexfoundry.org:10004 10:27:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:27:05 Configure a credential helper to remove this warning. See 10:27:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:27:05 10:27:05 Login Succeeded 10:27:05 ****.io 10:27:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:27:05 Configure a credential helper to remove this warning. See 10:27:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:27:05 10:27:05 Login Succeeded 10:27:05 ---> ****-login.sh ends [Pipeline] } 10:27:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:27:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:27:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:27:06 ========================================================= 10:27:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 10:27:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:06 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 10:27:06 Sending build context to Docker daemon 37.9MB 10:27:06 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 10:27:06 Step 2/12 : FROM ${BASE} AS builder 10:27:06 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 10:27:06 da9db072f522: Pulling fs layer 10:27:06 6ef4a4ee8ca5: Pulling fs layer 10:27:06 06f05ace1117: Pulling fs layer 10:27:06 5fe327b54edc: Pulling fs layer 10:27:06 4f4fb700ef54: Pulling fs layer 10:27:06 92a5565b7b96: Pulling fs layer 10:27:06 ff9bb7016b71: Pulling fs layer 10:27:06 5fe327b54edc: Waiting 10:27:06 4f4fb700ef54: Waiting 10:27:06 92a5565b7b96: Waiting 10:27:06 b67dba6c2c7d: Pulling fs layer 10:27:06 a813b0c90790: Pulling fs layer 10:27:06 b67dba6c2c7d: Waiting 10:27:06 ff9bb7016b71: Waiting 10:27:06 a813b0c90790: Waiting 10:27:06 6ef4a4ee8ca5: Verifying Checksum 10:27:06 6ef4a4ee8ca5: Download complete 10:27:06 5fe327b54edc: Verifying Checksum 10:27:06 5fe327b54edc: Download complete 10:27:06 4f4fb700ef54: Download complete 10:27:06 da9db072f522: Verifying Checksum 10:27:06 da9db072f522: Download complete 10:27:06 92a5565b7b96: Verifying Checksum 10:27:06 92a5565b7b96: Download complete 10:27:06 ff9bb7016b71: Verifying Checksum 10:27:06 ff9bb7016b71: Download complete 10:27:06 da9db072f522: Pull complete 10:27:06 6ef4a4ee8ca5: Pull complete 10:27:06 a813b0c90790: Verifying Checksum 10:27:06 a813b0c90790: Download complete 10:27:07 06f05ace1117: Verifying Checksum 10:27:07 06f05ace1117: Download complete 10:27:07 b67dba6c2c7d: Verifying Checksum 10:27:07 b67dba6c2c7d: Download complete 10:27:10 06f05ace1117: Pull complete 10:27:10 5fe327b54edc: Pull complete 10:27:10 4f4fb700ef54: Pull complete 10:27:10 92a5565b7b96: Pull complete 10:27:10 ff9bb7016b71: Pull complete 10:27:13 b67dba6c2c7d: Pull complete 10:27:13 a813b0c90790: Pull complete 10:27:13 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 10:27:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 10:27:13 ---> 3ba60ce46760 10:27:13 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:27:15 ---> Running in d7032950ffca 10:27:16 Removing intermediate container d7032950ffca 10:27:16 ---> c92ab5117ff3 10:27:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:27:16 ---> Running in a424148ccdb4 10:27:16 Removing intermediate container a424148ccdb4 10:27:16 ---> ba3d1e36911b 10:27:16 Step 5/12 : ARG ADD_BUILD_TAGS="" 10:27:16 ---> Running in f734e96ecc83 10:27:16 Removing intermediate container f734e96ecc83 10:27:16 ---> 14135d09f641 10:27:16 Step 6/12 : WORKDIR /device-virtual-go 10:27:16 ---> Running in fe2cf3accad9 10:27:16 Removing intermediate container fe2cf3accad9 10:27:16 ---> ae50ab7e8fcd 10:27:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:27:16 ---> Running in 1261a255d0f5 10:27:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:27:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:27:17 (1/4) Installing openssh-keygen (9.7_p1-r5) 10:27:17 (2/4) Installing libedit (20240517.3.1-r0) 10:27:17 (3/4) Installing openssh-client-common (9.7_p1-r5) 10:27:17 (4/4) Installing openssh-client-default (9.7_p1-r5) 10:27:17 Executing busybox-1.36.1-r29.trigger 10:27:17 OK: 252 MiB in 62 packages 10:27:17 Removing intermediate container 1261a255d0f5 10:27:17 ---> e7cd3dab4723 10:27:17 Step 8/12 : COPY go.mod vendor* ./ 10:27:17 ---> 3c3913540277 10:27:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:27:17 ---> Running in 5674b5743bba 10:27:20 Still waiting to schedule task 10:27:20 ‘prd-centos7-blackbox-4c-2g-39928’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:27:20 ‘prd-ubuntu20.04-docker-8c-8g-40300’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:27:20 ‘prd-ubuntu20.04-docker-8c-8g-40301’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:27:20 ‘prd-ubuntu20.04-docker-8c-8g-40302’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:27:20 ‘prd-ubuntu20.04-docker-arm64-4c-16g-40310’ is offline 10:27:56 Removing intermediate container 5674b5743bba 10:27:56 ---> 7bc02e8ec093 10:27:56 Step 10/12 : COPY . . 10:27:56 ---> 62b3481d62e7 10:27:56 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:27:56 ---> Running in 25f4304bb0e0 10:27:56 Removing intermediate container 25f4304bb0e0 10:27:56 ---> 2a4eae9d7755 10:27:56 Step 12/12 : RUN $MAKE 10:27:56 ---> Running in 8045486bc228 10:27:56 noop 10:27:56 Removing intermediate container 8045486bc228 10:27:56 ---> 94ab3d3fd197 10:27:56 Successfully built 94ab3d3fd197 10:27:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:56 + docker inspect -f . ci-base-image-x86_64 10:27:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:56 prd-ubuntu20.04-docker-8c-8g-40309 does not seem to be running inside a container 10:27:56 $ 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 10:27:57 $ docker top e8ab712817225ecea47822dea6add3bdf6d9f55ce1a957e8fb3f5e2a74cbd160 -eo pid,comm [Pipeline] { [Pipeline] sh 10:27:57 + go version 10:27:57 go version go1.23.4 linux/amd64 [Pipeline] } 10:27:57 $ docker stop --time=1 e8ab712817225ecea47822dea6add3bdf6d9f55ce1a957e8fb3f5e2a74cbd160 10:27:58 $ docker rm -f --volumes e8ab712817225ecea47822dea6add3bdf6d9f55ce1a957e8fb3f5e2a74cbd160 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:59 + docker inspect -f . ci-base-image-x86_64 10:27:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:59 prd-ubuntu20.04-docker-8c-8g-40309 does not seem to be running inside a container 10:27:59 $ 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 10:27:59 $ docker top 27a5800c46d4fbc3f1e434184a6414e836920868ce13e62fa6052cec4adab8af -eo pid,comm [Pipeline] { [Pipeline] sh 10:28:00 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 10:28:00 + make test 10:28:00 go test ./... -coverprofile=coverage.out 10:28:01 ? github.com/edgexfoundry/device-virtual-go [no test files] 10:28:19 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 10:28:19 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.013s coverage: 58.4% of statements 10:28:27 go vet ./... 10:28:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:28:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:28:32 ./bin/test-attribution-txt.sh [Pipeline] echo 10:28:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:28:32 $ docker stop --time=1 27a5800c46d4fbc3f1e434184a6414e836920868ce13e62fa6052cec4adab8af 10:28:34 $ docker rm -f --volumes 27a5800c46d4fbc3f1e434184a6414e836920868ce13e62fa6052cec4adab8af [Pipeline] // withDockerContainer [Pipeline] sh 10:28:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:28:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:28:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:28:35 + ls -al . 10:28:35 total 268 10:28:35 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 10:28 . 10:28:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 5 10:26 .. 10:28:35 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 10:28 .git 10:28:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 10:26 .github 10:28:35 -rw-rw-r-- 1 jenkins jenkins 272 Mar 5 10:26 .gitignore 10:28:35 -rw-rw-r-- 1 jenkins jenkins 199 Mar 5 10:26 .golangci.yml 10:28:35 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 10:27 .semver 10:28:35 -rw-rw-r-- 1 jenkins jenkins 18321 Mar 5 10:26 Attribution.txt 10:28:35 -rw-rw-r-- 1 jenkins jenkins 17302 Mar 5 10:26 CHANGELOG.md 10:28:35 -rw-rw-r-- 1 jenkins jenkins 1755 Mar 5 10:26 Dockerfile 10:28:35 -rw-rw-r-- 1 jenkins jenkins 677 Mar 5 10:26 GOVERNANCE.md 10:28:35 -rw-rw-r-- 1 jenkins jenkins 660 Mar 5 10:26 Jenkinsfile 10:28:35 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 5 10:26 LICENSE 10:28:35 -rw-rw-r-- 1 jenkins jenkins 2652 Mar 5 10:26 Makefile 10:28:35 -rw-rw-r-- 1 jenkins jenkins 623 Mar 5 10:26 OWNERS.md 10:28:35 -rw-rw-r-- 1 jenkins jenkins 4473 Mar 5 10:26 README.md 10:28:35 -rw-rw-r-- 1 jenkins jenkins 12 Mar 5 10:27 VERSION 10:28:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 10:26 bin 10:28:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 10:26 cmd 10:28:35 -rw-r--r-- 1 jenkins jenkins 43316 Mar 5 10:28 coverage.out 10:28:35 -rw-rw-r-- 1 jenkins jenkins 6080 Mar 5 10:26 go.mod 10:28:35 -rw-rw-r-- 1 jenkins jenkins 86628 Mar 5 10:26 go.sum 10:28:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 10:26 internal 10:28:35 -rw-rw-r-- 1 jenkins jenkins 235 Mar 5 10:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:35 + 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=5da0a0ee199354dbeb8e2af176f21c093c99ecf8 --label arch=amd64 --label version=4.0.0-dev.18 . 10:28:35 Sending build context to Docker daemon 37.94MB 10:28:35 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 10:28:35 Step 2/26 : FROM ${BASE} AS builder 10:28:35 ---> 94ab3d3fd197 10:28:35 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:28:36 ---> Running in 07500d375290 10:28:36 Removing intermediate container 07500d375290 10:28:36 ---> 5d2a3b8485c1 10:28:36 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 10:28:36 ---> Running in 310b01d876d2 10:28:36 Removing intermediate container 310b01d876d2 10:28:36 ---> a1024701c60e 10:28:36 Step 5/26 : ARG ADD_BUILD_TAGS="" 10:28:36 ---> Running in a64d8ef2c116 10:28:36 Removing intermediate container a64d8ef2c116 10:28:36 ---> d269cdbfc796 10:28:36 Step 6/26 : WORKDIR /device-virtual-go 10:28:36 ---> Running in c442fd6391fa 10:28:36 Removing intermediate container c442fd6391fa 10:28:36 ---> edcdcefc457e 10:28:36 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:28:36 ---> Running in 78c02e5d05c8 10:28:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:28:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:28:37 OK: 252 MiB in 62 packages 10:28:37 Removing intermediate container 78c02e5d05c8 10:28:37 ---> 0b3682ffdd67 10:28:37 Step 8/26 : COPY go.mod vendor* ./ 10:28:37 ---> fc1877c313f1 10:28:37 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:28:37 ---> Running in efe33b38cfb2 10:28:38 Removing intermediate container efe33b38cfb2 10:28:38 ---> 6e62d63c6399 10:28:38 Step 10/26 : COPY . . 10:28:39 ---> 2060299fb04c 10:28:39 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:28:39 ---> Running in d605af2342c5 10:28:39 Removing intermediate container d605af2342c5 10:28:39 ---> 6fac34b499dc 10:28:39 Step 12/26 : RUN $MAKE 10:28:39 ---> Running in 5f5b9d52e6bd 10:28:39 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=4.0.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.26 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 10:29:06 Removing intermediate container 5f5b9d52e6bd 10:29:06 ---> 5cc61dca3da0 10:29:06 Step 13/26 : FROM alpine:3.20 10:29:06 3.20: Pulling from library/alpine 10:29:06 0a9a5dfd008f: Pulling fs layer 10:29:06 0a9a5dfd008f: Verifying Checksum 10:29:06 0a9a5dfd008f: Download complete 10:29:06 0a9a5dfd008f: Pull complete 10:29:06 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 10:29:06 Status: Downloaded newer image for alpine:3.20 10:29:06 ---> ff221270b9fb 10:29:06 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 10:29:06 ---> Running in adccf8493dc1 10:29:06 Removing intermediate container adccf8493dc1 10:29:06 ---> bad4b0c08746 10:29:06 Step 15/26 : RUN apk add --update --no-cache dumb-init 10:29:06 ---> Running in 1b0f3ad890a5 10:29:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:29:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:29:06 (1/1) Installing dumb-init (1.2.5-r3) 10:29:06 Executing busybox-1.36.1-r29.trigger 10:29:06 OK: 8 MiB in 15 packages 10:29:06 Removing intermediate container 1b0f3ad890a5 10:29:06 ---> 6918a4e40a10 10:29:06 Step 16/26 : RUN apk --no-cache upgrade 10:29:06 ---> Running in c3662610a2c1 10:29:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:29:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:29:06 OK: 8 MiB in 15 packages 10:29:07 Removing intermediate container c3662610a2c1 10:29:07 ---> fc12070bf766 10:29:07 Step 17/26 : WORKDIR / 10:29:07 ---> Running in 853723d0622b 10:29:07 Removing intermediate container 853723d0622b 10:29:07 ---> f95abac24450 10:29:07 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 10:29:07 ---> ef61c30e9846 10:29:07 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 10:29:07 ---> 5b7dd30d3a2a 10:29:07 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 10:29:07 ---> c55cf4f0189c 10:29:07 Step 21/26 : EXPOSE 59900 10:29:07 ---> Running in fbeb8cf2c771 10:29:08 Removing intermediate container fbeb8cf2c771 10:29:08 ---> 2f43091c6308 10:29:08 Step 22/26 : ENTRYPOINT ["/device-virtual"] 10:29:08 ---> Running in 2ffb4912f234 10:29:08 Removing intermediate container 2ffb4912f234 10:29:08 ---> 24a80743104a 10:29:08 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 10:29:08 ---> Running in 40e8dacc8e41 10:29:08 Removing intermediate container 40e8dacc8e41 10:29:08 ---> e8cab50254d7 10:29:08 Step 24/26 : LABEL arch=amd64 10:29:08 ---> Running in 354513bbd12c 10:29:08 Removing intermediate container 354513bbd12c 10:29:08 ---> 0af0801516ba 10:29:08 Step 25/26 : LABEL git_sha=5da0a0ee199354dbeb8e2af176f21c093c99ecf8 10:29:08 ---> Running in 676e93bb7ff0 10:29:08 Removing intermediate container 676e93bb7ff0 10:29:08 ---> affe14d4e93a 10:29:08 Step 26/26 : LABEL version=4.0.0-dev.18 10:29:08 ---> Running in faad97cbb6c0 10:29:08 Removing intermediate container faad97cbb6c0 10:29:08 ---> c56d9f68c96d 10:29:08 [Warning] One or more build-args [ARCH] were not consumed 10:29:08 Successfully built c56d9f68c96d 10:29:08 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:29:08 provisioning config files... 10:29:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16764889954002921059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:29:08 ---> ****-login.sh 10:29:08 nexus3.edgexfoundry.org:10001 10:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:29:08 Configure a credential helper to remove this warning. See 10:29:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:29:08 10:29:08 Login Succeeded 10:29:08 nexus3.edgexfoundry.org:10002 10:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:29:08 Configure a credential helper to remove this warning. See 10:29:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:29:08 10:29:08 Login Succeeded 10:29:08 nexus3.edgexfoundry.org:10003 10:29:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:29:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:29:09 Configure a credential helper to remove this warning. See 10:29:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:29:09 10:29:09 Login Succeeded 10:29:09 nexus3.edgexfoundry.org:10004 10:29:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:29:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:29:09 Configure a credential helper to remove this warning. See 10:29:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:29:09 10:29:09 Login Succeeded 10:29:09 ****.io 10:29:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:29:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:29:09 Configure a credential helper to remove this warning. See 10:29:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:29:09 10:29:09 Login Succeeded 10:29:09 ---> ****-login.sh ends [Pipeline] } 10:29:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:29:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:29:09 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 10:29:09 5da0a0ee199354dbeb8e2af176f21c093c99ecf8 10:29:09 latest 10:29:09 4.0.0-dev.18 10:29:09 5da0a0ee199354dbeb8e2af176f21c093c99ecf8-4.0.0-dev.18 10:29:09 main 10:29:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:09 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:5da0a0ee199354dbeb8e2af176f21c093c99ecf8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual:5da0a0ee199354dbeb8e2af176f21c093c99ecf8 10:29:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 10:29:10 6734f7619397: Preparing 10:29:10 411816dce291: Preparing 10:29:10 b17fd85fa4c5: Preparing 10:29:10 23d6b615a74f: Preparing 10:29:10 b536ecc8452c: Preparing 10:29:10 994456c4fd7b: Preparing 10:29:10 994456c4fd7b: Waiting 10:29:10 b536ecc8452c: Pushed 10:29:10 23d6b615a74f: Pushed 10:29:10 b17fd85fa4c5: Pushed 10:29:10 411816dce291: Pushed 10:29:10 994456c4fd7b: Layer already exists 10:29:13 6734f7619397: Pushed 10:29:13 5da0a0ee199354dbeb8e2af176f21c093c99ecf8: digest: sha256:ad082e430b2197abc9fe23e20b7479b9cea43cedb22ed8204c4d920d48404046 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:13 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 10:29:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 10:29:14 6734f7619397: Preparing 10:29:14 411816dce291: Preparing 10:29:14 b17fd85fa4c5: Preparing 10:29:14 23d6b615a74f: Preparing 10:29:14 b536ecc8452c: Preparing 10:29:14 994456c4fd7b: Preparing 10:29:14 994456c4fd7b: Waiting 10:29:14 23d6b615a74f: Layer already exists 10:29:14 b536ecc8452c: Layer already exists 10:29:14 6734f7619397: Layer already exists 10:29:14 b17fd85fa4c5: Layer already exists 10:29:14 411816dce291: Layer already exists 10:29:14 994456c4fd7b: Layer already exists 10:29:14 latest: digest: sha256:ad082e430b2197abc9fe23e20b7479b9cea43cedb22ed8204c4d920d48404046 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:14 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.18 10:29:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 10:29:14 6734f7619397: Preparing 10:29:14 411816dce291: Preparing 10:29:14 b17fd85fa4c5: Preparing 10:29:14 23d6b615a74f: Preparing 10:29:14 b536ecc8452c: Preparing 10:29:14 994456c4fd7b: Preparing 10:29:14 994456c4fd7b: Waiting 10:29:14 411816dce291: Layer already exists 10:29:14 b536ecc8452c: Layer already exists 10:29:14 6734f7619397: Layer already exists 10:29:14 b17fd85fa4c5: Layer already exists 10:29:14 23d6b615a74f: Layer already exists 10:29:14 994456c4fd7b: Layer already exists 10:29:14 4.0.0-dev.18: digest: sha256:ad082e430b2197abc9fe23e20b7479b9cea43cedb22ed8204c4d920d48404046 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:15 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:5da0a0ee199354dbeb8e2af176f21c093c99ecf8-4.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:15 + docker push nexus3.edgexfoundry.org:10004/device-virtual:5da0a0ee199354dbeb8e2af176f21c093c99ecf8-4.0.0-dev.18 10:29:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 10:29:15 6734f7619397: Preparing 10:29:15 411816dce291: Preparing 10:29:15 b17fd85fa4c5: Preparing 10:29:15 23d6b615a74f: Preparing 10:29:15 b536ecc8452c: Preparing 10:29:15 994456c4fd7b: Preparing 10:29:15 994456c4fd7b: Waiting 10:29:15 b17fd85fa4c5: Layer already exists 10:29:15 23d6b615a74f: Layer already exists 10:29:15 6734f7619397: Layer already exists 10:29:15 b536ecc8452c: Layer already exists 10:29:15 411816dce291: Layer already exists 10:29:15 994456c4fd7b: Layer already exists 10:29:15 5da0a0ee199354dbeb8e2af176f21c093c99ecf8-4.0.0-dev.18: digest: sha256:ad082e430b2197abc9fe23e20b7479b9cea43cedb22ed8204c4d920d48404046 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:15 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 10:29:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 10:29:16 6734f7619397: Preparing 10:29:16 411816dce291: Preparing 10:29:16 b17fd85fa4c5: Preparing 10:29:16 23d6b615a74f: Preparing 10:29:16 b536ecc8452c: Preparing 10:29:16 994456c4fd7b: Preparing 10:29:16 411816dce291: Layer already exists 10:29:16 6734f7619397: Layer already exists 10:29:16 b536ecc8452c: Layer already exists 10:29:16 23d6b615a74f: Layer already exists 10:29:16 b17fd85fa4c5: Layer already exists 10:29:16 994456c4fd7b: Layer already exists 10:29:16 main: digest: sha256:ad082e430b2197abc9fe23e20b7479b9cea43cedb22ed8204c4d920d48404046 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:29:16 ===================================================== [Pipeline] echo 10:29:16 taggedImages: 10:29:16 - nexus3.edgexfoundry.org:10004/device-virtual:5da0a0ee199354dbeb8e2af176f21c093c99ecf8 10:29:16 - nexus3.edgexfoundry.org:10004/device-virtual:latest 10:29:16 - nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.18 10:29:16 - nexus3.edgexfoundry.org:10004/device-virtual:5da0a0ee199354dbeb8e2af176f21c093c99ecf8-4.0.0-dev.18 10:29:16 - 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 10:29:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:29:16 10:29:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:29:16 latest: Pulling from edgex-lftools-log-publisher 10:29:16 5eb5b503b376: Pulling fs layer 10:29:16 5c69ac0246d0: Pulling fs layer 10:29:16 ec43610c2a17: Pulling fs layer 10:29:16 3a2ae6a8a46f: Pulling fs layer 10:29:16 33b1e0a273af: Pulling fs layer 10:29:16 5d3b04190fa2: Pulling fs layer 10:29:16 2f39f015ded8: Pulling fs layer 10:29:16 33b1e0a273af: Waiting 10:29:16 3a2ae6a8a46f: Waiting 10:29:16 5d3b04190fa2: Waiting 10:29:16 5c69ac0246d0: Download complete 10:29:16 3a2ae6a8a46f: Verifying Checksum 10:29:16 3a2ae6a8a46f: Download complete 10:29:16 33b1e0a273af: Verifying Checksum 10:29:16 33b1e0a273af: Download complete 10:29:16 ec43610c2a17: Verifying Checksum 10:29:16 ec43610c2a17: Download complete 10:29:16 5d3b04190fa2: Download complete 10:29:17 5eb5b503b376: Verifying Checksum 10:29:17 5eb5b503b376: Download complete 10:29:17 2f39f015ded8: Verifying Checksum 10:29:17 2f39f015ded8: Download complete 10:29:18 5eb5b503b376: Pull complete 10:29:18 5c69ac0246d0: Pull complete 10:29:18 ec43610c2a17: Pull complete 10:29:18 3a2ae6a8a46f: Pull complete 10:29:18 33b1e0a273af: Pull complete 10:29:19 5d3b04190fa2: Pull complete 10:29:23 2f39f015ded8: Pull complete 10:29:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:29:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:29:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:29:23 prd-ubuntu20.04-docker-8c-8g-40309 does not seem to be running inside a container 10:29:23 $ 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 10:29:25 $ docker top 046abd706f4d694bcea6a2cfc47cce15d88695feec15367b461c969da697f46e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:29:25 ---> job-cost.sh 10:29:25 lf-activate-venv: SKIPPING 10:29:25 INFO: No Stack... 10:29:25 INFO: Retrieving Pricing Info for: v3-standard-8 10:29:26 INFO: Archiving Costs [Pipeline] sh 10:29:26 + cat+ /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 10:29:26 cut -d, -f6 [Pipeline] lock 10:29:26 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-203-stack-cost] 10:29:26 Resource [jenkins-edgexfoundry-device-virtual-go-main-203-stack-cost] did not exist. Created. 10:29:26 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-203-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:29:26 + echo total: 0.2199999988079071 [Pipeline] stash 10:29:26 Stashed 1 file(s) [Pipeline] } 10:29:26 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-203-stack-cost] [Pipeline] // lock [Pipeline] } 10:29:26 $ docker stop --time=1 046abd706f4d694bcea6a2cfc47cce15d88695feec15367b461c969da697f46e 10:29:28 $ docker rm -f --volumes 046abd706f4d694bcea6a2cfc47cce15d88695feec15367b461c969da697f46e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:30:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40312 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 10:30:41 Running in /w/workspace/device-virtual-go/203 [Pipeline] { [Pipeline] checkout 10:30:44 The recommended git tool is: git 10:30:49 using credential edgex-jenkins-ssh 10:30:49 Cloning the remote Git repository 10:30:50 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 10:30:50 > git init /w/workspace/device-virtual-go/203 # timeout=10 10:30:50 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 10:30:50 > git --version # timeout=10 10:30:50 > git --version # 'git version 2.25.1' 10:30:50 using GIT_SSH to set credentials SSH Credentials for GitHub 10:30:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:30:53 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 10:30:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:30:54 Avoid second fetch 10:30:54 Checking out Revision 5da0a0ee199354dbeb8e2af176f21c093c99ecf8 (main) 10:30:55 Commit message: "docs: Update changelog for 4.0 release (#523)" 10:30:54 > git config core.sparsecheckout # timeout=10 10:30:54 > git checkout -f 5da0a0ee199354dbeb8e2af176f21c093c99ecf8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:31:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:31:00 % Total % Received % Xferd Average Speed Time Time Time Current 10:31:00 Dload Upload Total Spent Left Speed 10:31:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 215k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh 10:31:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:31:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:31:01 + sudo tee /etc/docker/daemon.new 10:31:01 { 10:31:01 "registry-mirrors": [ 10:31:01 "https://nexus3.edgexfoundry.org:10001" 10:31:01 ], 10:31:01 "bip": "10.250.0.254/24", 10:31:01 "hosts": [ 10:31:01 "tcp://0.0.0.0:5555", 10:31:01 "unix:///var/run/docker.sock" 10:31:01 ], 10:31:01 "mtu": 1458, 10:31:01 "selinux-enabled": true, 10:31:01 "seccomp-profile": "/etc/docker/seccomp.json" 10:31:01 } [Pipeline] sh 10:31:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:31:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:31:20 provisioning config files... 10:31:20 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/203@tmp/config12082991395763094620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:31:20 ---> ****-login.sh 10:31:20 nexus3.edgexfoundry.org:10001 10:31:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:31:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:31:21 Configure a credential helper to remove this warning. See 10:31:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:31:21 10:31:21 Login Succeeded 10:31:21 nexus3.edgexfoundry.org:10002 10:31:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:31:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:31:21 Configure a credential helper to remove this warning. See 10:31:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:31:21 10:31:21 Login Succeeded 10:31:21 nexus3.edgexfoundry.org:10003 10:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:31:22 Configure a credential helper to remove this warning. See 10:31:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:31:22 10:31:22 Login Succeeded 10:31:22 nexus3.edgexfoundry.org:10004 10:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:31:22 Configure a credential helper to remove this warning. See 10:31:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:31:22 10:31:22 Login Succeeded 10:31:22 ****.io 10:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:31:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:31:23 Configure a credential helper to remove this warning. See 10:31:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:31:23 10:31:23 Login Succeeded 10:31:23 ---> ****-login.sh ends [Pipeline] } 10:31:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:31:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:31:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:31:23 ========================================================= 10:31:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 10:31:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:31:24 + 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 . 10:31:24 Sending build context to Docker daemon 19.14MB 10:31:24 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 10:31:24 Step 2/12 : FROM ${BASE} AS builder 10:31:24 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:31:24 9986a736f7d3: Pulling fs layer 10:31:24 1f018df60701: Pulling fs layer 10:31:24 39f8f326b044: Pulling fs layer 10:31:24 e6a1e7a6a96a: Pulling fs layer 10:31:24 4f4fb700ef54: Pulling fs layer 10:31:24 d45d956e0dbf: Pulling fs layer 10:31:24 d7702b0d1db1: Pulling fs layer 10:31:24 5c7f0f088c93: Pulling fs layer 10:31:24 4fdc064ae6cf: Pulling fs layer 10:31:24 d45d956e0dbf: Waiting 10:31:24 d7702b0d1db1: Waiting 10:31:24 5c7f0f088c93: Waiting 10:31:24 4f4fb700ef54: Waiting 10:31:24 4fdc064ae6cf: Waiting 10:31:24 e6a1e7a6a96a: Waiting 10:31:24 1f018df60701: Verifying Checksum 10:31:24 1f018df60701: Download complete 10:31:24 e6a1e7a6a96a: Verifying Checksum 10:31:24 e6a1e7a6a96a: Download complete 10:31:24 4f4fb700ef54: Download complete 10:31:25 d45d956e0dbf: Verifying Checksum 10:31:25 d7702b0d1db1: Verifying Checksum 10:31:25 d7702b0d1db1: Download complete 10:31:25 9986a736f7d3: Verifying Checksum 10:31:25 9986a736f7d3: Download complete 10:31:25 4fdc064ae6cf: Verifying Checksum 10:31:25 4fdc064ae6cf: Download complete 10:31:26 9986a736f7d3: Pull complete 10:31:26 1f018df60701: Pull complete 10:31:27 39f8f326b044: Verifying Checksum 10:31:27 39f8f326b044: Download complete 10:31:28 5c7f0f088c93: Verifying Checksum 10:31:28 5c7f0f088c93: Download complete 10:31:43 39f8f326b044: Pull complete 10:31:43 e6a1e7a6a96a: Pull complete 10:31:43 4f4fb700ef54: Pull complete 10:31:43 d45d956e0dbf: Pull complete 10:31:43 d7702b0d1db1: Pull complete 10:31:51 5c7f0f088c93: Pull complete 10:31:53 4fdc064ae6cf: Pull complete 10:31:53 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 10:31:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 10:31:53 ---> 63f30b955cb9 10:31:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:31:56 ---> Running in d769dc2e232c 10:31:56 Removing intermediate container d769dc2e232c 10:31:56 ---> aa643d448df8 10:31:56 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:31:56 ---> Running in 8f2da45696ba 10:31:56 Removing intermediate container 8f2da45696ba 10:31:56 ---> 39057b5862e7 10:31:56 Step 5/12 : ARG ADD_BUILD_TAGS="" 10:31:56 ---> Running in 7004596551e4 10:31:56 Removing intermediate container 7004596551e4 10:31:56 ---> 4c7978effbfb 10:31:56 Step 6/12 : WORKDIR /device-virtual-go 10:31:56 ---> Running in 4e2932d06408 10:31:57 Removing intermediate container 4e2932d06408 10:31:57 ---> 273a9ed99196 10:31:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:31:57 ---> Running in f574e564a5ad 10:31:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:31:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:32:00 (1/4) Installing openssh-keygen (9.7_p1-r5) 10:32:00 (2/4) Installing libedit (20240517.3.1-r0) 10:32:00 (3/4) Installing openssh-client-common (9.7_p1-r5) 10:32:00 (4/4) Installing openssh-client-default (9.7_p1-r5) 10:32:00 Executing busybox-1.36.1-r29.trigger 10:32:00 OK: 244 MiB in 62 packages 10:32:01 Removing intermediate container f574e564a5ad 10:32:01 ---> 13b09296e175 10:32:01 Step 8/12 : COPY go.mod vendor* ./ 10:32:02 ---> 3df80912cac1 10:32:02 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:32:02 ---> Running in c3f6dd618c80 10:33:54 Removing intermediate container c3f6dd618c80 10:33:54 ---> 4899fc80f771 10:33:54 Step 10/12 : COPY . . 10:33:54 ---> a0930cd478ad 10:33:54 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:33:54 ---> Running in 9111c0ab5678 10:33:54 Removing intermediate container 9111c0ab5678 10:33:54 ---> e9e4574b2ac4 10:33:54 Step 12/12 : RUN $MAKE 10:33:54 ---> Running in 3db9378c431c 10:33:54 noop 10:33:54 Removing intermediate container 3db9378c431c 10:33:54 ---> e8d2969978fd 10:33:54 Successfully built e8d2969978fd 10:33:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:33:54 + docker inspect -f . ci-base-image-arm64 10:33:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:33:54 prd-ubuntu20.04-docker-arm64-4c-16g-40312 does not seem to be running inside a container 10:33:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/203 -v /w/workspace/device-virtual-go/203:/w/workspace/device-virtual-go/203:rw,z -v /w/workspace/device-virtual-go/203@tmp:/w/workspace/device-virtual-go/203@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 10:33:56 $ docker top 0f2b3da660170f9f5e35d88ebea1c49ab40f797957d3e6ec12d1ea0b2a55cb21 -eo pid,comm [Pipeline] { [Pipeline] sh 10:33:57 + go version 10:33:57 go version go1.23.4 linux/arm64 [Pipeline] } 10:33:57 $ docker stop --time=1 0f2b3da660170f9f5e35d88ebea1c49ab40f797957d3e6ec12d1ea0b2a55cb21 10:33:58 $ docker rm -f --volumes 0f2b3da660170f9f5e35d88ebea1c49ab40f797957d3e6ec12d1ea0b2a55cb21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:33:59 + docker inspect -f . ci-base-image-arm64 10:33:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:33:59 prd-ubuntu20.04-docker-arm64-4c-16g-40312 does not seem to be running inside a container 10:33:59 $ 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/203 -v /w/workspace/device-virtual-go/203:/w/workspace/device-virtual-go/203:rw,z -v /w/workspace/device-virtual-go/203@tmp:/w/workspace/device-virtual-go/203@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 10:34:01 $ docker top 12c95272c9d04191bbdc0b3c23fc5e247264fd0108842ce2eaa49c46960b9f29 -eo pid,comm [Pipeline] { [Pipeline] sh 10:34:02 + git config --global --add safe.directory /w/workspace/device-virtual-go/203 [Pipeline] fileExists [Pipeline] sh 10:34:02 + make test 10:34:02 go test ./... -coverprofile=coverage.out 10:34:08 ? github.com/edgexfoundry/device-virtual-go [no test files] 10:37:30 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 10:37:30 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.062s coverage: 58.3% of statements 10:37:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:37:31 go vet ./... 10:38:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:38:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:38:18 ./bin/test-attribution-txt.sh [Pipeline] echo 10:38:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:38:18 $ docker stop --time=1 12c95272c9d04191bbdc0b3c23fc5e247264fd0108842ce2eaa49c46960b9f29 10:38:20 $ docker rm -f --volumes 12c95272c9d04191bbdc0b3c23fc5e247264fd0108842ce2eaa49c46960b9f29 [Pipeline] // withDockerContainer [Pipeline] sh 10:38:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:38:22 Warning: overwriting stash ‘coverage-report’ 10:38:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:38:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:38:23 + ls -al . 10:38:23 total 264 10:38:23 drwxrwxr-x 7 jenkins jenkins 4096 Mar 5 10:34 . 10:38:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 5 10:30 .. 10:38:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 10:30 .git 10:38:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 10:30 .github 10:38:23 -rw-rw-r-- 1 jenkins jenkins 272 Mar 5 10:30 .gitignore 10:38:23 -rw-rw-r-- 1 jenkins jenkins 199 Mar 5 10:30 .golangci.yml 10:38:23 -rw-rw-r-- 1 jenkins jenkins 18321 Mar 5 10:30 Attribution.txt 10:38:23 -rw-rw-r-- 1 jenkins jenkins 17302 Mar 5 10:30 CHANGELOG.md 10:38:23 -rw-rw-r-- 1 jenkins jenkins 1755 Mar 5 10:30 Dockerfile 10:38:23 -rw-rw-r-- 1 jenkins jenkins 677 Mar 5 10:30 GOVERNANCE.md 10:38:23 -rw-rw-r-- 1 jenkins jenkins 660 Mar 5 10:30 Jenkinsfile 10:38:23 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 5 10:30 LICENSE 10:38:23 -rw-rw-r-- 1 jenkins jenkins 2652 Mar 5 10:30 Makefile 10:38:23 -rw-rw-r-- 1 jenkins jenkins 623 Mar 5 10:30 OWNERS.md 10:38:23 -rw-rw-r-- 1 jenkins jenkins 4473 Mar 5 10:30 README.md 10:38:23 -rw-rw-r-- 1 jenkins jenkins 12 Mar 5 10:27 VERSION 10:38:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 10:30 bin 10:38:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 10:30 cmd 10:38:23 -rw-r--r-- 1 jenkins jenkins 43316 Mar 5 10:37 coverage.out 10:38:23 -rw-rw-r-- 1 jenkins jenkins 6080 Mar 5 10:30 go.mod 10:38:23 -rw-rw-r-- 1 jenkins jenkins 86628 Mar 5 10:30 go.sum 10:38:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 10:30 internal 10:38:23 -rw-rw-r-- 1 jenkins jenkins 235 Mar 5 10:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:38:23 + 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=5da0a0ee199354dbeb8e2af176f21c093c99ecf8 --label arch=arm64 --label version=4.0.0-dev.18 . 10:38:24 Sending build context to Docker daemon 19.18MB 10:38:24 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 10:38:24 Step 2/26 : FROM ${BASE} AS builder 10:38:24 ---> e8d2969978fd 10:38:24 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:38:24 ---> Running in 7c39ce14994d 10:38:24 Removing intermediate container 7c39ce14994d 10:38:24 ---> f9080f3c2115 10:38:24 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 10:38:24 ---> Running in a1c8d8d92d48 10:38:25 Removing intermediate container a1c8d8d92d48 10:38:25 ---> 6a0d49f47f1e 10:38:25 Step 5/26 : ARG ADD_BUILD_TAGS="" 10:38:25 ---> Running in 6aeac3ad62d4 10:38:25 Removing intermediate container 6aeac3ad62d4 10:38:25 ---> 5e85af004af1 10:38:25 Step 6/26 : WORKDIR /device-virtual-go 10:38:25 ---> Running in 496dbb545503 10:38:25 Removing intermediate container 496dbb545503 10:38:25 ---> 6b67441f11e1 10:38:25 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:38:25 ---> Running in 274a6ec951ac 10:38:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:38:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:38:28 OK: 244 MiB in 62 packages 10:38:30 Removing intermediate container 274a6ec951ac 10:38:30 ---> 35d2b841f867 10:38:30 Step 8/26 : COPY go.mod vendor* ./ 10:38:30 ---> 7ad2c8f911fe 10:38:30 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:38:30 ---> Running in 8ef8de2ddc84 10:38:33 Removing intermediate container 8ef8de2ddc84 10:38:33 ---> e0c53378fb27 10:38:33 Step 10/26 : COPY . . 10:38:34 ---> 380e562e03f5 10:38:34 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:38:34 ---> Running in 6a807510eb76 10:38:34 Removing intermediate container 6a807510eb76 10:38:34 ---> b12b22021273 10:38:34 Step 12/26 : RUN $MAKE 10:38:34 ---> Running in d6a7f3bd02ee 10:38:35 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=4.0.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.26 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 10:41:57 Removing intermediate container d6a7f3bd02ee 10:41:57 ---> 4b5327c23f84 10:41:57 Step 13/26 : FROM alpine:3.20 10:41:57 3.20: Pulling from library/alpine 10:41:57 94e9d8af2201: Pulling fs layer 10:41:57 94e9d8af2201: Verifying Checksum 10:41:57 94e9d8af2201: Download complete 10:41:57 94e9d8af2201: Pull complete 10:41:57 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 10:41:57 Status: Downloaded newer image for alpine:3.20 10:41:57 ---> 7aab056cecc6 10:41:57 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 10:41:57 ---> Running in fe66eb0b896b 10:41:57 Removing intermediate container fe66eb0b896b 10:41:57 ---> 02adda66cc23 10:41:57 Step 15/26 : RUN apk add --update --no-cache dumb-init 10:41:57 ---> Running in 063ba1ad5d04 10:41:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:41:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:41:57 (1/1) Installing dumb-init (1.2.5-r3) 10:41:57 Executing busybox-1.36.1-r29.trigger 10:41:57 OK: 9 MiB in 15 packages 10:41:58 Removing intermediate container 063ba1ad5d04 10:41:58 ---> ac13903d7c81 10:41:58 Step 16/26 : RUN apk --no-cache upgrade 10:41:58 ---> Running in 8898d7383701 10:41:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:42:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:42:01 OK: 9 MiB in 15 packages 10:42:02 Removing intermediate container 8898d7383701 10:42:02 ---> e7fa84ba7086 10:42:02 Step 17/26 : WORKDIR / 10:42:02 ---> Running in 88b8675b0148 10:42:02 Removing intermediate container 88b8675b0148 10:42:02 ---> effd3717eaa1 10:42:02 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 10:42:03 ---> 73e7cf806684 10:42:03 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 10:42:03 ---> e16572928c14 10:42:03 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 10:42:05 ---> 7f3d70b31617 10:42:05 Step 21/26 : EXPOSE 59900 10:42:05 ---> Running in f175cf61681e 10:42:05 Removing intermediate container f175cf61681e 10:42:05 ---> ce318563aec1 10:42:05 Step 22/26 : ENTRYPOINT ["/device-virtual"] 10:42:05 ---> Running in 931f7038d830 10:42:06 Removing intermediate container 931f7038d830 10:42:06 ---> 703295ab0b69 10:42:06 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 10:42:06 ---> Running in 1387184c0906 10:42:06 Removing intermediate container 1387184c0906 10:42:06 ---> 8635ef0ed445 10:42:06 Step 24/26 : LABEL arch=arm64 10:42:06 ---> Running in 66d95013153e 10:42:06 Removing intermediate container 66d95013153e 10:42:06 ---> 61f2fef3bfaa 10:42:06 Step 25/26 : LABEL git_sha=5da0a0ee199354dbeb8e2af176f21c093c99ecf8 10:42:06 ---> Running in 21968904b749 10:42:07 Removing intermediate container 21968904b749 10:42:07 ---> c6ee94d05ce2 10:42:07 Step 26/26 : LABEL version=4.0.0-dev.18 10:42:07 ---> Running in 18d9a693dcb8 10:42:07 Removing intermediate container 18d9a693dcb8 10:42:07 ---> 1a90207e8ccd 10:42:07 [Warning] One or more build-args [ARCH] were not consumed 10:42:07 Successfully built 1a90207e8ccd 10:42:07 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 10:42:07 provisioning config files... 10:42:07 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/203@tmp/config12598212668600322991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:42:08 ---> ****-login.sh 10:42:08 nexus3.edgexfoundry.org:10001 10:42:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:42:08 Configure a credential helper to remove this warning. See 10:42:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:42:08 10:42:08 Login Succeeded 10:42:08 nexus3.edgexfoundry.org:10002 10:42:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:42:08 Configure a credential helper to remove this warning. See 10:42:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:42:08 10:42:08 Login Succeeded 10:42:08 nexus3.edgexfoundry.org:10003 10:42:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:42:09 Configure a credential helper to remove this warning. See 10:42:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:42:09 10:42:09 Login Succeeded 10:42:09 nexus3.edgexfoundry.org:10004 10:42:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:42:09 Configure a credential helper to remove this warning. See 10:42:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:42:09 10:42:09 Login Succeeded 10:42:09 ****.io 10:42:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:42:10 Configure a credential helper to remove this warning. See 10:42:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:42:10 10:42:10 Login Succeeded 10:42:10 ---> ****-login.sh ends [Pipeline] } 10:42:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:42:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:42:10 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 10:42:10 5da0a0ee199354dbeb8e2af176f21c093c99ecf8 10:42:10 latest 10:42:10 4.0.0-dev.18 10:42:10 5da0a0ee199354dbeb8e2af176f21c093c99ecf8-4.0.0-dev.18 10:42:10 main 10:42:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:10 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:5da0a0ee199354dbeb8e2af176f21c093c99ecf8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:5da0a0ee199354dbeb8e2af176f21c093c99ecf8 10:42:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 10:42:10 f0f9e05d09ab: Preparing 10:42:10 5541f02aaa0e: Preparing 10:42:10 83150e614c01: Preparing 10:42:10 7a7193b3c8e8: Preparing 10:42:10 2579f4ef5c37: Preparing 10:42:10 dd9c8f8612c8: Preparing 10:42:10 dd9c8f8612c8: Waiting 10:42:11 5541f02aaa0e: Pushed 10:42:11 7a7193b3c8e8: Pushed 10:42:11 83150e614c01: Pushed 10:42:11 2579f4ef5c37: Pushed 10:42:11 dd9c8f8612c8: Layer already exists 10:42:19 f0f9e05d09ab: Pushed 10:42:19 5da0a0ee199354dbeb8e2af176f21c093c99ecf8: digest: sha256:97ae1ddbef6e7c7a729013698ee88d79bfbd9eb43d023b101d6fe4a4516c183f size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:19 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 10:42:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 10:42:20 f0f9e05d09ab: Preparing 10:42:20 5541f02aaa0e: Preparing 10:42:20 83150e614c01: Preparing 10:42:20 7a7193b3c8e8: Preparing 10:42:20 2579f4ef5c37: Preparing 10:42:20 dd9c8f8612c8: Preparing 10:42:20 dd9c8f8612c8: Waiting 10:42:20 83150e614c01: Layer already exists 10:42:20 7a7193b3c8e8: Layer already exists 10:42:20 2579f4ef5c37: Layer already exists 10:42:20 f0f9e05d09ab: Layer already exists 10:42:20 5541f02aaa0e: Layer already exists 10:42:20 dd9c8f8612c8: Layer already exists 10:42:20 latest: digest: sha256:97ae1ddbef6e7c7a729013698ee88d79bfbd9eb43d023b101d6fe4a4516c183f size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:20 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.18 10:42:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 10:42:21 f0f9e05d09ab: Preparing 10:42:21 5541f02aaa0e: Preparing 10:42:21 83150e614c01: Preparing 10:42:21 7a7193b3c8e8: Preparing 10:42:21 2579f4ef5c37: Preparing 10:42:21 dd9c8f8612c8: Preparing 10:42:21 dd9c8f8612c8: Waiting 10:42:21 f0f9e05d09ab: Layer already exists 10:42:21 2579f4ef5c37: Layer already exists 10:42:21 83150e614c01: Layer already exists 10:42:21 5541f02aaa0e: Layer already exists 10:42:21 7a7193b3c8e8: Layer already exists 10:42:21 dd9c8f8612c8: Layer already exists 10:42:21 4.0.0-dev.18: digest: sha256:97ae1ddbef6e7c7a729013698ee88d79bfbd9eb43d023b101d6fe4a4516c183f size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:21 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:5da0a0ee199354dbeb8e2af176f21c093c99ecf8-4.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:22 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:5da0a0ee199354dbeb8e2af176f21c093c99ecf8-4.0.0-dev.18 10:42:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 10:42:22 f0f9e05d09ab: Preparing 10:42:22 5541f02aaa0e: Preparing 10:42:22 83150e614c01: Preparing 10:42:22 7a7193b3c8e8: Preparing 10:42:22 2579f4ef5c37: Preparing 10:42:22 dd9c8f8612c8: Preparing 10:42:22 f0f9e05d09ab: Layer already exists 10:42:22 7a7193b3c8e8: Layer already exists 10:42:22 5541f02aaa0e: Layer already exists 10:42:22 2579f4ef5c37: Layer already exists 10:42:22 83150e614c01: Layer already exists 10:42:22 dd9c8f8612c8: Layer already exists 10:42:22 5da0a0ee199354dbeb8e2af176f21c093c99ecf8-4.0.0-dev.18: digest: sha256:97ae1ddbef6e7c7a729013698ee88d79bfbd9eb43d023b101d6fe4a4516c183f size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:22 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:22 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 10:42:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 10:42:22 f0f9e05d09ab: Preparing 10:42:22 5541f02aaa0e: Preparing 10:42:22 83150e614c01: Preparing 10:42:22 7a7193b3c8e8: Preparing 10:42:22 2579f4ef5c37: Preparing 10:42:22 dd9c8f8612c8: Preparing 10:42:22 dd9c8f8612c8: Waiting 10:42:22 83150e614c01: Layer already exists 10:42:22 f0f9e05d09ab: Layer already exists 10:42:22 5541f02aaa0e: Layer already exists 10:42:22 2579f4ef5c37: Layer already exists 10:42:22 7a7193b3c8e8: Layer already exists 10:42:22 dd9c8f8612c8: Layer already exists 10:42:22 main: digest: sha256:97ae1ddbef6e7c7a729013698ee88d79bfbd9eb43d023b101d6fe4a4516c183f size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:42:23 ===================================================== [Pipeline] echo 10:42:23 taggedImages: 10:42:23 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:5da0a0ee199354dbeb8e2af176f21c093c99ecf8 10:42:23 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 10:42:23 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.18 10:42:23 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:5da0a0ee199354dbeb8e2af176f21c093c99ecf8-4.0.0-dev.18 10:42:23 - 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 10:42:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:42:23 10:42:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:42:23 arm64: Pulling from edgex-lftools-log-publisher 10:42:23 8998bd30e6a1: Pulling fs layer 10:42:23 04944245beec: Pulling fs layer 10:42:23 699f458cf7ca: Pulling fs layer 10:42:23 765212b225bb: Pulling fs layer 10:42:23 f23df028b6ca: Pulling fs layer 10:42:23 d65c8cfc05b1: Pulling fs layer 10:42:23 2437ff75d9bd: Pulling fs layer 10:42:23 765212b225bb: Waiting 10:42:23 f23df028b6ca: Waiting 10:42:23 d65c8cfc05b1: Waiting 10:42:23 2437ff75d9bd: Waiting 10:42:24 04944245beec: Verifying Checksum 10:42:24 04944245beec: Download complete 10:42:24 765212b225bb: Verifying Checksum 10:42:24 765212b225bb: Download complete 10:42:24 f23df028b6ca: Verifying Checksum 10:42:24 f23df028b6ca: Download complete 10:42:24 d65c8cfc05b1: Verifying Checksum 10:42:24 d65c8cfc05b1: Download complete 10:42:24 699f458cf7ca: Verifying Checksum 10:42:24 699f458cf7ca: Download complete 10:42:24 8998bd30e6a1: Verifying Checksum 10:42:24 8998bd30e6a1: Download complete 10:42:27 2437ff75d9bd: Verifying Checksum 10:42:27 2437ff75d9bd: Download complete 10:42:29 8998bd30e6a1: Pull complete 10:42:29 04944245beec: Pull complete 10:42:31 699f458cf7ca: Pull complete 10:42:31 765212b225bb: Pull complete 10:42:32 f23df028b6ca: Pull complete 10:42:32 d65c8cfc05b1: Pull complete 10:42:50 2437ff75d9bd: Pull complete 10:42:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:42:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:42:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:42:50 prd-ubuntu20.04-docker-arm64-4c-16g-40312 does not seem to be running inside a container 10:42:50 $ 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/203 -v /w/workspace/device-virtual-go/203:/w/workspace/device-virtual-go/203:rw,z -v /w/workspace/device-virtual-go/203@tmp:/w/workspace/device-virtual-go/203@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 10:42:53 $ docker top 200f025195808da4325b4df51f1eb43dd2d484432c824cb80db0ad07445c2f64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:42:54 ---> job-cost.sh 10:42:54 lf-activate-venv: SKIPPING 10:42:54 INFO: No Stack... 10:42:54 INFO: Retrieving Pricing Info for: v3-standard-4 10:42:55 INFO: Archiving Costs [Pipeline] sh 10:42:55 + cut -d, -f6 10:42:55 + cat /w/workspace/device-virtual-go/203/archives/cost.csv [Pipeline] lock 10:42:55 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-203-stack-cost] 10:42:55 Resource [jenkins-edgexfoundry-device-virtual-go-main-203-stack-cost] did not exist. Created. 10:42:55 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-203-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:42:56 /w/workspace/device-virtual-go/203@tmp/durable-ebbd2d64/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:42:57 + echo total: 0.10999999940395355 [Pipeline] stash 10:42:57 Warning: overwriting stash ‘stack-cost’ 10:42:57 Stashed 1 file(s) [Pipeline] } 10:42:57 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-203-stack-cost] [Pipeline] // lock [Pipeline] } 10:42:57 $ docker stop --time=1 200f025195808da4325b4df51f1eb43dd2d484432c824cb80db0ad07445c2f64 10:42:58 $ docker rm -f --volumes 200f025195808da4325b4df51f1eb43dd2d484432c824cb80db0ad07445c2f64 [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 10:42:59 provisioning config files... 10:42:59 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12047523230358412487tmp [Pipeline] { [Pipeline] sh 10:42:59 + set +x 10:42:59 + curl -s https://codecov.io/bash 10:42:59 + bash -s -- 10:42:59 10:42:59 _____ _ 10:42:59 / ____| | | 10:42:59 | | ___ __| | ___ ___ _____ __ 10:42:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:42:59 | |___| (_) | (_| | __/ (_| (_) \ V / 10:42:59 \_____\___/ \__,_|\___|\___\___/ \_/ 10:42:59 Bash-1.0.6 10:42:59 10:42:59 10:42:59 ==> git version 2.25.1 found 10:42:59 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 10:42:59 Release-Date: 2020-01-08 10:42:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:42:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:42:59 ==> Jenkins CI detected. 10:42:59 current dir:  /w/workspace/exfoundry_device-virtual-go_main 10:42:59 project root: . 10:42:59 --> token set from env 10:42:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:42:59 ==> Running gcov in . (disable via -X gcov) 10:42:59 ==> Python coveragepy not found 10:42:59 ==> Searching for coverage reports in: 10:42:59 + . 10:42:59 -> Found 1 reports 10:42:59 ==> Detecting git/mercurial file structure 10:42:59 ==> Reading reports 10:42:59 + ./coverage.out bytes=43316 10:42:59 ==> Appending adjustments 10:42:59 https://docs.codecov.io/docs/fixing-reports 10:42:59 + Found adjustments 10:42:59 ==> Gzipping contents 10:42:59 8.0K /tmp/codecov.o5tuom.gz 10:42:59 ==> Uploading reports 10:42:59 url: https://codecov.io 10:42:59 query: branch=main&commit=5da0a0ee199354dbeb8e2af176f21c093c99ecf8&build=203&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F203%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:42:59 -> Pinging Codecov 10:42:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=5da0a0ee199354dbeb8e2af176f21c093c99ecf8&build=203&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F203%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:43:00 -> Uploading to 10:43:00 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-virtual-go/5da0a0ee199354dbeb8e2af176f21c093c99ecf8/21a9a7fb-7b52-4a87-9ddb-d376cbb9303d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250305%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250305T104259Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=7b19d83d342e83b01fff0c557a5ee3b85b719ebdf53fc37add2fee8d49f2d14d 10:43:00 % Total % Received % Xferd Average Speed Time Time Time Current 10:43:00 Dload Upload Total Spent Left Speed 10:43:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5040 0 0 100 5040 0 15949 --:--:-- --:--:-- --:--:-- 15949 10:43:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/5da0a0ee199354dbeb8e2af176f21c093c99ecf8 [Pipeline] } 10:43:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:43:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:43:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:43:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:43:00 10:43:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:43:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:43:01 latest: Pulling from edgex-devops/edgex-snyk-go 10:43:01 43c4264eed91: Pulling fs layer 10:43:01 4cc291be95ef: Pulling fs layer 10:43:01 2ac1f1163629: Pulling fs layer 10:43:01 5c3c966382ef: Pulling fs layer 10:43:01 4f4fb700ef54: Pulling fs layer 10:43:01 d9c7d2e4e75e: Pulling fs layer 10:43:01 9c3e1370e548: Pulling fs layer 10:43:01 4f4fb700ef54: Waiting 10:43:01 d9c7d2e4e75e: Waiting 10:43:01 9c3e1370e548: Waiting 10:43:01 5c3c966382ef: Waiting 10:43:01 4cc291be95ef: Verifying Checksum 10:43:01 4cc291be95ef: Download complete 10:43:01 5c3c966382ef: Verifying Checksum 10:43:01 5c3c966382ef: Download complete 10:43:01 4f4fb700ef54: Verifying Checksum 10:43:01 4f4fb700ef54: Download complete 10:43:01 43c4264eed91: Download complete 10:43:01 d9c7d2e4e75e: Verifying Checksum 10:43:01 d9c7d2e4e75e: Download complete 10:43:01 43c4264eed91: Pull complete 10:43:01 4cc291be95ef: Pull complete 10:43:01 2ac1f1163629: Verifying Checksum 10:43:01 2ac1f1163629: Download complete 10:43:02 9c3e1370e548: Verifying Checksum 10:43:02 9c3e1370e548: Download complete 10:43:04 2ac1f1163629: Pull complete 10:43:04 5c3c966382ef: Pull complete 10:43:04 4f4fb700ef54: Pull complete 10:43:05 d9c7d2e4e75e: Pull complete 10:43:07 9c3e1370e548: Pull complete 10:43:07 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 10:43:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:43:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:43:07 prd-ubuntu20.04-docker-8c-8g-40309 does not seem to be running inside a container 10:43:08 $ 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 10:43:10 $ docker top 4e14ea641d42aa075d736f3110162604904eb7f481494084814215954ce0b140 -eo pid,comm [Pipeline] { [Pipeline] sh 10:43:10 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] echo 10:43:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 10:43:11 + set -o pipefail 10:43:11 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 10:43:17 10:43:17 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 10:43:17 10:43:17 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/4c51b4af-f1e0-4b23-b385-fd75a099f123/history/a3597e7c-b5e6-4c34-9844-9e3cd3f91d3b 10:43:17 10:43:17 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:43:17 10:43:17 10:43:17 You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. 10:43:17 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 10:43:17 $ docker stop --time=1 4e14ea641d42aa075d736f3110162604904eb7f481494084814215954ce0b140 10:43:20 $ docker rm -f --volumes 4e14ea641d42aa075d736f3110162604904eb7f481494084814215954ce0b140 [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 10:43:20 + git log --format=format:%s -1 5da0a0ee199354dbeb8e2af176f21c093c99ecf8 [Pipeline] sh 10:43:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:43:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:43:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:43:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:43:21 prd-ubuntu20.04-docker-8c-8g-40309 does not seem to be running inside a container 10:43:21 $ 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 10:43:21 $ docker top fcffc14bd44f6bcda06643e160dc7379d77e611637e9e48a1ad0cf1a8a0a4ad6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:43:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:43:22 [ssh-agent] Looking for ssh-agent implementation... 10:43:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:43:22 $ docker exec fcffc14bd44f6bcda06643e160dc7379d77e611637e9e48a1ad0cf1a8a0a4ad6 ssh-agent 10:43:22 SSH_AUTH_SOCK=/tmp/ssh-CJt2Yage2vys/agent.31 10:43:22 SSH_AGENT_PID=37 10:43:22 Running ssh-add (command line suppressed) 10:43:22 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14002386137253760730.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14002386137253760730.key) 10:43:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:43:22 + git semver tag 10:43:22 2025-03-05 10:43:22,796 [run_tag] DEBUG tag force:False 10:43:22 2025-03-05 10:43:22,797 [check_head_tag] DEBUG check head tag 10:43:22 2025-03-05 10:43:22,798 [execute] INFO git cat-file --batch-check 10:43:22 2025-03-05 10:43:22,799 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 10:43:22 2025-03-05 10:43:22,802 [execute] INFO git cat-file --batch 10:43:22 2025-03-05 10:43:22,802 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 10:43:22 2025-03-05 10:43:22,827 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 10:43:22 2025-03-05 10:43:22,827 [execute] INFO git tag -a v4.0.0-dev.18 -m v4.0.0-dev.18 10:43:22 2025-03-05 10:43:22,827 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.18', '-m', 'v4.0.0-dev.18'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 10:43:22 2025-03-05 10:43:22,831 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 10:43:22 4.0.0-dev.18 [Pipeline] } 10:43:22 $ docker exec --env ******** --env ******** fcffc14bd44f6bcda06643e160dc7379d77e611637e9e48a1ad0cf1a8a0a4ad6 ssh-agent -k 10:43:22 unset SSH_AUTH_SOCK; 10:43:22 unset SSH_AGENT_PID; 10:43:22 echo Agent pid 37 killed; 10:43:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:43:23 + git semver [Pipeline] } 10:43:23 $ docker stop --time=1 fcffc14bd44f6bcda06643e160dc7379d77e611637e9e48a1ad0cf1a8a0a4ad6 10:43:24 $ docker rm -f --volumes fcffc14bd44f6bcda06643e160dc7379d77e611637e9e48a1ad0cf1a8a0a4ad6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:43:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:43:25 10:43:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:43:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:43:25 0.23.1-centos7: Pulling from edgex-lftools 10:43:25 ab5ef0e58194: Pulling fs layer 10:43:25 9712f1f96733: Pulling fs layer 10:43:25 63f879dbbcfc: Pulling fs layer 10:43:25 0d9ebad4ef96: Pulling fs layer 10:43:25 e9a5061849ea: Pulling fs layer 10:43:25 d747dcd14b5f: Pulling fs layer 10:43:25 2de7ff778b66: Pulling fs layer 10:43:25 d747dcd14b5f: Waiting 10:43:25 e9a5061849ea: Waiting 10:43:25 2de7ff778b66: Waiting 10:43:25 9712f1f96733: Verifying Checksum 10:43:25 9712f1f96733: Download complete 10:43:25 63f879dbbcfc: Verifying Checksum 10:43:25 63f879dbbcfc: Download complete 10:43:26 0d9ebad4ef96: Verifying Checksum 10:43:26 0d9ebad4ef96: Download complete 10:43:26 d747dcd14b5f: Verifying Checksum 10:43:26 d747dcd14b5f: Download complete 10:43:26 e9a5061849ea: Verifying Checksum 10:43:26 e9a5061849ea: Download complete 10:43:26 ab5ef0e58194: Verifying Checksum 10:43:26 ab5ef0e58194: Download complete 10:43:26 2de7ff778b66: Verifying Checksum 10:43:26 2de7ff778b66: Download complete 10:43:28 ab5ef0e58194: Pull complete 10:43:28 9712f1f96733: Pull complete 10:43:29 63f879dbbcfc: Pull complete 10:43:32 0d9ebad4ef96: Pull complete 10:43:32 e9a5061849ea: Pull complete 10:43:32 d747dcd14b5f: Pull complete 10:43:33 2de7ff778b66: Pull complete 10:43:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:43:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:43:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:43:33 prd-ubuntu20.04-docker-8c-8g-40309 does not seem to be running inside a container 10:43:33 $ 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 10:43:36 $ docker top 3c60e4039914b287afd4a0cc45c5e80610d82016862493136d42adbd8cf85ae5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:43:36 provisioning config files... 10:43:36 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7466651202877717327tmp 10:43:36 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2898849514849739287tmp 10:43:36 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16166914746724020954tmp [Pipeline] { [Pipeline] echo 10:43:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:43:36 ---> sigul-configuration.sh 10:43:36 gpg: directory `/root/.gnupg' created 10:43:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:43:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:43:36 gpg: keyring `/root/.gnupg/secring.gpg' created 10:43:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:43:36 gpg: CAST5 encrypted data 10:43:36 gpg: encrypted with 1 passphrase 10:43:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:43:36 + mkdir /home/jenkins 10:43:36 + mkdir /home/jenkins/sigul [Pipeline] sh 10:43:37 + 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 10:43:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:43:37 ---> sigul-install.sh 10:43:37 Sigul already installed; skipping installation. [Pipeline] sh 10:43:37 + git tag --list 10:43:37 v1.0.0 10:43:37 v1.1.0 10:43:37 v1.1.1 10:43:37 v1.2.1 10:43:37 v1.2.2 10:43:37 v1.2.3 10:43:37 v1.3.0 10:43:37 v1.3.1 10:43:37 v2.0.0 10:43:37 v2.1.0 10:43:37 v2.1.1 10:43:37 v2.2.0 10:43:37 v2.3.0 10:43:37 v3.0 10:43:37 v3.0.0 10:43:37 v3.1 10:43:37 v3.1.0 10:43:37 v3.1.0-dev.1 10:43:37 v3.1.0-dev.10 10:43:37 v3.1.0-dev.11 10:43:37 v3.1.0-dev.12 10:43:37 v3.1.0-dev.13 10:43:37 v3.1.0-dev.14 10:43:37 v3.1.0-dev.15 10:43:37 v3.1.0-dev.16 10:43:37 v3.1.0-dev.17 10:43:37 v3.1.0-dev.18 10:43:37 v3.1.0-dev.19 10:43:37 v3.1.0-dev.2 10:43:37 v3.1.0-dev.20 10:43:37 v3.1.0-dev.21 10:43:37 v3.1.0-dev.22 10:43:37 v3.1.0-dev.23 10:43:37 v3.1.0-dev.24 10:43:37 v3.1.0-dev.25 10:43:37 v3.1.0-dev.26 10:43:37 v3.1.0-dev.27 10:43:37 v3.1.0-dev.28 10:43:37 v3.1.0-dev.29 10:43:37 v3.1.0-dev.3 10:43:37 v3.1.0-dev.30 10:43:37 v3.1.0-dev.4 10:43:37 v3.1.0-dev.5 10:43:37 v3.1.0-dev.6 10:43:37 v3.1.0-dev.7 10:43:37 v3.1.0-dev.8 10:43:37 v3.1.0-dev.9 10:43:37 v3.1.1 10:43:37 v3.1.1-dev.1 10:43:37 v3.2.0-dev.1 10:43:37 v3.2.0-dev.10 10:43:37 v3.2.0-dev.11 10:43:37 v3.2.0-dev.12 10:43:37 v3.2.0-dev.13 10:43:37 v3.2.0-dev.14 10:43:37 v3.2.0-dev.15 10:43:37 v3.2.0-dev.16 10:43:37 v3.2.0-dev.17 10:43:37 v3.2.0-dev.18 10:43:37 v3.2.0-dev.19 10:43:37 v3.2.0-dev.2 10:43:37 v3.2.0-dev.20 10:43:37 v3.2.0-dev.21 10:43:37 v3.2.0-dev.22 10:43:37 v3.2.0-dev.23 10:43:37 v3.2.0-dev.24 10:43:37 v3.2.0-dev.25 10:43:37 v3.2.0-dev.26 10:43:37 v3.2.0-dev.27 10:43:37 v3.2.0-dev.28 10:43:37 v3.2.0-dev.3 10:43:37 v3.2.0-dev.4 10:43:37 v3.2.0-dev.5 10:43:37 v3.2.0-dev.6 10:43:37 v3.2.0-dev.7 10:43:37 v3.2.0-dev.8 10:43:37 v3.2.0-dev.9 10:43:37 v4.0.0-dev.1 10:43:37 v4.0.0-dev.10 10:43:37 v4.0.0-dev.11 10:43:37 v4.0.0-dev.12 10:43:37 v4.0.0-dev.13 10:43:37 v4.0.0-dev.14 10:43:37 v4.0.0-dev.15 10:43:37 v4.0.0-dev.16 10:43:37 v4.0.0-dev.17 10:43:37 v4.0.0-dev.18 10:43:37 v4.0.0-dev.2 10:43:37 v4.0.0-dev.3 10:43:37 v4.0.0-dev.4 10:43:37 v4.0.0-dev.5 10:43:37 v4.0.0-dev.6 10:43:37 v4.0.0-dev.7 10:43:37 v4.0.0-dev.8 10:43:37 v4.0.0-dev.9 [Pipeline] sh 10:43:38 + lftools sign git-tag v4.0.0-dev.18 10:43:38 Signing Git tag with Sigul... 10:43:38 Signing v4.0.0-dev.18 [Pipeline] echo 10:43:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:43:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:43:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:43:39 $ docker stop --time=1 3c60e4039914b287afd4a0cc45c5e80610d82016862493136d42adbd8cf85ae5 10:43:40 $ docker rm -f --volumes 3c60e4039914b287afd4a0cc45c5e80610d82016862493136d42adbd8cf85ae5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:43:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:43:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:43:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:43:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:43:41 prd-ubuntu20.04-docker-8c-8g-40309 does not seem to be running inside a container 10:43: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 10:43:41 $ docker top 7ec8e8464927e993dad643d1aafc6763eadd4a55b0c7a967e929e278089288b5 -eo pid,comm 10:43:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:43:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:43:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:43:41 [ssh-agent] Looking for ssh-agent implementation... 10:43:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:43:41 $ docker exec 7ec8e8464927e993dad643d1aafc6763eadd4a55b0c7a967e929e278089288b5 ssh-agent 10:43:42 SSH_AUTH_SOCK=/tmp/ssh-yvUxbfDyLcDJ/agent.32 10:43:42 SSH_AGENT_PID=38 10:43:42 Running ssh-add (command line suppressed) 10:43:42 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16057422102472368726.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16057422102472368726.key) 10:43:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:43:42 + git semver bump pre 10:43:42 2025-03-05 10:43:42,579 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 10:43:42 2025-03-05 10:43:42,579 [bump_version] DEBUG bumping version:4.0.0-dev.18 on axis:pre with prefix:dev 10:43:42 2025-03-05 10:43:42,580 [bump_version] DEBUG bumped version:4.0.0-dev.19 10:43:42 2025-03-05 10:43:42,580 [write_version] DEBUG write version:4.0.0-dev.19 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 10:43:42 2025-03-05 10:43:42,580 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 10:43:42 2025-03-05 10:43:42,580 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 10:43:42 2025-03-05 10:43:42,581 [execute] INFO git cat-file --batch-check 10:43:42 2025-03-05 10:43:42,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:43:42 2025-03-05 10:43:42,587 [execute] INFO git cat-file --batch 10:43:42 2025-03-05 10:43:42,587 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:43:42 2025-03-05 10:43:42,592 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 10:43:42 4.0.0-dev.19 [Pipeline] } 10:43:42 $ docker exec --env ******** --env ******** 7ec8e8464927e993dad643d1aafc6763eadd4a55b0c7a967e929e278089288b5 ssh-agent -k 10:43:42 unset SSH_AUTH_SOCK; 10:43:42 unset SSH_AGENT_PID; 10:43:42 echo Agent pid 38 killed; 10:43:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:43:43 + git semver [Pipeline] } 10:43:43 $ docker stop --time=1 7ec8e8464927e993dad643d1aafc6763eadd4a55b0c7a967e929e278089288b5 10:43:44 $ docker rm -f --volumes 7ec8e8464927e993dad643d1aafc6763eadd4a55b0c7a967e929e278089288b5 [Pipeline] // withDockerContainer [Pipeline] sh 10:43:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:43:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:43:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:43:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:43:45 prd-ubuntu20.04-docker-8c-8g-40309 does not seem to be running inside a container 10:43:45 $ 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 10:43:45 $ docker top fd658a114362f0581b8f24dc876aa0a480d5bd9ca905998b6246b4eb4516f391 -eo pid,comm 10:43:45 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:43:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:43:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:43:45 [ssh-agent] Looking for ssh-agent implementation... 10:43:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:43:45 $ docker exec fd658a114362f0581b8f24dc876aa0a480d5bd9ca905998b6246b4eb4516f391 ssh-agent 10:43:46 SSH_AUTH_SOCK=/tmp/ssh-CBGN6Tx3MWhO/agent.32 10:43:46 SSH_AGENT_PID=38 10:43:46 Running ssh-add (command line suppressed) 10:43:46 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_131905414484150469.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_131905414484150469.key) 10:43:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:43:46 + git semver push 10:43:46 2025-03-05 10:43:46,676 [run_push] DEBUG push 10:43:46 2025-03-05 10:43:46,676 [execute] INFO git cat-file --batch-check 10:43:46 2025-03-05 10:43:46,677 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:43:46 2025-03-05 10:43:46,680 [execute] INFO git rev-list 00b60453fc2c36d27c12bebf955b51ec4792056f -- 10:43:46 2025-03-05 10:43:46,681 [execute] DEBUG Popen(['git', 'rev-list', '00b60453fc2c36d27c12bebf955b51ec4792056f', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:43:46 2025-03-05 10:43:46,688 [execute] INFO git fetch -v origin 10:43:46 2025-03-05 10:43:46,688 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 10:43:47 2025-03-05 10:43:47,141 [run_push] DEBUG no remote changes detected 10:43:47 2025-03-05 10:43:47,141 [execute] INFO git push origin semver 10:43:47 2025-03-05 10:43:47,142 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:43:47 2025-03-05 10:43:47,845 [run_push] DEBUG push all version tags 10:43:47 2025-03-05 10:43:47,846 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:43:47 2025-03-05 10:43:47,846 [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) 10:43:48 2025-03-05 10:43:48,529 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 10:43:48 4.0.0-dev.19 [Pipeline] } 10:43:48 $ docker exec --env ******** --env ******** fd658a114362f0581b8f24dc876aa0a480d5bd9ca905998b6246b4eb4516f391 ssh-agent -k 10:43:48 unset SSH_AUTH_SOCK; 10:43:48 unset SSH_AGENT_PID; 10:43:48 echo Agent pid 38 killed; 10:43:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:43:49 + git semver [Pipeline] } 10:43:49 $ docker stop --time=1 fd658a114362f0581b8f24dc876aa0a480d5bd9ca905998b6246b4eb4516f391 10:43:50 $ docker rm -f --volumes fd658a114362f0581b8f24dc876aa0a480d5bd9ca905998b6246b4eb4516f391 [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 10:43:51 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 10:43:51 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 10:43:51 total 16 10:43:51 drwxr-xr-x 3 root root 4096 Mar 5 10:29 . 10:43:51 drwxrwxr-x 9 jenkins jenkins 4096 Mar 5 10:43 .. 10:43:51 drwxr-xr-x 2 root root 4096 Mar 5 10:29 cost 10:43:51 -rw-r--r-- 1 root root 89 Mar 5 10:29 cost.csv 10:43:51 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 10:43:51 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 10:43:51 total 16 10:43:51 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 10:29 . 10:43:51 drwxrwxr-x 9 jenkins jenkins 4096 Mar 5 10:43 .. 10:43:51 drwxr-xr-x 2 jenkins jenkins 4096 Mar 5 10:29 cost 10:43:51 -rw-r--r-- 1 jenkins jenkins 89 Mar 5 10:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:43:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:43:52 ---> package-listing.sh 10:43:52 ++ facter osfamily 10:43:52 ++ tr '[:upper:]' '[:lower:]' 10:43:52 + OS_FAMILY=debian 10:43:52 + workspace=/w/workspace/exfoundry_device-virtual-go_main 10:43:52 + START_PACKAGES=/tmp/packages_start.txt 10:43:52 + END_PACKAGES=/tmp/packages_end.txt 10:43:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:43:52 + PACKAGES=/tmp/packages_start.txt 10:43:52 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 10:43:52 + PACKAGES=/tmp/packages_end.txt 10:43:52 + case "${OS_FAMILY}" in 10:43:52 + dpkg -l 10:43:52 + grep '^ii' 10:43:52 + '[' -f /tmp/packages_start.txt ']' 10:43:52 + '[' -f /tmp/packages_end.txt ']' 10:43:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:43:52 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 10:43:52 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 10:43:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 10:43:52 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 10:43:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:43:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:43:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:43:53 prd-ubuntu20.04-docker-8c-8g-40309 does not seem to be running inside a container 10:43:53 $ 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 10:43:54 $ docker top 8696a6bc62a25aecd4bc9c2e733399230c1152fe71b7bac7ef0409c5d116b531 -eo pid,comm [Pipeline] { [Pipeline] sh 10:43:54 + touch /tmp/pre-build-complete [Pipeline] sh 10:43:54 + mkdir -p /var/log/sysstat [Pipeline] sh 10:43:54 + ls /var/log/sa-host 10:43:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:43:55 provisioning config files... 10:43:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17036394936984870518tmp [Pipeline] { [Pipeline] echo 10:43:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:43:55 ---> create-netrc.sh [Pipeline] } 10:43:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:43:55 ---> python-tools-install.sh [Pipeline] echo 10:43:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:43:56 ---> sudo-logs.sh 10:43:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:43:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:43:56 ---> job-cost.sh 10:43:56 lf-activate-venv: SKIPPING 10:43:56 DEBUG: total: 0.2199999988079071 10:43:56 INFO: Retrieving Stack Cost... 10:43:56 INFO: Retrieving Pricing Info for: v3-standard-8 10:43:57 INFO: Archiving Costs [Pipeline] echo 10:43:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:43:57 ---> logs-deploy.sh 10:43:57 lf-activate-venv: SKIPPING 10:43:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/203 10:43:57 INFO: archiving workspace using pattern(s): 10:43:58 Archives upload complete. 10:43:58 INFO: archiving logs to Nexus