Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 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-ssh4380139694355461617.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-ssh6008303024834609931.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-ssh11490230525919924518.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-ssh15511414397936313397.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-ssh16986286950487391756.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-40087 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 Avoid second fetch Checking out Revision 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 (main) > 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 Commit message: "Merge pull request #524 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.26" > git config core.sparsecheckout # timeout=10 > git checkout -f 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 # timeout=10 > git rev-list --no-walk 3183a827203540ebd027eeea4a55ef1d5821fd71 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:47:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:47:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:47:23 ========================================================= 23:47:23 EdgeX Global Pipelines Version Info 23:47:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:47:24 ------------------- 23:47:24 stable info: 23:47:24 ------------------- 23:47:24 Commited By: Cherry Wang cherry@iotechsys.com 23:47:24 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 23:47:24 Message: update stable to v1.0.269 23:47:25 ------------------- 23:47:25 experimental info: 23:47:25 ------------------- 23:47:25 Commited By: Ginny Guan ginny@iotechsys.com 23:47:25 Commit SHA: 7f93e8bad95e9991f74bdd88f4a3d704a5893b6d 23:47:25 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:47:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:47:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 [Pipeline] echo 23:47:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 10c0576 [Pipeline] echo 23:47:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:47:26 provisioning config files... 23:47:26 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12765763624683341959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:47:26 ---> ****-login.sh 23:47:26 nexus3.edgexfoundry.org:10001 23:47:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:47:27 Configure a credential helper to remove this warning. See 23:47:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:47:27 23:47:27 Login Succeeded 23:47:27 nexus3.edgexfoundry.org:10002 23:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:47:27 Configure a credential helper to remove this warning. See 23:47:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:47:27 23:47:27 Login Succeeded 23:47:27 nexus3.edgexfoundry.org:10003 23:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:47:27 Configure a credential helper to remove this warning. See 23:47:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:47:27 23:47:27 Login Succeeded 23:47:27 nexus3.edgexfoundry.org:10004 23:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:47:27 Configure a credential helper to remove this warning. See 23:47:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:47:27 23:47:27 Login Succeeded 23:47:27 ****.io 23:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:47:27 Configure a credential helper to remove this warning. See 23:47:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:47:27 23:47:27 Login Succeeded 23:47:27 ---> ****-login.sh ends [Pipeline] } 23:47:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:47:27 + git rev-list -1 --merges 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5~1..10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 [Pipeline] echo 23:47:27 -----------> git rev-list -1 --merges 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5~1..10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 23:47:27 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 [false] [Pipeline] sh 23:47:28 + git log --format=format:%s -1 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 [Pipeline] echo 23:47:28 ========================================================= 23:47:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:47:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:47:28 + git log --format=format:%s -1 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 [Pipeline] echo 23:47:28 [semverPrep] GIT_COMMIT: 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5, Commit Message: Merge pull request #524 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.26 [Pipeline] echo 23:47:28 [semverPrep] This is not a build commit. [Pipeline] sh 23:47:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:47:29 + grep -v github /etc/ssh/ssh_known_hosts 23:47:29 + [ -e /tmp/ssh_known_hosts ] 23:47:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:47:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:47:29 + sudo tee -a /etc/ssh/ssh_known_hosts 23:47:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:47:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:47:29 23:47:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:47:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:47:29 0.1.4: Pulling from edgex-devops/py-git-semver 23:47:29 b85a868b505f: Pulling fs layer 23:47:29 e2be974225ed: Pulling fs layer 23:47:29 339a4e72a1f5: Pulling fs layer 23:47:29 988bab9f4d93: Pulling fs layer 23:47:29 1469e6f7b9e6: Pulling fs layer 23:47:29 eaf3925da568: Pulling fs layer 23:47:29 bab4dde63d76: Pulling fs layer 23:47:29 bde34c3a00c8: Pulling fs layer 23:47:29 b352a97aabf1: Pulling fs layer 23:47:29 4872d77fe225: Pulling fs layer 23:47:29 5851b861e8e6: Pulling fs layer 23:47:29 bab4dde63d76: Waiting 23:47:29 b352a97aabf1: Waiting 23:47:29 1469e6f7b9e6: Waiting 23:47:29 4872d77fe225: Waiting 23:47:29 eaf3925da568: Waiting 23:47:29 988bab9f4d93: Waiting 23:47:29 bde34c3a00c8: Waiting 23:47:29 e2be974225ed: Verifying Checksum 23:47:29 e2be974225ed: Download complete 23:47:29 988bab9f4d93: Verifying Checksum 23:47:29 988bab9f4d93: Download complete 23:47:30 1469e6f7b9e6: Verifying Checksum 23:47:30 1469e6f7b9e6: Download complete 23:47:30 339a4e72a1f5: Verifying Checksum 23:47:30 339a4e72a1f5: Download complete 23:47:30 eaf3925da568: Verifying Checksum 23:47:30 eaf3925da568: Download complete 23:47:30 bde34c3a00c8: Download complete 23:47:30 b352a97aabf1: Download complete 23:47:30 4872d77fe225: Download complete 23:47:30 5851b861e8e6: Verifying Checksum 23:47:30 5851b861e8e6: Download complete 23:47:30 b85a868b505f: Verifying Checksum 23:47:30 b85a868b505f: Download complete 23:47:30 bab4dde63d76: Verifying Checksum 23:47:30 bab4dde63d76: Download complete 23:47:31 b85a868b505f: Pull complete 23:47:31 e2be974225ed: Pull complete 23:47:31 339a4e72a1f5: Pull complete 23:47:31 988bab9f4d93: Pull complete 23:47:32 1469e6f7b9e6: Pull complete 23:47:32 eaf3925da568: Pull complete 23:47:34 bab4dde63d76: Pull complete 23:47:34 bde34c3a00c8: Pull complete 23:47:34 b352a97aabf1: Pull complete 23:47:34 4872d77fe225: Pull complete 23:47:34 5851b861e8e6: Pull complete 23:47:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:47:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:47:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:47:34 prd-ubuntu20.04-docker-8c-8g-40087 does not seem to be running inside a container 23:47:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:47:36 $ docker top 5738b6fc7a01e4e6bfd7868a515ec53d7edc8275dd3532962402eb12f933c5dd -eo pid,comm 23:47:36 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). 23:47:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:47:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:47:36 [ssh-agent] Looking for ssh-agent implementation... 23:47:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:47:36 $ docker exec 5738b6fc7a01e4e6bfd7868a515ec53d7edc8275dd3532962402eb12f933c5dd ssh-agent 23:47:36 SSH_AUTH_SOCK=/tmp/ssh-66aK8sdACQAd/agent.33 23:47:36 SSH_AGENT_PID=39 23:47:36 Running ssh-add (command line suppressed) 23:47:36 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11006731269870427263.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11006731269870427263.key) 23:47:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:47:36 + git tag --points-at HEAD [Pipeline] } 23:47:36 $ docker exec --env ******** --env ******** 5738b6fc7a01e4e6bfd7868a515ec53d7edc8275dd3532962402eb12f933c5dd ssh-agent -k 23:47:36 unset SSH_AUTH_SOCK; 23:47:36 unset SSH_AGENT_PID; 23:47:36 echo Agent pid 39 killed; 23:47:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:47:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:47:36 [ssh-agent] Looking for ssh-agent implementation... 23:47:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:47:37 $ docker exec 5738b6fc7a01e4e6bfd7868a515ec53d7edc8275dd3532962402eb12f933c5dd ssh-agent 23:47:37 SSH_AUTH_SOCK=/tmp/ssh-sUAgIbcStDQr/agent.73 23:47:37 SSH_AGENT_PID=79 23:47:37 Running ssh-add (command line suppressed) 23:47:37 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11249243979823194166.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11249243979823194166.key) 23:47:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:47:37 + git semver init 23:47:37 2025-03-03 23:47:37,785 [run_init] DEBUG init version:0.0.0 force:False 23:47:37 2025-03-03 23:47:37,786 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 23:47:37 2025-03-03 23:47:37,786 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 23:47:37 2025-03-03 23:47:37,787 [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) 23:47:39 2025-03-03 23:47:39,139 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 23:47:39 2025-03-03 23:47:39,140 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 23:47:39 2025-03-03 23:47:39,140 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 23:47:39 2025-03-03 23:47:39,140 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 23:47:39 4.0.0-dev.17 [Pipeline] } 23:47:39 $ docker exec --env ******** --env ******** 5738b6fc7a01e4e6bfd7868a515ec53d7edc8275dd3532962402eb12f933c5dd ssh-agent -k 23:47:39 unset SSH_AUTH_SOCK; 23:47:39 unset SSH_AGENT_PID; 23:47:39 echo Agent pid 79 killed; 23:47:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:47:39 + git semver [Pipeline] } 23:47:39 $ docker stop --time=1 5738b6fc7a01e4e6bfd7868a515ec53d7edc8275dd3532962402eb12f933c5dd 23:47:41 $ docker rm -f --volumes 5738b6fc7a01e4e6bfd7868a515ec53d7edc8275dd3532962402eb12f933c5dd [Pipeline] // withDockerContainer [Pipeline] sh 23:47:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:47:41 Stashed 1 file(s) [Pipeline] echo 23:47:41 [edgeXSemver]: initialized semver on version 4.0.0-dev.17 [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 23:47:42 provisioning config files... 23:47:42 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6604677175097569760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:47:42 ---> ****-login.sh 23:47:42 nexus3.edgexfoundry.org:10001 23:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:47:42 Configure a credential helper to remove this warning. See 23:47:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:47:42 23:47:42 Login Succeeded 23:47:42 nexus3.edgexfoundry.org:10002 23:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:47:42 Configure a credential helper to remove this warning. See 23:47:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:47:42 23:47:42 Login Succeeded 23:47:42 nexus3.edgexfoundry.org:10003 23:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:47:42 Configure a credential helper to remove this warning. See 23:47:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:47:42 23:47:42 Login Succeeded 23:47:42 nexus3.edgexfoundry.org:10004 23:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:47:42 Configure a credential helper to remove this warning. See 23:47:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:47:42 23:47:42 Login Succeeded 23:47:42 ****.io 23:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:47:42 Configure a credential helper to remove this warning. See 23:47:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:47:42 23:47:42 Login Succeeded 23:47:42 ---> ****-login.sh ends [Pipeline] } 23:47:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:47:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:47:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:47:43 ========================================================= 23:47:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 23:47:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:47:43 + 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 . 23:47:43 Sending build context to Docker daemon 37.88MB 23:47:43 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 23:47:43 Step 2/12 : FROM ${BASE} AS builder 23:47:43 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 23:47:43 da9db072f522: Pulling fs layer 23:47:43 6ef4a4ee8ca5: Pulling fs layer 23:47:43 06f05ace1117: Pulling fs layer 23:47:43 5fe327b54edc: Pulling fs layer 23:47:43 4f4fb700ef54: Pulling fs layer 23:47:43 92a5565b7b96: Pulling fs layer 23:47:43 ff9bb7016b71: Pulling fs layer 23:47:43 b67dba6c2c7d: Pulling fs layer 23:47:43 a813b0c90790: Pulling fs layer 23:47:43 4f4fb700ef54: Waiting 23:47:43 92a5565b7b96: Waiting 23:47:43 ff9bb7016b71: Waiting 23:47:43 b67dba6c2c7d: Waiting 23:47:43 a813b0c90790: Waiting 23:47:43 5fe327b54edc: Waiting 23:47:43 6ef4a4ee8ca5: Verifying Checksum 23:47:43 6ef4a4ee8ca5: Download complete 23:47:43 5fe327b54edc: Download complete 23:47:43 4f4fb700ef54: Verifying Checksum 23:47:43 4f4fb700ef54: Download complete 23:47:43 da9db072f522: Download complete 23:47:43 92a5565b7b96: Verifying Checksum 23:47:43 92a5565b7b96: Download complete 23:47:43 ff9bb7016b71: Verifying Checksum 23:47:43 ff9bb7016b71: Download complete 23:47:44 da9db072f522: Pull complete 23:47:44 6ef4a4ee8ca5: Pull complete 23:47:44 a813b0c90790: Verifying Checksum 23:47:44 a813b0c90790: Download complete 23:47:44 06f05ace1117: Verifying Checksum 23:47:44 06f05ace1117: Download complete 23:47:44 b67dba6c2c7d: Verifying Checksum 23:47:44 b67dba6c2c7d: Download complete 23:47:48 06f05ace1117: Pull complete 23:47:48 5fe327b54edc: Pull complete 23:47:48 4f4fb700ef54: Pull complete 23:47:48 92a5565b7b96: Pull complete 23:47:48 ff9bb7016b71: Pull complete 23:47:49 b67dba6c2c7d: Pull complete 23:47:50 a813b0c90790: Pull complete 23:47:50 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 23:47:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 23:47:50 ---> 3ba60ce46760 23:47:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:47:52 ---> Running in 9371446b3d2d 23:47:52 Removing intermediate container 9371446b3d2d 23:47:52 ---> f062a47e54a2 23:47:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:47:52 ---> Running in 6465bf0b0f64 23:47:52 Removing intermediate container 6465bf0b0f64 23:47:52 ---> ccbefa76d192 23:47:52 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:47:52 ---> Running in 52e39ff21d27 23:47:52 Removing intermediate container 52e39ff21d27 23:47:52 ---> 7c1d74fd0981 23:47:52 Step 6/12 : WORKDIR /device-virtual-go 23:47:52 ---> Running in 135de5f65244 23:47:52 Removing intermediate container 135de5f65244 23:47:52 ---> 38dea67bb9b4 23:47:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:47:52 ---> Running in 144826b14cfb 23:47:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 23:47:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 23:47:53 (1/4) Installing openssh-keygen (9.7_p1-r5) 23:47:53 (2/4) Installing libedit (20240517.3.1-r0) 23:47:53 (3/4) Installing openssh-client-common (9.7_p1-r5) 23:47:53 (4/4) Installing openssh-client-default (9.7_p1-r5) 23:47:53 Executing busybox-1.36.1-r29.trigger 23:47:53 OK: 252 MiB in 62 packages 23:47:53 Removing intermediate container 144826b14cfb 23:47:53 ---> f6b12fe94784 23:47:53 Step 8/12 : COPY go.mod vendor* ./ 23:47:53 ---> f12e3b604ea1 23:47:53 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:47:53 ---> Running in 6ffd428a5764 23:47:57 Still waiting to schedule task 23:47:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:48:40 Removing intermediate container 6ffd428a5764 23:48:40 ---> 0a8cbd7d63ed 23:48:40 Step 10/12 : COPY . . 23:48:40 ---> 76c179ac699d 23:48:40 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:48:40 ---> Running in ecd69da1c39d 23:48:40 Removing intermediate container ecd69da1c39d 23:48:40 ---> f90c128306f9 23:48:40 Step 12/12 : RUN $MAKE 23:48:40 ---> Running in 0cbab137b016 23:48:40 noop 23:48:40 Removing intermediate container 0cbab137b016 23:48:40 ---> 0bd5c046fdc9 23:48:40 Successfully built 0bd5c046fdc9 23:48:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:41 + docker inspect -f . ci-base-image-x86_64 23:48:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:48:41 prd-ubuntu20.04-docker-8c-8g-40087 does not seem to be running inside a container 23:48:41 $ 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 ******** ci-base-image-x86_64 cat 23:48:41 $ docker top e697a0ed366cdca5e1ffed4875df87a313e2011a65325edb6d35f31ac46fdf7c -eo pid,comm [Pipeline] { [Pipeline] sh 23:48:41 + go version 23:48:41 go version go1.23.4 linux/amd64 [Pipeline] } 23:48:41 $ docker stop --time=1 e697a0ed366cdca5e1ffed4875df87a313e2011a65325edb6d35f31ac46fdf7c 23:48:43 $ docker rm -f --volumes e697a0ed366cdca5e1ffed4875df87a313e2011a65325edb6d35f31ac46fdf7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:43 + docker inspect -f . ci-base-image-x86_64 23:48:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:48:43 prd-ubuntu20.04-docker-8c-8g-40087 does not seem to be running inside a container 23:48:44 $ 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 ******** ci-base-image-x86_64 cat 23:48:44 $ docker top 9a139580c40f1b6a701d46eb37cc83c5a97cff8b8afdf173600aac3eeb0603c9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:48:44 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 23:48:45 + make test 23:48:45 go test ./... -coverprofile=coverage.out 23:48:46 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:49:05 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 23:49:05 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.010s coverage: 58.4% of statements 23:49:13 go vet ./... 23:49:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:49:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:49:20 ./bin/test-attribution-txt.sh [Pipeline] echo 23:49:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:49:20 $ docker stop --time=1 9a139580c40f1b6a701d46eb37cc83c5a97cff8b8afdf173600aac3eeb0603c9 23:49:22 $ docker rm -f --volumes 9a139580c40f1b6a701d46eb37cc83c5a97cff8b8afdf173600aac3eeb0603c9 [Pipeline] // withDockerContainer [Pipeline] sh 23:49:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:49:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:49:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:49:23 + ls -al . 23:49:23 total 264 23:49:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 23:48 . 23:49:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 23:47 .. 23:49:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 23:49 .git 23:49:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 23:47 .github 23:49:23 -rw-rw-r-- 1 jenkins jenkins 272 Mar 3 23:47 .gitignore 23:49:23 -rw-rw-r-- 1 jenkins jenkins 199 Mar 3 23:47 .golangci.yml 23:49:23 drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 23:47 .semver 23:49:23 -rw-rw-r-- 1 jenkins jenkins 18321 Mar 3 23:47 Attribution.txt 23:49:23 -rw-rw-r-- 1 jenkins jenkins 15941 Mar 3 23:47 CHANGELOG.md 23:49:23 -rw-rw-r-- 1 jenkins jenkins 1755 Mar 3 23:47 Dockerfile 23:49:23 -rw-rw-r-- 1 jenkins jenkins 677 Mar 3 23:47 GOVERNANCE.md 23:49:23 -rw-rw-r-- 1 jenkins jenkins 660 Mar 3 23:47 Jenkinsfile 23:49:23 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 3 23:47 LICENSE 23:49:23 -rw-rw-r-- 1 jenkins jenkins 2652 Mar 3 23:47 Makefile 23:49:23 -rw-rw-r-- 1 jenkins jenkins 623 Mar 3 23:47 OWNERS.md 23:49:23 -rw-rw-r-- 1 jenkins jenkins 4473 Mar 3 23:47 README.md 23:49:23 -rw-rw-r-- 1 jenkins jenkins 12 Mar 3 23:47 VERSION 23:49:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 23:47 bin 23:49:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 23:47 cmd 23:49:23 -rw-r--r-- 1 jenkins jenkins 43316 Mar 3 23:49 coverage.out 23:49:23 -rw-rw-r-- 1 jenkins jenkins 6080 Mar 3 23:47 go.mod 23:49:23 -rw-rw-r-- 1 jenkins jenkins 86628 Mar 3 23:47 go.sum 23:49:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 23:47 internal 23:49:23 -rw-rw-r-- 1 jenkins jenkins 235 Mar 3 23:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:24 + 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=10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 --label arch=amd64 --label version=4.0.0-dev.17 . 23:49:24 Sending build context to Docker daemon 37.93MB 23:49:24 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 23:49:24 Step 2/26 : FROM ${BASE} AS builder 23:49:24 ---> 0bd5c046fdc9 23:49:24 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:49:24 ---> Running in 1eb187138c64 23:49:24 Removing intermediate container 1eb187138c64 23:49:24 ---> 91fc6aac7b9e 23:49:24 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:49:24 ---> Running in d78dd9bc55f1 23:49:24 Removing intermediate container d78dd9bc55f1 23:49:24 ---> ce4dc7f5297d 23:49:24 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:49:24 ---> Running in b3040e741a04 23:49:24 Removing intermediate container b3040e741a04 23:49:24 ---> 2cdee41ba9b6 23:49:24 Step 6/26 : WORKDIR /device-virtual-go 23:49:24 ---> Running in 50d5744149de 23:49:24 Removing intermediate container 50d5744149de 23:49:24 ---> 218608fe08fc 23:49:24 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:49:24 ---> Running in 2e7f7cc2e3dc 23:49:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 23:49:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 23:49:25 OK: 252 MiB in 62 packages 23:49:26 Removing intermediate container 2e7f7cc2e3dc 23:49:26 ---> a1be368e1476 23:49:26 Step 8/26 : COPY go.mod vendor* ./ 23:49:26 ---> 46a1c6edf72e 23:49:26 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:49:26 ---> Running in 7f6d86ec6cdf 23:49:26 Removing intermediate container 7f6d86ec6cdf 23:49:26 ---> 30adc6ebf0b3 23:49:26 Step 10/26 : COPY . . 23:49:27 ---> 4ed171f1de9b 23:49:27 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:49:27 ---> Running in d634b662e49c 23:49:27 Removing intermediate container d634b662e49c 23:49:27 ---> d9f7857718c8 23:49:27 Step 12/26 : RUN $MAKE 23:49:27 ---> Running in 53dce3d5a060 23:49:28 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=4.0.0-dev.17 -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 23:49:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40088 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 23:49:33 Running in /w/workspace/device-virtual-go/202 [Pipeline] { [Pipeline] checkout 23:49:36 The recommended git tool is: git 23:49:41 using credential edgex-jenkins-ssh 23:49:41 Cloning the remote Git repository 23:49:41 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 23:49:41 > git init /w/workspace/device-virtual-go/202 # timeout=10 23:49:42 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:49:42 > git --version # timeout=10 23:49:42 > git --version # 'git version 2.25.1' 23:49:42 using GIT_SSH to set credentials SSH Credentials for GitHub 23:49:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:49:45 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:49:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:49:46 Avoid second fetch 23:49:46 Checking out Revision 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 (main) 23:49:46 > git config core.sparsecheckout # timeout=10 23:49:46 > git checkout -f 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 # timeout=10 23:49:46 Commit message: "Merge pull request #524 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.26" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:49:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:49:51 % Total % Received % Xferd Average Speed Time Time Time Current 23:49:51 Dload Upload Total Spent Left Speed 23:49:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 103k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 23:49:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:49:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 23:49:52 sudo tee /etc/docker/daemon.new 23:49:52 { 23:49:52 "registry-mirrors": [ 23:49:52 "https://nexus3.edgexfoundry.org:10001" 23:49:52 ], 23:49:52 "bip": "10.250.0.254/24", 23:49:52 "hosts": [ 23:49:52 "tcp://0.0.0.0:5555", 23:49:52 "unix:///var/run/docker.sock" 23:49:52 ], 23:49:52 "mtu": 1458, 23:49:52 "selinux-enabled": true, 23:49:52 "seccomp-profile": "/etc/docker/seccomp.json" 23:49:52 } [Pipeline] sh 23:49:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:49:52 + sudo service docker restart 23:49:54 Removing intermediate container 53dce3d5a060 23:49:54 ---> 0a34fa965a74 23:49:54 Step 13/26 : FROM alpine:3.20 23:49:54 3.20: Pulling from library/alpine 23:49:54 0a9a5dfd008f: Pulling fs layer 23:49:54 0a9a5dfd008f: Verifying Checksum 23:49:54 0a9a5dfd008f: Download complete 23:49:54 0a9a5dfd008f: Pull complete 23:49:54 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 23:49:54 Status: Downloaded newer image for alpine:3.20 23:49:54 ---> ff221270b9fb 23:49:54 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:49:54 ---> Running in bef3cab75aba 23:49:54 Removing intermediate container bef3cab75aba 23:49:54 ---> 0bb607226dce 23:49:54 Step 15/26 : RUN apk add --update --no-cache dumb-init 23:49:54 ---> Running in db225d65a491 23:49:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 23:49:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 23:49:55 (1/1) Installing dumb-init (1.2.5-r3) 23:49:55 Executing busybox-1.36.1-r29.trigger 23:49:55 OK: 8 MiB in 15 packages 23:49:55 Removing intermediate container db225d65a491 23:49:55 ---> e8bbd75aac3c 23:49:55 Step 16/26 : RUN apk --no-cache upgrade 23:49:55 ---> Running in faa89cfdde39 23:49:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 23:49:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 23:49:56 OK: 8 MiB in 15 packages 23:49:57 Removing intermediate container faa89cfdde39 23:49:57 ---> 2370701ee8d9 23:49:57 Step 17/26 : WORKDIR / 23:49:57 ---> Running in dea27eee3193 23:49:57 Removing intermediate container dea27eee3193 23:49:57 ---> 001fdf691b34 23:49:57 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:49:57 ---> f7018b02282a 23:49:57 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 23:49:57 ---> 70a69fa0981f 23:49:57 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 23:49:57 ---> 0db400e7334a 23:49:57 Step 21/26 : EXPOSE 59900 23:49:57 ---> Running in 3d7457758281 23:49:58 Removing intermediate container 3d7457758281 23:49:58 ---> a5b17f3546ab 23:49:58 Step 22/26 : ENTRYPOINT ["/device-virtual"] 23:49:58 ---> Running in a515ebe4795a 23:49:58 Removing intermediate container a515ebe4795a 23:49:58 ---> 2a4987b3e44f 23:49:58 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 23:49:58 ---> Running in f5565f042d5c 23:49:58 Removing intermediate container f5565f042d5c 23:49:58 ---> 6f7273b6b159 23:49:58 Step 24/26 : LABEL arch=amd64 23:49:58 ---> Running in f51e925b8cf9 23:49:58 Removing intermediate container f51e925b8cf9 23:49:58 ---> 5cf14dc8fb41 23:49:58 Step 25/26 : LABEL git_sha=10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 23:49:58 ---> Running in b6fde3fd2be6 23:49:58 Removing intermediate container b6fde3fd2be6 23:49:58 ---> 712092ad5395 23:49:58 Step 26/26 : LABEL version=4.0.0-dev.17 23:49:58 ---> Running in 505798d81678 23:49:58 Removing intermediate container 505798d81678 23:49:58 ---> 236a25cc72d4 23:49:58 [Warning] One or more build-args [ARCH] were not consumed 23:49:58 Successfully built 236a25cc72d4 23:49:58 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:49:58 provisioning config files... 23:49:58 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16088633212222552497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:49:58 ---> ****-login.sh 23:49:58 nexus3.edgexfoundry.org:10001 23:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:49:58 Configure a credential helper to remove this warning. See 23:49:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:49:58 23:49:58 Login Succeeded 23:49:58 nexus3.edgexfoundry.org:10002 23:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:49:58 Configure a credential helper to remove this warning. See 23:49:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:49:58 23:49:58 Login Succeeded 23:49:58 nexus3.edgexfoundry.org:10003 23:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:49:59 Configure a credential helper to remove this warning. See 23:49:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:49:59 23:49:59 Login Succeeded 23:49:59 nexus3.edgexfoundry.org:10004 23:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:49:59 Configure a credential helper to remove this warning. See 23:49:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:49:59 23:49:59 Login Succeeded 23:49:59 ****.io 23:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:49:59 Configure a credential helper to remove this warning. See 23:49:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:49:59 23:49:59 Login Succeeded 23:49:59 ---> ****-login.sh ends [Pipeline] } 23:49:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:49:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:49:59 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 23:49:59 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 23:49:59 latest 23:49:59 4.0.0-dev.17 23:49:59 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5-4.0.0-dev.17 23:49:59 main 23:49:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:59 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:00 + docker push nexus3.edgexfoundry.org:10004/device-virtual:10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 23:50:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 23:50:00 67712a36a5cc: Preparing 23:50:00 4413f9f1c305: Preparing 23:50:00 fd90105619d1: Preparing 23:50:00 b0af63940f23: Preparing 23:50:00 909379241686: Preparing 23:50:00 994456c4fd7b: Preparing 23:50:00 994456c4fd7b: Waiting 23:50:00 fd90105619d1: Pushed 23:50:00 4413f9f1c305: Pushed 23:50:00 909379241686: Pushed 23:50:00 b0af63940f23: Pushed 23:50:00 994456c4fd7b: Layer already exists 23:50:03 67712a36a5cc: Pushed 23:50:03 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5: digest: sha256:861d6c3f416f96a7e24ab7476c8cd44783023fb7af491f79af00b26bdd6e733f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:04 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:04 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 23:50:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 23:50:04 67712a36a5cc: Preparing 23:50:04 4413f9f1c305: Preparing 23:50:04 fd90105619d1: Preparing 23:50:04 b0af63940f23: Preparing 23:50:04 909379241686: Preparing 23:50:04 994456c4fd7b: Preparing 23:50:04 994456c4fd7b: Waiting 23:50:04 67712a36a5cc: Layer already exists 23:50:04 909379241686: Layer already exists 23:50:04 fd90105619d1: Layer already exists 23:50:04 4413f9f1c305: Layer already exists 23:50:04 b0af63940f23: Layer already exists 23:50:04 994456c4fd7b: Layer already exists 23:50:04 latest: digest: sha256:861d6c3f416f96a7e24ab7476c8cd44783023fb7af491f79af00b26bdd6e733f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:04 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:04 + docker push nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.17 23:50:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 23:50:04 67712a36a5cc: Preparing 23:50:04 4413f9f1c305: Preparing 23:50:04 fd90105619d1: Preparing 23:50:04 b0af63940f23: Preparing 23:50:04 909379241686: Preparing 23:50:04 994456c4fd7b: Preparing 23:50:04 67712a36a5cc: Layer already exists 23:50:04 4413f9f1c305: Layer already exists 23:50:04 fd90105619d1: Layer already exists 23:50:04 909379241686: Layer already exists 23:50:04 b0af63940f23: Layer already exists 23:50:04 994456c4fd7b: Layer already exists 23:50:04 4.0.0-dev.17: digest: sha256:861d6c3f416f96a7e24ab7476c8cd44783023fb7af491f79af00b26bdd6e733f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:05 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:10c0576949a063dd5cf6a91dd144b4cdf6afd1d5-4.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:05 + docker push nexus3.edgexfoundry.org:10004/device-virtual:10c0576949a063dd5cf6a91dd144b4cdf6afd1d5-4.0.0-dev.17 23:50:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 23:50:05 67712a36a5cc: Preparing 23:50:05 4413f9f1c305: Preparing 23:50:05 fd90105619d1: Preparing 23:50:05 b0af63940f23: Preparing 23:50:05 909379241686: Preparing 23:50:05 994456c4fd7b: Preparing 23:50:05 994456c4fd7b: Waiting 23:50:05 909379241686: Layer already exists 23:50:05 b0af63940f23: Layer already exists 23:50:05 67712a36a5cc: Layer already exists 23:50:05 4413f9f1c305: Layer already exists 23:50:05 fd90105619d1: Layer already exists 23:50:05 994456c4fd7b: Layer already exists 23:50:05 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5-4.0.0-dev.17: digest: sha256:861d6c3f416f96a7e24ab7476c8cd44783023fb7af491f79af00b26bdd6e733f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:05 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:06 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 23:50:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 23:50:06 67712a36a5cc: Preparing 23:50:06 4413f9f1c305: Preparing 23:50:06 fd90105619d1: Preparing 23:50:06 b0af63940f23: Preparing 23:50:06 909379241686: Preparing 23:50:06 994456c4fd7b: Preparing 23:50:06 994456c4fd7b: Waiting 23:50:06 b0af63940f23: Layer already exists 23:50:06 4413f9f1c305: Layer already exists 23:50:06 67712a36a5cc: Layer already exists 23:50:06 909379241686: Layer already exists 23:50:06 fd90105619d1: Layer already exists 23:50:06 994456c4fd7b: Layer already exists 23:50:06 main: digest: sha256:861d6c3f416f96a7e24ab7476c8cd44783023fb7af491f79af00b26bdd6e733f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:50:06 ===================================================== [Pipeline] echo 23:50:06 taggedImages: 23:50:06 - nexus3.edgexfoundry.org:10004/device-virtual:10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 23:50:06 - nexus3.edgexfoundry.org:10004/device-virtual:latest 23:50:06 - nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.17 23:50:06 - nexus3.edgexfoundry.org:10004/device-virtual:10c0576949a063dd5cf6a91dd144b4cdf6afd1d5-4.0.0-dev.17 23:50:06 - 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 23:50:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:50:06 23:50:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:50:07 latest: Pulling from edgex-lftools-log-publisher 23:50:07 5eb5b503b376: Pulling fs layer 23:50:07 5c69ac0246d0: Pulling fs layer 23:50:07 ec43610c2a17: Pulling fs layer 23:50:07 3a2ae6a8a46f: Pulling fs layer 23:50:07 33b1e0a273af: Pulling fs layer 23:50:07 5d3b04190fa2: Pulling fs layer 23:50:07 2f39f015ded8: Pulling fs layer 23:50:07 3a2ae6a8a46f: Waiting 23:50:07 33b1e0a273af: Waiting 23:50:07 5d3b04190fa2: Waiting 23:50:07 2f39f015ded8: Waiting 23:50:07 5c69ac0246d0: Download complete 23:50:07 3a2ae6a8a46f: Verifying Checksum 23:50:07 3a2ae6a8a46f: Download complete 23:50:07 33b1e0a273af: Verifying Checksum 23:50:07 33b1e0a273af: Download complete 23:50:07 ec43610c2a17: Verifying Checksum 23:50:07 ec43610c2a17: Download complete 23:50:07 5d3b04190fa2: Verifying Checksum 23:50:07 5d3b04190fa2: Download complete 23:50:07 5eb5b503b376: Verifying Checksum 23:50:07 5eb5b503b376: Download complete 23:50:07 2f39f015ded8: Download complete 23:50:08 5eb5b503b376: Pull complete 23:50:08 5c69ac0246d0: Pull complete 23:50:08 ec43610c2a17: Pull complete 23:50:09 3a2ae6a8a46f: Pull complete 23:50:09 33b1e0a273af: Pull complete 23:50:09 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:50:10 provisioning config files... 23:50:10 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/202@tmp/config8657889120881923646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:50:11 ---> ****-login.sh 23:50:11 nexus3.edgexfoundry.org:10001 23:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:50:11 Configure a credential helper to remove this warning. See 23:50:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:50:11 23:50:11 Login Succeeded 23:50:11 nexus3.edgexfoundry.org:10002 23:50:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:50:12 Configure a credential helper to remove this warning. See 23:50:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:50:12 23:50:12 Login Succeeded 23:50:12 nexus3.edgexfoundry.org:10003 23:50:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:50:12 Configure a credential helper to remove this warning. See 23:50:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:50:12 23:50:12 Login Succeeded 23:50:12 nexus3.edgexfoundry.org:10004 23:50:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:50:13 Configure a credential helper to remove this warning. See 23:50:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:50:13 23:50:13 Login Succeeded 23:50:13 ****.io 23:50:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:13 2f39f015ded8: Pull complete 23:50:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:50:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:50:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv 23:50:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:50:13 Configure a credential helper to remove this warning. See 23:50:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:50:13 23:50:13 Login Succeeded 23:50:13 ---> ****-login.sh ends [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:50:13 prd-ubuntu20.04-docker-8c-8g-40087 does not seem to be running inside a container 23:50:13 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:50:15 $ docker top 0d92f85dbe3d2861dbbba3dba2807bb0be8a1fccc929ea8f3c2c9f216534050b -eo pid,comm [Pipeline] { [Pipeline] } 23:50:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // withEnv [Pipeline] unstash 23:50:15 ---> job-cost.sh 23:50:15 lf-activate-venv: SKIPPING 23:50:15 INFO: No Stack... [Pipeline] echo 23:50:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:50:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:50:16 ========================================================= 23:50:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 23:50:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:16 INFO: Retrieving Pricing Info for: v3-standard-8 23:50:16 + 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 . 23:50:16 INFO: Archiving Costs [Pipeline] sh 23:50:16 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 23:50:16 + cut -d, -f6 [Pipeline] lock 23:50:16 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-202-stack-cost] 23:50:16 Resource [jenkins-edgexfoundry-device-virtual-go-main-202-stack-cost] did not exist. Created. 23:50:16 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-202-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:50:17 Sending build context to Docker daemon 19.13MB 23:50:17 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 23:50:17 Step 2/12 : FROM ${BASE} AS builder 23:50:17 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:50:17 9986a736f7d3: Pulling fs layer 23:50:17 1f018df60701: Pulling fs layer 23:50:17 39f8f326b044: Pulling fs layer 23:50:17 e6a1e7a6a96a: Pulling fs layer 23:50:17 4f4fb700ef54: Pulling fs layer 23:50:17 d45d956e0dbf: Pulling fs layer 23:50:17 d7702b0d1db1: Pulling fs layer 23:50:17 5c7f0f088c93: Pulling fs layer 23:50:17 4fdc064ae6cf: Pulling fs layer 23:50:17 d45d956e0dbf: Waiting 23:50:17 d7702b0d1db1: Waiting 23:50:17 5c7f0f088c93: Waiting 23:50:17 4fdc064ae6cf: Waiting 23:50:17 e6a1e7a6a96a: Waiting 23:50:17 4f4fb700ef54: Waiting 23:50:17 + echo total: 0.2199999988079071 [Pipeline] stash 23:50:17 Stashed 1 file(s) [Pipeline] } 23:50:17 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-202-stack-cost] [Pipeline] // lock [Pipeline] } 23:50:17 $ docker stop --time=1 0d92f85dbe3d2861dbbba3dba2807bb0be8a1fccc929ea8f3c2c9f216534050b 23:50:17 1f018df60701: Download complete 23:50:17 e6a1e7a6a96a: Verifying Checksum 23:50:17 e6a1e7a6a96a: Download complete 23:50:17 4f4fb700ef54: Verifying Checksum 23:50:17 4f4fb700ef54: Download complete 23:50:17 d45d956e0dbf: Verifying Checksum 23:50:17 d45d956e0dbf: Download complete 23:50:17 d7702b0d1db1: Verifying Checksum 23:50:17 d7702b0d1db1: Download complete 23:50:17 9986a736f7d3: Verifying Checksum 23:50:17 9986a736f7d3: Download complete 23:50:17 4fdc064ae6cf: Verifying Checksum 23:50:17 4fdc064ae6cf: Download complete 23:50:18 9986a736f7d3: Pull complete 23:50:18 $ docker rm -f --volumes 0d92f85dbe3d2861dbbba3dba2807bb0be8a1fccc929ea8f3c2c9f216534050b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:50:18 1f018df60701: Pull complete 23:50:19 39f8f326b044: Verifying Checksum 23:50:19 39f8f326b044: Download complete 23:50:19 5c7f0f088c93: Verifying Checksum 23:50:19 5c7f0f088c93: Download complete 23:50:35 39f8f326b044: Pull complete 23:50:35 e6a1e7a6a96a: Pull complete 23:50:35 4f4fb700ef54: Pull complete 23:50:35 d45d956e0dbf: Pull complete 23:50:35 d7702b0d1db1: Pull complete 23:50:43 5c7f0f088c93: Pull complete 23:50:44 4fdc064ae6cf: Pull complete 23:50:44 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 23:50:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 23:50:44 ---> 63f30b955cb9 23:50:44 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:50:45 ---> Running in 93811230783b 23:50:45 Removing intermediate container 93811230783b 23:50:45 ---> 1d0b3e4f5252 23:50:45 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:50:45 ---> Running in 13f2a209e0c3 23:50:46 Removing intermediate container 13f2a209e0c3 23:50:46 ---> bf06ea62c33e 23:50:46 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:50:46 ---> Running in b118a2bbc6a3 23:50:46 Removing intermediate container b118a2bbc6a3 23:50:46 ---> 251b6e568da0 23:50:46 Step 6/12 : WORKDIR /device-virtual-go 23:50:46 ---> Running in 415fcad5cd1b 23:50:46 Removing intermediate container 415fcad5cd1b 23:50:46 ---> 81493198cbf7 23:50:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:50:46 ---> Running in 256b24a2120c 23:50:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 23:50:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 23:50:49 (1/4) Installing openssh-keygen (9.7_p1-r5) 23:50:49 (2/4) Installing libedit (20240517.3.1-r0) 23:50:49 (3/4) Installing openssh-client-common (9.7_p1-r5) 23:50:49 (4/4) Installing openssh-client-default (9.7_p1-r5) 23:50:49 Executing busybox-1.36.1-r29.trigger 23:50:49 OK: 244 MiB in 62 packages 23:50:51 Removing intermediate container 256b24a2120c 23:50:51 ---> 7ed93015ae82 23:50:51 Step 8/12 : COPY go.mod vendor* ./ 23:50:51 ---> ebd3d3c7c7ea 23:50:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:50:51 ---> Running in c344ef8e5037 23:52:43 Removing intermediate container c344ef8e5037 23:52:43 ---> da5203e83c28 23:52:43 Step 10/12 : COPY . . 23:52:43 ---> cf52179cfd56 23:52:43 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:52:43 ---> Running in 7b42882257b7 23:52:43 Removing intermediate container 7b42882257b7 23:52:43 ---> 811d09e856ee 23:52:43 Step 12/12 : RUN $MAKE 23:52:43 ---> Running in c31174580cf6 23:52:43 noop 23:52:43 Removing intermediate container c31174580cf6 23:52:43 ---> 42818677d7a6 23:52:43 Successfully built 42818677d7a6 23:52:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:43 + docker inspect -f . ci-base-image-arm64 23:52:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:43 prd-ubuntu20.04-docker-arm64-4c-16g-40088 does not seem to be running inside a container 23:52:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/202 -v /w/workspace/device-virtual-go/202:/w/workspace/device-virtual-go/202:rw,z -v /w/workspace/device-virtual-go/202@tmp:/w/workspace/device-virtual-go/202@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 23:52:45 $ docker top d6bd1bf0992c68a62146cf2af5fedf3f23b1513ab6a6686da0e9416594ab6496 -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:45 + go version 23:52:45 go version go1.23.4 linux/arm64 [Pipeline] } 23:52:45 $ docker stop --time=1 d6bd1bf0992c68a62146cf2af5fedf3f23b1513ab6a6686da0e9416594ab6496 23:52:47 $ docker rm -f --volumes d6bd1bf0992c68a62146cf2af5fedf3f23b1513ab6a6686da0e9416594ab6496 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:48 + docker inspect -f . ci-base-image-arm64 23:52:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:48 prd-ubuntu20.04-docker-arm64-4c-16g-40088 does not seem to be running inside a container 23:52:48 $ 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/202 -v /w/workspace/device-virtual-go/202:/w/workspace/device-virtual-go/202:rw,z -v /w/workspace/device-virtual-go/202@tmp:/w/workspace/device-virtual-go/202@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 23:52:49 $ docker top c221084b6cb53c653a843f351a6c323f3c1e0f4b19619b4bfa8836f1a6a5b7a4 -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:50 + git config --global --add safe.directory /w/workspace/device-virtual-go/202 [Pipeline] fileExists [Pipeline] sh 23:52:50 + make test 23:52:50 go test ./... -coverprofile=coverage.out 23:52:56 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:56:02 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 23:56:02 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.070s coverage: 58.3% of statements 23:56:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:56:02 go vet ./... 23:56:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:56:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:56:49 ./bin/test-attribution-txt.sh [Pipeline] echo 23:56:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:56:49 $ docker stop --time=1 c221084b6cb53c653a843f351a6c323f3c1e0f4b19619b4bfa8836f1a6a5b7a4 23:56:51 $ docker rm -f --volumes c221084b6cb53c653a843f351a6c323f3c1e0f4b19619b4bfa8836f1a6a5b7a4 [Pipeline] // withDockerContainer [Pipeline] sh 23:56:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:56:53 Warning: overwriting stash ‘coverage-report’ 23:56:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:56:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:56:54 + ls -al . 23:56:54 total 260 23:56:54 drwxrwxr-x 7 jenkins jenkins 4096 Mar 3 23:52 . 23:56:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 23:49 .. 23:56:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 23:49 .git 23:56:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 23:49 .github 23:56:54 -rw-rw-r-- 1 jenkins jenkins 272 Mar 3 23:49 .gitignore 23:56:54 -rw-rw-r-- 1 jenkins jenkins 199 Mar 3 23:49 .golangci.yml 23:56:54 -rw-rw-r-- 1 jenkins jenkins 18321 Mar 3 23:49 Attribution.txt 23:56:54 -rw-rw-r-- 1 jenkins jenkins 15941 Mar 3 23:49 CHANGELOG.md 23:56:54 -rw-rw-r-- 1 jenkins jenkins 1755 Mar 3 23:49 Dockerfile 23:56:54 -rw-rw-r-- 1 jenkins jenkins 677 Mar 3 23:49 GOVERNANCE.md 23:56:54 -rw-rw-r-- 1 jenkins jenkins 660 Mar 3 23:49 Jenkinsfile 23:56:54 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 3 23:49 LICENSE 23:56:54 -rw-rw-r-- 1 jenkins jenkins 2652 Mar 3 23:49 Makefile 23:56:54 -rw-rw-r-- 1 jenkins jenkins 623 Mar 3 23:49 OWNERS.md 23:56:54 -rw-rw-r-- 1 jenkins jenkins 4473 Mar 3 23:49 README.md 23:56:54 -rw-rw-r-- 1 jenkins jenkins 12 Mar 3 23:47 VERSION 23:56:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 23:49 bin 23:56:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 23:49 cmd 23:56:54 -rw-r--r-- 1 jenkins jenkins 43316 Mar 3 23:55 coverage.out 23:56:54 -rw-rw-r-- 1 jenkins jenkins 6080 Mar 3 23:49 go.mod 23:56:54 -rw-rw-r-- 1 jenkins jenkins 86628 Mar 3 23:49 go.sum 23:56:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 23:49 internal 23:56:54 -rw-rw-r-- 1 jenkins jenkins 235 Mar 3 23:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:54 + 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=10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 --label arch=arm64 --label version=4.0.0-dev.17 . 23:56:55 Sending build context to Docker daemon 19.18MB 23:56:55 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 23:56:55 Step 2/26 : FROM ${BASE} AS builder 23:56:55 ---> 42818677d7a6 23:56:55 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:56:55 ---> Running in b6e74ae28161 23:56:55 Removing intermediate container b6e74ae28161 23:56:55 ---> baf0a99d35a6 23:56:55 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:56:55 ---> Running in 2162e2bb1078 23:56:56 Removing intermediate container 2162e2bb1078 23:56:56 ---> f194ce955a49 23:56:56 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:56:56 ---> Running in 77e7c516c547 23:56:56 Removing intermediate container 77e7c516c547 23:56:56 ---> d9785b70d80e 23:56:56 Step 6/26 : WORKDIR /device-virtual-go 23:56:56 ---> Running in c0dd3334ed53 23:56:56 Removing intermediate container c0dd3334ed53 23:56:56 ---> 7317a84801bd 23:56:56 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:56:56 ---> Running in 6d4d455f36e1 23:56:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 23:56:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 23:56:59 OK: 244 MiB in 62 packages 23:57:00 Removing intermediate container 6d4d455f36e1 23:57:00 ---> 3136231c9311 23:57:00 Step 8/26 : COPY go.mod vendor* ./ 23:57:01 ---> faeca8594bf1 23:57:01 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:57:01 ---> Running in dce9134e2b05 23:57:03 Removing intermediate container dce9134e2b05 23:57:03 ---> 403865d8cf52 23:57:03 Step 10/26 : COPY . . 23:57:05 ---> 4a8e9b586e6d 23:57:05 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:57:05 ---> Running in 15d61b026520 23:57:05 Removing intermediate container 15d61b026520 23:57:05 ---> a732847e5a2c 23:57:05 Step 12/26 : RUN $MAKE 23:57:05 ---> Running in 172c9034bbf5 23:57:06 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=4.0.0-dev.17 -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 00:00:13 Removing intermediate container 172c9034bbf5 00:00:13 ---> 445e7d2b745d 00:00:13 Step 13/26 : FROM alpine:3.20 00:00:13 3.20: Pulling from library/alpine 00:00:13 94e9d8af2201: Pulling fs layer 00:00:13 94e9d8af2201: Verifying Checksum 00:00:13 94e9d8af2201: Download complete 00:00:14 94e9d8af2201: Pull complete 00:00:14 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 00:00:14 Status: Downloaded newer image for alpine:3.20 00:00:14 ---> 7aab056cecc6 00:00:14 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 00:00:14 ---> Running in 43441931e4ef 00:00:14 Removing intermediate container 43441931e4ef 00:00:14 ---> f53febc3cd80 00:00:14 Step 15/26 : RUN apk add --update --no-cache dumb-init 00:00:14 ---> Running in 7882d5751ffb 00:00:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 00:00:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 00:00:17 (1/1) Installing dumb-init (1.2.5-r3) 00:00:17 Executing busybox-1.36.1-r29.trigger 00:00:17 OK: 9 MiB in 15 packages 00:00:18 Removing intermediate container 7882d5751ffb 00:00:18 ---> 04ef1be3db9f 00:00:18 Step 16/26 : RUN apk --no-cache upgrade 00:00:18 ---> Running in ff89de8db24e 00:00:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 00:00:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 00:00:21 OK: 9 MiB in 15 packages 00:00:21 Removing intermediate container ff89de8db24e 00:00:21 ---> 343447629fb7 00:00:21 Step 17/26 : WORKDIR / 00:00:21 ---> Running in 394c2f43f1e2 00:00:22 Removing intermediate container 394c2f43f1e2 00:00:22 ---> 591b36249da2 00:00:22 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 00:00:22 ---> 21853ae43149 00:00:22 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 00:00:23 ---> 15d6f27eceb6 00:00:23 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 00:00:24 ---> 9891862b60e0 00:00:24 Step 21/26 : EXPOSE 59900 00:00:24 ---> Running in 0b32e8406812 00:00:25 Removing intermediate container 0b32e8406812 00:00:25 ---> f7baa68f7a30 00:00:25 Step 22/26 : ENTRYPOINT ["/device-virtual"] 00:00:25 ---> Running in 3b6a8885e58e 00:00:25 Removing intermediate container 3b6a8885e58e 00:00:25 ---> 37e7c8570a40 00:00:25 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 00:00:25 ---> Running in e129e39dd945 00:00:25 Removing intermediate container e129e39dd945 00:00:25 ---> 87f035d9a0d1 00:00:25 Step 24/26 : LABEL arch=arm64 00:00:25 ---> Running in a203ee59fcc8 00:00:26 Removing intermediate container a203ee59fcc8 00:00:26 ---> ff51b2f8ea30 00:00:26 Step 25/26 : LABEL git_sha=10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 00:00:26 ---> Running in ae3a43175001 00:00:26 Removing intermediate container ae3a43175001 00:00:26 ---> 4d1ae68a06fe 00:00:26 Step 26/26 : LABEL version=4.0.0-dev.17 00:00:26 ---> Running in 38164372570b 00:00:26 Removing intermediate container 38164372570b 00:00:26 ---> eb0a53112c1e 00:00:26 [Warning] One or more build-args [ARCH] were not consumed 00:00:26 Successfully built eb0a53112c1e 00:00:26 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 00:00:26 provisioning config files... 00:00:26 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/202@tmp/config16858545216327835261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:00:27 ---> ****-login.sh 00:00:27 nexus3.edgexfoundry.org:10001 00:00:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:00:27 Configure a credential helper to remove this warning. See 00:00:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:00:27 00:00:27 Login Succeeded 00:00:27 nexus3.edgexfoundry.org:10002 00:00:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:00:27 Configure a credential helper to remove this warning. See 00:00:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:00:27 00:00:27 Login Succeeded 00:00:27 nexus3.edgexfoundry.org:10003 00:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:00:28 Configure a credential helper to remove this warning. See 00:00:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:00:28 00:00:28 Login Succeeded 00:00:28 nexus3.edgexfoundry.org:10004 00:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:00:28 Configure a credential helper to remove this warning. See 00:00:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:00:28 00:00:28 Login Succeeded 00:00:28 ****.io 00:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:00:29 Configure a credential helper to remove this warning. See 00:00:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:00:29 00:00:29 Login Succeeded 00:00:29 ---> ****-login.sh ends [Pipeline] } 00:00:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:00:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:00:29 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 00:00:29 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 00:00:29 latest 00:00:29 4.0.0-dev.17 00:00:29 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5-4.0.0-dev.17 00:00:29 main 00:00:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:29 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:29 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 00:00:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:00:29 b886374c949a: Preparing 00:00:29 fa00e0f305e4: Preparing 00:00:29 635133b8dafa: Preparing 00:00:29 3eb40bae3ba1: Preparing 00:00:29 a342d479899f: Preparing 00:00:29 dd9c8f8612c8: Preparing 00:00:29 dd9c8f8612c8: Waiting 00:00:30 fa00e0f305e4: Pushed 00:00:30 3eb40bae3ba1: Pushed 00:00:30 dd9c8f8612c8: Layer already exists 00:00:30 635133b8dafa: Pushed 00:00:30 a342d479899f: Pushed 00:00:38 b886374c949a: Pushed 00:00:38 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5: digest: sha256:4d91fc9f3ffd144b2ed8f9f156f5582351943ebcb8ddd639615fad778329db5d size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:38 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:39 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 00:00:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:00:39 b886374c949a: Preparing 00:00:39 fa00e0f305e4: Preparing 00:00:39 635133b8dafa: Preparing 00:00:39 3eb40bae3ba1: Preparing 00:00:39 a342d479899f: Preparing 00:00:39 dd9c8f8612c8: Preparing 00:00:39 dd9c8f8612c8: Waiting 00:00:39 3eb40bae3ba1: Layer already exists 00:00:39 fa00e0f305e4: Layer already exists 00:00:39 635133b8dafa: Layer already exists 00:00:39 b886374c949a: Layer already exists 00:00:39 a342d479899f: Layer already exists 00:00:39 dd9c8f8612c8: Layer already exists 00:00:39 latest: digest: sha256:4d91fc9f3ffd144b2ed8f9f156f5582351943ebcb8ddd639615fad778329db5d size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:39 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.17 00:00:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:00:40 b886374c949a: Preparing 00:00:40 fa00e0f305e4: Preparing 00:00:40 635133b8dafa: Preparing 00:00:40 3eb40bae3ba1: Preparing 00:00:40 a342d479899f: Preparing 00:00:40 dd9c8f8612c8: Preparing 00:00:40 dd9c8f8612c8: Waiting 00:00:40 b886374c949a: Layer already exists 00:00:40 3eb40bae3ba1: Layer already exists 00:00:40 a342d479899f: Layer already exists 00:00:40 fa00e0f305e4: Layer already exists 00:00:40 635133b8dafa: Layer already exists 00:00:40 dd9c8f8612c8: Layer already exists 00:00:40 4.0.0-dev.17: digest: sha256:4d91fc9f3ffd144b2ed8f9f156f5582351943ebcb8ddd639615fad778329db5d size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:40 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:10c0576949a063dd5cf6a91dd144b4cdf6afd1d5-4.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:10c0576949a063dd5cf6a91dd144b4cdf6afd1d5-4.0.0-dev.17 00:00:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:00:40 b886374c949a: Preparing 00:00:40 fa00e0f305e4: Preparing 00:00:40 635133b8dafa: Preparing 00:00:40 3eb40bae3ba1: Preparing 00:00:40 a342d479899f: Preparing 00:00:40 dd9c8f8612c8: Preparing 00:00:40 dd9c8f8612c8: Waiting 00:00:40 635133b8dafa: Layer already exists 00:00:40 3eb40bae3ba1: Layer already exists 00:00:40 a342d479899f: Layer already exists 00:00:40 b886374c949a: Layer already exists 00:00:40 fa00e0f305e4: Layer already exists 00:00:40 dd9c8f8612c8: Layer already exists 00:00:40 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5-4.0.0-dev.17: digest: sha256:4d91fc9f3ffd144b2ed8f9f156f5582351943ebcb8ddd639615fad778329db5d size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:41 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 00:00:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:00:41 b886374c949a: Preparing 00:00:41 fa00e0f305e4: Preparing 00:00:41 635133b8dafa: Preparing 00:00:41 3eb40bae3ba1: Preparing 00:00:41 a342d479899f: Preparing 00:00:41 dd9c8f8612c8: Preparing 00:00:41 dd9c8f8612c8: Waiting 00:00:41 a342d479899f: Layer already exists 00:00:41 b886374c949a: Layer already exists 00:00:41 fa00e0f305e4: Layer already exists 00:00:41 3eb40bae3ba1: Layer already exists 00:00:41 635133b8dafa: Layer already exists 00:00:41 dd9c8f8612c8: Layer already exists 00:00:42 main: digest: sha256:4d91fc9f3ffd144b2ed8f9f156f5582351943ebcb8ddd639615fad778329db5d size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:00:42 ===================================================== [Pipeline] echo 00:00:42 taggedImages: 00:00:42 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 00:00:42 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 00:00:42 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.17 00:00:42 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:10c0576949a063dd5cf6a91dd144b4cdf6afd1d5-4.0.0-dev.17 00:00:42 - 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 00:00:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:00:42 00:00:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:00:42 arm64: Pulling from edgex-lftools-log-publisher 00:00:42 8998bd30e6a1: Pulling fs layer 00:00:42 04944245beec: Pulling fs layer 00:00:42 699f458cf7ca: Pulling fs layer 00:00:42 765212b225bb: Pulling fs layer 00:00:42 f23df028b6ca: Pulling fs layer 00:00:42 d65c8cfc05b1: Pulling fs layer 00:00:42 2437ff75d9bd: Pulling fs layer 00:00:42 765212b225bb: Waiting 00:00:42 d65c8cfc05b1: Waiting 00:00:42 f23df028b6ca: Waiting 00:00:42 2437ff75d9bd: Waiting 00:00:43 04944245beec: Verifying Checksum 00:00:43 04944245beec: Download complete 00:00:43 765212b225bb: Verifying Checksum 00:00:43 765212b225bb: Download complete 00:00:43 f23df028b6ca: Download complete 00:00:43 d65c8cfc05b1: Verifying Checksum 00:00:43 d65c8cfc05b1: Download complete 00:00:43 699f458cf7ca: Verifying Checksum 00:00:43 699f458cf7ca: Download complete 00:00:43 8998bd30e6a1: Verifying Checksum 00:00:43 8998bd30e6a1: Download complete 00:00:46 2437ff75d9bd: Verifying Checksum 00:00:46 2437ff75d9bd: Download complete 00:00:48 8998bd30e6a1: Pull complete 00:00:48 04944245beec: Pull complete 00:00:50 699f458cf7ca: Pull complete 00:00:50 765212b225bb: Pull complete 00:00:51 f23df028b6ca: Pull complete 00:00:51 d65c8cfc05b1: Pull complete 00:01:09 2437ff75d9bd: Pull complete 00:01:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:01:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:01:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:09 prd-ubuntu20.04-docker-arm64-4c-16g-40088 does not seem to be running inside a container 00:01:09 $ 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/202 -v /w/workspace/device-virtual-go/202:/w/workspace/device-virtual-go/202:rw,z -v /w/workspace/device-virtual-go/202@tmp:/w/workspace/device-virtual-go/202@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 00:01:12 $ docker top 8737411f0cb0a22772a159dffdb6b154eab72ed8ff274bbff284f50df3840a24 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:01:13 ---> job-cost.sh 00:01:13 lf-activate-venv: SKIPPING 00:01:13 INFO: No Stack... 00:01:13 INFO: Retrieving Pricing Info for: v3-standard-4 00:01:14 INFO: Archiving Costs [Pipeline] sh 00:01:15 + cat /w/workspace/device-virtual-go/202/archives/cost.csv 00:01:15 + cut -d, -f6 [Pipeline] lock 00:01:15 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-202-stack-cost] 00:01:15 Resource [jenkins-edgexfoundry-device-virtual-go-main-202-stack-cost] did not exist. Created. 00:01:15 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-202-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:01:16 /w/workspace/device-virtual-go/202@tmp/durable-a19883a5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:01:16 + echo total: 0.10999999940395355 [Pipeline] stash 00:01:16 Warning: overwriting stash ‘stack-cost’ 00:01:16 Stashed 1 file(s) [Pipeline] } 00:01:16 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-202-stack-cost] [Pipeline] // lock [Pipeline] } 00:01:16 $ docker stop --time=1 8737411f0cb0a22772a159dffdb6b154eab72ed8ff274bbff284f50df3840a24 00:01:18 $ docker rm -f --volumes 8737411f0cb0a22772a159dffdb6b154eab72ed8ff274bbff284f50df3840a24 [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 00:01:19 provisioning config files... 00:01:19 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6882661416721818268tmp [Pipeline] { [Pipeline] sh 00:01:19 + set +x 00:01:19 + curl -s https://codecov.io/bash 00:01:19 + bash -s -- 00:01:19 00:01:19 _____ _ 00:01:19 / ____| | | 00:01:19 | | ___ __| | ___ ___ _____ __ 00:01:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:01:19 | |___| (_) | (_| | __/ (_| (_) \ V / 00:01:19 \_____\___/ \__,_|\___|\___\___/ \_/ 00:01:19 Bash-1.0.6 00:01:19 00:01:19 00:01:19 ==> git version 2.25.1 found 00:01:19 ==> 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 00:01:19 Release-Date: 2020-01-08 00:01:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:01:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:01:19 ==> Jenkins CI detected. 00:01:19 current dir:  /w/workspace/exfoundry_device-virtual-go_main 00:01:19 project root: . 00:01:19 --> token set from env 00:01:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:01:19 ==> Running gcov in . (disable via -X gcov) 00:01:19 ==> Python coveragepy not found 00:01:19 ==> Searching for coverage reports in: 00:01:19 + . 00:01:19 -> Found 1 reports 00:01:19 ==> Detecting git/mercurial file structure 00:01:19 ==> Reading reports 00:01:19 + ./coverage.out bytes=43316 00:01:19 ==> Appending adjustments 00:01:19 https://docs.codecov.io/docs/fixing-reports 00:01:19 + Found adjustments 00:01:19 ==> Gzipping contents 00:01:19 8.0K /tmp/codecov.IVm2IK.gz 00:01:19 ==> Uploading reports 00:01:19 url: https://codecov.io 00:01:19 query: branch=main&commit=10c0576949a063dd5cf6a91dd144b4cdf6afd1d5&build=202&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F202%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:01:19 -> Pinging Codecov 00:01:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=10c0576949a063dd5cf6a91dd144b4cdf6afd1d5&build=202&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F202%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:01:20 -> Uploading to 00:01:20 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-virtual-go/10c0576949a063dd5cf6a91dd144b4cdf6afd1d5/9975b79d-9f7e-4048-a3c0-57dd2c7ab3e4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250304%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250304T000119Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=08b750337ae8bed83f4a129d4b3f5b9f3fc0f66e1d0809e3242fe6a185aaf61a 00:01:20 % Total % Received % Xferd Average Speed Time Time Time Current 00:01:20 Dload Upload Total Spent Left Speed 00:01:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5040 0 0 100 5040 0 23333 --:--:-- --:--:-- --:--:-- 23333 00:01:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 [Pipeline] } 00:01:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:01:20 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:01:20 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 00:01:20 00:01:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 00:01:21 latest: Pulling from edgex-devops/edgex-snyk-go 00:01:21 43c4264eed91: Pulling fs layer 00:01:21 4cc291be95ef: Pulling fs layer 00:01:21 2ac1f1163629: Pulling fs layer 00:01:21 5c3c966382ef: Pulling fs layer 00:01:21 4f4fb700ef54: Pulling fs layer 00:01:21 d9c7d2e4e75e: Pulling fs layer 00:01:21 9c3e1370e548: Pulling fs layer 00:01:21 5c3c966382ef: Waiting 00:01:21 4f4fb700ef54: Waiting 00:01:21 d9c7d2e4e75e: Waiting 00:01:21 9c3e1370e548: Waiting 00:01:21 4cc291be95ef: Download complete 00:01:21 5c3c966382ef: Verifying Checksum 00:01:21 5c3c966382ef: Download complete 00:01:21 4f4fb700ef54: Verifying Checksum 00:01:21 4f4fb700ef54: Download complete 00:01:21 43c4264eed91: Verifying Checksum 00:01:21 43c4264eed91: Download complete 00:01:21 d9c7d2e4e75e: Download complete 00:01:21 43c4264eed91: Pull complete 00:01:21 4cc291be95ef: Pull complete 00:01:21 2ac1f1163629: Verifying Checksum 00:01:21 2ac1f1163629: Download complete 00:01:22 9c3e1370e548: Verifying Checksum 00:01:22 9c3e1370e548: Download complete 00:01:24 2ac1f1163629: Pull complete 00:01:24 5c3c966382ef: Pull complete 00:01:24 4f4fb700ef54: Pull complete 00:01:24 d9c7d2e4e75e: Pull complete 00:01:28 9c3e1370e548: Pull complete 00:01:28 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 00:01:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 00:01:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:28 prd-ubuntu20.04-docker-8c-8g-40087 does not seem to be running inside a container 00:01:28 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 00:01:30 $ docker top 37172f1eafc51de33ad442a461d3a0d5d564bd4461f7ac53ff48f2e48d3aa685 -eo pid,comm [Pipeline] { [Pipeline] sh 00:01:30 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] echo 00:01:30 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 00:01:31 + set -o pipefail 00:01:31 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 00:01:39 00:01:39 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 00:01:39 00:01:39 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/4c51b4af-f1e0-4b23-b385-fd75a099f123/history/aa2203a8-7233-43ff-938c-b025821eceda 00:01:39 00:01:39 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:01:39 00:01:39 00:01:39 You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. 00:01:39 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 00:01:39 $ docker stop --time=1 37172f1eafc51de33ad442a461d3a0d5d564bd4461f7ac53ff48f2e48d3aa685 00:01:41 $ docker rm -f --volumes 37172f1eafc51de33ad442a461d3a0d5d564bd4461f7ac53ff48f2e48d3aa685 [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 00:01:42 + git log --format=format:%s -1 10c0576949a063dd5cf6a91dd144b4cdf6afd1d5 [Pipeline] sh 00:01:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:01:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:01:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:43 prd-ubuntu20.04-docker-8c-8g-40087 does not seem to be running inside a container 00:01:43 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:01:43 $ docker top d61050b73f511d0025e03784dd2ede327719f01eb37529af85512d49b5dc644c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:01:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:01:43 [ssh-agent] Looking for ssh-agent implementation... 00:01:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:01:43 $ docker exec d61050b73f511d0025e03784dd2ede327719f01eb37529af85512d49b5dc644c ssh-agent 00:01:44 SSH_AUTH_SOCK=/tmp/ssh-50jzVski9N9p/agent.32 00:01:44 SSH_AGENT_PID=38 00:01:44 Running ssh-add (command line suppressed) 00:01:44 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1359795664412829050.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1359795664412829050.key) 00:01:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:01:44 + git semver tag 00:01:44 2025-03-04 00:01:44,625 [run_tag] DEBUG tag force:False 00:01:44 2025-03-04 00:01:44,625 [check_head_tag] DEBUG check head tag 00:01:44 2025-03-04 00:01:44,627 [execute] INFO git cat-file --batch-check 00:01:44 2025-03-04 00:01:44,627 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 00:01:44 2025-03-04 00:01:44,630 [execute] INFO git cat-file --batch 00:01:44 2025-03-04 00:01:44,631 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 00:01:44 2025-03-04 00:01:44,651 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:01:44 2025-03-04 00:01:44,652 [execute] INFO git tag -a v4.0.0-dev.17 -m v4.0.0-dev.17 00:01:44 2025-03-04 00:01:44,652 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.17', '-m', 'v4.0.0-dev.17'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 00:01:44 2025-03-04 00:01:44,657 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:01:44 4.0.0-dev.17 [Pipeline] } 00:01:44 $ docker exec --env ******** --env ******** d61050b73f511d0025e03784dd2ede327719f01eb37529af85512d49b5dc644c ssh-agent -k 00:01:44 unset SSH_AUTH_SOCK; 00:01:44 unset SSH_AGENT_PID; 00:01:44 echo Agent pid 38 killed; 00:01:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:01:45 + git semver [Pipeline] } 00:01:45 $ docker stop --time=1 d61050b73f511d0025e03784dd2ede327719f01eb37529af85512d49b5dc644c 00:01:46 $ docker rm -f --volumes d61050b73f511d0025e03784dd2ede327719f01eb37529af85512d49b5dc644c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:01:47 00:01:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:01:47 0.23.1-centos7: Pulling from edgex-lftools 00:01:47 ab5ef0e58194: Pulling fs layer 00:01:47 9712f1f96733: Pulling fs layer 00:01:47 63f879dbbcfc: Pulling fs layer 00:01:47 0d9ebad4ef96: Pulling fs layer 00:01:47 e9a5061849ea: Pulling fs layer 00:01:47 d747dcd14b5f: Pulling fs layer 00:01:47 2de7ff778b66: Pulling fs layer 00:01:47 e9a5061849ea: Waiting 00:01:47 d747dcd14b5f: Waiting 00:01:47 2de7ff778b66: Waiting 00:01:47 0d9ebad4ef96: Waiting 00:01:47 9712f1f96733: Download complete 00:01:47 63f879dbbcfc: Verifying Checksum 00:01:47 63f879dbbcfc: Download complete 00:01:48 e9a5061849ea: Verifying Checksum 00:01:48 e9a5061849ea: Download complete 00:01:48 d747dcd14b5f: Verifying Checksum 00:01:48 d747dcd14b5f: Download complete 00:01:48 ab5ef0e58194: Verifying Checksum 00:01:48 ab5ef0e58194: Download complete 00:01:48 0d9ebad4ef96: Verifying Checksum 00:01:48 0d9ebad4ef96: Download complete 00:01:48 2de7ff778b66: Verifying Checksum 00:01:48 2de7ff778b66: Download complete 00:01:50 ab5ef0e58194: Pull complete 00:01:50 9712f1f96733: Pull complete 00:01:51 63f879dbbcfc: Pull complete 00:01:55 0d9ebad4ef96: Pull complete 00:01:55 e9a5061849ea: Pull complete 00:01:55 d747dcd14b5f: Pull complete 00:01:56 2de7ff778b66: Pull complete 00:01:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:01:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:01:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:56 prd-ubuntu20.04-docker-8c-8g-40087 does not seem to be running inside a container 00:01: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:01:58 $ docker top b94539dff6f3c0fe98757035ae5953a15efd2fc4e187df6031330a1c039b4f85 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:01:58 provisioning config files... 00:01:58 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1547226527240510114tmp 00:01:58 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6306624930304799412tmp 00:01:58 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16872051246727932729tmp [Pipeline] { [Pipeline] echo 00:01:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:01:59 ---> sigul-configuration.sh 00:01:59 gpg: directory `/root/.gnupg' created 00:01:59 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:01:59 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:01:59 gpg: keyring `/root/.gnupg/secring.gpg' created 00:01:59 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:01:59 gpg: CAST5 encrypted data 00:01:59 gpg: encrypted with 1 passphrase 00:01:59 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:01:59 + mkdir /home/jenkins 00:01:59 + mkdir /home/jenkins/sigul [Pipeline] sh 00:01:59 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 00:01:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:02:00 ---> sigul-install.sh 00:02:00 Sigul already installed; skipping installation. [Pipeline] sh 00:02:00 + git tag --list 00:02:00 v1.0.0 00:02:00 v1.1.0 00:02:00 v1.1.1 00:02:00 v1.2.1 00:02:00 v1.2.2 00:02:00 v1.2.3 00:02:00 v1.3.0 00:02:00 v1.3.1 00:02:00 v2.0.0 00:02:00 v2.1.0 00:02:00 v2.1.1 00:02:00 v2.2.0 00:02:00 v2.3.0 00:02:00 v3.0 00:02:00 v3.0.0 00:02:00 v3.1 00:02:00 v3.1.0 00:02:00 v3.1.0-dev.1 00:02:00 v3.1.0-dev.10 00:02:00 v3.1.0-dev.11 00:02:00 v3.1.0-dev.12 00:02:00 v3.1.0-dev.13 00:02:00 v3.1.0-dev.14 00:02:00 v3.1.0-dev.15 00:02:00 v3.1.0-dev.16 00:02:00 v3.1.0-dev.17 00:02:00 v3.1.0-dev.18 00:02:00 v3.1.0-dev.19 00:02:00 v3.1.0-dev.2 00:02:00 v3.1.0-dev.20 00:02:00 v3.1.0-dev.21 00:02:00 v3.1.0-dev.22 00:02:00 v3.1.0-dev.23 00:02:00 v3.1.0-dev.24 00:02:00 v3.1.0-dev.25 00:02:00 v3.1.0-dev.26 00:02:00 v3.1.0-dev.27 00:02:00 v3.1.0-dev.28 00:02:00 v3.1.0-dev.29 00:02:00 v3.1.0-dev.3 00:02:00 v3.1.0-dev.30 00:02:00 v3.1.0-dev.4 00:02:00 v3.1.0-dev.5 00:02:00 v3.1.0-dev.6 00:02:00 v3.1.0-dev.7 00:02:00 v3.1.0-dev.8 00:02:00 v3.1.0-dev.9 00:02:00 v3.1.1 00:02:00 v3.1.1-dev.1 00:02:00 v3.2.0-dev.1 00:02:00 v3.2.0-dev.10 00:02:00 v3.2.0-dev.11 00:02:00 v3.2.0-dev.12 00:02:00 v3.2.0-dev.13 00:02:00 v3.2.0-dev.14 00:02:00 v3.2.0-dev.15 00:02:00 v3.2.0-dev.16 00:02:00 v3.2.0-dev.17 00:02:00 v3.2.0-dev.18 00:02:00 v3.2.0-dev.19 00:02:00 v3.2.0-dev.2 00:02:00 v3.2.0-dev.20 00:02:00 v3.2.0-dev.21 00:02:00 v3.2.0-dev.22 00:02:00 v3.2.0-dev.23 00:02:00 v3.2.0-dev.24 00:02:00 v3.2.0-dev.25 00:02:00 v3.2.0-dev.26 00:02:00 v3.2.0-dev.27 00:02:00 v3.2.0-dev.28 00:02:00 v3.2.0-dev.3 00:02:00 v3.2.0-dev.4 00:02:00 v3.2.0-dev.5 00:02:00 v3.2.0-dev.6 00:02:00 v3.2.0-dev.7 00:02:00 v3.2.0-dev.8 00:02:00 v3.2.0-dev.9 00:02:00 v4.0.0-dev.1 00:02:00 v4.0.0-dev.10 00:02:00 v4.0.0-dev.11 00:02:00 v4.0.0-dev.12 00:02:00 v4.0.0-dev.13 00:02:00 v4.0.0-dev.14 00:02:00 v4.0.0-dev.15 00:02:00 v4.0.0-dev.16 00:02:00 v4.0.0-dev.17 00:02:00 v4.0.0-dev.2 00:02:00 v4.0.0-dev.3 00:02:00 v4.0.0-dev.4 00:02:00 v4.0.0-dev.5 00:02:00 v4.0.0-dev.6 00:02:00 v4.0.0-dev.7 00:02:00 v4.0.0-dev.8 00:02:00 v4.0.0-dev.9 [Pipeline] sh 00:02:00 + lftools sign git-tag v4.0.0-dev.17 00:02:01 Signing Git tag with Sigul... 00:02:01 Signing v4.0.0-dev.17 [Pipeline] echo 00:02:01 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:02:02 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:02:02 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:02:02 $ docker stop --time=1 b94539dff6f3c0fe98757035ae5953a15efd2fc4e187df6031330a1c039b4f85 00:02:03 $ docker rm -f --volumes b94539dff6f3c0fe98757035ae5953a15efd2fc4e187df6031330a1c039b4f85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:02:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:02:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:02:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:04 prd-ubuntu20.04-docker-8c-8g-40087 does not seem to be running inside a container 00:02:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:02:04 $ docker top 34daddecd3499d8baaa4e9ead9516a41f4c1619d48dcb7605156ffec403a4594 -eo pid,comm 00:02:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:02:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:02:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:02:04 [ssh-agent] Looking for ssh-agent implementation... 00:02:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:02:04 $ docker exec 34daddecd3499d8baaa4e9ead9516a41f4c1619d48dcb7605156ffec403a4594 ssh-agent 00:02:04 SSH_AUTH_SOCK=/tmp/ssh-iP2w0uWhxvM0/agent.32 00:02:04 SSH_AGENT_PID=38 00:02:04 Running ssh-add (command line suppressed) 00:02:04 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5725188387161138470.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5725188387161138470.key) 00:02:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:02:05 + git semver bump pre 00:02:05 2025-03-04 00:02:05,466 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:02:05 2025-03-04 00:02:05,466 [bump_version] DEBUG bumping version:4.0.0-dev.17 on axis:pre with prefix:dev 00:02:05 2025-03-04 00:02:05,466 [bump_version] DEBUG bumped version:4.0.0-dev.18 00:02:05 2025-03-04 00:02:05,466 [write_version] DEBUG write version:4.0.0-dev.18 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 00:02:05 2025-03-04 00:02:05,466 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:02:05 2025-03-04 00:02:05,466 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:02:05 2025-03-04 00:02:05,468 [execute] INFO git cat-file --batch-check 00:02:05 2025-03-04 00:02:05,469 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:02:05 2025-03-04 00:02:05,474 [execute] INFO git cat-file --batch 00:02:05 2025-03-04 00:02:05,474 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:02:05 2025-03-04 00:02:05,480 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:02:05 4.0.0-dev.18 [Pipeline] } 00:02:05 $ docker exec --env ******** --env ******** 34daddecd3499d8baaa4e9ead9516a41f4c1619d48dcb7605156ffec403a4594 ssh-agent -k 00:02:05 unset SSH_AUTH_SOCK; 00:02:05 unset SSH_AGENT_PID; 00:02:05 echo Agent pid 38 killed; 00:02:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:02:05 + git semver [Pipeline] } 00:02:06 $ docker stop --time=1 34daddecd3499d8baaa4e9ead9516a41f4c1619d48dcb7605156ffec403a4594 00:02:07 $ docker rm -f --volumes 34daddecd3499d8baaa4e9ead9516a41f4c1619d48dcb7605156ffec403a4594 [Pipeline] // withDockerContainer [Pipeline] sh 00:02:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:02:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:02:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:08 prd-ubuntu20.04-docker-8c-8g-40087 does not seem to be running inside a container 00:02:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:02:08 $ docker top 18c28cb7e7bc0a33a14656d636836e49569bc660f406456c951d3fb18ca53eba -eo pid,comm 00:02:08 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:02:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:02:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:02:08 [ssh-agent] Looking for ssh-agent implementation... 00:02:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:02:08 $ docker exec 18c28cb7e7bc0a33a14656d636836e49569bc660f406456c951d3fb18ca53eba ssh-agent 00:02:09 SSH_AUTH_SOCK=/tmp/ssh-KX7Vxwq6627q/agent.32 00:02:09 SSH_AGENT_PID=38 00:02:09 Running ssh-add (command line suppressed) 00:02:09 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11698381123127982611.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11698381123127982611.key) 00:02:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:02:09 + git semver push 00:02:09 2025-03-04 00:02:09,669 [run_push] DEBUG push 00:02:09 2025-03-04 00:02:09,670 [execute] INFO git cat-file --batch-check 00:02:09 2025-03-04 00:02:09,670 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:02:09 2025-03-04 00:02:09,673 [execute] INFO git rev-list 9faea563932954baf24bf161bd8216ab802560c8 -- 00:02:09 2025-03-04 00:02:09,673 [execute] DEBUG Popen(['git', 'rev-list', '9faea563932954baf24bf161bd8216ab802560c8', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:02:09 2025-03-04 00:02:09,685 [execute] INFO git fetch -v origin 00:02:09 2025-03-04 00:02:09,685 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:02:10 2025-03-04 00:02:10,143 [run_push] DEBUG no remote changes detected 00:02:10 2025-03-04 00:02:10,144 [execute] INFO git push origin semver 00:02:10 2025-03-04 00:02:10,144 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:02:11 2025-03-04 00:02:11,010 [run_push] DEBUG push all version tags 00:02:11 2025-03-04 00:02:11,011 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:02:11 2025-03-04 00:02:11,011 [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) 00:02:12 2025-03-04 00:02:11,861 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:02:12 4.0.0-dev.18 [Pipeline] } 00:02:12 $ docker exec --env ******** --env ******** 18c28cb7e7bc0a33a14656d636836e49569bc660f406456c951d3fb18ca53eba ssh-agent -k 00:02:12 unset SSH_AUTH_SOCK; 00:02:12 unset SSH_AGENT_PID; 00:02:12 echo Agent pid 38 killed; 00:02:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:02:12 + git semver [Pipeline] } 00:02:12 $ docker stop --time=1 18c28cb7e7bc0a33a14656d636836e49569bc660f406456c951d3fb18ca53eba 00:02:14 $ docker rm -f --volumes 18c28cb7e7bc0a33a14656d636836e49569bc660f406456c951d3fb18ca53eba [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 00:02:14 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 00:02:14 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 00:02:14 total 16 00:02:14 drwxr-xr-x 3 root root 4096 Mar 3 23:50 . 00:02:14 drwxrwxr-x 9 jenkins jenkins 4096 Mar 4 00:01 .. 00:02:14 drwxr-xr-x 2 root root 4096 Mar 3 23:50 cost 00:02:14 -rw-r--r-- 1 root root 89 Mar 3 23:50 cost.csv 00:02:14 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 00:02:14 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 00:02:14 total 16 00:02:14 drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 23:50 . 00:02:14 drwxrwxr-x 9 jenkins jenkins 4096 Mar 4 00:01 .. 00:02:14 drwxr-xr-x 2 jenkins jenkins 4096 Mar 3 23:50 cost 00:02:14 -rw-r--r-- 1 jenkins jenkins 89 Mar 3 23:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:02:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:02:16 ---> package-listing.sh 00:02:16 ++ facter osfamily 00:02:16 ++ tr '[:upper:]' '[:lower:]' 00:02:16 + OS_FAMILY=debian 00:02:16 + workspace=/w/workspace/exfoundry_device-virtual-go_main 00:02:16 + START_PACKAGES=/tmp/packages_start.txt 00:02:16 + END_PACKAGES=/tmp/packages_end.txt 00:02:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:02:16 + PACKAGES=/tmp/packages_start.txt 00:02:16 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 00:02:16 + PACKAGES=/tmp/packages_end.txt 00:02:16 + case "${OS_FAMILY}" in 00:02:16 + dpkg -l 00:02:16 + grep '^ii' 00:02:16 + '[' -f /tmp/packages_start.txt ']' 00:02:16 + '[' -f /tmp/packages_end.txt ']' 00:02:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:02:16 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 00:02:16 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 00:02:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 00:02:16 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 00:02:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:02:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:17 prd-ubuntu20.04-docker-8c-8g-40087 does not seem to be running inside a container 00:02:17 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:02:17 $ docker top fa7d83d3afde59129d5245a7d512c938e798c28e5cb57f7b7def5d566a834e21 -eo pid,comm [Pipeline] { [Pipeline] sh 00:02:17 + touch /tmp/pre-build-complete [Pipeline] sh 00:02:18 + mkdir -p /var/log/sysstat [Pipeline] sh 00:02:18 + ls /var/log/sa-host 00:02:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:02:18 provisioning config files... 00:02:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9685883585035166328tmp [Pipeline] { [Pipeline] echo 00:02:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:02:18 ---> create-netrc.sh [Pipeline] } 00:02:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:02:19 ---> python-tools-install.sh [Pipeline] echo 00:02:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:02:19 ---> sudo-logs.sh 00:02:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:02:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:02:19 ---> job-cost.sh 00:02:19 lf-activate-venv: SKIPPING 00:02:19 DEBUG: total: 0.2199999988079071 00:02:19 INFO: Retrieving Stack Cost... 00:02:20 INFO: Retrieving Pricing Info for: v3-standard-8 00:02:20 INFO: Archiving Costs [Pipeline] echo 00:02:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:02:20 ---> logs-deploy.sh 00:02:20 lf-activate-venv: SKIPPING 00:02:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/202 00:02:20 INFO: archiving workspace using pattern(s): 00:02:21 Archives upload complete. 00:02:21 INFO: archiving logs to Nexus