Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eb7c57757ce15ef0c337ead62f125add9c242e71 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-ssh10482313446229037008.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15148133333900202057.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1747897068983273546.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3013029448971571386.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11432514603668164406.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-ubuntu20.04-docker-8c-8g-35037’ is offline Running on prd-ubuntu20.04-docker-8c-8g-35038 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Avoid second fetch Checking out Revision eb7c57757ce15ef0c337ead62f125add9c242e71 (main) Commit message: "Merge pull request #509 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.11" > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb7c57757ce15ef0c337ead62f125add9c242e71 # timeout=10 > git rev-list --no-walk c89217c5f3845f290d3ddb873e61b9fa0eced499 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:20:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:20:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:20:18 ========================================================= 12:20:18 EdgeX Global Pipelines Version Info 12:20:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:20:19 ------------------- 12:20:19 stable info: 12:20:19 ------------------- 12:20:19 Commited By: Cherry Wang cherry@iotechsys.com 12:20:19 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 12:20:19 Message: update stable to v1.0.269 12:20:19 ------------------- 12:20:19 experimental info: 12:20:19 ------------------- 12:20:19 Commited By: **** collab-it+edgex@linuxfoundation.org 12:20:19 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 12:20:19 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:20:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 12:20:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 12:20:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:20:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:20:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:20:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb7c57757ce15ef0c337ead62f125add9c242e71 [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb7c577 [Pipeline] echo 12:20:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:20:20 provisioning config files... 12:20:20 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9374770071628652046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:20:20 ---> ****-login.sh 12:20:20 nexus3.edgexfoundry.org:10001 12:20:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:20:21 Configure a credential helper to remove this warning. See 12:20:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:20:21 12:20:21 Login Succeeded 12:20:21 nexus3.edgexfoundry.org:10002 12:20:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:20:21 Configure a credential helper to remove this warning. See 12:20:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:20:21 12:20:21 Login Succeeded 12:20:21 nexus3.edgexfoundry.org:10003 12:20:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:20:21 Configure a credential helper to remove this warning. See 12:20:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:20:21 12:20:21 Login Succeeded 12:20:21 nexus3.edgexfoundry.org:10004 12:20:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:20:21 Configure a credential helper to remove this warning. See 12:20:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:20:21 12:20:21 Login Succeeded 12:20:21 ****.io 12:20:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:20:22 Configure a credential helper to remove this warning. See 12:20:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:20:22 12:20:22 Login Succeeded 12:20:22 ---> ****-login.sh ends [Pipeline] } 12:20:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:20:22 + git rev-list -1 --merges eb7c57757ce15ef0c337ead62f125add9c242e71~1..eb7c57757ce15ef0c337ead62f125add9c242e71 [Pipeline] echo 12:20:22 -----------> git rev-list -1 --merges eb7c57757ce15ef0c337ead62f125add9c242e71~1..eb7c57757ce15ef0c337ead62f125add9c242e71 eb7c57757ce15ef0c337ead62f125add9c242e71 12:20:22 eb7c57757ce15ef0c337ead62f125add9c242e71 [false] [Pipeline] sh 12:20:22 + git log --format=format:%s -1 eb7c57757ce15ef0c337ead62f125add9c242e71 [Pipeline] echo 12:20:22 ========================================================= 12:20:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:20:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:20:23 + git log --format=format:%s -1 eb7c57757ce15ef0c337ead62f125add9c242e71 [Pipeline] echo 12:20:23 [semverPrep] GIT_COMMIT: eb7c57757ce15ef0c337ead62f125add9c242e71, Commit Message: Merge pull request #509 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.11 [Pipeline] echo 12:20:23 [semverPrep] This is not a build commit. [Pipeline] sh 12:20:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:20:23 + grep -v github /etc/ssh/ssh_known_hosts 12:20:23 + [ -e /tmp/ssh_known_hosts ] 12:20:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:20:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:20:23 + sudo tee -a /etc/ssh/ssh_known_hosts 12:20:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:20:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:20:23 12:20:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:20:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:20:24 0.1.4: Pulling from edgex-devops/py-git-semver 12:20:24 b85a868b505f: Pulling fs layer 12:20:24 e2be974225ed: Pulling fs layer 12:20:24 339a4e72a1f5: Pulling fs layer 12:20:24 988bab9f4d93: Pulling fs layer 12:20:24 1469e6f7b9e6: Pulling fs layer 12:20:24 eaf3925da568: Pulling fs layer 12:20:24 bab4dde63d76: Pulling fs layer 12:20:24 bde34c3a00c8: Pulling fs layer 12:20:24 b352a97aabf1: Pulling fs layer 12:20:24 4872d77fe225: Pulling fs layer 12:20:24 5851b861e8e6: Pulling fs layer 12:20:24 988bab9f4d93: Waiting 12:20:24 eaf3925da568: Waiting 12:20:24 5851b861e8e6: Waiting 12:20:24 bab4dde63d76: Waiting 12:20:24 b352a97aabf1: Waiting 12:20:24 1469e6f7b9e6: Waiting 12:20:24 4872d77fe225: Waiting 12:20:24 bde34c3a00c8: Waiting 12:20:24 e2be974225ed: Download complete 12:20:24 988bab9f4d93: Verifying Checksum 12:20:24 988bab9f4d93: Download complete 12:20:24 1469e6f7b9e6: Verifying Checksum 12:20:24 1469e6f7b9e6: Download complete 12:20:24 eaf3925da568: Verifying Checksum 12:20:24 eaf3925da568: Download complete 12:20:24 339a4e72a1f5: Verifying Checksum 12:20:24 339a4e72a1f5: Download complete 12:20:24 bde34c3a00c8: Download complete 12:20:24 b352a97aabf1: Download complete 12:20:24 4872d77fe225: Verifying Checksum 12:20:24 4872d77fe225: Download complete 12:20:24 5851b861e8e6: Download complete 12:20:24 b85a868b505f: Verifying Checksum 12:20:24 b85a868b505f: Download complete 12:20:24 bab4dde63d76: Verifying Checksum 12:20:24 bab4dde63d76: Download complete 12:20:25 b85a868b505f: Pull complete 12:20:25 e2be974225ed: Pull complete 12:20:26 339a4e72a1f5: Pull complete 12:20:26 988bab9f4d93: Pull complete 12:20:26 1469e6f7b9e6: Pull complete 12:20:26 eaf3925da568: Pull complete 12:20:28 bab4dde63d76: Pull complete 12:20:28 bde34c3a00c8: Pull complete 12:20:28 b352a97aabf1: Pull complete 12:20:28 4872d77fe225: Pull complete 12:20:28 5851b861e8e6: Pull complete 12:20:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:20:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:20:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:20:28 prd-ubuntu20.04-docker-8c-8g-35038 does not seem to be running inside a container 12:20:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:20:32 $ docker top 73c72078b66072ca224f0247ee90c7c782a9dc521836080f4d755da1220353af -eo pid,comm 12:20:32 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:20:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:20:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:20:32 [ssh-agent] Looking for ssh-agent implementation... 12:20:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:20:32 $ docker exec 73c72078b66072ca224f0247ee90c7c782a9dc521836080f4d755da1220353af ssh-agent 12:20:32 SSH_AUTH_SOCK=/tmp/ssh-AXvJexAiLz68/agent.32 12:20:32 SSH_AGENT_PID=38 12:20:32 Running ssh-add (command line suppressed) 12:20:32 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6715211230427528341.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6715211230427528341.key) 12:20:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:20:32 + git tag --points-at HEAD [Pipeline] } 12:20:32 $ docker exec --env ******** --env ******** 73c72078b66072ca224f0247ee90c7c782a9dc521836080f4d755da1220353af ssh-agent -k 12:20:33 unset SSH_AUTH_SOCK; 12:20:33 unset SSH_AGENT_PID; 12:20:33 echo Agent pid 38 killed; 12:20:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:20:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:20:33 [ssh-agent] Looking for ssh-agent implementation... 12:20:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:20:33 $ docker exec 73c72078b66072ca224f0247ee90c7c782a9dc521836080f4d755da1220353af ssh-agent 12:20:33 SSH_AUTH_SOCK=/tmp/ssh-QSjtuEUV2sO2/agent.71 12:20:33 SSH_AGENT_PID=77 12:20:33 Running ssh-add (command line suppressed) 12:20:33 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10721701427969543882.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10721701427969543882.key) 12:20:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:20:33 + git semver init 12:20:33 2024-12-13 12:20:33,863 [run_init] DEBUG init version:0.0.0 force:False 12:20:33 2024-12-13 12:20:33,864 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 12:20:33 2024-12-13 12:20:33,864 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 12:20:33 2024-12-13 12:20:33,865 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 12:20:35 2024-12-13 12:20:35,598 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 12:20:35 2024-12-13 12:20:35,598 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 12:20:35 2024-12-13 12:20:35,599 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:20:35 2024-12-13 12:20:35,599 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:20:35 4.0.0-dev.8 [Pipeline] } 12:20:35 $ docker exec --env ******** --env ******** 73c72078b66072ca224f0247ee90c7c782a9dc521836080f4d755da1220353af ssh-agent -k 12:20:35 unset SSH_AUTH_SOCK; 12:20:35 unset SSH_AGENT_PID; 12:20:35 echo Agent pid 77 killed; 12:20:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:20:36 + git semver [Pipeline] } 12:20:36 $ docker stop --time=1 73c72078b66072ca224f0247ee90c7c782a9dc521836080f4d755da1220353af 12:20:37 $ docker rm -f --volumes 73c72078b66072ca224f0247ee90c7c782a9dc521836080f4d755da1220353af [Pipeline] // withDockerContainer [Pipeline] sh 12:20:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:20:38 Stashed 1 file(s) [Pipeline] echo 12:20:38 [edgeXSemver]: initialized semver on version 4.0.0-dev.8 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:20:38 provisioning config files... 12:20:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10061312034173509189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:20:38 ---> ****-login.sh 12:20:38 nexus3.edgexfoundry.org:10001 12:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:20:38 Configure a credential helper to remove this warning. See 12:20:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:20:38 12:20:38 Login Succeeded 12:20:38 nexus3.edgexfoundry.org:10002 12:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:20:38 Configure a credential helper to remove this warning. See 12:20:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:20:38 12:20:38 Login Succeeded 12:20:38 nexus3.edgexfoundry.org:10003 12:20:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:20:39 Configure a credential helper to remove this warning. See 12:20:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:20:39 12:20:39 Login Succeeded 12:20:39 nexus3.edgexfoundry.org:10004 12:20:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:20:39 Configure a credential helper to remove this warning. See 12:20:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:20:39 12:20:39 Login Succeeded 12:20:39 ****.io 12:20:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:20:39 Configure a credential helper to remove this warning. See 12:20:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:20:39 12:20:39 Login Succeeded 12:20:39 ---> ****-login.sh ends [Pipeline] } 12:20:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:20:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:20:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:20:39 ========================================================= 12:20:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 12:20:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:20:39 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 12:20:39 Sending build context to Docker daemon 37.75MB 12:20:39 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 12:20:39 Step 2/12 : FROM ${BASE} AS builder 12:20:40 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 12:20:40 43c4264eed91: Pulling fs layer 12:20:40 4cc291be95ef: Pulling fs layer 12:20:40 2ac1f1163629: Pulling fs layer 12:20:40 5c3c966382ef: Pulling fs layer 12:20:40 4f4fb700ef54: Pulling fs layer 12:20:40 5d5c8e513c77: Pulling fs layer 12:20:40 9f66e0745190: Pulling fs layer 12:20:40 f49a43e4bbc0: Pulling fs layer 12:20:40 561ebcabdf7f: Pulling fs layer 12:20:40 9f66e0745190: Waiting 12:20:40 f49a43e4bbc0: Waiting 12:20:40 561ebcabdf7f: Waiting 12:20:40 5c3c966382ef: Waiting 12:20:40 5d5c8e513c77: Waiting 12:20:40 4f4fb700ef54: Waiting 12:20:40 4cc291be95ef: Download complete 12:20:40 5c3c966382ef: Download complete 12:20:40 4f4fb700ef54: Verifying Checksum 12:20:40 4f4fb700ef54: Download complete 12:20:40 5d5c8e513c77: Download complete 12:20:40 43c4264eed91: Download complete 12:20:40 9f66e0745190: Verifying Checksum 12:20:40 9f66e0745190: Download complete 12:20:40 43c4264eed91: Pull complete 12:20:40 561ebcabdf7f: Verifying Checksum 12:20:40 561ebcabdf7f: Download complete 12:20:40 4cc291be95ef: Pull complete 12:20:40 2ac1f1163629: Download complete 12:20:41 f49a43e4bbc0: Verifying Checksum 12:20:41 f49a43e4bbc0: Download complete 12:20:44 2ac1f1163629: Pull complete 12:20:44 5c3c966382ef: Pull complete 12:20:44 4f4fb700ef54: Pull complete 12:20:44 5d5c8e513c77: Pull complete 12:20:44 9f66e0745190: Pull complete 12:20:47 f49a43e4bbc0: Pull complete 12:20:47 561ebcabdf7f: Pull complete 12:20:47 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 12:20:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 12:20:47 ---> 3a752c3f9dda 12:20:47 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:20:52 ---> Running in 82d6fd30800e 12:20:53 Removing intermediate container 82d6fd30800e 12:20:53 ---> 730be859871f 12:20:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:20:53 ---> Running in 69320f065ae7 12:20:53 Removing intermediate container 69320f065ae7 12:20:53 ---> c6ba40da8cdf 12:20:53 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:20:53 ---> Running in 3c66abc789a8 12:20:53 Removing intermediate container 3c66abc789a8 12:20:53 ---> 51fafc2193c3 12:20:53 Step 6/12 : WORKDIR /device-virtual-go 12:20:53 ---> Running in 6c81d7925d59 12:20:53 Removing intermediate container 6c81d7925d59 12:20:53 ---> 0c1e8b65df11 12:20:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:20:53 ---> Running in e83270ef4f32 12:20:53 Still waiting to schedule task 12:20:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:20:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:20:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:20:54 (1/4) Installing openssh-keygen (9.7_p1-r4) 12:20:54 (2/4) Installing libedit (20240517.3.1-r0) 12:20:54 (3/4) Installing openssh-client-common (9.7_p1-r4) 12:20:54 (4/4) Installing openssh-client-default (9.7_p1-r4) 12:20:54 Executing busybox-1.36.1-r29.trigger 12:20:54 OK: 250 MiB in 58 packages 12:20:54 Removing intermediate container e83270ef4f32 12:20:54 ---> 202e1ab7aaf5 12:20:54 Step 8/12 : COPY go.mod vendor* ./ 12:20:55 ---> c8f193e3fd5b 12:20:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:20:55 ---> Running in 976e6f021feb 12:21:41 Removing intermediate container 976e6f021feb 12:21:41 ---> 34907edb4f53 12:21:41 Step 10/12 : COPY . . 12:21:41 ---> 0a06a317bce4 12:21:41 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:21:41 ---> Running in 64faa80ed37e 12:21:41 Removing intermediate container 64faa80ed37e 12:21:41 ---> 591cef55018d 12:21:41 Step 12/12 : RUN $MAKE 12:21:41 ---> Running in c48881a37b85 12:21:41 noop 12:21:41 Removing intermediate container c48881a37b85 12:21:41 ---> bad79f08cdcf 12:21:41 Successfully built bad79f08cdcf 12:21:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:42 + docker inspect -f . ci-base-image-x86_64 12:21:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:21:42 prd-ubuntu20.04-docker-8c-8g-35038 does not seem to be running inside a container 12:21:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:21:42 $ docker top 976c9a79952ae8d83988347b2e5d4f3080d86b1e811f227e79bbb274320fa32c -eo pid,comm [Pipeline] { [Pipeline] sh 12:21:43 + go version 12:21:43 go version go1.23.2 linux/amd64 [Pipeline] } 12:21:43 $ docker stop --time=1 976c9a79952ae8d83988347b2e5d4f3080d86b1e811f227e79bbb274320fa32c 12:21:44 $ docker rm -f --volumes 976c9a79952ae8d83988347b2e5d4f3080d86b1e811f227e79bbb274320fa32c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:44 + docker inspect -f . ci-base-image-x86_64 12:21:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:21:44 prd-ubuntu20.04-docker-8c-8g-35038 does not seem to be running inside a container 12:21:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:21:45 $ docker top 5ff5f0ea0092d3704fe5ea1a901a4dad18c218a2fe7b61fa935568af1357d2bb -eo pid,comm [Pipeline] { [Pipeline] sh 12:21:45 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 12:21:45 + make test 12:21:45 go test ./... -coverprofile=coverage.out 12:21:47 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:22:05 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 12:22:05 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.013s coverage: 58.4% of statements 12:22:18 go vet ./... 12:22:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:22:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:22:24 ./bin/test-attribution-txt.sh [Pipeline] echo 12:22:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:22:24 $ docker stop --time=1 5ff5f0ea0092d3704fe5ea1a901a4dad18c218a2fe7b61fa935568af1357d2bb 12:22:28 $ docker rm -f --volumes 5ff5f0ea0092d3704fe5ea1a901a4dad18c218a2fe7b61fa935568af1357d2bb [Pipeline] // withDockerContainer [Pipeline] sh 12:22:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:22:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:22:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:22:29 + ls -al . 12:22:29 total 264 12:22:29 drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 12:21 . 12:22:29 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 12:20 .. 12:22:29 drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 12:22 .git 12:22:29 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 12:20 .github 12:22:29 -rw-rw-r-- 1 jenkins jenkins 272 Dec 13 12:20 .gitignore 12:22:29 -rw-rw-r-- 1 jenkins jenkins 199 Dec 13 12:20 .golangci.yml 12:22:29 drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 12:20 .semver 12:22:29 -rw-rw-r-- 1 jenkins jenkins 18321 Dec 13 12:20 Attribution.txt 12:22:29 -rw-rw-r-- 1 jenkins jenkins 15941 Dec 13 12:20 CHANGELOG.md 12:22:29 -rw-rw-r-- 1 jenkins jenkins 1755 Dec 13 12:20 Dockerfile 12:22:29 -rw-rw-r-- 1 jenkins jenkins 677 Dec 13 12:20 GOVERNANCE.md 12:22:29 -rw-rw-r-- 1 jenkins jenkins 660 Dec 13 12:20 Jenkinsfile 12:22:29 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 13 12:20 LICENSE 12:22:29 -rw-rw-r-- 1 jenkins jenkins 2652 Dec 13 12:20 Makefile 12:22:29 -rw-rw-r-- 1 jenkins jenkins 623 Dec 13 12:20 OWNERS.md 12:22:29 -rw-rw-r-- 1 jenkins jenkins 4473 Dec 13 12:20 README.md 12:22:29 -rw-rw-r-- 1 jenkins jenkins 11 Dec 13 12:20 VERSION 12:22:29 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 12:20 bin 12:22:29 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 12:20 cmd 12:22:29 -rw-r--r-- 1 jenkins jenkins 43316 Dec 13 12:22 coverage.out 12:22:29 -rw-rw-r-- 1 jenkins jenkins 6124 Dec 13 12:20 go.mod 12:22:29 -rw-rw-r-- 1 jenkins jenkins 87152 Dec 13 12:20 go.sum 12:22:29 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 12:20 internal 12:22:29 -rw-rw-r-- 1 jenkins jenkins 235 Dec 13 12:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22: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=eb7c57757ce15ef0c337ead62f125add9c242e71 --label arch=amd64 --label version=4.0.0-dev.8 . 12:22:30 Sending build context to Docker daemon 37.8MB 12:22:30 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 12:22:30 Step 2/26 : FROM ${BASE} AS builder 12:22:30 ---> bad79f08cdcf 12:22:30 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:22:30 ---> Running in fc738551c25e 12:22:31 Removing intermediate container fc738551c25e 12:22:31 ---> 178433b7debf 12:22:31 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:22:31 ---> Running in 3d0f34b0ec98 12:22:31 Removing intermediate container 3d0f34b0ec98 12:22:31 ---> b44c3984e954 12:22:31 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:22:31 ---> Running in 60b9e33fba7d 12:22:31 Removing intermediate container 60b9e33fba7d 12:22:31 ---> 5122d6068aa0 12:22:31 Step 6/26 : WORKDIR /device-virtual-go 12:22:31 ---> Running in 0357e7f0a9ae 12:22:31 Removing intermediate container 0357e7f0a9ae 12:22:31 ---> b52bef0d29cf 12:22:31 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:22:31 ---> Running in 724679d35681 12:22:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:22:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-35039 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 12:22:31 Running in /w/workspace/device-virtual-go/192 [Pipeline] { [Pipeline] checkout 12:22:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:22:32 OK: 250 MiB in 58 packages 12:22:32 Removing intermediate container 724679d35681 12:22:32 ---> da3ceae523cf 12:22:32 Step 8/26 : COPY go.mod vendor* ./ 12:22:32 ---> 3a0498133843 12:22:32 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:22:32 ---> Running in 7b8dc4cc069e 12:22:33 Removing intermediate container 7b8dc4cc069e 12:22:33 ---> ee1192da79d9 12:22:33 Step 10/26 : COPY . . 12:22:34 ---> 3f7100d92fc9 12:22:34 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:22:34 ---> Running in 1123dc3c07b3 12:22:34 Removing intermediate container 1123dc3c07b3 12:22:34 ---> cec2612353de 12:22:34 Step 12/26 : RUN $MAKE 12:22:34 ---> Running in 86cfef0e44ce 12:22:34 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=4.0.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.11 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 12:22:34 The recommended git tool is: git 12:22:41 using credential edgex-jenkins-ssh 12:22:41 Cloning the remote Git repository 12:22:41 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 12:22:41 > git init /w/workspace/device-virtual-go/192 # timeout=10 12:22:41 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 12:22:41 > git --version # timeout=10 12:22:41 > git --version # 'git version 2.25.1' 12:22:41 using GIT_SSH to set credentials SSH Credentials for GitHub 12:22:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:22:45 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 12:22:46 Avoid second fetch 12:22:46 Checking out Revision eb7c57757ce15ef0c337ead62f125add9c242e71 (main) 12:22:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:22:46 > git config core.sparsecheckout # timeout=10 12:22:46 > git checkout -f eb7c57757ce15ef0c337ead62f125add9c242e71 # timeout=10 12:22:46 Commit message: "Merge pull request #509 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.11" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:22:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:22:51 % Total % Received % Xferd Average Speed Time Time Time Current 12:22:51 Dload Upload Total Spent Left Speed 12:22:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 83298 0 --:--:-- --:--:-- --:--:-- 83298 [Pipeline] sh 12:22:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:22:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 12:22:52 sudo tee /etc/docker/daemon.new 12:22:52 { 12:22:52 "registry-mirrors": [ 12:22:52 "https://nexus3.edgexfoundry.org:10001" 12:22:52 ], 12:22:52 "bip": "10.250.0.254/24", 12:22:52 "hosts": [ 12:22:52 "tcp://0.0.0.0:5555", 12:22:52 "unix:///var/run/docker.sock" 12:22:52 ], 12:22:52 "mtu": 1458, 12:22:52 "selinux-enabled": true, 12:22:52 "seccomp-profile": "/etc/docker/seccomp.json" 12:22:52 } [Pipeline] sh 12:22:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:22:52 + sudo service docker restart 12:23:06 Removing intermediate container 86cfef0e44ce 12:23:06 ---> 344db2a7f273 12:23:06 Step 13/26 : FROM alpine:3.20 12:23:06 3.20: Pulling from library/alpine 12:23:06 da9db072f522: Pulling fs layer 12:23:06 da9db072f522: Verifying Checksum 12:23:06 da9db072f522: Download complete 12:23:06 da9db072f522: Pull complete 12:23:06 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 12:23:06 Status: Downloaded newer image for alpine:3.20 12:23:06 ---> 63b790fccc90 12:23:06 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:23:06 ---> Running in b8c5b813a005 12:23:06 Removing intermediate container b8c5b813a005 12:23:06 ---> 418baafa1b97 12:23:06 Step 15/26 : RUN apk add --update --no-cache dumb-init 12:23:06 ---> Running in 7cf6486fc3f3 12:23:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:23:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:23:06 (1/1) Installing dumb-init (1.2.5-r3) 12:23:06 Executing busybox-1.36.1-r29.trigger 12:23:06 OK: 8 MiB in 15 packages 12:23:07 Removing intermediate container 7cf6486fc3f3 12:23:07 ---> 2e676506f1b1 12:23:07 Step 16/26 : RUN apk --no-cache upgrade 12:23:07 ---> Running in c36190a015c6 12:23:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:23:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:23:07 Upgrading critical system libraries and apk-tools: 12:23:07 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 12:23:07 Executing busybox-1.36.1-r29.trigger 12:23:07 Continuing the upgrade transaction with new apk-tools: 12:23:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:23:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:23:08 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 12:23:08 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 12:23:08 OK: 8 MiB in 15 packages 12:23:09 Removing intermediate container c36190a015c6 12:23:09 ---> 73c980ba83f8 12:23:09 Step 17/26 : WORKDIR / 12:23:09 ---> Running in e89176926640 12:23:09 Removing intermediate container e89176926640 12:23:09 ---> b763d17dab30 12:23:09 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:23:09 ---> 973e1250d0c2 12:23:09 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 12:23:09 ---> e0ea034b9dfd 12:23:09 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 12:23:10 ---> 0ffd0fffa8e3 12:23:10 Step 21/26 : EXPOSE 59900 12:23:10 ---> Running in 21b813644286 12:23:10 Removing intermediate container 21b813644286 12:23:10 ---> fea8a2863382 12:23:10 Step 22/26 : ENTRYPOINT ["/device-virtual"] 12:23:10 ---> Running in 2acb6bd46e3c 12:23:10 Removing intermediate container 2acb6bd46e3c 12:23:10 ---> 81ba61cabb2f 12:23:10 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 12:23:10 ---> Running in 4cb2ba2c2197 12:23:10 Removing intermediate container 4cb2ba2c2197 12:23:10 ---> 94fc53e0e272 12:23:10 Step 24/26 : LABEL arch=amd64 12:23:10 ---> Running in 87e79485d878 12:23:10 Removing intermediate container 87e79485d878 12:23:10 ---> 90fde91b92be 12:23:10 Step 25/26 : LABEL git_sha=eb7c57757ce15ef0c337ead62f125add9c242e71 12:23:10 ---> Running in 4c989af1e60c 12:23:10 Removing intermediate container 4c989af1e60c 12:23:10 ---> 6de3dd3c36b8 12:23:10 Step 26/26 : LABEL version=4.0.0-dev.8 12:23:10 ---> Running in c92cac3922a1 12:23:10 Removing intermediate container c92cac3922a1 12:23:10 ---> 90a594cd8019 12:23:10 [Warning] One or more build-args [ARCH] were not consumed 12:23:10 Successfully built 90a594cd8019 12:23:10 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:23:10 provisioning config files... 12:23:10 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9175916556960617971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:23:11 provisioning config files... 12:23:11 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/192@tmp/config10095566181185128636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:23:11 ---> ****-login.sh 12:23:11 nexus3.edgexfoundry.org:10001 12:23:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:23:11 Configure a credential helper to remove this warning. See 12:23:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:23:11 12:23:11 Login Succeeded 12:23:11 nexus3.edgexfoundry.org:10002 12:23:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:23:11 Configure a credential helper to remove this warning. See 12:23:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:23:11 12:23:11 Login Succeeded 12:23:11 nexus3.edgexfoundry.org:10003 12:23:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:23:11 Configure a credential helper to remove this warning. See 12:23:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:23:11 12:23:11 Login Succeeded 12:23:11 nexus3.edgexfoundry.org:10004 12:23:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:23:11 Configure a credential helper to remove this warning. See 12:23:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:23:11 12:23:11 Login Succeeded 12:23:11 ****.io 12:23:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:11 ---> ****-login.sh 12:23:11 nexus3.edgexfoundry.org:10001 12:23:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:23:11 Configure a credential helper to remove this warning. See 12:23:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:23:11 12:23:11 Login Succeeded 12:23:11 ---> ****-login.sh ends [Pipeline] } 12:23:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv 12:23:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] echo 12:23:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:23:11 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 12:23:11 eb7c57757ce15ef0c337ead62f125add9c242e71 12:23:11 latest 12:23:11 4.0.0-dev.8 12:23:11 eb7c57757ce15ef0c337ead62f125add9c242e71-4.0.0-dev.8 12:23:11 main 12:23:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:23:12 Configure a credential helper to remove this warning. See 12:23:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:23:12 12:23:12 Login Succeeded 12:23:12 nexus3.edgexfoundry.org:10002 12:23:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:12 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:eb7c57757ce15ef0c337ead62f125add9c242e71 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:23:12 Configure a credential helper to remove this warning. See 12:23:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:23:12 12:23:12 Login Succeeded 12:23:12 nexus3.edgexfoundry.org:10003 12:23:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:12 + docker push nexus3.edgexfoundry.org:10004/device-virtual:eb7c57757ce15ef0c337ead62f125add9c242e71 12:23:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:23:12 4870f45f8315: Preparing 12:23:12 74d38c17c9e0: Preparing 12:23:12 61d69702fd0a: Preparing 12:23:12 c9ac29ab7d5e: Preparing 12:23:12 3941cd054b2c: Preparing 12:23:12 75654b8eeebd: Preparing 12:23:12 75654b8eeebd: Waiting 12:23:12 3941cd054b2c: Pushed 12:23:12 61d69702fd0a: Pushed 12:23:12 74d38c17c9e0: Pushed 12:23:12 75654b8eeebd: Layer already exists 12:23:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:23:12 Configure a credential helper to remove this warning. See 12:23:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:23:12 12:23:12 Login Succeeded 12:23:12 nexus3.edgexfoundry.org:10004 12:23:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:23:12 Configure a credential helper to remove this warning. See 12:23:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:23:12 12:23:12 Login Succeeded 12:23:12 ****.io 12:23:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:13 c9ac29ab7d5e: Pushed 12:23:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:23:13 Configure a credential helper to remove this warning. See 12:23:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:23:13 12:23:13 Login Succeeded 12:23:13 ---> ****-login.sh ends [Pipeline] } 12:23:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:23:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:23:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:23:13 ========================================================= 12:23:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 12:23:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:13 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 12:23:15 #0 building with "default" instance using docker driver 12:23:15 12:23:15 #1 [internal] load .dockerignore 12:23:15 #1 transferring context: 2B 0.0s done 12:23:15 #1 DONE 0.1s 12:23:15 12:23:15 #2 [internal] load build definition from Dockerfile 12:23:15 #2 transferring dockerfile: 1.79kB done 12:23:15 #2 DONE 0.1s 12:23:15 12:23:15 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 12:23:15 #3 DONE 0.1s 12:23:15 12:23:15 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 12:23:15 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 0.0s done 12:23:15 #4 sha256:be29e6b0f0d48c82f8b7b9eee484c4dc135732b9e314d3ddccdbbf7107de97ad 5.39kB / 5.39kB done 12:23:15 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 2.19MB / 70.64MB 0.2s 12:23:15 #4 sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 1.99kB / 1.99kB done 12:23:15 #4 sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 4.09MB / 4.09MB 0.2s 12:23:15 #4 sha256:55b35a11ae5eab5f9885f480b702f14893ab21d2d29f58cd678d35d2fde98e27 293.52kB / 293.52kB 0.1s done 12:23:15 #4 sha256:50b3750afda1ed5c34a5153357a453f4928aa99e9f60005309772f320263a9ea 127B / 127B 0.2s done 12:23:15 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 6.00MB / 70.64MB 0.3s 12:23:15 #4 sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 4.09MB / 4.09MB 0.2s done 12:23:15 #4 extracting sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 12:23:15 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.3s done 12:23:15 #4 sha256:80978eb59214169129ea09808cbd1cd6cb9503947a15f41f800ef14c39d0f5d6 440B / 440B 0.3s 12:23:15 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 10.49MB / 70.64MB 0.4s 12:23:15 #4 sha256:80978eb59214169129ea09808cbd1cd6cb9503947a15f41f800ef14c39d0f5d6 440B / 440B 0.3s done 12:23:15 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 962.56kB / 95.52MB 0.4s 12:23:15 #4 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 1.05MB / 12.73MB 0.4s 12:23:15 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 14.68MB / 70.64MB 0.5s 12:23:15 #4 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 5.24MB / 12.73MB 0.5s 12:23:15 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 6.81MB / 95.52MB 0.6s 12:23:15 #4 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 8.39MB / 12.73MB 0.6s 12:23:15 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 20.97MB / 70.64MB 0.7s 12:23:15 #4 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 12.73MB / 12.73MB 0.7s 12:23:16 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 25.17MB / 70.64MB 0.8s 12:23:16 #4 extracting sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 0.6s done 12:23:16 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 14.68MB / 95.52MB 0.8s 12:23:16 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 36.70MB / 70.64MB 1.0s 12:23:16 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 26.18MB / 95.52MB 1.0s 12:23:16 4870f45f8315: Pushed 12:23:16 eb7c57757ce15ef0c337ead62f125add9c242e71: digest: sha256:a7a2ba5db8fb1b4da2e722e14cb67581f2590723fef7893d884cf0855101ab8a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:16 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 41.94MB / 70.64MB 1.1s 12:23:16 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 31.46MB / 95.52MB 1.1s 12:23:16 #4 ... 12:23:16 12:23:16 #5 [internal] load build context 12:23:16 #5 transferring context: 18.92MB 0.7s done 12:23:16 #5 DONE 1.2s 12:23:16 12:23:16 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 12:23:16 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 53.48MB / 70.64MB 1.3s 12:23:16 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 42.44MB / 95.52MB 1.3s 12:23:16 #4 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 12.73MB / 12.73MB 1.2s done 12:23:16 #4 extracting sha256:55b35a11ae5eab5f9885f480b702f14893ab21d2d29f58cd678d35d2fde98e27 12:23:16 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } 12:23:16 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 58.72MB / 70.64MB 1.4s 12:23:16 #4 extracting sha256:55b35a11ae5eab5f9885f480b702f14893ab21d2d29f58cd678d35d2fde98e27 0.2s done 12:23:16 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 62.91MB / 70.64MB 1.5s 12:23:16 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 51.38MB / 95.52MB 1.5s [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:17 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 70.64MB / 70.64MB 1.7s 12:23:17 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 60.82MB / 95.52MB 1.7s 12:23:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 12:23:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:23:17 4870f45f8315: Preparing 12:23:17 74d38c17c9e0: Preparing 12:23:17 61d69702fd0a: Preparing 12:23:17 c9ac29ab7d5e: Preparing 12:23:17 3941cd054b2c: Preparing 12:23:17 75654b8eeebd: Preparing 12:23:17 75654b8eeebd: Waiting 12:23:17 61d69702fd0a: Layer already exists 12:23:17 3941cd054b2c: Layer already exists 12:23:17 74d38c17c9e0: Layer already exists 12:23:17 4870f45f8315: Layer already exists 12:23:17 c9ac29ab7d5e: Layer already exists 12:23:17 75654b8eeebd: Layer already exists 12:23:17 latest: digest: sha256:a7a2ba5db8fb1b4da2e722e14cb67581f2590723fef7893d884cf0855101ab8a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:17 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 70.64MB / 70.64MB 1.8s done 12:23:17 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 71.30MB / 95.52MB 1.9s 12:23:17 #4 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 12:23:17 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 76.55MB / 95.52MB 2.0s 12:23:17 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:17 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 85.46MB / 95.52MB 2.2s 12:23:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.8 12:23:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:23:17 4870f45f8315: Preparing 12:23:17 74d38c17c9e0: Preparing 12:23:17 61d69702fd0a: Preparing 12:23:17 c9ac29ab7d5e: Preparing 12:23:17 3941cd054b2c: Preparing 12:23:17 75654b8eeebd: Preparing 12:23:17 75654b8eeebd: Waiting 12:23:17 3941cd054b2c: Layer already exists 12:23:17 4870f45f8315: Layer already exists 12:23:17 c9ac29ab7d5e: Layer already exists 12:23:17 61d69702fd0a: Layer already exists 12:23:17 74d38c17c9e0: Layer already exists 12:23:17 75654b8eeebd: Layer already exists 12:23:17 4.0.0-dev.8: digest: sha256:a7a2ba5db8fb1b4da2e722e14cb67581f2590723fef7893d884cf0855101ab8a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:17 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 93.32MB / 95.52MB 2.4s 12:23:17 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 95.52MB / 95.52MB 2.6s done 12:23:18 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:eb7c57757ce15ef0c337ead62f125add9c242e71-4.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual:eb7c57757ce15ef0c337ead62f125add9c242e71-4.0.0-dev.8 12:23:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:23:18 4870f45f8315: Preparing 12:23:18 74d38c17c9e0: Preparing 12:23:18 61d69702fd0a: Preparing 12:23:18 c9ac29ab7d5e: Preparing 12:23:18 3941cd054b2c: Preparing 12:23:18 75654b8eeebd: Preparing 12:23:18 75654b8eeebd: Waiting 12:23:18 4870f45f8315: Layer already exists 12:23:18 c9ac29ab7d5e: Layer already exists 12:23:18 61d69702fd0a: Layer already exists 12:23:18 74d38c17c9e0: Layer already exists 12:23:18 3941cd054b2c: Layer already exists 12:23:18 75654b8eeebd: Layer already exists 12:23:18 eb7c57757ce15ef0c337ead62f125add9c242e71-4.0.0-dev.8: digest: sha256:a7a2ba5db8fb1b4da2e722e14cb67581f2590723fef7893d884cf0855101ab8a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:18 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:19 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 12:23:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:23:19 4870f45f8315: Preparing 12:23:19 74d38c17c9e0: Preparing 12:23:19 61d69702fd0a: Preparing 12:23:19 c9ac29ab7d5e: Preparing 12:23:19 3941cd054b2c: Preparing 12:23:19 75654b8eeebd: Preparing 12:23:19 75654b8eeebd: Waiting 12:23:19 74d38c17c9e0: Layer already exists 12:23:19 c9ac29ab7d5e: Layer already exists 12:23:19 4870f45f8315: Layer already exists 12:23:19 3941cd054b2c: Layer already exists 12:23:19 61d69702fd0a: Layer already exists 12:23:19 75654b8eeebd: Layer already exists 12:23:19 main: digest: sha256:a7a2ba5db8fb1b4da2e722e14cb67581f2590723fef7893d884cf0855101ab8a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:23:19 ===================================================== [Pipeline] echo 12:23:19 taggedImages: 12:23:19 - nexus3.edgexfoundry.org:10004/device-virtual:eb7c57757ce15ef0c337ead62f125add9c242e71 12:23:19 - nexus3.edgexfoundry.org:10004/device-virtual:latest 12:23:19 - nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.8 12:23:19 - nexus3.edgexfoundry.org:10004/device-virtual:eb7c57757ce15ef0c337ead62f125add9c242e71-4.0.0-dev.8 12:23:19 - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:23:19 12:23:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:23:19 latest: Pulling from edgex-lftools-log-publisher 12:23:19 5eb5b503b376: Pulling fs layer 12:23:19 5c69ac0246d0: Pulling fs layer 12:23:19 ec43610c2a17: Pulling fs layer 12:23:19 3a2ae6a8a46f: Pulling fs layer 12:23:19 33b1e0a273af: Pulling fs layer 12:23:19 5d3b04190fa2: Pulling fs layer 12:23:19 2f39f015ded8: Pulling fs layer 12:23:19 2f39f015ded8: Waiting 12:23:19 3a2ae6a8a46f: Waiting 12:23:19 33b1e0a273af: Waiting 12:23:19 5d3b04190fa2: Waiting 12:23:19 5c69ac0246d0: Download complete 12:23:19 3a2ae6a8a46f: Verifying Checksum 12:23:19 3a2ae6a8a46f: Download complete 12:23:19 33b1e0a273af: Verifying Checksum 12:23:19 33b1e0a273af: Download complete 12:23:19 ec43610c2a17: Verifying Checksum 12:23:19 ec43610c2a17: Download complete 12:23:19 5d3b04190fa2: Verifying Checksum 12:23:19 5d3b04190fa2: Download complete 12:23:20 5eb5b503b376: Verifying Checksum 12:23:20 5eb5b503b376: Download complete 12:23:20 2f39f015ded8: Download complete 12:23:21 5eb5b503b376: Pull complete 12:23:21 5c69ac0246d0: Pull complete 12:23:21 ec43610c2a17: Pull complete 12:23:21 3a2ae6a8a46f: Pull complete 12:23:22 33b1e0a273af: Pull complete 12:23:22 5d3b04190fa2: Pull complete 12:23:24 #4 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 6.3s 12:23:26 2f39f015ded8: Pull complete 12:23:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:23:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:23:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:23:26 prd-ubuntu20.04-docker-8c-8g-35038 does not seem to be running inside a container 12:23:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:23:29 #4 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 11.8s 12:23:30 $ docker top c227a0d51ccfa445a90850097b025da543da1941feb3f34059ee159bf7b33c4c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:23:30 ---> job-cost.sh 12:23:30 lf-activate-venv: SKIPPING 12:23:30 INFO: No Stack... 12:23:30 INFO: Retrieving Pricing Info for: v3-standard-8 12:23:31 INFO: Archiving Costs [Pipeline] sh 12:23:31 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 12:23:31 + cut -d, -f6 [Pipeline] lock 12:23:31 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-192-stack-cost] 12:23:31 Resource [jenkins-edgexfoundry-device-virtual-go-main-192-stack-cost] did not exist. Created. 12:23:31 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-192-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:23:31 + echo total: 0.2199999988079071 [Pipeline] stash 12:23:31 Stashed 1 file(s) [Pipeline] } 12:23:31 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-192-stack-cost] [Pipeline] // lock [Pipeline] } 12:23:31 $ docker stop --time=1 c227a0d51ccfa445a90850097b025da543da1941feb3f34059ee159bf7b33c4c 12:23:33 $ docker rm -f --volumes c227a0d51ccfa445a90850097b025da543da1941feb3f34059ee159bf7b33c4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:23:36 #4 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 18.5s done 12:23:37 #4 extracting sha256:50b3750afda1ed5c34a5153357a453f4928aa99e9f60005309772f320263a9ea done 12:23:37 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 12:23:37 #4 extracting sha256:80978eb59214169129ea09808cbd1cd6cb9503947a15f41f800ef14c39d0f5d6 done 12:23:37 #4 extracting sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 0.1s 12:23:42 #4 extracting sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 5.3s 12:23:46 #4 extracting sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 8.3s done 12:23:46 #4 extracting sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 12:23:48 #4 extracting sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 2.2s done 12:23:48 #4 DONE 33.1s 12:23:48 12:23:48 #6 [builder 2/7] WORKDIR /device-virtual-go 12:23:50 #6 DONE 1.6s 12:23:50 12:23:50 #7 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 12:23:50 #7 0.730 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 12:23:51 #7 1.167 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 12:23:52 #7 2.340 (1/4) Installing openssh-keygen (9.7_p1-r4) 12:23:52 #7 2.358 (2/4) Installing libedit (20240517.3.1-r0) 12:23:52 #7 2.370 (3/4) Installing openssh-client-common (9.7_p1-r4) 12:23:52 #7 2.441 (4/4) Installing openssh-client-default (9.7_p1-r4) 12:23:52 #7 2.469 Executing busybox-1.36.1-r29.trigger 12:23:52 #7 2.508 OK: 242 MiB in 58 packages 12:23:53 #7 DONE 2.9s 12:23:53 12:23:53 #8 [builder 4/7] COPY go.mod vendor* ./ 12:23:53 #8 DONE 0.1s 12:23:53 12:23:53 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:24:25 #9 DONE 29.2s 12:24:25 12:24:25 #10 [builder 6/7] COPY . . 12:24:25 #10 DONE 0.4s 12:24:25 12:24:25 #11 [builder 7/7] RUN echo noop 12:24:25 #11 0.647 noop 12:24:25 #11 DONE 0.7s 12:24:25 12:24:25 #12 exporting to image 12:24:25 #12 exporting layers 12:25:04 #12 exporting layers 34.9s done 12:25:04 #12 writing image sha256:66e2cd9b37bc4ae954f68581240f1dc88660403be3635a0a961c29e0684f4846 done 12:25:04 #12 naming to docker.io/library/ci-base-image-arm64 done 12:25:04 #12 DONE 34.9s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:25:04 + docker inspect -f . ci-base-image-arm64 12:25:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:25:04 prd-ubuntu20.04-docker-arm64-4c-16g-35039 does not seem to be running inside a container 12:25:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/192 -v /w/workspace/device-virtual-go/192:/w/workspace/device-virtual-go/192:rw,z -v /w/workspace/device-virtual-go/192@tmp:/w/workspace/device-virtual-go/192@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 12:25:05 $ docker top d2a9d808bf86b26a81a9e7973e0bce59d455e04bf0836d5bcf931b218a99e5f4 -eo pid,comm [Pipeline] { [Pipeline] sh 12:25:06 + go version 12:25:06 go version go1.23.2 linux/arm64 [Pipeline] } 12:25:06 $ docker stop --time=1 d2a9d808bf86b26a81a9e7973e0bce59d455e04bf0836d5bcf931b218a99e5f4 12:25:08 $ docker rm -f --volumes d2a9d808bf86b26a81a9e7973e0bce59d455e04bf0836d5bcf931b218a99e5f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:25:08 + docker inspect -f . ci-base-image-arm64 12:25:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:25:09 prd-ubuntu20.04-docker-arm64-4c-16g-35039 does not seem to be running inside a container 12:25:09 $ 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/192 -v /w/workspace/device-virtual-go/192:/w/workspace/device-virtual-go/192:rw,z -v /w/workspace/device-virtual-go/192@tmp:/w/workspace/device-virtual-go/192@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 12:25:10 $ docker top f980560c36adf720460803d98d3712e177d50618028d79b5a13d5c618ab60285 -eo pid,comm [Pipeline] { [Pipeline] sh 12:25:10 + git config --global --add safe.directory /w/workspace/device-virtual-go/192 [Pipeline] fileExists [Pipeline] sh 12:25:10 + make test 12:25:10 go test ./... -coverprofile=coverage.out 12:25:16 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:27:22 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 12:27:22 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.067s coverage: 58.3% of statements 12:27:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:27:22 go vet ./... 12:27:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:27:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:27:45 ./bin/test-attribution-txt.sh [Pipeline] echo 12:27:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:27:45 $ docker stop --time=1 f980560c36adf720460803d98d3712e177d50618028d79b5a13d5c618ab60285 12:27:46 $ docker rm -f --volumes f980560c36adf720460803d98d3712e177d50618028d79b5a13d5c618ab60285 [Pipeline] // withDockerContainer [Pipeline] sh 12:27:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:27:48 Warning: overwriting stash ‘coverage-report’ 12:27:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:27:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:27:49 + ls -al . 12:27:49 total 260 12:27:49 drwxrwxr-x 7 jenkins jenkins 4096 Dec 13 12:25 . 12:27:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 12:22 .. 12:27:49 drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 12:22 .git 12:27:49 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 12:22 .github 12:27:49 -rw-rw-r-- 1 jenkins jenkins 272 Dec 13 12:22 .gitignore 12:27:49 -rw-rw-r-- 1 jenkins jenkins 199 Dec 13 12:22 .golangci.yml 12:27:49 -rw-rw-r-- 1 jenkins jenkins 18321 Dec 13 12:22 Attribution.txt 12:27:49 -rw-rw-r-- 1 jenkins jenkins 15941 Dec 13 12:22 CHANGELOG.md 12:27:49 -rw-rw-r-- 1 jenkins jenkins 1755 Dec 13 12:22 Dockerfile 12:27:49 -rw-rw-r-- 1 jenkins jenkins 677 Dec 13 12:22 GOVERNANCE.md 12:27:49 -rw-rw-r-- 1 jenkins jenkins 660 Dec 13 12:22 Jenkinsfile 12:27:49 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 13 12:22 LICENSE 12:27:49 -rw-rw-r-- 1 jenkins jenkins 2652 Dec 13 12:22 Makefile 12:27:49 -rw-rw-r-- 1 jenkins jenkins 623 Dec 13 12:22 OWNERS.md 12:27:49 -rw-rw-r-- 1 jenkins jenkins 4473 Dec 13 12:22 README.md 12:27:49 -rw-rw-r-- 1 jenkins jenkins 11 Dec 13 12:20 VERSION 12:27:49 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 12:22 bin 12:27:49 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 12:22 cmd 12:27:49 -rw-r--r-- 1 jenkins jenkins 43316 Dec 13 12:27 coverage.out 12:27:49 -rw-rw-r-- 1 jenkins jenkins 6124 Dec 13 12:22 go.mod 12:27:49 -rw-rw-r-- 1 jenkins jenkins 87152 Dec 13 12:22 go.sum 12:27:49 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 12:22 internal 12:27:49 -rw-rw-r-- 1 jenkins jenkins 235 Dec 13 12:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27: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=eb7c57757ce15ef0c337ead62f125add9c242e71 --label arch=arm64 --label version=4.0.0-dev.8 . 12:27:50 #0 building with "default" instance using docker driver 12:27:50 12:27:50 #1 [internal] load build definition from Dockerfile 12:27:50 #1 transferring dockerfile: 1.79kB done 12:27:50 #1 DONE 0.0s 12:27:50 12:27:50 #2 [internal] load .dockerignore 12:27:50 #2 transferring context: 2B done 12:27:50 #2 DONE 0.0s 12:27:50 12:27:50 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 12:27:50 #3 DONE 0.0s 12:27:50 12:27:50 #4 [internal] load metadata for docker.io/library/alpine:3.20 12:27:50 #4 DONE 0.2s 12:27:50 12:27:50 #5 [internal] load build context 12:27:50 #5 transferring context: 51.69kB 0.0s done 12:27:50 #5 DONE 0.1s 12:27:50 12:27:50 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 12:27:50 #6 resolve docker.io/library/alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 0.1s done 12:27:50 #6 ... 12:27:50 12:27:50 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 12:27:50 #7 DONE 0.2s 12:27:50 12:27:50 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 12:27:50 #6 sha256:ea3c5a9671f7b3f7eb47eab06f73bc6591df978b0d5955689a9e6f943aa368c0 1.02kB / 1.02kB done 12:27:50 #6 sha256:511a44083d3a23416fadc62847c45d14c25cbace86e7a72b2b350436978a0450 616B / 616B done 12:27:50 #6 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 2.10MB / 4.09MB 0.1s 12:27:50 #6 sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 9.22kB / 9.22kB done 12:27:51 #6 ... 12:27:51 12:27:51 #8 [builder 2/7] WORKDIR /device-virtual-go 12:27:51 #8 DONE 0.1s 12:27:51 12:27:51 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 12:27:51 #6 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 4.09MB / 4.09MB 0.1s done 12:27:51 #6 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 0.1s 12:27:51 #6 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 0.5s done 12:27:51 #6 DONE 1.0s 12:27:51 12:27:51 #9 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 12:27:51 #9 0.703 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 12:27:51 #9 1.090 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 12:27:53 #9 2.414 OK: 242 MiB in 58 packages 12:27:53 #9 DONE 2.7s 12:27:53 12:27:53 #10 [builder 4/7] COPY go.mod vendor* ./ 12:27:53 #10 DONE 0.1s 12:27:53 12:27:53 #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:27:55 #11 ... 12:27:55 12:27:55 #12 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 12:27:55 #12 0.649 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 12:27:55 #12 0.957 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 12:27:55 #12 2.395 (1/1) Installing dumb-init (1.2.5-r3) 12:27:55 #12 2.406 Executing busybox-1.36.1-r29.trigger 12:27:55 #12 2.437 OK: 9 MiB in 15 packages 12:27:55 #12 DONE 3.6s 12:27:55 12:27:55 #13 [stage-1 3/7] RUN apk --no-cache upgrade 12:27:56 #13 0.763 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 12:27:56 #13 ... 12:27:56 12:27:56 #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:27:56 #11 DONE 2.4s 12:27:56 12:27:56 #13 [stage-1 3/7] RUN apk --no-cache upgrade 12:27:56 #13 1.092 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 12:27:56 #13 ... 12:27:56 12:27:56 #14 [builder 6/7] COPY . . 12:27:56 #14 DONE 0.5s 12:27:56 12:27:56 #15 [builder 7/7] RUN make build 12:27:57 #15 0.698 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=4.0.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.11 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 12:28:00 #15 ... 12:28:00 12:28:00 #13 [stage-1 3/7] RUN apk --no-cache upgrade 12:28:00 #13 2.449 Upgrading critical system libraries and apk-tools: 12:28:00 #13 2.449 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 12:28:00 #13 2.469 Executing busybox-1.36.1-r29.trigger 12:28:00 #13 2.750 Continuing the upgrade transaction with new apk-tools: 12:28:00 #13 2.773 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 12:28:00 #13 3.101 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 12:28:00 #13 4.436 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 12:28:00 #13 4.560 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 12:28:00 #13 4.591 OK: 9 MiB in 15 packages 12:28:00 #13 DONE 5.0s 12:28:00 12:28:00 #15 [builder 7/7] RUN make build 12:30:07 #15 DONE 128.4s 12:30:07 12:30:07 #16 [stage-1 4/7] COPY --from=builder /device-virtual-go/Attribution.txt / 12:30:07 #16 DONE 0.2s 12:30:07 12:30:07 #17 [stage-1 5/7] COPY --from=builder /device-virtual-go/LICENSE / 12:30:07 #17 DONE 0.1s 12:30:07 12:30:07 #18 [stage-1 6/7] COPY --from=builder /device-virtual-go/cmd / 12:30:07 #18 DONE 0.4s 12:30:07 12:30:07 #19 exporting to image 12:30:07 #19 exporting layers 12:30:07 #19 exporting layers 0.4s done 12:30:07 #19 writing image sha256:536d90262d000a277f4fc1f29670e809aeef567a76be85d730d95dfd3c5cdc98 done 12:30:07 #19 naming to docker.io/library/device-virtual-arm64 done 12:30:07 #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:30:07 provisioning config files... 12:30:07 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/192@tmp/config15505506000538208572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:30:08 ---> ****-login.sh 12:30:08 nexus3.edgexfoundry.org:10001 12:30:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:30:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:30:08 Configure a credential helper to remove this warning. See 12:30:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:30:08 12:30:08 Login Succeeded 12:30:08 nexus3.edgexfoundry.org:10002 12:30:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:30:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:30:08 Configure a credential helper to remove this warning. See 12:30:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:30:08 12:30:08 Login Succeeded 12:30:08 nexus3.edgexfoundry.org:10003 12:30:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:30:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:30:08 Configure a credential helper to remove this warning. See 12:30:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:30:08 12:30:08 Login Succeeded 12:30:08 nexus3.edgexfoundry.org:10004 12:30:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:30:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:30:09 Configure a credential helper to remove this warning. See 12:30:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:30:09 12:30:09 Login Succeeded 12:30:09 ****.io 12:30:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:30:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:30:09 Configure a credential helper to remove this warning. See 12:30:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:30:09 12:30:09 Login Succeeded 12:30:09 ---> ****-login.sh ends [Pipeline] } 12:30:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:30:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:30:09 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 12:30:09 eb7c57757ce15ef0c337ead62f125add9c242e71 12:30:09 latest 12:30:09 4.0.0-dev.8 12:30:09 eb7c57757ce15ef0c337ead62f125add9c242e71-4.0.0-dev.8 12:30:09 main 12:30:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:30:10 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:eb7c57757ce15ef0c337ead62f125add9c242e71 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:30:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:eb7c57757ce15ef0c337ead62f125add9c242e71 12:30:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:30:10 15eb0d352869: Preparing 12:30:10 3581feba35d3: Preparing 12:30:10 70a7fc255a2d: Preparing 12:30:10 754dd64203ee: Preparing 12:30:10 956972e38b80: Preparing 12:30:10 651d9022c234: Preparing 12:30:10 651d9022c234: Waiting 12:30:10 3581feba35d3: Pushed 12:30:10 956972e38b80: Pushed 12:30:10 70a7fc255a2d: Pushed 12:30:10 651d9022c234: Layer already exists 12:30:12 754dd64203ee: Pushed 12:30:17 15eb0d352869: Pushed 12:30:17 eb7c57757ce15ef0c337ead62f125add9c242e71: digest: sha256:848350a01c6cc32a4113eb0f1c81bdf17a43ea186fff2aa9634001b8ec311be8 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:30:18 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:30:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 12:30:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:30:18 15eb0d352869: Preparing 12:30:18 3581feba35d3: Preparing 12:30:18 70a7fc255a2d: Preparing 12:30:18 754dd64203ee: Preparing 12:30:18 956972e38b80: Preparing 12:30:18 651d9022c234: Preparing 12:30:18 651d9022c234: Waiting 12:30:18 3581feba35d3: Layer already exists 12:30:18 754dd64203ee: Layer already exists 12:30:18 956972e38b80: Layer already exists 12:30:18 70a7fc255a2d: Layer already exists 12:30:18 15eb0d352869: Layer already exists 12:30:18 651d9022c234: Layer already exists 12:30:18 latest: digest: sha256:848350a01c6cc32a4113eb0f1c81bdf17a43ea186fff2aa9634001b8ec311be8 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:30:19 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:30:19 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.8 12:30:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:30:19 15eb0d352869: Preparing 12:30:19 3581feba35d3: Preparing 12:30:19 70a7fc255a2d: Preparing 12:30:19 754dd64203ee: Preparing 12:30:19 956972e38b80: Preparing 12:30:19 651d9022c234: Preparing 12:30:19 651d9022c234: Waiting 12:30:19 754dd64203ee: Layer already exists 12:30:19 3581feba35d3: Layer already exists 12:30:19 70a7fc255a2d: Layer already exists 12:30:19 956972e38b80: Layer already exists 12:30:19 15eb0d352869: Layer already exists 12:30:19 651d9022c234: Layer already exists 12:30:19 4.0.0-dev.8: digest: sha256:848350a01c6cc32a4113eb0f1c81bdf17a43ea186fff2aa9634001b8ec311be8 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:30:20 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:eb7c57757ce15ef0c337ead62f125add9c242e71-4.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:30:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:eb7c57757ce15ef0c337ead62f125add9c242e71-4.0.0-dev.8 12:30:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:30:20 15eb0d352869: Preparing 12:30:20 3581feba35d3: Preparing 12:30:20 70a7fc255a2d: Preparing 12:30:20 754dd64203ee: Preparing 12:30:20 956972e38b80: Preparing 12:30:20 651d9022c234: Preparing 12:30:20 651d9022c234: Waiting 12:30:20 70a7fc255a2d: Layer already exists 12:30:20 754dd64203ee: Layer already exists 12:30:20 3581feba35d3: Layer already exists 12:30:20 956972e38b80: Layer already exists 12:30:20 15eb0d352869: Layer already exists 12:30:20 651d9022c234: Layer already exists 12:30:20 eb7c57757ce15ef0c337ead62f125add9c242e71-4.0.0-dev.8: digest: sha256:848350a01c6cc32a4113eb0f1c81bdf17a43ea186fff2aa9634001b8ec311be8 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:30:21 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:30:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 12:30:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:30:21 15eb0d352869: Preparing 12:30:21 3581feba35d3: Preparing 12:30:21 70a7fc255a2d: Preparing 12:30:21 754dd64203ee: Preparing 12:30:21 956972e38b80: Preparing 12:30:21 651d9022c234: Preparing 12:30:21 651d9022c234: Waiting 12:30:21 956972e38b80: Layer already exists 12:30:21 3581feba35d3: Layer already exists 12:30:21 754dd64203ee: Layer already exists 12:30:21 15eb0d352869: Layer already exists 12:30:21 70a7fc255a2d: Layer already exists 12:30:21 651d9022c234: Layer already exists 12:30:21 main: digest: sha256:848350a01c6cc32a4113eb0f1c81bdf17a43ea186fff2aa9634001b8ec311be8 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:30:21 ===================================================== [Pipeline] echo 12:30:21 taggedImages: 12:30:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:eb7c57757ce15ef0c337ead62f125add9c242e71 12:30:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 12:30:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.8 12:30:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:eb7c57757ce15ef0c337ead62f125add9c242e71-4.0.0-dev.8 12:30:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:30:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:30:22 12:30:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:30:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:30:22 arm64: Pulling from edgex-lftools-log-publisher 12:30:22 8998bd30e6a1: Pulling fs layer 12:30:22 04944245beec: Pulling fs layer 12:30:22 699f458cf7ca: Pulling fs layer 12:30:22 765212b225bb: Pulling fs layer 12:30:22 f23df028b6ca: Pulling fs layer 12:30:22 d65c8cfc05b1: Pulling fs layer 12:30:22 2437ff75d9bd: Pulling fs layer 12:30:22 d65c8cfc05b1: Waiting 12:30:22 765212b225bb: Waiting 12:30:22 2437ff75d9bd: Waiting 12:30:22 04944245beec: Verifying Checksum 12:30:22 04944245beec: Download complete 12:30:22 765212b225bb: Download complete 12:30:22 f23df028b6ca: Verifying Checksum 12:30:22 f23df028b6ca: Download complete 12:30:22 d65c8cfc05b1: Verifying Checksum 12:30:22 d65c8cfc05b1: Download complete 12:30:23 699f458cf7ca: Verifying Checksum 12:30:23 699f458cf7ca: Download complete 12:30:23 8998bd30e6a1: Verifying Checksum 12:30:23 8998bd30e6a1: Download complete 12:30:25 2437ff75d9bd: Verifying Checksum 12:30:25 2437ff75d9bd: Download complete 12:30:30 8998bd30e6a1: Pull complete 12:30:30 04944245beec: Pull complete 12:30:32 699f458cf7ca: Pull complete 12:30:32 765212b225bb: Pull complete 12:30:33 f23df028b6ca: Pull complete 12:30:33 d65c8cfc05b1: Pull complete 12:31:00 2437ff75d9bd: Pull complete 12:31:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:31:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:31:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:31:00 prd-ubuntu20.04-docker-arm64-4c-16g-35039 does not seem to be running inside a container 12:31:00 $ 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/192 -v /w/workspace/device-virtual-go/192:/w/workspace/device-virtual-go/192:rw,z -v /w/workspace/device-virtual-go/192@tmp:/w/workspace/device-virtual-go/192@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 12:31:02 $ docker top d03d04ce80f75e09dd8cba5f96795d52aa88df1a7b254f84fbd4732ed859867c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:31:02 ---> job-cost.sh 12:31:02 lf-activate-venv: SKIPPING 12:31:02 INFO: No Stack... 12:31:03 INFO: Retrieving Pricing Info for: v3-standard-8 12:31:04 INFO: Archiving Costs [Pipeline] sh 12:31:04 + cat /w/workspace/device-virtual-go/192/archives/cost.csv 12:31:04 + cut -d, -f6 [Pipeline] lock 12:31:04 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-192-stack-cost] 12:31:04 Resource [jenkins-edgexfoundry-device-virtual-go-main-192-stack-cost] did not exist. Created. 12:31:04 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-192-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:31:04 /w/workspace/device-virtual-go/192@tmp/durable-8b027c1b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:31:05 + echo total: 0.2199999988079071 [Pipeline] stash 12:31:05 Warning: overwriting stash ‘stack-cost’ 12:31:05 Stashed 1 file(s) [Pipeline] } 12:31:05 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-192-stack-cost] [Pipeline] // lock [Pipeline] } 12:31:05 $ docker stop --time=1 d03d04ce80f75e09dd8cba5f96795d52aa88df1a7b254f84fbd4732ed859867c 12:31:06 $ docker rm -f --volumes d03d04ce80f75e09dd8cba5f96795d52aa88df1a7b254f84fbd4732ed859867c [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 12:31:07 provisioning config files... 12:31:07 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12541095460735508023tmp [Pipeline] { [Pipeline] sh 12:31:07 + set +x 12:31:07 + + curl -s https://codecov.io/bash 12:31:07 bash -s -- 12:31:07 12:31:07 _____ _ 12:31:07 / ____| | | 12:31:07 | | ___ __| | ___ ___ _____ __ 12:31:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:31:07 | |___| (_) | (_| | __/ (_| (_) \ V / 12:31:07 \_____\___/ \__,_|\___|\___\___/ \_/ 12:31:07 Bash-1.0.6 12:31:07 12:31:07 12:31:07 ==> git version 2.25.1 found 12:31:07 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:31:07 Release-Date: 2020-01-08 12:31:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:31:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:31:07 ==> Jenkins CI detected. 12:31:07 current dir:  /w/workspace/exfoundry_device-virtual-go_main 12:31:07 project root: . 12:31:07 --> token set from env 12:31:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:31:07 ==> Running gcov in . (disable via -X gcov) 12:31:07 ==> Python coveragepy not found 12:31:07 ==> Searching for coverage reports in: 12:31:07 + . 12:31:07 -> Found 1 reports 12:31:07 ==> Detecting git/mercurial file structure 12:31:07 ==> Reading reports 12:31:07 + ./coverage.out bytes=43316 12:31:07 ==> Appending adjustments 12:31:07 https://docs.codecov.io/docs/fixing-reports 12:31:07 + Found adjustments 12:31:07 ==> Gzipping contents 12:31:07 8.0K /tmp/codecov.xxAI44.gz 12:31:07 ==> Uploading reports 12:31:07 url: https://codecov.io 12:31:07 query: branch=main&commit=eb7c57757ce15ef0c337ead62f125add9c242e71&build=192&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F192%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:31:07 -> Pinging Codecov 12:31:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=eb7c57757ce15ef0c337ead62f125add9c242e71&build=192&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F192%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:31:08 -> Uploading to 12:31:08 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-virtual-go/eb7c57757ce15ef0c337ead62f125add9c242e71/a48e3edf-b048-4892-bf4e-e8d98c258c1b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241213%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241213T123107Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=907249d2a33f30a5bb20925da560a06cf7035b4e65091313f33ec958f6b3b8c9 12:31:08 % Total % Received % Xferd Average Speed Time Time Time Current 12:31:08 Dload Upload Total Spent Left Speed 12:31:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5040 0 0 100 5040 0 16633 --:--:-- --:--:-- --:--:-- 16633 12:31:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/eb7c57757ce15ef0c337ead62f125add9c242e71 [Pipeline] } 12:31:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 12:31:08 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 12:31:08 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:31:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 12:31:08 12:31:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:31:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 12:31:09 latest: Pulling from edgex-devops/edgex-snyk-go 12:31:09 43c4264eed91: Already exists 12:31:09 4cc291be95ef: Already exists 12:31:09 2ac1f1163629: Already exists 12:31:09 5c3c966382ef: Already exists 12:31:09 4f4fb700ef54: Already exists 12:31:09 d9c7d2e4e75e: Pulling fs layer 12:31:09 9c3e1370e548: Pulling fs layer 12:31:09 d9c7d2e4e75e: Verifying Checksum 12:31:09 d9c7d2e4e75e: Download complete 12:31:09 d9c7d2e4e75e: Pull complete 12:31:10 9c3e1370e548: Download complete 12:31:13 9c3e1370e548: Pull complete 12:31:13 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 12:31:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 12:31:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:31:13 prd-ubuntu20.04-docker-8c-8g-35038 does not seem to be running inside a container 12:31:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 12:31:15 $ docker top a562411526da3a8581c70dfc7dbb07d40b5ad78eb48b8803a49e751c4edd0b86 -eo pid,comm [Pipeline] { [Pipeline] sh 12:31:16 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] echo 12:31:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 12:31:16 + set -o pipefail 12:31:16 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 12:31:24 12:31:24 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 12:31:24 12:31:24 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/4c51b4af-f1e0-4b23-b385-fd75a099f123/history/1612bbc6-6566-4f02-950a-a4d49e4b708d 12:31:24 12:31:24 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 12:31:24 12:31:24 12:31:24 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 12:31:24 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 12:31:24 $ docker stop --time=1 a562411526da3a8581c70dfc7dbb07d40b5ad78eb48b8803a49e751c4edd0b86 12:31:29 $ docker rm -f --volumes a562411526da3a8581c70dfc7dbb07d40b5ad78eb48b8803a49e751c4edd0b86 [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 12:31:30 + git log --format=format:%s -1 eb7c57757ce15ef0c337ead62f125add9c242e71 [Pipeline] sh 12:31:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:31:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:31:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:31:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:31:30 prd-ubuntu20.04-docker-8c-8g-35038 does not seem to be running inside a container 12:31:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:31:31 $ docker top 0c41ffe5042fd2e4c17c8a33c271b456bd2ba611e92f60e772673c479ce79492 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:31:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:31:31 [ssh-agent] Looking for ssh-agent implementation... 12:31:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:31:31 $ docker exec 0c41ffe5042fd2e4c17c8a33c271b456bd2ba611e92f60e772673c479ce79492 ssh-agent 12:31:31 SSH_AUTH_SOCK=/tmp/ssh-fxCVz5o64wyH/agent.33 12:31:31 SSH_AGENT_PID=39 12:31:31 Running ssh-add (command line suppressed) 12:31:31 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5627527751781753475.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5627527751781753475.key) 12:31:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:31:31 + git semver tag 12:31:32 2024-12-13 12:31:32,135 [run_tag] DEBUG tag force:False 12:31:32 2024-12-13 12:31:32,135 [check_head_tag] DEBUG check head tag 12:31:32 2024-12-13 12:31:32,137 [execute] INFO git cat-file --batch-check 12:31:32 2024-12-13 12:31:32,137 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 12:31:32 2024-12-13 12:31:32,140 [execute] INFO git cat-file --batch 12:31:32 2024-12-13 12:31:32,141 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 12:31:32 2024-12-13 12:31:32,164 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:31:32 2024-12-13 12:31:32,164 [execute] INFO git tag -a v4.0.0-dev.8 -m v4.0.0-dev.8 12:31:32 2024-12-13 12:31:32,165 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.8', '-m', 'v4.0.0-dev.8'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 12:31:32 2024-12-13 12:31:32,169 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:31:32 4.0.0-dev.8 [Pipeline] } 12:31:32 $ docker exec --env ******** --env ******** 0c41ffe5042fd2e4c17c8a33c271b456bd2ba611e92f60e772673c479ce79492 ssh-agent -k 12:31:32 unset SSH_AUTH_SOCK; 12:31:32 unset SSH_AGENT_PID; 12:31:32 echo Agent pid 39 killed; 12:31:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:31:32 + git semver [Pipeline] } 12:31:32 $ docker stop --time=1 0c41ffe5042fd2e4c17c8a33c271b456bd2ba611e92f60e772673c479ce79492 12:31:34 $ docker rm -f --volumes 0c41ffe5042fd2e4c17c8a33c271b456bd2ba611e92f60e772673c479ce79492 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:31:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:31:34 12:31:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:31:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:31:34 0.23.1-centos7: Pulling from edgex-lftools 12:31:34 ab5ef0e58194: Pulling fs layer 12:31:34 9712f1f96733: Pulling fs layer 12:31:34 63f879dbbcfc: Pulling fs layer 12:31:34 0d9ebad4ef96: Pulling fs layer 12:31:34 e9a5061849ea: Pulling fs layer 12:31:34 d747dcd14b5f: Pulling fs layer 12:31:34 2de7ff778b66: Pulling fs layer 12:31:34 0d9ebad4ef96: Waiting 12:31:34 e9a5061849ea: Waiting 12:31:34 d747dcd14b5f: Waiting 12:31:34 2de7ff778b66: Waiting 12:31:34 9712f1f96733: Verifying Checksum 12:31:34 9712f1f96733: Download complete 12:31:35 63f879dbbcfc: Verifying Checksum 12:31:35 63f879dbbcfc: Download complete 12:31:35 e9a5061849ea: Verifying Checksum 12:31:35 e9a5061849ea: Download complete 12:31:35 d747dcd14b5f: Verifying Checksum 12:31:35 d747dcd14b5f: Download complete 12:31:35 0d9ebad4ef96: Verifying Checksum 12:31:35 0d9ebad4ef96: Download complete 12:31:35 2de7ff778b66: Verifying Checksum 12:31:35 2de7ff778b66: Download complete 12:31:35 ab5ef0e58194: Verifying Checksum 12:31:35 ab5ef0e58194: Download complete 12:31:38 ab5ef0e58194: Pull complete 12:31:38 9712f1f96733: Pull complete 12:31:38 63f879dbbcfc: Pull complete 12:31:43 0d9ebad4ef96: Pull complete 12:31:43 e9a5061849ea: Pull complete 12:31:43 d747dcd14b5f: Pull complete 12:31:44 2de7ff778b66: Pull complete 12:31:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 12:31:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:31:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:31:44 prd-ubuntu20.04-docker-8c-8g-35038 does not seem to be running inside a container 12:31:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 12:31:50 $ docker top f9ebc41f75a03690b7344c41bdf455acda82a63a612b504c020e8dbbe72e5b8e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 12:31:50 provisioning config files... 12:31:50 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9750129660882782098tmp 12:31:50 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2673483171272654008tmp 12:31:50 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10561825710018732034tmp [Pipeline] { [Pipeline] echo 12:31:50 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 12:31:50 ---> sigul-configuration.sh 12:31:50 gpg: directory `/root/.gnupg' created 12:31:50 gpg: new configuration file `/root/.gnupg/gpg.conf' created 12:31:50 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 12:31:50 gpg: keyring `/root/.gnupg/secring.gpg' created 12:31:50 gpg: keyring `/root/.gnupg/pubring.gpg' created 12:31:50 gpg: CAST5 encrypted data 12:31:50 gpg: encrypted with 1 passphrase 12:31:50 gpg: WARNING: message was not integrity protected [Pipeline] sh 12:31:50 + mkdir /home/jenkins 12:31:50 + mkdir /home/jenkins/sigul [Pipeline] sh 12:31:51 + 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 12:31:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 12:31:51 ---> sigul-install.sh 12:31:51 Sigul already installed; skipping installation. [Pipeline] sh 12:31:51 + git tag --list 12:31:51 v1.0.0 12:31:51 v1.1.0 12:31:51 v1.1.1 12:31:51 v1.2.1 12:31:51 v1.2.2 12:31:51 v1.2.3 12:31:51 v1.3.0 12:31:51 v1.3.1 12:31:51 v2.0.0 12:31:51 v2.1.0 12:31:51 v2.1.1 12:31:51 v2.2.0 12:31:51 v2.3.0 12:31:51 v3.0 12:31:51 v3.0.0 12:31:51 v3.1 12:31:51 v3.1.0 12:31:51 v3.1.0-dev.1 12:31:51 v3.1.0-dev.10 12:31:51 v3.1.0-dev.11 12:31:51 v3.1.0-dev.12 12:31:51 v3.1.0-dev.13 12:31:51 v3.1.0-dev.14 12:31:51 v3.1.0-dev.15 12:31:51 v3.1.0-dev.16 12:31:51 v3.1.0-dev.17 12:31:51 v3.1.0-dev.18 12:31:51 v3.1.0-dev.19 12:31:51 v3.1.0-dev.2 12:31:51 v3.1.0-dev.20 12:31:51 v3.1.0-dev.21 12:31:51 v3.1.0-dev.22 12:31:51 v3.1.0-dev.23 12:31:51 v3.1.0-dev.24 12:31:51 v3.1.0-dev.25 12:31:51 v3.1.0-dev.26 12:31:51 v3.1.0-dev.27 12:31:51 v3.1.0-dev.28 12:31:51 v3.1.0-dev.29 12:31:51 v3.1.0-dev.3 12:31:51 v3.1.0-dev.30 12:31:51 v3.1.0-dev.4 12:31:51 v3.1.0-dev.5 12:31:51 v3.1.0-dev.6 12:31:51 v3.1.0-dev.7 12:31:51 v3.1.0-dev.8 12:31:51 v3.1.0-dev.9 12:31:51 v3.1.1 12:31:51 v3.1.1-dev.1 12:31:51 v3.2.0-dev.1 12:31:51 v3.2.0-dev.10 12:31:51 v3.2.0-dev.11 12:31:51 v3.2.0-dev.12 12:31:51 v3.2.0-dev.13 12:31:51 v3.2.0-dev.14 12:31:51 v3.2.0-dev.15 12:31:51 v3.2.0-dev.16 12:31:51 v3.2.0-dev.17 12:31:51 v3.2.0-dev.18 12:31:51 v3.2.0-dev.19 12:31:51 v3.2.0-dev.2 12:31:51 v3.2.0-dev.20 12:31:51 v3.2.0-dev.21 12:31:51 v3.2.0-dev.22 12:31:51 v3.2.0-dev.23 12:31:51 v3.2.0-dev.24 12:31:51 v3.2.0-dev.25 12:31:51 v3.2.0-dev.26 12:31:51 v3.2.0-dev.27 12:31:51 v3.2.0-dev.28 12:31:51 v3.2.0-dev.3 12:31:51 v3.2.0-dev.4 12:31:51 v3.2.0-dev.5 12:31:51 v3.2.0-dev.6 12:31:51 v3.2.0-dev.7 12:31:51 v3.2.0-dev.8 12:31:51 v3.2.0-dev.9 12:31:51 v4.0.0-dev.1 12:31:51 v4.0.0-dev.2 12:31:51 v4.0.0-dev.3 12:31:51 v4.0.0-dev.4 12:31:51 v4.0.0-dev.5 12:31:51 v4.0.0-dev.6 12:31:51 v4.0.0-dev.7 12:31:51 v4.0.0-dev.8 [Pipeline] sh 12:31:52 + lftools sign git-tag v4.0.0-dev.8 12:31:52 Signing Git tag with Sigul... 12:31:52 Signing v4.0.0-dev.8 [Pipeline] echo 12:31:53 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 12:31:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 12:31:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 12:31:53 $ docker stop --time=1 f9ebc41f75a03690b7344c41bdf455acda82a63a612b504c020e8dbbe72e5b8e 12:31:54 $ docker rm -f --volumes f9ebc41f75a03690b7344c41bdf455acda82a63a612b504c020e8dbbe72e5b8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 12:31:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:31:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:31:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:31:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:31:55 prd-ubuntu20.04-docker-8c-8g-35038 does not seem to be running inside a container 12:31:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:31:55 $ docker top 0c3722b4a9dad89ffe00005ef599acbf55379b09f6a3209982e8179a51b9e2b8 -eo pid,comm 12:31:56 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:31:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:31:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:31:56 [ssh-agent] Looking for ssh-agent implementation... 12:31:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:31:56 $ docker exec 0c3722b4a9dad89ffe00005ef599acbf55379b09f6a3209982e8179a51b9e2b8 ssh-agent 12:31:56 SSH_AUTH_SOCK=/tmp/ssh-9NF5g0NIziXQ/agent.33 12:31:56 SSH_AGENT_PID=39 12:31:56 Running ssh-add (command line suppressed) 12:31:56 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12471205310373807771.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12471205310373807771.key) 12:31:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:31:56 + git semver bump pre 12:31:56 2024-12-13 12:31:56,913 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:31:56 2024-12-13 12:31:56,913 [bump_version] DEBUG bumping version:4.0.0-dev.8 on axis:pre with prefix:dev 12:31:56 2024-12-13 12:31:56,913 [bump_version] DEBUG bumped version:4.0.0-dev.9 12:31:56 2024-12-13 12:31:56,913 [write_version] DEBUG write version:4.0.0-dev.9 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 12:31:56 2024-12-13 12:31:56,913 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:31:56 2024-12-13 12:31:56,913 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:31:56 2024-12-13 12:31:56,915 [execute] INFO git cat-file --batch-check 12:31:56 2024-12-13 12:31:56,915 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:31:56 2024-12-13 12:31:56,921 [execute] INFO git cat-file --batch 12:31:56 2024-12-13 12:31:56,921 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:31:56 2024-12-13 12:31:56,926 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:31:56 4.0.0-dev.9 [Pipeline] } 12:31:57 $ docker exec --env ******** --env ******** 0c3722b4a9dad89ffe00005ef599acbf55379b09f6a3209982e8179a51b9e2b8 ssh-agent -k 12:31:57 unset SSH_AUTH_SOCK; 12:31:57 unset SSH_AGENT_PID; 12:31:57 echo Agent pid 39 killed; 12:31:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:31:57 + git semver [Pipeline] } 12:31:57 $ docker stop --time=1 0c3722b4a9dad89ffe00005ef599acbf55379b09f6a3209982e8179a51b9e2b8 12:31:59 $ docker rm -f --volumes 0c3722b4a9dad89ffe00005ef599acbf55379b09f6a3209982e8179a51b9e2b8 [Pipeline] // withDockerContainer [Pipeline] sh 12:31:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:31:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:31:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:31:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:31:59 prd-ubuntu20.04-docker-8c-8g-35038 does not seem to be running inside a container 12:31:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:32:00 $ docker top 44dccd948d0b3c56033b3e5092f3e331d8ebc1b9ba9813dcfd008fae637d1d69 -eo pid,comm 12:32:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:32:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:32:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:32:00 [ssh-agent] Looking for ssh-agent implementation... 12:32:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:32:00 $ docker exec 44dccd948d0b3c56033b3e5092f3e331d8ebc1b9ba9813dcfd008fae637d1d69 ssh-agent 12:32:00 SSH_AUTH_SOCK=/tmp/ssh-sSyhdTI1a0DH/agent.31 12:32:00 SSH_AGENT_PID=37 12:32:00 Running ssh-add (command line suppressed) 12:32:00 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17495442050991938237.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17495442050991938237.key) 12:32:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:32:00 + git semver push 12:32:01 2024-12-13 12:32:01,091 [run_push] DEBUG push 12:32:01 2024-12-13 12:32:01,092 [execute] INFO git cat-file --batch-check 12:32:01 2024-12-13 12:32:01,092 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:32:01 2024-12-13 12:32:01,097 [execute] INFO git rev-list 0720315cea347eb81c09bcf8661455d12b189722 -- 12:32:01 2024-12-13 12:32:01,098 [execute] DEBUG Popen(['git', 'rev-list', '0720315cea347eb81c09bcf8661455d12b189722', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:32:01 2024-12-13 12:32:01,109 [execute] INFO git fetch -v origin 12:32:01 2024-12-13 12:32:01,109 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 12:32:01 2024-12-13 12:32:01,572 [run_push] DEBUG no remote changes detected 12:32:01 2024-12-13 12:32:01,572 [execute] INFO git push origin semver 12:32:01 2024-12-13 12:32:01,573 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:32:02 2024-12-13 12:32:02,339 [run_push] DEBUG push all version tags 12:32:02 2024-12-13 12:32:02,339 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 12:32:02 2024-12-13 12:32:02,340 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 12:32:03 2024-12-13 12:32:03,053 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:32:03 4.0.0-dev.9 [Pipeline] } 12:32:03 $ docker exec --env ******** --env ******** 44dccd948d0b3c56033b3e5092f3e331d8ebc1b9ba9813dcfd008fae637d1d69 ssh-agent -k 12:32:03 unset SSH_AUTH_SOCK; 12:32:03 unset SSH_AGENT_PID; 12:32:03 echo Agent pid 37 killed; 12:32:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:32:03 + git semver [Pipeline] } 12:32:03 $ docker stop --time=1 44dccd948d0b3c56033b3e5092f3e331d8ebc1b9ba9813dcfd008fae637d1d69 12:32:05 $ docker rm -f --volumes 44dccd948d0b3c56033b3e5092f3e331d8ebc1b9ba9813dcfd008fae637d1d69 [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 12:32:05 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 12:32:05 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 12:32:05 total 16 12:32:05 drwxr-xr-x 3 root root 4096 Dec 13 12:23 . 12:32:05 drwxrwxr-x 9 jenkins jenkins 4096 Dec 13 12:31 .. 12:32:05 drwxr-xr-x 2 root root 4096 Dec 13 12:23 cost 12:32:05 -rw-r--r-- 1 root root 89 Dec 13 12:23 cost.csv 12:32:05 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 12:32:05 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 12:32:05 total 16 12:32:05 drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 12:23 . 12:32:05 drwxrwxr-x 9 jenkins jenkins 4096 Dec 13 12:31 .. 12:32:05 drwxr-xr-x 2 jenkins jenkins 4096 Dec 13 12:23 cost 12:32:05 -rw-r--r-- 1 jenkins jenkins 89 Dec 13 12:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:32:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:32:07 ---> package-listing.sh 12:32:07 ++ facter osfamily 12:32:07 ++ tr '[:upper:]' '[:lower:]' 12:32:07 + OS_FAMILY=debian 12:32:07 + workspace=/w/workspace/exfoundry_device-virtual-go_main 12:32:07 + START_PACKAGES=/tmp/packages_start.txt 12:32:07 + END_PACKAGES=/tmp/packages_end.txt 12:32:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:32:07 + PACKAGES=/tmp/packages_start.txt 12:32:07 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 12:32:07 + PACKAGES=/tmp/packages_end.txt 12:32:07 + case "${OS_FAMILY}" in 12:32:07 + dpkg -l 12:32:07 + grep '^ii' 12:32:07 + '[' -f /tmp/packages_start.txt ']' 12:32:07 + '[' -f /tmp/packages_end.txt ']' 12:32:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:32:07 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 12:32:07 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 12:32:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 12:32:07 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:32:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:32:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:32:08 prd-ubuntu20.04-docker-8c-8g-35038 does not seem to be running inside a container 12:32: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/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:32:08 $ docker top ad8e24ebf22057cb8a1265f454998d160c4ba4435ae7cf42bfb3825dce6092f8 -eo pid,comm [Pipeline] { [Pipeline] sh 12:32:08 + touch /tmp/pre-build-complete [Pipeline] sh 12:32:09 + mkdir -p /var/log/sysstat [Pipeline] sh 12:32:09 + ls /var/log/sa-host 12:32:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:32:09 provisioning config files... 12:32:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13597755379864297456tmp [Pipeline] { [Pipeline] echo 12:32:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:32:09 ---> create-netrc.sh [Pipeline] } 12:32:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:32:10 ---> python-tools-install.sh [Pipeline] echo 12:32:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:32:10 ---> sudo-logs.sh 12:32:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:32:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:32:10 ---> job-cost.sh 12:32:10 lf-activate-venv: SKIPPING 12:32:10 DEBUG: total: 0.2199999988079071 12:32:10 INFO: Retrieving Stack Cost... 12:32:11 INFO: Retrieving Pricing Info for: v3-standard-8 12:32:11 INFO: Archiving Costs [Pipeline] echo 12:32:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:32:11 ---> logs-deploy.sh 12:32:11 lf-activate-venv: SKIPPING 12:32:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/192 12:32:11 INFO: archiving workspace using pattern(s): 12:32:12 Archives upload complete. 12:32:12 INFO: archiving logs to Nexus