Started by upstream project "edgexfoundry/cd-management/release-lts" build number 96 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 61cfff653e6d8db0b28916b7bc013370e3de7ed1 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-ssh4438592435281477258.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15950052601042396195.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/odessa/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/odessa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12810473824974827201.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa # timeout=10 Commit message: "fix: add new goLTSImages 1.23 (#466)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6794186658582147844.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/odessa/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/odessa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8269754298250523489.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-40618’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-40619’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-41055’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41056’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41057’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41058’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41060’ is offline Running on prd-ubuntu20.04-docker-8c-8g-41062 in /w/workspace/foundry_device-virtual-go_odessa [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_odessa # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 61cfff653e6d8db0b28916b7bc013370e3de7ed1 (odessa) Commit message: "ci(lts-release): LTS release v4.0.0 @f1ae59d" > git config core.sparsecheckout # timeout=10 > git checkout -f 61cfff653e6d8db0b28916b7bc013370e3de7ed1 # timeout=10 > git rev-list --no-walk 61cfff653e6d8db0b28916b7bc013370e3de7ed1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:22:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:22:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:22:43 ========================================================= 07:22:43 EdgeX Global Pipelines Version Info 07:22:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:22:44 ------------------- 07:22:44 stable info: 07:22:44 ------------------- 07:22:44 Commited By: Cherry Wang cherry@iotechsys.com 07:22:44 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 07:22:44 Message: update stable to v1.0.271 07:22:44 ------------------- 07:22:44 experimental info: 07:22:44 ------------------- 07:22:44 Commited By: **** collab-it+edgex@linuxfoundation.org 07:22:44 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 07:22:44 Message: update experimental to v1.0.271 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:22:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 07:22:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 07:22:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:22:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:22:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:22:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:22:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:22:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:22:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:22:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:22:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:22:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = odessa [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = odessa [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = odessa [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 61cfff653e6d8db0b28916b7bc013370e3de7ed1 [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 61cfff6 [Pipeline] echo 07:22:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:22:45 provisioning config files... 07:22:45 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_odessa@tmp/config9967537456436434021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:45 ---> ****-login.sh 07:22:45 nexus3.edgexfoundry.org:10001 07:22:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:22:46 Configure a credential helper to remove this warning. See 07:22:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:22:46 07:22:46 Login Succeeded 07:22:46 nexus3.edgexfoundry.org:10002 07:22:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:22:46 Configure a credential helper to remove this warning. See 07:22:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:22:46 07:22:46 Login Succeeded 07:22:46 nexus3.edgexfoundry.org:10003 07:22:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:22:46 Configure a credential helper to remove this warning. See 07:22:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:22:46 07:22:46 Login Succeeded 07:22:46 nexus3.edgexfoundry.org:10004 07:22:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:22:46 Configure a credential helper to remove this warning. See 07:22:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:22:46 07:22:46 Login Succeeded 07:22:46 ****.io 07:22:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:22:46 Configure a credential helper to remove this warning. See 07:22:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:22:46 07:22:46 Login Succeeded 07:22:46 ---> ****-login.sh ends [Pipeline] } 07:22:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:22:47 + git rev-list -1 --merges 61cfff653e6d8db0b28916b7bc013370e3de7ed1~1..61cfff653e6d8db0b28916b7bc013370e3de7ed1 [Pipeline] echo 07:22:47 -----------> git rev-list -1 --merges 61cfff653e6d8db0b28916b7bc013370e3de7ed1~1..61cfff653e6d8db0b28916b7bc013370e3de7ed1 61cfff653e6d8db0b28916b7bc013370e3de7ed1 [false] [Pipeline] sh 07:22:47 + git log --format=format:%s -1 61cfff653e6d8db0b28916b7bc013370e3de7ed1 [Pipeline] echo 07:22:47 ========================================================= 07:22:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 07:22:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:22:47 + git log --format=format:%s -1 61cfff653e6d8db0b28916b7bc013370e3de7ed1 [Pipeline] echo 07:22:47 [semverPrep] GIT_COMMIT: 61cfff653e6d8db0b28916b7bc013370e3de7ed1, Commit Message: ci(lts-release): LTS release v4.0.0 @f1ae59d [Pipeline] echo 07:22:47 [semverPrep] This is not a build commit. [Pipeline] sh 07:22:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:22:48 + grep -v github /etc/ssh/ssh_known_hosts 07:22:48 + [ -e /tmp/ssh_known_hosts ] 07:22:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:22:48 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 07:22:48 -a /etc/ssh/ssh_known_hosts 07:22:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:22:48 07:22:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:22:48 0.1.4: Pulling from edgex-devops/py-git-semver 07:22:48 b85a868b505f: Pulling fs layer 07:22:48 e2be974225ed: Pulling fs layer 07:22:48 339a4e72a1f5: Pulling fs layer 07:22:48 988bab9f4d93: Pulling fs layer 07:22:48 1469e6f7b9e6: Pulling fs layer 07:22:48 988bab9f4d93: Waiting 07:22:48 1469e6f7b9e6: Waiting 07:22:48 eaf3925da568: Pulling fs layer 07:22:48 bab4dde63d76: Pulling fs layer 07:22:48 bde34c3a00c8: Pulling fs layer 07:22:48 eaf3925da568: Waiting 07:22:48 bab4dde63d76: Waiting 07:22:48 b352a97aabf1: Pulling fs layer 07:22:48 bde34c3a00c8: Waiting 07:22:48 b352a97aabf1: Waiting 07:22:48 4872d77fe225: Pulling fs layer 07:22:48 5851b861e8e6: Pulling fs layer 07:22:48 4872d77fe225: Waiting 07:22:48 5851b861e8e6: Waiting 07:22:48 e2be974225ed: Verifying Checksum 07:22:48 e2be974225ed: Download complete 07:22:48 988bab9f4d93: Verifying Checksum 07:22:48 988bab9f4d93: Download complete 07:22:48 1469e6f7b9e6: Verifying Checksum 07:22:48 1469e6f7b9e6: Download complete 07:22:49 339a4e72a1f5: Verifying Checksum 07:22:49 eaf3925da568: Verifying Checksum 07:22:49 eaf3925da568: Download complete 07:22:49 bde34c3a00c8: Verifying Checksum 07:22:49 bde34c3a00c8: Download complete 07:22:49 b352a97aabf1: Download complete 07:22:49 4872d77fe225: Verifying Checksum 07:22:49 4872d77fe225: Download complete 07:22:49 5851b861e8e6: Verifying Checksum 07:22:49 5851b861e8e6: Download complete 07:22:49 b85a868b505f: Verifying Checksum 07:22:49 b85a868b505f: Download complete 07:22:49 bab4dde63d76: Verifying Checksum 07:22:50 b85a868b505f: Pull complete 07:22:50 e2be974225ed: Pull complete 07:22:50 339a4e72a1f5: Pull complete 07:22:51 988bab9f4d93: Pull complete 07:22:51 1469e6f7b9e6: Pull complete 07:22:51 eaf3925da568: Pull complete 07:22:53 bab4dde63d76: Pull complete 07:22:53 bde34c3a00c8: Pull complete 07:22:53 b352a97aabf1: Pull complete 07:22:53 4872d77fe225: Pull complete 07:22:53 5851b861e8e6: Pull complete 07:22:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:22:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:22:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:53 prd-ubuntu20.04-docker-8c-8g-41062 does not seem to be running inside a container 07:22:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_odessa -v /w/workspace/foundry_device-virtual-go_odessa:/w/workspace/foundry_device-virtual-go_odessa:rw,z -v /w/workspace/foundry_device-virtual-go_odessa@tmp:/w/workspace/foundry_device-virtual-go_odessa@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 07:22:55 $ docker top 1816c504ecaa34436a7ca42683d80b67226cead955ea095053910a3cb0575f2c -eo pid,comm 07:22:55 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). 07:22:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:22:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:22:55 [ssh-agent] Looking for ssh-agent implementation... 07:22:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:22:55 $ docker exec 1816c504ecaa34436a7ca42683d80b67226cead955ea095053910a3cb0575f2c ssh-agent 07:22:55 SSH_AUTH_SOCK=/tmp/ssh-ZddxFupJVJBe/agent.33 07:22:55 SSH_AGENT_PID=39 07:22:55 Running ssh-add (command line suppressed) 07:22:55 Identity added: /w/workspace/foundry_device-virtual-go_odessa@tmp/private_key_17894830531938879551.key (/w/workspace/foundry_device-virtual-go_odessa@tmp/private_key_17894830531938879551.key) 07:22:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:22:56 + git tag --points-at 61cfff653e6d8db0b28916b7bc013370e3de7ed1 [Pipeline] } 07:22:56 $ docker exec --env ******** --env ******** 1816c504ecaa34436a7ca42683d80b67226cead955ea095053910a3cb0575f2c ssh-agent -k 07:22:56 unset SSH_AUTH_SOCK; 07:22:56 unset SSH_AGENT_PID; 07:22:56 echo Agent pid 39 killed; 07:22:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:22:56 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v4.0.0' [Pipeline] sshagent 07:22:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:22:56 [ssh-agent] Looking for ssh-agent implementation... 07:22:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:22:56 $ docker exec 1816c504ecaa34436a7ca42683d80b67226cead955ea095053910a3cb0575f2c ssh-agent 07:22:56 SSH_AUTH_SOCK=/tmp/ssh-4lvIDLwVa0Rh/agent.72 07:22:56 SSH_AGENT_PID=78 07:22:56 Running ssh-add (command line suppressed) 07:22:56 Identity added: /w/workspace/foundry_device-virtual-go_odessa@tmp/private_key_2446461727616854346.key (/w/workspace/foundry_device-virtual-go_odessa@tmp/private_key_2446461727616854346.key) 07:22:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:22:57 + git semver init 07:22:57 2025-03-12 07:22:57,222 [run_init] DEBUG init version:0.0.0 force:False 07:22:57 2025-03-12 07:22:57,223 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_odessa/.semver 07:22:57 2025-03-12 07:22:57,223 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_odessa/.semver 07:22:57 2025-03-12 07:22:57,223 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_odessa/.semver'], cwd=/w/workspace/foundry_device-virtual-go_odessa, universal_newlines=False, shell=None, istream=None) 07:22:59 2025-03-12 07:22:58,838 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_odessa/.git/info/exclude 07:22:59 2025-03-12 07:22:58,839 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_odessa/.semver/odessa with force:False 07:22:59 2025-03-12 07:22:58,839 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_odessa/.semver/odessa 07:22:59 2025-03-12 07:22:58,839 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_odessa/.semver/odessa 07:22:59 4.0.0 [Pipeline] } 07:22:59 $ docker exec --env ******** --env ******** 1816c504ecaa34436a7ca42683d80b67226cead955ea095053910a3cb0575f2c ssh-agent -k 07:22:59 unset SSH_AUTH_SOCK; 07:22:59 unset SSH_AGENT_PID; 07:22:59 echo Agent pid 78 killed; 07:22:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:22:59 + git semver [Pipeline] } 07:22:59 $ docker stop --time=1 1816c504ecaa34436a7ca42683d80b67226cead955ea095053910a3cb0575f2c 07:23:01 $ docker rm -f --volumes 1816c504ecaa34436a7ca42683d80b67226cead955ea095053910a3cb0575f2c [Pipeline] // withDockerContainer [Pipeline] sh 07:23:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:23:01 Stashed 1 file(s) [Pipeline] echo 07:23:01 [edgeXSemver]: initialized semver on version 4.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:23:02 + git checkout 61cfff653e6d8db0b28916b7bc013370e3de7ed1 07:23:02 HEAD is now at 61cfff6 ci(lts-release): LTS release v4.0.0 @f1ae59d [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:23:02 provisioning config files... 07:23:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_odessa@tmp/config15220071392209061120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:23:02 ---> ****-login.sh 07:23:02 nexus3.edgexfoundry.org:10001 07:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:23:02 Configure a credential helper to remove this warning. See 07:23:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:23:02 07:23:02 Login Succeeded 07:23:02 nexus3.edgexfoundry.org:10002 07:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:23:02 Configure a credential helper to remove this warning. See 07:23:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:23:02 07:23:02 Login Succeeded 07:23:02 nexus3.edgexfoundry.org:10003 07:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:23:02 Configure a credential helper to remove this warning. See 07:23:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:23:02 07:23:02 Login Succeeded 07:23:02 nexus3.edgexfoundry.org:10004 07:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:23:02 Configure a credential helper to remove this warning. See 07:23:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:23:02 07:23:02 Login Succeeded 07:23:02 ****.io 07:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:23:03 Configure a credential helper to remove this warning. See 07:23:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:23:03 07:23:03 Login Succeeded 07:23:03 ---> ****-login.sh ends [Pipeline] } 07:23:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:23:03 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 07:23:03 + grep ^go [0-9].[0-9]* go.mod 07:23:03 + cut -d -f 2 [Pipeline] echo 07:23:03 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 07:23:03 ========================================================= 07:23:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts] 07:23:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 07:23:04 Sending build context to Docker daemon 88.02MB 07:23:04 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 07:23:04 Step 2/12 : FROM ${BASE} AS builder 07:23:04 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base 07:23:04 0a9a5dfd008f: Pulling fs layer 07:23:04 8833042f23b5: Pulling fs layer 07:23:04 6ca661eb024f: Pulling fs layer 07:23:04 b5acb76e9680: Pulling fs layer 07:23:04 4f4fb700ef54: Pulling fs layer 07:23:04 012bb1f9d321: Pulling fs layer 07:23:04 97255f1bc79d: Pulling fs layer 07:23:04 454448c9edf9: Pulling fs layer 07:23:04 15f87924ceaf: Pulling fs layer 07:23:04 4f4fb700ef54: Waiting 07:23:04 012bb1f9d321: Waiting 07:23:04 97255f1bc79d: Waiting 07:23:04 454448c9edf9: Waiting 07:23:04 15f87924ceaf: Waiting 07:23:04 b5acb76e9680: Waiting 07:23:04 8833042f23b5: Verifying Checksum 07:23:04 8833042f23b5: Download complete 07:23:04 b5acb76e9680: Download complete 07:23:04 4f4fb700ef54: Verifying Checksum 07:23:04 4f4fb700ef54: Download complete 07:23:04 012bb1f9d321: Verifying Checksum 07:23:04 012bb1f9d321: Download complete 07:23:04 0a9a5dfd008f: Verifying Checksum 07:23:04 0a9a5dfd008f: Download complete 07:23:04 97255f1bc79d: Verifying Checksum 07:23:04 97255f1bc79d: Download complete 07:23:04 0a9a5dfd008f: Pull complete 07:23:04 8833042f23b5: Pull complete 07:23:05 15f87924ceaf: Verifying Checksum 07:23:05 15f87924ceaf: Download complete 07:23:05 6ca661eb024f: Download complete 07:23:05 454448c9edf9: Verifying Checksum 07:23:05 454448c9edf9: Download complete 07:23:08 6ca661eb024f: Pull complete 07:23:08 b5acb76e9680: Pull complete 07:23:08 4f4fb700ef54: Pull complete 07:23:08 012bb1f9d321: Pull complete 07:23:08 97255f1bc79d: Pull complete 07:23:11 454448c9edf9: Pull complete 07:23:11 15f87924ceaf: Pull complete 07:23:11 Digest: sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 07:23:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts 07:23:11 ---> bc3d7bf65e23 07:23:11 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:23:14 ---> Running in 7a8134d4828c 07:23:14 Removing intermediate container 7a8134d4828c 07:23:14 ---> 541a447083b8 07:23:14 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:23:14 ---> Running in 926121ceb61b 07:23:14 Removing intermediate container 926121ceb61b 07:23:14 ---> 420861836364 07:23:14 Step 5/12 : ARG ADD_BUILD_TAGS="" 07:23:14 ---> Running in 3a21cf1010e6 07:23:14 Removing intermediate container 3a21cf1010e6 07:23:14 ---> a0b87c65a59a 07:23:14 Step 6/12 : WORKDIR /device-virtual-go 07:23:14 ---> Running in ca761aaace0f 07:23:14 Removing intermediate container ca761aaace0f 07:23:14 ---> b5b5b7347762 07:23:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:23:14 ---> Running in 583c647643d9 07:23:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:23:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:23:15 (1/4) Installing openssh-keygen (9.7_p1-r5) 07:23:15 (2/4) Installing libedit (20240517.3.1-r0) 07:23:15 (3/4) Installing openssh-client-common (9.7_p1-r5) 07:23:15 (4/4) Installing openssh-client-default (9.7_p1-r5) 07:23:15 Executing busybox-1.36.1-r29.trigger 07:23:15 OK: 252 MiB in 62 packages 07:23:15 Removing intermediate container 583c647643d9 07:23:15 ---> fc3d0973e811 07:23:15 Step 8/12 : COPY go.mod vendor* ./ 07:23:17 Still waiting to schedule task 07:23:17 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-41050’ 07:23:18 ---> 460363519a9d 07:23:18 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:23:18 ---> Running in becbffccb2b1 07:23:44 Removing intermediate container becbffccb2b1 07:23:44 ---> 97337b453560 07:23:44 Step 10/12 : COPY . . 07:23:46 ---> b403c12c26c0 07:23:46 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:23:46 ---> Running in 7adac57b92aa 07:23:46 Removing intermediate container 7adac57b92aa 07:23:46 ---> 010bc19d2117 07:23:46 Step 12/12 : RUN $MAKE 07:23:46 ---> Running in 77553d4d6963 07:23:46 noop 07:23:47 Removing intermediate container 77553d4d6963 07:23:47 ---> b2c7bf0f0c2d 07:23:47 Successfully built b2c7bf0f0c2d 07:23:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:47 + docker inspect -f . ci-base-image-x86_64 07:23:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:23:47 prd-ubuntu20.04-docker-8c-8g-41062 does not seem to be running inside a container 07:23:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_odessa -v /w/workspace/foundry_device-virtual-go_odessa:/w/workspace/foundry_device-virtual-go_odessa:rw,z -v /w/workspace/foundry_device-virtual-go_odessa@tmp:/w/workspace/foundry_device-virtual-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:23:48 $ docker top 8c3331f04c76b24392748603a12a76b2a8566e51707a83cedb8cd5daf9fdb603 -eo pid,comm [Pipeline] { [Pipeline] sh 07:23:48 + go version 07:23:48 go version go1.23.7 linux/amd64 [Pipeline] } 07:23:48 $ docker stop --time=1 8c3331f04c76b24392748603a12a76b2a8566e51707a83cedb8cd5daf9fdb603 07:23:50 $ docker rm -f --volumes 8c3331f04c76b24392748603a12a76b2a8566e51707a83cedb8cd5daf9fdb603 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:50 + docker inspect -f . ci-base-image-x86_64 07:23:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:23:50 prd-ubuntu20.04-docker-8c-8g-41062 does not seem to be running inside a container 07:23:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_odessa -v /w/workspace/foundry_device-virtual-go_odessa:/w/workspace/foundry_device-virtual-go_odessa:rw,z -v /w/workspace/foundry_device-virtual-go_odessa@tmp:/w/workspace/foundry_device-virtual-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:23:50 $ docker top 3641e4877eeaab6892864d3cc7b5fb4c750ac403d3b5fbc3f2e32ce05bcf8d4d -eo pid,comm [Pipeline] { [Pipeline] sh 07:23:51 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_odessa [Pipeline] fileExists [Pipeline] sh 07:23:51 + make test 07:23:51 go test ./... -coverprofile=coverage.out 07:23:52 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:24:10 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 07:24:10 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.013s coverage: 58.4% of statements 07:24:20 go vet ./... 07:24:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:24:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:24:24 ./bin/test-attribution-txt.sh [Pipeline] echo 07:24:24 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 07:24:25 + go mod tidy [Pipeline] } 07:24:25 $ docker stop --time=1 3641e4877eeaab6892864d3cc7b5fb4c750ac403d3b5fbc3f2e32ce05bcf8d4d 07:24:28 $ docker rm -f --volumes 3641e4877eeaab6892864d3cc7b5fb4c750ac403d3b5fbc3f2e32ce05bcf8d4d [Pipeline] // withDockerContainer [Pipeline] sh 07:24:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:24:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:24:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:24:29 + ls -al . 07:24:29 total 272 07:24:29 drwxrwxr-x 9 jenkins jenkins 4096 Mar 12 07:23 . 07:24:29 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:22 .. 07:24:29 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 07:24 .git 07:24:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:22 .github 07:24:29 -rw-rw-r-- 1 jenkins jenkins 264 Mar 12 07:22 .gitignore 07:24:29 -rw-rw-r-- 1 jenkins jenkins 199 Mar 12 07:22 .golangci.yml 07:24:29 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 07:22 .semver 07:24:29 -rw-rw-r-- 1 jenkins jenkins 18321 Mar 12 07:22 Attribution.txt 07:24:29 -rw-rw-r-- 1 jenkins jenkins 17302 Mar 12 07:22 CHANGELOG.md 07:24:29 -rw-rw-r-- 1 jenkins jenkins 1755 Mar 12 07:22 Dockerfile 07:24:29 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 07:22 GOVERNANCE.md 07:24:29 -rw-rw-r-- 1 jenkins jenkins 660 Mar 12 07:22 Jenkinsfile 07:24:29 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 07:22 LICENSE 07:24:29 -rw-rw-r-- 1 jenkins jenkins 2652 Mar 12 07:22 Makefile 07:24:29 -rw-rw-r-- 1 jenkins jenkins 623 Mar 12 07:22 OWNERS.md 07:24:29 -rw-rw-r-- 1 jenkins jenkins 4473 Mar 12 07:22 README.md 07:24:29 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 07:23 VERSION 07:24:29 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:22 bin 07:24:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:22 cmd 07:24:29 -rw-r--r-- 1 jenkins jenkins 43316 Mar 12 07:24 coverage.out 07:24:29 -rw-rw-r-- 1 jenkins jenkins 6032 Mar 12 07:22 go.mod 07:24:29 -rw-rw-r-- 1 jenkins jenkins 86532 Mar 12 07:22 go.sum 07:24:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:22 internal 07:24:29 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 07:22 vendor 07:24:29 -rw-rw-r-- 1 jenkins jenkins 235 Mar 12 07:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:30 + 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=61cfff653e6d8db0b28916b7bc013370e3de7ed1 --label arch=amd64 --label version=4.0.0 . 07:24:30 Sending build context to Docker daemon 88.06MB 07:24:30 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 07:24:30 Step 2/26 : FROM ${BASE} AS builder 07:24:30 ---> b2c7bf0f0c2d 07:24:30 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:24:31 ---> Running in fc9d0005c66e 07:24:31 Removing intermediate container fc9d0005c66e 07:24:31 ---> c1503465c1d1 07:24:31 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 07:24:31 ---> Running in 1f00470a0fed 07:24:31 Removing intermediate container 1f00470a0fed 07:24:31 ---> 247cd1158380 07:24:31 Step 5/26 : ARG ADD_BUILD_TAGS="" 07:24:31 ---> Running in fd3433fc3ecf 07:24:31 Removing intermediate container fd3433fc3ecf 07:24:31 ---> c3ab7eea1c97 07:24:31 Step 6/26 : WORKDIR /device-virtual-go 07:24:31 ---> Running in 00e634fd7234 07:24:31 Removing intermediate container 00e634fd7234 07:24:31 ---> 99b760a50f08 07:24:31 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:24:31 ---> Running in fb5bb85a665c 07:24:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:24:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:24:32 OK: 252 MiB in 62 packages 07:24:32 Removing intermediate container fb5bb85a665c 07:24:32 ---> ec1e3a3647b2 07:24:32 Step 8/26 : COPY go.mod vendor* ./ 07:24:34 ---> 1b792b10bded 07:24:34 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:24:34 ---> Running in a662dd90bfbb 07:24:34 skipping... 07:24:35 Removing intermediate container a662dd90bfbb 07:24:35 ---> 4129e4a8144a 07:24:35 Step 10/26 : COPY . . 07:24:38 ---> f2a8c0ff07cd 07:24:38 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:24:38 ---> Running in f7b1510eef78 07:24:38 Removing intermediate container f7b1510eef78 07:24:38 ---> 5f218ffc6692 07:24:38 Step 12/26 : RUN $MAKE 07:24:38 ---> Running in ebb52f3c356d 07:24:38 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=4.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 07:25:04 Removing intermediate container ebb52f3c356d 07:25:04 ---> 889adcd860fd 07:25:04 Step 13/26 : FROM alpine:3.20 07:25:05 3.20: Pulling from library/alpine 07:25:06 0a9a5dfd008f: Already exists 07:25:06 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 07:25:06 Status: Downloaded newer image for alpine:3.20 07:25:06 ---> ff221270b9fb 07:25:06 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:25:07 ---> Running in 319c1c7ceacc 07:25:08 Removing intermediate container 319c1c7ceacc 07:25:08 ---> 66257ed3eac6 07:25:08 Step 15/26 : RUN apk add --update --no-cache dumb-init 07:25:08 ---> Running in a71b566b4f87 07:25:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:25:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:25:09 (1/1) Installing dumb-init (1.2.5-r3) 07:25:09 Executing busybox-1.36.1-r29.trigger 07:25:09 OK: 8 MiB in 15 packages 07:25:11 Removing intermediate container a71b566b4f87 07:25:11 ---> b3e8fc6cb3a6 07:25:11 Step 16/26 : RUN apk --no-cache upgrade 07:25:11 ---> Running in 1ab4ea9f91d6 07:25:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:25:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:25:12 OK: 8 MiB in 15 packages 07:25:13 Removing intermediate container 1ab4ea9f91d6 07:25:13 ---> 9ce022318815 07:25:13 Step 17/26 : WORKDIR / 07:25:13 ---> Running in c20b2fb62aac 07:25:13 Removing intermediate container c20b2fb62aac 07:25:13 ---> 5597e2f149a6 07:25:13 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:25:13 ---> 07229a6bec3d 07:25:13 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 07:25:13 ---> 3a79df4d4e3b 07:25:13 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 07:25:14 ---> ae069918ff94 07:25:14 Step 21/26 : EXPOSE 59900 07:25:14 ---> Running in a23c5d40c61c 07:25:14 Removing intermediate container a23c5d40c61c 07:25:14 ---> e134164cca1e 07:25:14 Step 22/26 : ENTRYPOINT ["/device-virtual"] 07:25:14 ---> Running in 1f24439df1de 07:25:14 Removing intermediate container 1f24439df1de 07:25:14 ---> 14a80c9e46a5 07:25:14 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:25:14 ---> Running in 293e702e2c13 07:25:14 Removing intermediate container 293e702e2c13 07:25:14 ---> a81a43865835 07:25:14 Step 24/26 : LABEL arch=amd64 07:25:14 ---> Running in f27627b56093 07:25:14 Removing intermediate container f27627b56093 07:25:14 ---> 6c0881e36435 07:25:14 Step 25/26 : LABEL git_sha=61cfff653e6d8db0b28916b7bc013370e3de7ed1 07:25:14 ---> Running in f8bd9c906461 07:25:14 Removing intermediate container f8bd9c906461 07:25:14 ---> cd691377cbcd 07:25:14 Step 26/26 : LABEL version=4.0.0 07:25:14 ---> Running in 1a4139c7ecbd 07:25:14 Removing intermediate container 1a4139c7ecbd 07:25:14 ---> 001d493ec945 07:25:14 [Warning] One or more build-args [ARCH] were not consumed 07:25:15 Successfully built 001d493ec945 07:25:15 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:25:15 provisioning config files... 07:25:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_odessa@tmp/config320820489195939800tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:25:15 ---> ****-login.sh 07:25:15 nexus3.edgexfoundry.org:10001 07:25:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:25:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:25:15 Configure a credential helper to remove this warning. See 07:25:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:25:15 07:25:15 Login Succeeded 07:25:15 nexus3.edgexfoundry.org:10002 07:25:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:25:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:25:15 Configure a credential helper to remove this warning. See 07:25:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:25:15 07:25:15 Login Succeeded 07:25:15 nexus3.edgexfoundry.org:10003 07:25:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:25:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:25:15 Configure a credential helper to remove this warning. See 07:25:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:25:15 07:25:15 Login Succeeded 07:25:15 nexus3.edgexfoundry.org:10004 07:25:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:25:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:25:15 Configure a credential helper to remove this warning. See 07:25:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:25:15 07:25:15 Login Succeeded 07:25:15 ****.io 07:25:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:25:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:25:16 Configure a credential helper to remove this warning. See 07:25:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:25:16 07:25:16 Login Succeeded 07:25:16 ---> ****-login.sh ends [Pipeline] } 07:25:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:25:16 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 07:25:16 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 07:25:16 61cfff653e6d8db0b28916b7bc013370e3de7ed1 07:25:16 4.0.0 07:25:16 61cfff653e6d8db0b28916b7bc013370e3de7ed1-4.0.0 07:25:16 odessa 07:25:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:16 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:61cfff653e6d8db0b28916b7bc013370e3de7ed1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual:61cfff653e6d8db0b28916b7bc013370e3de7ed1 07:25:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:25:17 84209815b9a2: Preparing 07:25:17 f0eac9386fec: Preparing 07:25:17 a95f53306084: Preparing 07:25:17 8de352e03fe6: Preparing 07:25:17 3a62bf7708ba: Preparing 07:25:17 994456c4fd7b: Preparing 07:25:17 994456c4fd7b: Waiting 07:25:17 a95f53306084: Pushed 07:25:17 3a62bf7708ba: Pushed 07:25:17 f0eac9386fec: Pushed 07:25:17 994456c4fd7b: Layer already exists 07:25:17 8de352e03fe6: Pushed 07:25:20 84209815b9a2: Pushed 07:25:20 61cfff653e6d8db0b28916b7bc013370e3de7ed1: digest: sha256:35ba5f78b46874bb5f1d82e7a2cda52418360422a7634e3bb4baa702b1a21555 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:20 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual:4.0.0 07:25:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:25:21 84209815b9a2: Preparing 07:25:21 f0eac9386fec: Preparing 07:25:21 a95f53306084: Preparing 07:25:21 8de352e03fe6: Preparing 07:25:21 3a62bf7708ba: Preparing 07:25:21 994456c4fd7b: Preparing 07:25:21 994456c4fd7b: Waiting 07:25:21 3a62bf7708ba: Layer already exists 07:25:21 f0eac9386fec: Layer already exists 07:25:21 8de352e03fe6: Layer already exists 07:25:21 a95f53306084: Layer already exists 07:25:21 84209815b9a2: Layer already exists 07:25:21 994456c4fd7b: Layer already exists 07:25:21 4.0.0: digest: sha256:35ba5f78b46874bb5f1d82e7a2cda52418360422a7634e3bb4baa702b1a21555 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:21 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:61cfff653e6d8db0b28916b7bc013370e3de7ed1-4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual:61cfff653e6d8db0b28916b7bc013370e3de7ed1-4.0.0 07:25:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:25:21 84209815b9a2: Preparing 07:25:21 f0eac9386fec: Preparing 07:25:21 a95f53306084: Preparing 07:25:21 8de352e03fe6: Preparing 07:25:21 3a62bf7708ba: Preparing 07:25:21 994456c4fd7b: Preparing 07:25:21 994456c4fd7b: Waiting 07:25:21 f0eac9386fec: Layer already exists 07:25:21 a95f53306084: Layer already exists 07:25:21 8de352e03fe6: Layer already exists 07:25:21 3a62bf7708ba: Layer already exists 07:25:21 84209815b9a2: Layer already exists 07:25:21 994456c4fd7b: Layer already exists 07:25:21 61cfff653e6d8db0b28916b7bc013370e3de7ed1-4.0.0: digest: sha256:35ba5f78b46874bb5f1d82e7a2cda52418360422a7634e3bb4baa702b1a21555 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:22 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:22 + docker push nexus3.edgexfoundry.org:10004/device-virtual:odessa 07:25:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:25:22 84209815b9a2: Preparing 07:25:22 f0eac9386fec: Preparing 07:25:22 a95f53306084: Preparing 07:25:22 8de352e03fe6: Preparing 07:25:22 3a62bf7708ba: Preparing 07:25:22 994456c4fd7b: Preparing 07:25:22 994456c4fd7b: Waiting 07:25:22 f0eac9386fec: Layer already exists 07:25:22 84209815b9a2: Layer already exists 07:25:22 8de352e03fe6: Layer already exists 07:25:22 3a62bf7708ba: Layer already exists 07:25:22 a95f53306084: Layer already exists 07:25:22 994456c4fd7b: Layer already exists 07:25:22 odessa: digest: sha256:35ba5f78b46874bb5f1d82e7a2cda52418360422a7634e3bb4baa702b1a21555 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:25:22 ===================================================== [Pipeline] echo 07:25:22 taggedImages: 07:25:22 - nexus3.edgexfoundry.org:10004/device-virtual:61cfff653e6d8db0b28916b7bc013370e3de7ed1 07:25:22 - nexus3.edgexfoundry.org:10004/device-virtual:4.0.0 07:25:22 - nexus3.edgexfoundry.org:10004/device-virtual:61cfff653e6d8db0b28916b7bc013370e3de7ed1-4.0.0 07:25:22 - nexus3.edgexfoundry.org:10004/device-virtual:odessa [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 07:25:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:25:22 07:25:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:25:23 latest: Pulling from edgex-lftools-log-publisher 07:25:23 5eb5b503b376: Pulling fs layer 07:25:23 5c69ac0246d0: Pulling fs layer 07:25:23 ec43610c2a17: Pulling fs layer 07:25:23 3a2ae6a8a46f: Pulling fs layer 07:25:23 33b1e0a273af: Pulling fs layer 07:25:23 5d3b04190fa2: Pulling fs layer 07:25:23 2f39f015ded8: Pulling fs layer 07:25:23 5d3b04190fa2: Waiting 07:25:23 3a2ae6a8a46f: Waiting 07:25:23 33b1e0a273af: Waiting 07:25:23 2f39f015ded8: Waiting 07:25:23 5c69ac0246d0: Download complete 07:25:23 3a2ae6a8a46f: Download complete 07:25:23 33b1e0a273af: Verifying Checksum 07:25:23 33b1e0a273af: Download complete 07:25:23 ec43610c2a17: Verifying Checksum 07:25:23 ec43610c2a17: Download complete 07:25:23 5d3b04190fa2: Verifying Checksum 07:25:23 5eb5b503b376: Download complete 07:25:24 2f39f015ded8: Verifying Checksum 07:25:24 2f39f015ded8: Download complete 07:25:24 5eb5b503b376: Pull complete 07:25:24 5c69ac0246d0: Pull complete 07:25:25 ec43610c2a17: Pull complete 07:25:25 3a2ae6a8a46f: Pull complete 07:25:25 33b1e0a273af: Pull complete 07:25:25 5d3b04190fa2: Pull complete 07:25:29 2f39f015ded8: Pull complete 07:25:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:25:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:25:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:29 prd-ubuntu20.04-docker-8c-8g-41062 does not seem to be running inside a container 07:25:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_odessa -v /w/workspace/foundry_device-virtual-go_odessa:/w/workspace/foundry_device-virtual-go_odessa:rw,z -v /w/workspace/foundry_device-virtual-go_odessa@tmp:/w/workspace/foundry_device-virtual-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:25:33 $ docker top f7a82a7ff9ac90dedfd036d49dc507edd98bbfcfe1341b6f7a171dcac69721cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:25:33 ---> job-cost.sh 07:25:33 lf-activate-venv: SKIPPING 07:25:33 INFO: No Stack... 07:25:33 INFO: Retrieving Pricing Info for: v3-standard-8 07:25:34 INFO: Archiving Costs [Pipeline] sh 07:25:34 + cat /w/workspace/foundry_device-virtual-go_odessa/archives/cost.csv 07:25:34 + cut -d, -f6 [Pipeline] lock 07:25:34 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-odessa-2-stack-cost] 07:25:34 Resource [jenkins-edgexfoundry-device-virtual-go-odessa-2-stack-cost] did not exist. Created. 07:25:34 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-odessa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:25:34 + echo total: 0.2199999988079071 [Pipeline] stash 07:25:34 Stashed 1 file(s) [Pipeline] } 07:25:34 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-odessa-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:25:34 $ docker stop --time=1 f7a82a7ff9ac90dedfd036d49dc507edd98bbfcfe1341b6f7a171dcac69721cd 07:25:36 $ docker rm -f --volumes f7a82a7ff9ac90dedfd036d49dc507edd98bbfcfe1341b6f7a171dcac69721cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:26:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41067 in /w/workspace/foundry_device-virtual-go_odessa [Pipeline] { [Pipeline] ws 07:26:39 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 07:26:42 The recommended git tool is: git 07:26:48 using credential edgex-jenkins-ssh 07:26:48 Cloning the remote Git repository 07:26:48 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:26:48 > git init /w/workspace/device-virtual-go/2 # timeout=10 07:26:49 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:26:49 > git --version # timeout=10 07:26:49 > git --version # 'git version 2.25.1' 07:26:49 using GIT_SSH to set credentials SSH Credentials for GitHub 07:26:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:26:53 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:26:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:26:54 Avoid second fetch 07:26:54 Checking out Revision 61cfff653e6d8db0b28916b7bc013370e3de7ed1 (odessa) 07:26:54 > git config core.sparsecheckout # timeout=10 07:26:54 > git checkout -f 61cfff653e6d8db0b28916b7bc013370e3de7ed1 # timeout=10 07:26:56 Commit message: "ci(lts-release): LTS release v4.0.0 @f1ae59d" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:27:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:27:02 % Total % Received % Xferd Average Speed Time Time Time Current 07:27:02 Dload Upload Total Spent Left Speed 07:27:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 142k 0 --:--:-- --:--:-- --:--:-- 143k [Pipeline] sh 07:27:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:27:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:27:02 + sudo tee /etc/docker/daemon.new 07:27:02 { 07:27:02 "registry-mirrors": [ 07:27:02 "https://nexus3.edgexfoundry.org:10001" 07:27:02 ], 07:27:02 "bip": "10.250.0.254/24", 07:27:02 "hosts": [ 07:27:02 "tcp://0.0.0.0:5555", 07:27:02 "unix:///var/run/docker.sock" 07:27:02 ], 07:27:02 "mtu": 1458, 07:27:02 "selinux-enabled": true, 07:27:02 "seccomp-profile": "/etc/docker/seccomp.json" 07:27:02 } [Pipeline] sh 07:27:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:27:03 + sudo service docker restart [Pipeline] sh 07:27:22 + git checkout 61cfff653e6d8db0b28916b7bc013370e3de7ed1 07:27:22 HEAD is now at 61cfff6 ci(lts-release): LTS release v4.0.0 @f1ae59d [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:27:22 provisioning config files... 07:27:22 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config13168129272440941477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:27:22 ---> ****-login.sh 07:27:22 nexus3.edgexfoundry.org:10001 07:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:27:23 Configure a credential helper to remove this warning. See 07:27:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:27:23 07:27:23 Login Succeeded 07:27:23 nexus3.edgexfoundry.org:10002 07:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:27:23 Configure a credential helper to remove this warning. See 07:27:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:27:23 07:27:23 Login Succeeded 07:27:23 nexus3.edgexfoundry.org:10003 07:27:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:27:24 Configure a credential helper to remove this warning. See 07:27:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:27:24 07:27:24 Login Succeeded 07:27:24 nexus3.edgexfoundry.org:10004 07:27:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:27:24 Configure a credential helper to remove this warning. See 07:27:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:27:24 07:27:24 Login Succeeded 07:27:24 ****.io 07:27:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:27:25 Configure a credential helper to remove this warning. See 07:27:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:27:25 07:27:25 Login Succeeded 07:27:25 ---> ****-login.sh ends [Pipeline] } 07:27:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:27:25 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 07:27:26 + grep ^go [0-9].[0-9]* go.mod 07:27:26 + cut -d -f 2 [Pipeline] echo 07:27:26 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 07:27:26 ========================================================= 07:27:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts] 07:27:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:26 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 07:27:30 Sending build context to Docker daemon 64.36MB 07:27:30 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 07:27:30 Step 2/12 : FROM ${BASE} AS builder 07:27:30 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 07:27:30 94e9d8af2201: Pulling fs layer 07:27:30 345fe9f21930: Pulling fs layer 07:27:30 b40fc9e46828: Pulling fs layer 07:27:30 c9804373a1e5: Pulling fs layer 07:27:30 4f4fb700ef54: Pulling fs layer 07:27:30 f5a772c54f75: Pulling fs layer 07:27:30 e2dd1b2a9dca: Pulling fs layer 07:27:30 0a0502178392: Pulling fs layer 07:27:30 f5a772c54f75: Waiting 07:27:30 e2dd1b2a9dca: Waiting 07:27:30 0a0502178392: Waiting 07:27:30 c9804373a1e5: Waiting 07:27:30 4f4fb700ef54: Waiting 07:27:30 345fe9f21930: Verifying Checksum 07:27:30 345fe9f21930: Download complete 07:27:30 c9804373a1e5: Verifying Checksum 07:27:30 c9804373a1e5: Download complete 07:27:31 4f4fb700ef54: Verifying Checksum 07:27:31 4f4fb700ef54: Download complete 07:27:31 f5a772c54f75: Verifying Checksum 07:27:31 f5a772c54f75: Download complete 07:27:31 94e9d8af2201: Verifying Checksum 07:27:31 94e9d8af2201: Download complete 07:27:31 0a0502178392: Verifying Checksum 07:27:31 0a0502178392: Download complete 07:27:31 94e9d8af2201: Pull complete 07:27:32 345fe9f21930: Pull complete 07:27:33 b40fc9e46828: Verifying Checksum 07:27:33 b40fc9e46828: Download complete 07:27:34 e2dd1b2a9dca: Verifying Checksum 07:27:34 e2dd1b2a9dca: Download complete 07:27:49 b40fc9e46828: Pull complete 07:27:49 c9804373a1e5: Pull complete 07:27:49 4f4fb700ef54: Pull complete 07:27:49 f5a772c54f75: Pull complete 07:27:57 e2dd1b2a9dca: Pull complete 07:27:59 0a0502178392: Pull complete 07:27:59 Digest: sha256:cb630d247bcc3b1d0751040a39c4e103216f7d9e7edda4006e03146d987d6ddf 07:27:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts 07:27:59 ---> 72db82c1953f 07:27:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:28:01 ---> Running in c5518de109b4 07:28:01 Removing intermediate container c5518de109b4 07:28:01 ---> 23c48beadc7c 07:28:01 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:28:02 ---> Running in c62c49d9fbb4 07:28:02 Removing intermediate container c62c49d9fbb4 07:28:02 ---> f0576c52b9b7 07:28:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 07:28:02 ---> Running in c70d276d233b 07:28:02 Removing intermediate container c70d276d233b 07:28:02 ---> cf240182c34b 07:28:02 Step 6/12 : WORKDIR /device-virtual-go 07:28:03 ---> Running in 1c42cb7f9df7 07:28:03 Removing intermediate container 1c42cb7f9df7 07:28:03 ---> 559e9c35cf1b 07:28:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:28:03 ---> Running in b22aaf8cc980 07:28:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:28:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:28:07 (1/4) Installing openssh-keygen (9.7_p1-r5) 07:28:07 (2/4) Installing libedit (20240517.3.1-r0) 07:28:07 (3/4) Installing openssh-client-common (9.7_p1-r5) 07:28:07 (4/4) Installing openssh-client-default (9.7_p1-r5) 07:28:07 Executing busybox-1.36.1-r29.trigger 07:28:07 OK: 244 MiB in 62 packages 07:28:08 Removing intermediate container b22aaf8cc980 07:28:08 ---> b44341478344 07:28:08 Step 8/12 : COPY go.mod vendor* ./ 07:28:20 ---> 024230add5e6 07:28:20 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:28:20 ---> Running in c65518f98286 07:30:12 Removing intermediate container c65518f98286 07:30:12 ---> a5daf393d0f6 07:30:12 Step 10/12 : COPY . . 07:30:16 ---> ef4c751e6b59 07:30:16 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:30:17 ---> Running in e7fc65e9cbfc 07:30:17 Removing intermediate container e7fc65e9cbfc 07:30:17 ---> 8c2f67a98ffb 07:30:17 Step 12/12 : RUN $MAKE 07:30:17 ---> Running in 688c21cc8a04 07:30:18 noop 07:30:19 Removing intermediate container 688c21cc8a04 07:30:19 ---> d20d92f2821e 07:30:20 Successfully built d20d92f2821e 07:30:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:20 + docker inspect -f . ci-base-image-arm64 07:30:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:30:20 prd-ubuntu20.04-docker-arm64-4c-16g-41067 does not seem to be running inside a container 07:30:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 07:30:22 $ docker top 76f98ea357121760007eb6013d59bab04cb19ad4d7c9568580f4afc986891a0b -eo pid,comm [Pipeline] { [Pipeline] sh 07:30:22 + go version 07:30:22 go version go1.23.7 linux/arm64 [Pipeline] } 07:30:23 $ docker stop --time=1 76f98ea357121760007eb6013d59bab04cb19ad4d7c9568580f4afc986891a0b 07:30:24 $ docker rm -f --volumes 76f98ea357121760007eb6013d59bab04cb19ad4d7c9568580f4afc986891a0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:25 + docker inspect -f . ci-base-image-arm64 07:30:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:30:25 prd-ubuntu20.04-docker-arm64-4c-16g-41067 does not seem to be running inside a container 07:30:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 07:30:27 $ docker top f75942c7457f3f6e6bff7c5c63ef9d60f678d861fe7394e788c8d7b524d4aa3c -eo pid,comm [Pipeline] { [Pipeline] sh 07:30:27 + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh 07:30:28 + make test 07:30:28 go test ./... -coverprofile=coverage.out 07:30:32 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:34:39 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 07:34:39 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.074s coverage: 58.3% of statements 07:34:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:34:39 go vet ./... 07:35:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:35:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:35:36 ./bin/test-attribution-txt.sh [Pipeline] echo 07:35:36 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 07:35:37 + go mod tidy [Pipeline] } 07:35:42 $ docker stop --time=1 f75942c7457f3f6e6bff7c5c63ef9d60f678d861fe7394e788c8d7b524d4aa3c 07:35:44 $ docker rm -f --volumes f75942c7457f3f6e6bff7c5c63ef9d60f678d861fe7394e788c8d7b524d4aa3c [Pipeline] // withDockerContainer [Pipeline] sh 07:35:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:35:46 Warning: overwriting stash ‘coverage-report’ 07:35:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:35:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:35:48 + ls -al . 07:35:48 total 268 07:35:48 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 07:30 . 07:35:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:26 .. 07:35:48 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 07:27 .git 07:35:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:26 .github 07:35:48 -rw-rw-r-- 1 jenkins jenkins 264 Mar 12 07:26 .gitignore 07:35:48 -rw-rw-r-- 1 jenkins jenkins 199 Mar 12 07:26 .golangci.yml 07:35:48 -rw-rw-r-- 1 jenkins jenkins 18321 Mar 12 07:26 Attribution.txt 07:35:48 -rw-rw-r-- 1 jenkins jenkins 17302 Mar 12 07:26 CHANGELOG.md 07:35:48 -rw-rw-r-- 1 jenkins jenkins 1755 Mar 12 07:26 Dockerfile 07:35:48 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 07:26 GOVERNANCE.md 07:35:48 -rw-rw-r-- 1 jenkins jenkins 660 Mar 12 07:26 Jenkinsfile 07:35:48 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 07:26 LICENSE 07:35:48 -rw-rw-r-- 1 jenkins jenkins 2652 Mar 12 07:26 Makefile 07:35:48 -rw-rw-r-- 1 jenkins jenkins 623 Mar 12 07:26 OWNERS.md 07:35:48 -rw-rw-r-- 1 jenkins jenkins 4473 Mar 12 07:26 README.md 07:35:48 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 07:23 VERSION 07:35:48 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:26 bin 07:35:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:26 cmd 07:35:48 -rw-r--r-- 1 jenkins jenkins 43316 Mar 12 07:34 coverage.out 07:35:48 -rw-rw-r-- 1 jenkins jenkins 6032 Mar 12 07:26 go.mod 07:35:48 -rw-rw-r-- 1 jenkins jenkins 86532 Mar 12 07:26 go.sum 07:35:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:26 internal 07:35:48 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 07:26 vendor 07:35:48 -rw-rw-r-- 1 jenkins jenkins 235 Mar 12 07:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:49 + 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=61cfff653e6d8db0b28916b7bc013370e3de7ed1 --label arch=arm64 --label version=4.0.0 . 07:35:53 Sending build context to Docker daemon 64.41MB 07:35:53 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 07:35:53 Step 2/26 : FROM ${BASE} AS builder 07:35:53 ---> d20d92f2821e 07:35:53 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:35:53 ---> Running in aa151a6619c2 07:35:54 Removing intermediate container aa151a6619c2 07:35:54 ---> 3f637b178dfc 07:35:54 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 07:35:54 ---> Running in 651703bb8178 07:35:54 Removing intermediate container 651703bb8178 07:35:54 ---> a8130c519319 07:35:54 Step 5/26 : ARG ADD_BUILD_TAGS="" 07:35:54 ---> Running in 2ebea3c12919 07:35:54 Removing intermediate container 2ebea3c12919 07:35:54 ---> 10cb467556a0 07:35:54 Step 6/26 : WORKDIR /device-virtual-go 07:35:54 ---> Running in bd4a44cd8c0e 07:35:55 Removing intermediate container bd4a44cd8c0e 07:35:55 ---> 6b34e0a00f4a 07:35:55 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:35:55 ---> Running in 58e7fbe45e72 07:35:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:35:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:35:58 OK: 244 MiB in 62 packages 07:35:59 Removing intermediate container 58e7fbe45e72 07:35:59 ---> 1f94dc02adee 07:35:59 Step 8/26 : COPY go.mod vendor* ./ 07:36:15 ---> 2239938ee007 07:36:15 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:36:15 ---> Running in d4421be3c361 07:36:15 skipping... 07:36:15 Removing intermediate container d4421be3c361 07:36:15 ---> a33c3e814905 07:36:15 Step 10/26 : COPY . . 07:36:30 ---> cf37e1d2a604 07:36:30 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:36:30 ---> Running in a7b8581d4fdc 07:36:30 Removing intermediate container a7b8581d4fdc 07:36:30 ---> f13c7019d287 07:36:30 Step 12/26 : RUN $MAKE 07:36:30 ---> Running in 3c6536b6cb38 07:36:31 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=4.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 07:40:27 Removing intermediate container 3c6536b6cb38 07:40:27 ---> fb5ed56c0fa0 07:40:27 Step 13/26 : FROM alpine:3.20 07:40:27 3.20: Pulling from library/alpine 07:40:27 94e9d8af2201: Already exists 07:40:27 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 07:40:27 Status: Downloaded newer image for alpine:3.20 07:40:27 ---> 7aab056cecc6 07:40:27 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:40:27 ---> Running in b91511da83a6 07:40:27 Removing intermediate container b91511da83a6 07:40:27 ---> 0e1e44e6ac3d 07:40:27 Step 15/26 : RUN apk add --update --no-cache dumb-init 07:40:27 ---> Running in e640b37d8631 07:40:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:40:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:40:27 (1/1) Installing dumb-init (1.2.5-r3) 07:40:27 Executing busybox-1.36.1-r29.trigger 07:40:27 OK: 9 MiB in 15 packages 07:40:27 Removing intermediate container e640b37d8631 07:40:27 ---> d831825f8f90 07:40:27 Step 16/26 : RUN apk --no-cache upgrade 07:40:27 ---> Running in 660c8813046c 07:40:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:40:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:40:27 OK: 9 MiB in 15 packages 07:40:27 Removing intermediate container 660c8813046c 07:40:27 ---> f8185e0e9907 07:40:27 Step 17/26 : WORKDIR / 07:40:27 ---> Running in 808af91f00d3 07:40:27 Removing intermediate container 808af91f00d3 07:40:27 ---> c74f9aa10b1b 07:40:27 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:40:27 ---> 3737b23feee7 07:40:27 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 07:40:27 ---> 8b5da6d9b8b7 07:40:27 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 07:40:27 ---> f535a2efa257 07:40:27 Step 21/26 : EXPOSE 59900 07:40:27 ---> Running in 11b7b0186d4e 07:40:27 Removing intermediate container 11b7b0186d4e 07:40:27 ---> a37cc9073b4e 07:40:27 Step 22/26 : ENTRYPOINT ["/device-virtual"] 07:40:27 ---> Running in 28f5400dee42 07:40:27 Removing intermediate container 28f5400dee42 07:40:27 ---> 1dc1a5c74169 07:40:27 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:40:27 ---> Running in 17f34c9d6225 07:40:27 Removing intermediate container 17f34c9d6225 07:40:27 ---> 065dcc5db24f 07:40:27 Step 24/26 : LABEL arch=arm64 07:40:27 ---> Running in 459d91773987 07:40:27 Removing intermediate container 459d91773987 07:40:27 ---> b4688a3597fb 07:40:27 Step 25/26 : LABEL git_sha=61cfff653e6d8db0b28916b7bc013370e3de7ed1 07:40:27 ---> Running in a84166e7c4d6 07:40:27 Removing intermediate container a84166e7c4d6 07:40:27 ---> 819154814011 07:40:27 Step 26/26 : LABEL version=4.0.0 07:40:27 ---> Running in fade555fe8e1 07:40:27 Removing intermediate container fade555fe8e1 07:40:27 ---> 26f7c58f4d48 07:40:27 [Warning] One or more build-args [ARCH] were not consumed 07:40:28 Successfully built 26f7c58f4d48 07:40:28 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 07:40:28 provisioning config files... 07:40:28 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config6468503024074703366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:40:29 ---> ****-login.sh 07:40:29 nexus3.edgexfoundry.org:10001 07:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:29 Configure a credential helper to remove this warning. See 07:40:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:29 07:40:29 Login Succeeded 07:40:29 nexus3.edgexfoundry.org:10002 07:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:29 Configure a credential helper to remove this warning. See 07:40:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:29 07:40:29 Login Succeeded 07:40:29 nexus3.edgexfoundry.org:10003 07:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:30 Configure a credential helper to remove this warning. See 07:40:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:30 07:40:30 Login Succeeded 07:40:30 nexus3.edgexfoundry.org:10004 07:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:30 Configure a credential helper to remove this warning. See 07:40:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:30 07:40:30 Login Succeeded 07:40:30 ****.io 07:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:31 Configure a credential helper to remove this warning. See 07:40:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:31 07:40:31 Login Succeeded 07:40:31 ---> ****-login.sh ends [Pipeline] } 07:40:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:40:31 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 07:40:31 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 07:40:31 61cfff653e6d8db0b28916b7bc013370e3de7ed1 07:40:31 4.0.0 07:40:31 61cfff653e6d8db0b28916b7bc013370e3de7ed1-4.0.0 07:40:31 odessa 07:40:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:31 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:61cfff653e6d8db0b28916b7bc013370e3de7ed1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:31 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:61cfff653e6d8db0b28916b7bc013370e3de7ed1 07:40:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:40:31 8254906d9296: Preparing 07:40:31 d406a384b96e: Preparing 07:40:31 78a1fa35f077: Preparing 07:40:31 20cf3e74fb62: Preparing 07:40:31 395000363506: Preparing 07:40:31 dd9c8f8612c8: Preparing 07:40:31 dd9c8f8612c8: Waiting 07:40:32 d406a384b96e: Pushed 07:40:32 395000363506: Pushed 07:40:32 20cf3e74fb62: Pushed 07:40:32 78a1fa35f077: Pushed 07:40:32 dd9c8f8612c8: Layer already exists 07:40:40 8254906d9296: Pushed 07:40:40 61cfff653e6d8db0b28916b7bc013370e3de7ed1: digest: sha256:95800ce0e70ea50e3015da2d4acba4055e11ad7021dd513b35b11c900da31ffe size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:40 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0 07:40:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:40:40 8254906d9296: Preparing 07:40:40 d406a384b96e: Preparing 07:40:40 78a1fa35f077: Preparing 07:40:40 20cf3e74fb62: Preparing 07:40:40 395000363506: Preparing 07:40:40 dd9c8f8612c8: Preparing 07:40:40 dd9c8f8612c8: Waiting 07:40:40 d406a384b96e: Layer already exists 07:40:40 78a1fa35f077: Layer already exists 07:40:40 8254906d9296: Layer already exists 07:40:40 20cf3e74fb62: Layer already exists 07:40:40 395000363506: Layer already exists 07:40:40 dd9c8f8612c8: Layer already exists 07:40:40 4.0.0: digest: sha256:95800ce0e70ea50e3015da2d4acba4055e11ad7021dd513b35b11c900da31ffe size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:41 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:61cfff653e6d8db0b28916b7bc013370e3de7ed1-4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:61cfff653e6d8db0b28916b7bc013370e3de7ed1-4.0.0 07:40:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:40:41 8254906d9296: Preparing 07:40:41 d406a384b96e: Preparing 07:40:41 78a1fa35f077: Preparing 07:40:41 20cf3e74fb62: Preparing 07:40:41 395000363506: Preparing 07:40:41 dd9c8f8612c8: Preparing 07:40:41 dd9c8f8612c8: Waiting 07:40:41 20cf3e74fb62: Layer already exists 07:40:41 78a1fa35f077: Layer already exists 07:40:41 395000363506: Layer already exists 07:40:41 d406a384b96e: Layer already exists 07:40:41 8254906d9296: Layer already exists 07:40:41 dd9c8f8612c8: Layer already exists 07:40:41 61cfff653e6d8db0b28916b7bc013370e3de7ed1-4.0.0: digest: sha256:95800ce0e70ea50e3015da2d4acba4055e11ad7021dd513b35b11c900da31ffe size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:42 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:odessa 07:40:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:40:42 8254906d9296: Preparing 07:40:42 d406a384b96e: Preparing 07:40:42 78a1fa35f077: Preparing 07:40:42 20cf3e74fb62: Preparing 07:40:42 395000363506: Preparing 07:40:42 dd9c8f8612c8: Preparing 07:40:42 dd9c8f8612c8: Waiting 07:40:42 d406a384b96e: Layer already exists 07:40:42 395000363506: Layer already exists 07:40:42 20cf3e74fb62: Layer already exists 07:40:42 8254906d9296: Layer already exists 07:40:42 78a1fa35f077: Layer already exists 07:40:42 dd9c8f8612c8: Layer already exists 07:40:42 odessa: digest: sha256:95800ce0e70ea50e3015da2d4acba4055e11ad7021dd513b35b11c900da31ffe size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:40:42 ===================================================== [Pipeline] echo 07:40:42 taggedImages: 07:40:42 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:61cfff653e6d8db0b28916b7bc013370e3de7ed1 07:40:42 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0 07:40:42 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:61cfff653e6d8db0b28916b7bc013370e3de7ed1-4.0.0 07:40:42 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:odessa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:40:43 07:40:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:40:43 arm64: Pulling from edgex-lftools-log-publisher 07:40:43 8998bd30e6a1: Pulling fs layer 07:40:43 04944245beec: Pulling fs layer 07:40:43 699f458cf7ca: Pulling fs layer 07:40:43 765212b225bb: Pulling fs layer 07:40:43 f23df028b6ca: Pulling fs layer 07:40:43 765212b225bb: Waiting 07:40:43 d65c8cfc05b1: Pulling fs layer 07:40:43 f23df028b6ca: Waiting 07:40:43 d65c8cfc05b1: Waiting 07:40:43 2437ff75d9bd: Pulling fs layer 07:40:43 2437ff75d9bd: Waiting 07:40:43 04944245beec: Verifying Checksum 07:40:43 04944245beec: Download complete 07:40:43 765212b225bb: Verifying Checksum 07:40:43 765212b225bb: Download complete 07:40:43 f23df028b6ca: Verifying Checksum 07:40:43 f23df028b6ca: Download complete 07:40:43 d65c8cfc05b1: Verifying Checksum 07:40:43 d65c8cfc05b1: Download complete 07:40:43 699f458cf7ca: Verifying Checksum 07:40:43 699f458cf7ca: Download complete 07:40:44 8998bd30e6a1: Verifying Checksum 07:40:44 8998bd30e6a1: Download complete 07:40:46 2437ff75d9bd: Verifying Checksum 07:40:46 2437ff75d9bd: Download complete 07:40:48 8998bd30e6a1: Pull complete 07:40:49 04944245beec: Pull complete 07:40:50 699f458cf7ca: Pull complete 07:40:50 765212b225bb: Pull complete 07:40:51 f23df028b6ca: Pull complete 07:40:51 d65c8cfc05b1: Pull complete 07:41:09 2437ff75d9bd: Pull complete 07:41:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:41:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:41:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:41:09 prd-ubuntu20.04-docker-arm64-4c-16g-41067 does not seem to be running inside a container 07:41:10 $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 07:41:12 $ docker top b4abf6456b8a18d6fd17d823a05a7b2ff8ff940befc17db172a0b83d02d90f7e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:41:13 ---> job-cost.sh 07:41:13 lf-activate-venv: SKIPPING 07:41:13 INFO: No Stack... 07:41:14 INFO: Retrieving Pricing Info for: v3-standard-4 07:41:14 INFO: Archiving Costs [Pipeline] sh 07:41:15 + cut -d, -f6 07:41:15 + cat /w/workspace/device-virtual-go/2/archives/cost.csv [Pipeline] lock 07:41:15 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-odessa-2-stack-cost] 07:41:15 Resource [jenkins-edgexfoundry-device-virtual-go-odessa-2-stack-cost] did not exist. Created. 07:41:15 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-odessa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:41:16 /w/workspace/device-virtual-go/2@tmp/durable-37a57cb5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:41:16 + echo total: 0.10999999940395355 [Pipeline] stash 07:41:16 Warning: overwriting stash ‘stack-cost’ 07:41:17 Stashed 1 file(s) [Pipeline] } 07:41:17 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-odessa-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:41:17 $ docker stop --time=1 b4abf6456b8a18d6fd17d823a05a7b2ff8ff940befc17db172a0b83d02d90f7e 07:41:19 $ docker rm -f --volumes b4abf6456b8a18d6fd17d823a05a7b2ff8ff940befc17db172a0b83d02d90f7e [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 07:41:19 provisioning config files... 07:41:19 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_odessa@tmp/config1752118933913231832tmp [Pipeline] { [Pipeline] sh 07:41:19 + set +x 07:41:19 + curl -s https://codecov.io/bash 07:41:19 + bash -s -- 07:41:19 07:41:19 _____ _ 07:41:19 / ____| | | 07:41:19 | | ___ __| | ___ ___ _____ __ 07:41:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:41:19 | |___| (_) | (_| | __/ (_| (_) \ V / 07:41:19 \_____\___/ \__,_|\___|\___\___/ \_/ 07:41:19 Bash-1.0.6 07:41:19 07:41:19 07:41:19 ==> git version 2.25.1 found 07:41: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 07:41:19 Release-Date: 2020-01-08 07:41: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 07:41:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:41:19 ==> Jenkins CI detected. 07:41:19 current dir:  /w/workspace/foundry_device-virtual-go_odessa 07:41:19 project root: . 07:41:19 --> token set from env 07:41:19 Yaml found at: vendor/github.com/go-openapi/analysis/.codecov.yml 07:41:19 ==> Running gcov in . (disable via -X gcov) 07:41:19 ==> Python coveragepy not found 07:41:19 ==> Searching for coverage reports in: 07:41:19 + . 07:41:20 -> Found 1 reports 07:41:20 ==> Detecting git/mercurial file structure 07:41:20 ==> Reading reports 07:41:20 + ./coverage.out bytes=43316 07:41:20 ==> Appending adjustments 07:41:20 https://docs.codecov.io/docs/fixing-reports 07:41:20 + Found adjustments 07:41:20 ==> Gzipping contents 07:41:20 32K /tmp/codecov.FNriAg.gz 07:41:20 ==> Uploading reports 07:41:20 url: https://codecov.io 07:41:20 query: branch=odessa&commit=61cfff653e6d8db0b28916b7bc013370e3de7ed1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fodessa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:41:20 -> Pinging Codecov 07:41:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=odessa&commit=61cfff653e6d8db0b28916b7bc013370e3de7ed1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fodessa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:41:20 -> Uploading to 07:41:20 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-virtual-go/61cfff653e6d8db0b28916b7bc013370e3de7ed1/7efdf153-5747-48f3-a042-ef4f4d61caa4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250312%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250312T074120Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=b1ef1000d37661570e6731ccb617cfe9d83a4ed90ad19f4c000fd400a61d3799 07:41:20 % Total % Received % Xferd Average Speed Time Time Time Current 07:41:20 Dload Upload Total Spent Left Speed 07:41:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 29675 0 0 100 29675 0 211k --:--:-- --:--:-- --:--:-- 211k 07:41:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/61cfff653e6d8db0b28916b7bc013370e3de7ed1 [Pipeline] } 07:41:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:41:20 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:41:20 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:41:21 07:41:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:41:21 latest: Pulling from edgex-devops/edgex-snyk-go 07:41:21 43c4264eed91: Pulling fs layer 07:41:21 4cc291be95ef: Pulling fs layer 07:41:21 2ac1f1163629: Pulling fs layer 07:41:21 5c3c966382ef: Pulling fs layer 07:41:21 4f4fb700ef54: Pulling fs layer 07:41:21 d9c7d2e4e75e: Pulling fs layer 07:41:21 9c3e1370e548: Pulling fs layer 07:41:21 5c3c966382ef: Waiting 07:41:21 4f4fb700ef54: Waiting 07:41:21 d9c7d2e4e75e: Waiting 07:41:21 9c3e1370e548: Waiting 07:41:21 4cc291be95ef: Download complete 07:41:21 5c3c966382ef: Verifying Checksum 07:41:21 5c3c966382ef: Download complete 07:41:21 4f4fb700ef54: Verifying Checksum 07:41:21 43c4264eed91: Download complete 07:41:21 43c4264eed91: Pull complete 07:41:21 d9c7d2e4e75e: Verifying Checksum 07:41:21 d9c7d2e4e75e: Download complete 07:41:21 4cc291be95ef: Pull complete 07:41:21 2ac1f1163629: Download complete 07:41:22 9c3e1370e548: Download complete 07:41:25 2ac1f1163629: Pull complete 07:41:25 5c3c966382ef: Pull complete 07:41:25 4f4fb700ef54: Pull complete 07:41:25 d9c7d2e4e75e: Pull complete 07:41:27 9c3e1370e548: Pull complete 07:41:28 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 07:41:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:41:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:41:28 prd-ubuntu20.04-docker-8c-8g-41062 does not seem to be running inside a container 07:41: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/foundry_device-virtual-go_odessa -v /w/workspace/foundry_device-virtual-go_odessa:/w/workspace/foundry_device-virtual-go_odessa:rw,z -v /w/workspace/foundry_device-virtual-go_odessa@tmp:/w/workspace/foundry_device-virtual-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 07:41:30 $ docker top d8925ccfcdc45b617c64adfc7173812bd14c15aecac438c08b80fe9fa1292063 -eo pid,comm [Pipeline] { [Pipeline] sh 07:41:30 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_odessa [Pipeline] echo 07:41:30 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:odessa' [Pipeline] sh 07:41:31 + set -o pipefail 07:41:31 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:odessa' 07:41:35 07:41:35 Monitoring /w/workspace/foundry_device-virtual-go_odessa (github.com/edgexfoundry/device-virtual-go)... 07:41:35 07:41:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/79f06c66-ae0a-455c-80b1-770f1f5c69f5/history/59ec77ca-a82b-4216-87af-18dd646ea166 07:41:35 07:41:35 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:41:35 07:41:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:41:35 07:41:35 07:41:35 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 07:41:35 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:41:35 $ docker stop --time=1 d8925ccfcdc45b617c64adfc7173812bd14c15aecac438c08b80fe9fa1292063 07:41:37 $ docker rm -f --volumes d8925ccfcdc45b617c64adfc7173812bd14c15aecac438c08b80fe9fa1292063 [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 07:41:38 + git log --format=format:%s -1 61cfff653e6d8db0b28916b7bc013370e3de7ed1 [Pipeline] sh 07:41:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:41:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:41:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:41:38 prd-ubuntu20.04-docker-8c-8g-41062 does not seem to be running inside a container 07:41:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_odessa -v /w/workspace/foundry_device-virtual-go_odessa:/w/workspace/foundry_device-virtual-go_odessa:rw,z -v /w/workspace/foundry_device-virtual-go_odessa@tmp:/w/workspace/foundry_device-virtual-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:41:39 $ docker top 629b60deb97c9ee6b11847ee5567732b7274514bcd7785b3cd3e143b67157c90 -eo pid,comm 07:41:39 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). 07:41:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:41:39 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:41:39 + git semver [Pipeline] } 07:41:39 $ docker stop --time=1 629b60deb97c9ee6b11847ee5567732b7274514bcd7785b3cd3e143b67157c90 07:41:41 $ docker rm -f --volumes 629b60deb97c9ee6b11847ee5567732b7274514bcd7785b3cd3e143b67157c90 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:41:41 07:41:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:41:41 0.23.1-centos7: Pulling from edgex-lftools 07:41:41 ab5ef0e58194: Pulling fs layer 07:41:41 9712f1f96733: Pulling fs layer 07:41:41 63f879dbbcfc: Pulling fs layer 07:41:41 0d9ebad4ef96: Pulling fs layer 07:41:41 e9a5061849ea: Pulling fs layer 07:41:41 d747dcd14b5f: Pulling fs layer 07:41:41 2de7ff778b66: Pulling fs layer 07:41:41 d747dcd14b5f: Waiting 07:41:41 e9a5061849ea: Waiting 07:41:41 2de7ff778b66: Waiting 07:41:41 0d9ebad4ef96: Waiting 07:41:41 9712f1f96733: Verifying Checksum 07:41:41 9712f1f96733: Download complete 07:41:42 63f879dbbcfc: Verifying Checksum 07:41:42 63f879dbbcfc: Download complete 07:41:42 ab5ef0e58194: Verifying Checksum 07:41:42 d747dcd14b5f: Download complete 07:41:42 e9a5061849ea: Verifying Checksum 07:41:42 e9a5061849ea: Download complete 07:41:42 0d9ebad4ef96: Verifying Checksum 07:41:42 0d9ebad4ef96: Download complete 07:41:42 2de7ff778b66: Verifying Checksum 07:41:42 2de7ff778b66: Download complete 07:41:44 ab5ef0e58194: Pull complete 07:41:45 9712f1f96733: Pull complete 07:41:45 63f879dbbcfc: Pull complete 07:41:49 0d9ebad4ef96: Pull complete 07:41:49 e9a5061849ea: Pull complete 07:41:49 d747dcd14b5f: Pull complete 07:41:50 2de7ff778b66: Pull complete 07:41:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:41:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:41:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:41:50 prd-ubuntu20.04-docker-8c-8g-41062 does not seem to be running inside a container 07:41:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_odessa -v /w/workspace/foundry_device-virtual-go_odessa:/w/workspace/foundry_device-virtual-go_odessa:rw,z -v /w/workspace/foundry_device-virtual-go_odessa@tmp:/w/workspace/foundry_device-virtual-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:41:53 $ docker top 10a130e583cd60427652ff414e3016f3dbeb123822df93c913c84f5aeded981a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:41:53 provisioning config files... 07:41:53 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_odessa@tmp/config17830204195931923781tmp 07:41:53 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_odessa@tmp/config4950493791644702661tmp 07:41:53 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_odessa@tmp/config4724295651450134760tmp [Pipeline] { [Pipeline] echo 07:41:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:41:53 ---> sigul-configuration.sh 07:41:53 gpg: directory `/root/.gnupg' created 07:41:53 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:41:53 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:41:53 gpg: keyring `/root/.gnupg/secring.gpg' created 07:41:53 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:41:53 gpg: CAST5 encrypted data 07:41:53 gpg: encrypted with 1 passphrase 07:41:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:41:54 + mkdir /home/jenkins 07:41:54 + mkdir /home/jenkins/sigul [Pipeline] sh 07:41:54 + 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 07:41:54 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:41:54 ---> sigul-install.sh 07:41:54 Sigul already installed; skipping installation. [Pipeline] sh 07:41:55 + git tag --list 07:41:55 v1.0.0 07:41:55 v1.1.0 07:41:55 v1.1.1 07:41:55 v1.2.1 07:41:55 v1.2.2 07:41:55 v1.2.3 07:41:55 v1.3.0 07:41:55 v1.3.1 07:41:55 v2.0.0 07:41:55 v2.1.0 07:41:55 v2.1.1 07:41:55 v2.2.0 07:41:55 v2.3.0 07:41:55 v3.0 07:41:55 v3.0.0 07:41:55 v3.1 07:41:55 v3.1.0 07:41:55 v3.1.0-dev.1 07:41:55 v3.1.0-dev.10 07:41:55 v3.1.0-dev.11 07:41:55 v3.1.0-dev.12 07:41:55 v3.1.0-dev.13 07:41:55 v3.1.0-dev.14 07:41:55 v3.1.0-dev.15 07:41:55 v3.1.0-dev.16 07:41:55 v3.1.0-dev.17 07:41:55 v3.1.0-dev.18 07:41:55 v3.1.0-dev.19 07:41:55 v3.1.0-dev.2 07:41:55 v3.1.0-dev.20 07:41:55 v3.1.0-dev.21 07:41:55 v3.1.0-dev.22 07:41:55 v3.1.0-dev.23 07:41:55 v3.1.0-dev.24 07:41:55 v3.1.0-dev.25 07:41:55 v3.1.0-dev.26 07:41:55 v3.1.0-dev.27 07:41:55 v3.1.0-dev.28 07:41:55 v3.1.0-dev.29 07:41:55 v3.1.0-dev.3 07:41:55 v3.1.0-dev.30 07:41:55 v3.1.0-dev.4 07:41:55 v3.1.0-dev.5 07:41:55 v3.1.0-dev.6 07:41:55 v3.1.0-dev.7 07:41:55 v3.1.0-dev.8 07:41:55 v3.1.0-dev.9 07:41:55 v3.1.1 07:41:55 v3.1.1-dev.1 07:41:55 v3.2.0-dev.1 07:41:55 v3.2.0-dev.10 07:41:55 v3.2.0-dev.11 07:41:55 v3.2.0-dev.12 07:41:55 v3.2.0-dev.13 07:41:55 v3.2.0-dev.14 07:41:55 v3.2.0-dev.15 07:41:55 v3.2.0-dev.16 07:41:55 v3.2.0-dev.17 07:41:55 v3.2.0-dev.18 07:41:55 v3.2.0-dev.19 07:41:55 v3.2.0-dev.2 07:41:55 v3.2.0-dev.20 07:41:55 v3.2.0-dev.21 07:41:55 v3.2.0-dev.22 07:41:55 v3.2.0-dev.23 07:41:55 v3.2.0-dev.24 07:41:55 v3.2.0-dev.25 07:41:55 v3.2.0-dev.26 07:41:55 v3.2.0-dev.27 07:41:55 v3.2.0-dev.28 07:41:55 v3.2.0-dev.3 07:41:55 v3.2.0-dev.4 07:41:55 v3.2.0-dev.5 07:41:55 v3.2.0-dev.6 07:41:55 v3.2.0-dev.7 07:41:55 v3.2.0-dev.8 07:41:55 v3.2.0-dev.9 07:41:55 v4.0.0 07:41:55 v4.0.0-dev.1 07:41:55 v4.0.0-dev.10 07:41:55 v4.0.0-dev.11 07:41:55 v4.0.0-dev.12 07:41:55 v4.0.0-dev.13 07:41:55 v4.0.0-dev.14 07:41:55 v4.0.0-dev.15 07:41:55 v4.0.0-dev.16 07:41:55 v4.0.0-dev.17 07:41:55 v4.0.0-dev.18 07:41:55 v4.0.0-dev.19 07:41:55 v4.0.0-dev.2 07:41:55 v4.0.0-dev.3 07:41:55 v4.0.0-dev.4 07:41:55 v4.0.0-dev.5 07:41:55 v4.0.0-dev.6 07:41:55 v4.0.0-dev.7 07:41:55 v4.0.0-dev.8 07:41:55 v4.0.0-dev.9 [Pipeline] sh 07:41:55 + lftools sign git-tag v4.0.0 07:41:55 Signing Git tag with Sigul... 07:41:55 Signing v4.0.0 [Pipeline] echo 07:41:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:41:56 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:41:56 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:41:56 $ docker stop --time=1 10a130e583cd60427652ff414e3016f3dbeb123822df93c913c84f5aeded981a 07:41:58 $ docker rm -f --volumes 10a130e583cd60427652ff414e3016f3dbeb123822df93c913c84f5aeded981a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:41:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:41:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:41:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:41:58 prd-ubuntu20.04-docker-8c-8g-41062 does not seem to be running inside a container 07:41:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_odessa -v /w/workspace/foundry_device-virtual-go_odessa:/w/workspace/foundry_device-virtual-go_odessa:rw,z -v /w/workspace/foundry_device-virtual-go_odessa@tmp:/w/workspace/foundry_device-virtual-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:41:59 $ docker top 617da9528d1c0c187cbb95d595c248a364243d6c6c11d7902629aa93b021205d -eo pid,comm 07:41:59 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:41:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:41:59 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:41:59 + git semver [Pipeline] } 07:42:00 $ docker stop --time=1 617da9528d1c0c187cbb95d595c248a364243d6c6c11d7902629aa93b021205d 07:42:01 $ docker rm -f --volumes 617da9528d1c0c187cbb95d595c248a364243d6c6c11d7902629aa93b021205d [Pipeline] // withDockerContainer [Pipeline] sh 07:42:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:42:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:42:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:42:02 prd-ubuntu20.04-docker-8c-8g-41062 does not seem to be running inside a container 07:42:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_odessa -v /w/workspace/foundry_device-virtual-go_odessa:/w/workspace/foundry_device-virtual-go_odessa:rw,z -v /w/workspace/foundry_device-virtual-go_odessa@tmp:/w/workspace/foundry_device-virtual-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:42:02 $ docker top e76505a18ecf205bb0dfaec57955aae1b10208e9007366e3673fe6168cf3a79d -eo pid,comm 07:42:02 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). 07:42:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:42:02 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:42:02 + git semver [Pipeline] } 07:42:03 $ docker stop --time=1 e76505a18ecf205bb0dfaec57955aae1b10208e9007366e3673fe6168cf3a79d 07:42:04 $ docker rm -f --volumes e76505a18ecf205bb0dfaec57955aae1b10208e9007366e3673fe6168cf3a79d [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 07:42:05 + [ -d /w/workspace/foundry_device-virtual-go_odessa/archives ] 07:42:05 + ls -al /w/workspace/foundry_device-virtual-go_odessa/archives 07:42:05 total 16 07:42:05 drwxr-xr-x 3 root root 4096 Mar 12 07:25 . 07:42:05 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 07:41 .. 07:42:05 drwxr-xr-x 2 root root 4096 Mar 12 07:25 cost 07:42:05 -rw-r--r-- 1 root root 89 Mar 12 07:25 cost.csv 07:42:05 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_odessa/archives 07:42:05 + ls -al /w/workspace/foundry_device-virtual-go_odessa/archives 07:42:05 total 16 07:42:05 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 07:25 . 07:42:05 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 07:41 .. 07:42:05 drwxr-xr-x 2 jenkins jenkins 4096 Mar 12 07:25 cost 07:42:05 -rw-r--r-- 1 jenkins jenkins 89 Mar 12 07:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:42:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:42:06 ---> package-listing.sh 07:42:06 ++ facter osfamily 07:42:06 ++ tr '[:upper:]' '[:lower:]' 07:42:06 + OS_FAMILY=debian 07:42:06 + workspace=/w/workspace/foundry_device-virtual-go_odessa 07:42:06 + START_PACKAGES=/tmp/packages_start.txt 07:42:06 + END_PACKAGES=/tmp/packages_end.txt 07:42:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:42:06 + PACKAGES=/tmp/packages_start.txt 07:42:06 + '[' /w/workspace/foundry_device-virtual-go_odessa ']' 07:42:06 + PACKAGES=/tmp/packages_end.txt 07:42:06 + case "${OS_FAMILY}" in 07:42:06 + dpkg -l 07:42:06 + grep '^ii' 07:42:06 + '[' -f /tmp/packages_start.txt ']' 07:42:06 + '[' -f /tmp/packages_end.txt ']' 07:42:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:42:06 + '[' /w/workspace/foundry_device-virtual-go_odessa ']' 07:42:06 + mkdir -p /w/workspace/foundry_device-virtual-go_odessa/archives/ 07:42:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_odessa/archives/ [Pipeline] echo 07:42:06 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:42:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:42:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:42:08 prd-ubuntu20.04-docker-8c-8g-41062 does not seem to be running inside a container 07:42:08 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_odessa -v /w/workspace/foundry_device-virtual-go_odessa:/w/workspace/foundry_device-virtual-go_odessa:rw,z -v /w/workspace/foundry_device-virtual-go_odessa@tmp:/w/workspace/foundry_device-virtual-go_odessa@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 07:42:08 $ docker top 7b928906c1330b18bd77cc8cd8c0576180d03c312efdc70df960f82087641e7d -eo pid,comm [Pipeline] { [Pipeline] sh 07:42:08 + touch /tmp/pre-build-complete [Pipeline] sh 07:42:08 + mkdir -p /var/log/sysstat [Pipeline] sh 07:42:09 + ls /var/log/sa-host 07:42:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:42:09 provisioning config files... 07:42:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_odessa@tmp/config1188854821161838507tmp [Pipeline] { [Pipeline] echo 07:42:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:42:09 ---> create-netrc.sh [Pipeline] } 07:42:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:42:09 ---> python-tools-install.sh [Pipeline] echo 07:42:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:42:10 ---> sudo-logs.sh 07:42:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:42:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:42:10 ---> job-cost.sh 07:42:10 lf-activate-venv: SKIPPING 07:42:10 DEBUG: total: 0.2199999988079071 07:42:10 INFO: Retrieving Stack Cost... 07:42:10 INFO: Retrieving Pricing Info for: v3-standard-8 07:42:11 INFO: Archiving Costs [Pipeline] echo 07:42:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:42:11 ---> logs-deploy.sh 07:42:11 lf-activate-venv: SKIPPING 07:42:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/odessa/2 07:42:11 INFO: archiving workspace using pattern(s): 07:42:12 Archives upload complete. 07:42:12 INFO: archiving logs to Nexus