Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fd38c4f9940e502c46e28314a76cae12c6b2822f 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-ssh12425645742866488512.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh8417330700003292796.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh6636477564773787112.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh6916009305328800231.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-ssh1195720757961744080.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-948 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision fd38c4f9940e502c46e28314a76cae12c6b2822f (main) Commit message: "Merge pull request #471 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.15" > git config core.sparsecheckout # timeout=10 > git checkout -f fd38c4f9940e502c46e28314a76cae12c6b2822f # timeout=10 > git rev-list --no-walk ce586e9030a93f7faa235112db1c98351cbead98 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:33:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:33:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:33:57 ========================================================= 15:33:57 EdgeX Global Pipelines Version Info 15:33:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:33:58 ------------------- 15:33:58 stable info: 15:33:58 ------------------- 15:33:58 Commited By: Ginny Guan ginny@iotechsys.com 15:33:58 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 15:33:58 Message: update stable to v1.0.260 15:33:58 ------------------- 15:33:58 experimental info: 15:33:58 ------------------- 15:33:58 Commited By: Ginny Guan ginny@iotechsys.com 15:33:58 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 15:33:58 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:33:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 15:33:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 15:33:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:33:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:33:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:33:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:33:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd38c4f9940e502c46e28314a76cae12c6b2822f [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd38c4f [Pipeline] echo 15:33:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:33:59 provisioning config files... 15:33:59 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13100199696917662575tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:33:59 ---> ****-login.sh 15:33:59 nexus3.edgexfoundry.org:10001 15:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:34:00 Configure a credential helper to remove this warning. See 15:34:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:34:00 15:34:00 Login Succeeded 15:34:00 nexus3.edgexfoundry.org:10002 15:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:34:00 Configure a credential helper to remove this warning. See 15:34:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:34:00 15:34:00 Login Succeeded 15:34:00 nexus3.edgexfoundry.org:10003 15:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:34:00 Configure a credential helper to remove this warning. See 15:34:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:34:00 15:34:00 Login Succeeded 15:34:00 nexus3.edgexfoundry.org:10004 15:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:34:00 Configure a credential helper to remove this warning. See 15:34:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:34:00 15:34:00 Login Succeeded 15:34:00 ****.io 15:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:34:01 Configure a credential helper to remove this warning. See 15:34:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:34:01 15:34:01 Login Succeeded 15:34:01 ---> ****-login.sh ends [Pipeline] } 15:34:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:34:01 + git rev-list -1 --merges fd38c4f9940e502c46e28314a76cae12c6b2822f~1..fd38c4f9940e502c46e28314a76cae12c6b2822f [Pipeline] echo 15:34:01 -----------> git rev-list -1 --merges fd38c4f9940e502c46e28314a76cae12c6b2822f~1..fd38c4f9940e502c46e28314a76cae12c6b2822f fd38c4f9940e502c46e28314a76cae12c6b2822f 15:34:01 fd38c4f9940e502c46e28314a76cae12c6b2822f [false] [Pipeline] sh 15:34:01 + git log --format=format:%s -1 fd38c4f9940e502c46e28314a76cae12c6b2822f [Pipeline] echo 15:34:01 ========================================================= 15:34:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:34:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:34:02 + git log --format=format:%s -1 fd38c4f9940e502c46e28314a76cae12c6b2822f [Pipeline] echo 15:34:02 [semverPrep] GIT_COMMIT: fd38c4f9940e502c46e28314a76cae12c6b2822f, Commit Message: Merge pull request #471 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.15 [Pipeline] echo 15:34:02 [semverPrep] This is not a build commit. [Pipeline] sh 15:34:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:34:02 + grep -v github /etc/ssh/ssh_known_hosts 15:34:02 + [ -e /tmp/ssh_known_hosts ] 15:34:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:34:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:34:02 + sudo tee -a /etc/ssh/ssh_known_hosts 15:34:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:34:02 15:34:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:34:03 0.1.4: Pulling from edgex-devops/py-git-semver 15:34:03 b85a868b505f: Pulling fs layer 15:34:03 e2be974225ed: Pulling fs layer 15:34:03 339a4e72a1f5: Pulling fs layer 15:34:03 988bab9f4d93: Pulling fs layer 15:34:03 1469e6f7b9e6: Pulling fs layer 15:34:03 eaf3925da568: Pulling fs layer 15:34:03 bab4dde63d76: Pulling fs layer 15:34:03 bde34c3a00c8: Pulling fs layer 15:34:03 b352a97aabf1: Pulling fs layer 15:34:03 4872d77fe225: Pulling fs layer 15:34:03 5851b861e8e6: Pulling fs layer 15:34:03 eaf3925da568: Waiting 15:34:03 bde34c3a00c8: Waiting 15:34:03 4872d77fe225: Waiting 15:34:03 b352a97aabf1: Waiting 15:34:03 988bab9f4d93: Waiting 15:34:03 5851b861e8e6: Waiting 15:34:03 1469e6f7b9e6: Waiting 15:34:03 bab4dde63d76: Waiting 15:34:03 e2be974225ed: Download complete 15:34:03 988bab9f4d93: Verifying Checksum 15:34:03 988bab9f4d93: Download complete 15:34:03 1469e6f7b9e6: Verifying Checksum 15:34:03 1469e6f7b9e6: Download complete 15:34:03 339a4e72a1f5: Verifying Checksum 15:34:03 339a4e72a1f5: Download complete 15:34:03 eaf3925da568: Download complete 15:34:03 bde34c3a00c8: Verifying Checksum 15:34:03 bde34c3a00c8: Download complete 15:34:03 b352a97aabf1: Download complete 15:34:03 4872d77fe225: Verifying Checksum 15:34:03 4872d77fe225: Download complete 15:34:03 5851b861e8e6: Verifying Checksum 15:34:03 5851b861e8e6: Download complete 15:34:03 b85a868b505f: Verifying Checksum 15:34:03 b85a868b505f: Download complete 15:34:03 bab4dde63d76: Verifying Checksum 15:34:03 bab4dde63d76: Download complete 15:34:04 b85a868b505f: Pull complete 15:34:05 e2be974225ed: Pull complete 15:34:05 339a4e72a1f5: Pull complete 15:34:05 988bab9f4d93: Pull complete 15:34:05 1469e6f7b9e6: Pull complete 15:34:05 eaf3925da568: Pull complete 15:34:07 bab4dde63d76: Pull complete 15:34:07 bde34c3a00c8: Pull complete 15:34:07 b352a97aabf1: Pull complete 15:34:07 4872d77fe225: Pull complete 15:34:07 5851b861e8e6: Pull complete 15:34:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:34:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:34:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:34:07 prd-ubuntu20.04-docker-8c-8g-948 does not seem to be running inside a container 15:34:07 $ 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 15:34:10 $ docker top eed28dfdee4905f0b679af517b9170afcc5b7e1737e03049a276deb70cff2bd8 -eo pid,comm 15:34:11 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). 15:34:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:34:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:34:11 [ssh-agent] Looking for ssh-agent implementation... 15:34:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:34:11 $ docker exec eed28dfdee4905f0b679af517b9170afcc5b7e1737e03049a276deb70cff2bd8 ssh-agent 15:34:11 SSH_AUTH_SOCK=/tmp/ssh-esqioOX35Tdm/agent.32 15:34:11 SSH_AGENT_PID=38 15:34:11 Running ssh-add (command line suppressed) 15:34:11 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_148617252913063006.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_148617252913063006.key) 15:34:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:34:11 + git tag --points-at HEAD [Pipeline] } 15:34:11 $ docker exec --env ******** --env ******** eed28dfdee4905f0b679af517b9170afcc5b7e1737e03049a276deb70cff2bd8 ssh-agent -k 15:34:11 unset SSH_AUTH_SOCK; 15:34:11 unset SSH_AGENT_PID; 15:34:11 echo Agent pid 38 killed; 15:34:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:34:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:34:11 [ssh-agent] Looking for ssh-agent implementation... 15:34:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:34:12 $ docker exec eed28dfdee4905f0b679af517b9170afcc5b7e1737e03049a276deb70cff2bd8 ssh-agent 15:34:12 SSH_AUTH_SOCK=/tmp/ssh-0hm2WlBppKzz/agent.71 15:34:12 SSH_AGENT_PID=77 15:34:12 Running ssh-add (command line suppressed) 15:34:12 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13441856874603243999.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13441856874603243999.key) 15:34:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:34:12 + git semver init 15:34:12 2024-05-28 15:34:12,709 [run_init] DEBUG init version:0.0.0 force:False 15:34:12 2024-05-28 15:34:12,710 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 15:34:12 2024-05-28 15:34:12,711 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 15:34:12 2024-05-28 15:34:12,711 [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) 15:34:14 2024-05-28 15:34:14,279 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 15:34:14 2024-05-28 15:34:14,280 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 15:34:14 2024-05-28 15:34:14,280 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:34:14 2024-05-28 15:34:14,280 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:34:14 3.2.0-dev.13 [Pipeline] } 15:34:14 $ docker exec --env ******** --env ******** eed28dfdee4905f0b679af517b9170afcc5b7e1737e03049a276deb70cff2bd8 ssh-agent -k 15:34:14 unset SSH_AUTH_SOCK; 15:34:14 unset SSH_AGENT_PID; 15:34:14 echo Agent pid 77 killed; 15:34:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:34:15 + git semver [Pipeline] } 15:34:15 $ docker stop --time=1 eed28dfdee4905f0b679af517b9170afcc5b7e1737e03049a276deb70cff2bd8 15:34:16 $ docker rm -f --volumes eed28dfdee4905f0b679af517b9170afcc5b7e1737e03049a276deb70cff2bd8 [Pipeline] // withDockerContainer [Pipeline] sh 15:34:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:34:17 Stashed 1 file(s) [Pipeline] echo 15:34:17 [edgeXSemver]: initialized semver on version 3.2.0-dev.13 [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 15:34:17 provisioning config files... 15:34:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15985787263431744570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:34:17 ---> ****-login.sh 15:34:17 nexus3.edgexfoundry.org:10001 15:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:34:17 Configure a credential helper to remove this warning. See 15:34:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:34:17 15:34:17 Login Succeeded 15:34:17 nexus3.edgexfoundry.org:10002 15:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:34:17 Configure a credential helper to remove this warning. See 15:34:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:34:17 15:34:17 Login Succeeded 15:34:17 nexus3.edgexfoundry.org:10003 15:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:34:18 Configure a credential helper to remove this warning. See 15:34:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:34:18 15:34:18 Login Succeeded 15:34:18 nexus3.edgexfoundry.org:10004 15:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:34:18 Configure a credential helper to remove this warning. See 15:34:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:34:18 15:34:18 Login Succeeded 15:34:18 ****.io 15:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:34:18 Configure a credential helper to remove this warning. See 15:34:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:34:18 15:34:18 Login Succeeded 15:34:18 ---> ****-login.sh ends [Pipeline] } 15:34:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:34:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:34:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:34:18 ========================================================= 15:34:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:34:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 15:34:18 Sending build context to Docker daemon 37.69MB 15:34:18 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:34:18 Step 2/12 : FROM ${BASE} AS builder 15:34:19 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:34:19 619be1103602: Pulling fs layer 15:34:19 7862e08f4a3e: Pulling fs layer 15:34:19 5df492c9dc93: Pulling fs layer 15:34:19 7629e6793208: Pulling fs layer 15:34:19 4f4fb700ef54: Pulling fs layer 15:34:19 fb5054dd5b73: Pulling fs layer 15:34:19 eeca6798cff9: Pulling fs layer 15:34:19 aa269ceb94a6: Pulling fs layer 15:34:19 ada007ff1a6a: Pulling fs layer 15:34:19 fb5054dd5b73: Waiting 15:34:19 eeca6798cff9: Waiting 15:34:19 7629e6793208: Waiting 15:34:19 4f4fb700ef54: Waiting 15:34:19 aa269ceb94a6: Waiting 15:34:19 ada007ff1a6a: Waiting 15:34:19 7862e08f4a3e: Verifying Checksum 15:34:19 7862e08f4a3e: Download complete 15:34:19 7629e6793208: Download complete 15:34:19 4f4fb700ef54: Verifying Checksum 15:34:19 4f4fb700ef54: Download complete 15:34:19 fb5054dd5b73: Verifying Checksum 15:34:19 fb5054dd5b73: Download complete 15:34:19 619be1103602: Verifying Checksum 15:34:19 619be1103602: Download complete 15:34:19 eeca6798cff9: Verifying Checksum 15:34:19 eeca6798cff9: Download complete 15:34:19 619be1103602: Pull complete 15:34:19 7862e08f4a3e: Pull complete 15:34:19 ada007ff1a6a: Verifying Checksum 15:34:19 ada007ff1a6a: Download complete 15:34:19 5df492c9dc93: Verifying Checksum 15:34:19 5df492c9dc93: Download complete 15:34:20 aa269ceb94a6: Verifying Checksum 15:34:20 aa269ceb94a6: Download complete 15:34:22 5df492c9dc93: Pull complete 15:34:22 7629e6793208: Pull complete 15:34:22 4f4fb700ef54: Pull complete 15:34:22 fb5054dd5b73: Pull complete 15:34:22 eeca6798cff9: Pull complete 15:34:25 aa269ceb94a6: Pull complete 15:34:25 ada007ff1a6a: Pull complete 15:34:25 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 15:34:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:34:25 ---> f489d0715acc 15:34:25 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:34:29 ---> Running in ec23bb72c73c 15:34:29 Removing intermediate container ec23bb72c73c 15:34:29 ---> 5677868a1afb 15:34:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:34:29 ---> Running in 965d600b3510 15:34:29 Removing intermediate container 965d600b3510 15:34:29 ---> 73b6c4618348 15:34:29 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:34:29 ---> Running in bbb6601982c8 15:34:29 Removing intermediate container bbb6601982c8 15:34:29 ---> e8ad51679fca 15:34:29 Step 6/12 : WORKDIR /device-virtual-go 15:34:29 ---> Running in a1974256ae9d 15:34:29 Removing intermediate container a1974256ae9d 15:34:29 ---> fdb73dea99ab 15:34:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:34:29 ---> Running in 751de6182594 15:34:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:34:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:34:32 (1/4) Installing openssh-keygen (9.3_p2-r1) 15:34:32 (2/4) Installing libedit (20221030.3.1-r1) 15:34:32 (3/4) Installing openssh-client-common (9.3_p2-r1) 15:34:32 (4/4) Installing openssh-client-default (9.3_p2-r1) 15:34:32 Executing busybox-1.36.1-r5.trigger 15:34:32 OK: 268 MiB in 56 packages 15:34:32 Removing intermediate container 751de6182594 15:34:32 ---> f254e7b14c57 15:34:32 Step 8/12 : COPY go.mod vendor* ./ 15:34:32 Still waiting to schedule task 15:34:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:34:32 ---> 88083d5263e3 15:34:32 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:34:32 ---> Running in d78b37aca869 15:35:28 Removing intermediate container d78b37aca869 15:35:28 ---> 5f064be78566 15:35:28 Step 10/12 : COPY . . 15:35:28 ---> 315c62d97af9 15:35:28 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:35:28 ---> Running in 0d427687de0c 15:35:28 Removing intermediate container 0d427687de0c 15:35:28 ---> 74aab49ad0fe 15:35:28 Step 12/12 : RUN $MAKE 15:35:28 ---> Running in e7ad5cc232a5 15:35:28 noop 15:35:28 Removing intermediate container e7ad5cc232a5 15:35:28 ---> 9ebe2d9018c7 15:35:28 Successfully built 9ebe2d9018c7 15:35:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:29 + docker inspect -f . ci-base-image-x86_64 15:35:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:29 prd-ubuntu20.04-docker-8c-8g-948 does not seem to be running inside a container 15:35:29 $ 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 15:35:29 $ docker top fd8d5c53186eef826b3162ced4a485f7669285f2fc80ce26ba85113ddb1ba400 -eo pid,comm [Pipeline] { [Pipeline] sh 15:35:30 + go version 15:35:30 go version go1.21.9 linux/amd64 [Pipeline] } 15:35:30 $ docker stop --time=1 fd8d5c53186eef826b3162ced4a485f7669285f2fc80ce26ba85113ddb1ba400 15:35:31 $ docker rm -f --volumes fd8d5c53186eef826b3162ced4a485f7669285f2fc80ce26ba85113ddb1ba400 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:31 + docker inspect -f . ci-base-image-x86_64 15:35:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:31 prd-ubuntu20.04-docker-8c-8g-948 does not seem to be running inside a container 15:35:31 $ 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 15:35:32 $ docker top 7e737f42ba9d863248fb06f28e78a85532bacdff3c97d0f2d19c8c7db5301551 -eo pid,comm [Pipeline] { [Pipeline] sh 15:35:32 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 15:35:33 + make test 15:35:33 go test ./... -coverprofile=coverage.out 15:35:34 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:35:53 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:35:53 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.022s coverage: 58.6% of statements 15:36:05 go vet ./... 15:36:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:36:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:36:10 ./bin/test-attribution-txt.sh 15:36:10 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 15:36:10 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 15:36:10 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 15:36:10 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 15:36:10 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 15:36:10 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 15:36:10 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 15:36:10 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 15:36:10 An attribution for golang.org/x/term is missing from Attribution.txt, please add 15:36:10 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 15:36:10 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 15:36:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:36:10 $ docker stop --time=1 7e737f42ba9d863248fb06f28e78a85532bacdff3c97d0f2d19c8c7db5301551 15:36:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-949 in /w/workspace/exfoundry_device-virtual-go_main 15:36:13 $ docker rm -f --volumes 7e737f42ba9d863248fb06f28e78a85532bacdff3c97d0f2d19c8c7db5301551 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 15:36:13 Running in /w/workspace/device-virtual-go/169 [Pipeline] { [Pipeline] checkout 15:36:13 The recommended git tool is: git 15:36:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:36:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:36:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:36:14 + ls -al . 15:36:14 total 268 15:36:14 drwxrwxr-x 8 jenkins jenkins 4096 May 28 15:35 . 15:36:14 drwxrwxr-x 4 jenkins jenkins 4096 May 28 15:33 .. 15:36:14 drwxrwxr-x 8 jenkins jenkins 4096 May 28 15:35 .git 15:36:14 drwxrwxr-x 3 jenkins jenkins 4096 May 28 15:33 .github 15:36:14 -rw-rw-r-- 1 jenkins jenkins 272 May 28 15:33 .gitignore 15:36:14 -rw-rw-r-- 1 jenkins jenkins 41 May 28 15:33 .golangci.yml 15:36:14 drwxr-xr-x 3 jenkins jenkins 4096 May 28 15:34 .semver 15:36:14 -rw-rw-r-- 1 jenkins jenkins 9708 May 28 15:33 Attribution.txt 15:36:14 -rw-rw-r-- 1 jenkins jenkins 15941 May 28 15:33 CHANGELOG.md 15:36:14 -rw-rw-r-- 1 jenkins jenkins 1755 May 28 15:33 Dockerfile 15:36:14 -rw-rw-r-- 1 jenkins jenkins 677 May 28 15:33 GOVERNANCE.md 15:36:14 -rw-rw-r-- 1 jenkins jenkins 660 May 28 15:33 Jenkinsfile 15:36:14 -rw-rw-r-- 1 jenkins jenkins 11340 May 28 15:33 LICENSE 15:36:14 -rw-rw-r-- 1 jenkins jenkins 1953 May 28 15:33 Makefile 15:36:14 -rw-rw-r-- 1 jenkins jenkins 623 May 28 15:33 OWNERS.md 15:36:14 -rw-rw-r-- 1 jenkins jenkins 4103 May 28 15:33 README.md 15:36:14 -rw-rw-r-- 1 jenkins jenkins 12 May 28 15:34 VERSION 15:36:14 drwxrwxr-x 2 jenkins jenkins 4096 May 28 15:33 bin 15:36:14 drwxrwxr-x 3 jenkins jenkins 4096 May 28 15:33 cmd 15:36:14 -rw-r--r-- 1 jenkins jenkins 43063 May 28 15:35 coverage.out 15:36:14 -rw-rw-r-- 1 jenkins jenkins 6979 May 28 15:33 go.mod 15:36:14 -rw-rw-r-- 1 jenkins jenkins 101544 May 28 15:33 go.sum 15:36:14 drwxrwxr-x 3 jenkins jenkins 4096 May 28 15:33 internal 15:36:14 -rw-rw-r-- 1 jenkins jenkins 235 May 28 15:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:15 + 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=fd38c4f9940e502c46e28314a76cae12c6b2822f --label arch=amd64 --label version=3.2.0-dev.13 . 15:36:15 Sending build context to Docker daemon 37.73MB 15:36:15 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 15:36:15 Step 2/26 : FROM ${BASE} AS builder 15:36:15 ---> 9ebe2d9018c7 15:36:15 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:36:15 ---> Running in 79bd603d16d4 15:36:15 Removing intermediate container 79bd603d16d4 15:36:15 ---> ebc2579b9969 15:36:15 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 15:36:15 ---> Running in 51dfcdba2bed 15:36:15 Removing intermediate container 51dfcdba2bed 15:36:15 ---> bb5c2cfcbc97 15:36:15 Step 5/26 : ARG ADD_BUILD_TAGS="" 15:36:15 ---> Running in ee0f005cf964 15:36:16 Removing intermediate container ee0f005cf964 15:36:16 ---> dcd870533f35 15:36:16 Step 6/26 : WORKDIR /device-virtual-go 15:36:16 ---> Running in 143b0c3b7e6a 15:36:16 Removing intermediate container 143b0c3b7e6a 15:36:16 ---> 029e2adf1b17 15:36:16 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:36:16 ---> Running in 62d51380d498 15:36:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:36:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:36:16 OK: 268 MiB in 56 packages 15:36:17 Removing intermediate container 62d51380d498 15:36:17 ---> 8c9e5ab904c4 15:36:17 Step 8/26 : COPY go.mod vendor* ./ 15:36:17 ---> afe5d47a5dcc 15:36:17 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:36:17 ---> Running in e299116b8a30 15:36:18 Removing intermediate container e299116b8a30 15:36:18 ---> 61a3428903ad 15:36:18 Step 10/26 : COPY . . 15:36:18 using credential edgex-jenkins-ssh 15:36:18 Cloning the remote Git repository 15:36:18 ---> 3121563da9b5 15:36:18 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:36:18 ---> Running in 81410fd1c35b 15:36:18 Removing intermediate container 81410fd1c35b 15:36:18 ---> a202ef4b7c64 15:36:18 Step 12/26 : RUN $MAKE 15:36:18 ---> Running in 51cfb7e3a65b 15:36:18 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 15:36:18 > git init /w/workspace/device-virtual-go/169 # timeout=10 15:36:18 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:36:18 > git --version # timeout=10 15:36:18 > git --version # 'git version 2.25.1' 15:36:18 using GIT_SSH to set credentials SSH Credentials for GitHub 15:36:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:36:19 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.15" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 15:36:22 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:36:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:36:22 Avoid second fetch 15:36:22 Checking out Revision fd38c4f9940e502c46e28314a76cae12c6b2822f (main) 15:36:23 Commit message: "Merge pull request #471 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.15" 15:36:22 > git config core.sparsecheckout # timeout=10 15:36:22 > git checkout -f fd38c4f9940e502c46e28314a76cae12c6b2822f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:36:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:36:28 % Total % Received % Xferd Average Speed Time Time Time Current 15:36:28 Dload Upload Total Spent Left Speed 15:36:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 92956 0 --:--:-- --:--:-- --:--:-- 92956 [Pipeline] sh 15:36:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:36:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:36:28 + sudo tee /etc/docker/daemon.new 15:36:28 { 15:36:28 "registry-mirrors": [ 15:36:28 "https://nexus3.edgexfoundry.org:10001" 15:36:28 ], 15:36:28 "bip": "10.250.0.254/24", 15:36:28 "hosts": [ 15:36:28 "tcp://0.0.0.0:5555", 15:36:28 "unix:///var/run/docker.sock" 15:36:28 ], 15:36:28 "mtu": 1458, 15:36:28 "selinux-enabled": true, 15:36:28 "seccomp-profile": "/etc/docker/seccomp.json" 15:36:28 } [Pipeline] sh 15:36:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:36:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:36:47 provisioning config files... 15:36:47 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/169@tmp/config6849197726209448673tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:36:48 ---> ****-login.sh 15:36:48 nexus3.edgexfoundry.org:10001 15:36:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:36:48 Configure a credential helper to remove this warning. See 15:36:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:36:48 15:36:48 Login Succeeded 15:36:48 nexus3.edgexfoundry.org:10002 15:36:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:36:48 Configure a credential helper to remove this warning. See 15:36:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:36:48 15:36:48 Login Succeeded 15:36:48 nexus3.edgexfoundry.org:10003 15:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:36:49 Configure a credential helper to remove this warning. See 15:36:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:36:49 15:36:49 Login Succeeded 15:36:49 nexus3.edgexfoundry.org:10004 15:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:36:49 Configure a credential helper to remove this warning. See 15:36:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:36:49 15:36:49 Login Succeeded 15:36:49 ****.io 15:36:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:36:50 Configure a credential helper to remove this warning. See 15:36:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:36:50 15:36:50 Login Succeeded 15:36:50 ---> ****-login.sh ends [Pipeline] } 15:36:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:36:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:36:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:36:50 ========================================================= 15:36:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:36:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:51 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 15:36:51 Removing intermediate container 51cfb7e3a65b 15:36:51 ---> e5855109d42f 15:36:51 Step 13/26 : FROM alpine:3.18 15:36:51 3.18: Pulling from library/alpine 15:36:51 619be1103602: Already exists 15:36:51 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 15:36:51 Status: Downloaded newer image for alpine:3.18 15:36:51 ---> d3782b16ccc9 15:36:51 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 15:36:51 ---> Running in 1b9538482e27 15:36:51 Removing intermediate container 1b9538482e27 15:36:51 ---> c9f277e9b29e 15:36:51 Step 15/26 : RUN apk add --update --no-cache dumb-init 15:36:51 ---> Running in 11c17d90e063 15:36:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:36:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:36:51 (1/1) Installing dumb-init (1.2.5-r2) 15:36:51 Executing busybox-1.36.1-r5.trigger 15:36:51 OK: 7 MiB in 16 packages 15:36:51 Removing intermediate container 11c17d90e063 15:36:51 ---> b2abc4f8e6e0 15:36:51 Step 16/26 : RUN apk --no-cache upgrade 15:36:51 ---> Running in 812866ab441f 15:36:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:36:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:36:51 Upgrading critical system libraries and apk-tools: 15:36:51 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 15:36:51 Executing busybox-1.36.1-r5.trigger 15:36:51 Continuing the upgrade transaction with new apk-tools: 15:36:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:36:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:36:51 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 15:36:51 Executing busybox-1.36.1-r6.post-upgrade 15:36:51 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 15:36:51 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 15:36:51 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 15:36:51 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 15:36:51 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 15:36:51 Executing busybox-1.36.1-r6.trigger 15:36:51 OK: 7 MiB in 16 packages 15:36:51 Removing intermediate container 812866ab441f 15:36:51 ---> 809e21b41768 15:36:51 Step 17/26 : WORKDIR / 15:36:51 ---> Running in 76884bb2b973 15:36:51 Removing intermediate container 76884bb2b973 15:36:51 ---> d505b93829bc 15:36:51 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 15:36:51 ---> 820e3830d581 15:36:51 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 15:36:51 ---> 13a373e92b41 15:36:51 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 15:36:51 ---> 3d5297dbb0b1 15:36:51 Step 21/26 : EXPOSE 59900 15:36:51 ---> Running in e7d4d6285ef7 15:36:51 Removing intermediate container e7d4d6285ef7 15:36:51 ---> f869076b50e1 15:36:51 Step 22/26 : ENTRYPOINT ["/device-virtual"] 15:36:51 ---> Running in 77d2e6e4133a 15:36:51 Removing intermediate container 77d2e6e4133a 15:36:51 ---> 6c98fa940edf 15:36:51 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:36:51 ---> Running in ff57463475d3 15:36:51 Removing intermediate container ff57463475d3 15:36:51 ---> 160165b6217f 15:36:51 Step 24/26 : LABEL arch=amd64 15:36:51 ---> Running in bb32e813e384 15:36:51 Sending build context to Docker daemon 19.02MB 15:36:51 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:36:51 Step 2/12 : FROM ${BASE} AS builder 15:36:51 Removing intermediate container bb32e813e384 15:36:51 ---> 2ed68572c8bb 15:36:51 Step 25/26 : LABEL git_sha=fd38c4f9940e502c46e28314a76cae12c6b2822f 15:36:51 ---> Running in ddf43d5b91e8 15:36:51 Removing intermediate container ddf43d5b91e8 15:36:51 ---> 06d9d1d3efda 15:36:51 Step 26/26 : LABEL version=3.2.0-dev.13 15:36:51 ---> Running in ec9efa4eb8a4 15:36:51 Removing intermediate container ec9efa4eb8a4 15:36:51 ---> 8c122ff63b29 15:36:51 [Warning] One or more build-args [ARCH] were not consumed 15:36:51 Successfully built 8c122ff63b29 15:36:51 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:36:51 provisioning config files... 15:36:51 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4678607321534234095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:36:51 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:36:51 c6b39de5b339: Pulling fs layer 15:36:51 a69c41024577: Pulling fs layer 15:36:51 d6de4b400683: Pulling fs layer 15:36:51 35cb2a7552d0: Pulling fs layer 15:36:51 4f4fb700ef54: Pulling fs layer 15:36:51 464afbd9ba4c: Pulling fs layer 15:36:51 00f215d4a9da: Pulling fs layer 15:36:51 d496ad576159: Pulling fs layer 15:36:51 464afbd9ba4c: Waiting 15:36:51 d496ad576159: Waiting 15:36:51 35cb2a7552d0: Waiting 15:36:51 4f4fb700ef54: Waiting 15:36:51 00f215d4a9da: Waiting 15:36:51 a69c41024577: Verifying Checksum 15:36:51 a69c41024577: Download complete 15:36:51 35cb2a7552d0: Verifying Checksum 15:36:51 35cb2a7552d0: Download complete 15:36:51 4f4fb700ef54: Verifying Checksum 15:36:51 4f4fb700ef54: Download complete 15:36:51 464afbd9ba4c: Verifying Checksum 15:36:51 464afbd9ba4c: Download complete 15:36:51 c6b39de5b339: Verifying Checksum 15:36:51 c6b39de5b339: Download complete 15:36:52 ---> ****-login.sh 15:36:52 nexus3.edgexfoundry.org:10001 15:36:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:36:52 Configure a credential helper to remove this warning. See 15:36:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:36:52 15:36:52 Login Succeeded 15:36:52 nexus3.edgexfoundry.org:10002 15:36:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:36:52 Configure a credential helper to remove this warning. See 15:36:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:36:52 15:36:52 Login Succeeded 15:36:52 nexus3.edgexfoundry.org:10003 15:36:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:36:52 Configure a credential helper to remove this warning. See 15:36:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:36:52 15:36:52 Login Succeeded 15:36:52 nexus3.edgexfoundry.org:10004 15:36:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:36:52 Configure a credential helper to remove this warning. See 15:36:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:36:52 15:36:52 Login Succeeded 15:36:52 ****.io 15:36:52 d496ad576159: Verifying Checksum 15:36:52 d496ad576159: Download complete 15:36:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:36:52 Configure a credential helper to remove this warning. See 15:36:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:36:52 15:36:52 Login Succeeded 15:36:52 ---> ****-login.sh ends [Pipeline] } 15:36:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:36:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] 15:36:52 c6b39de5b339: Pull complete [Pipeline] echo 15:36:52 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 15:36:52 fd38c4f9940e502c46e28314a76cae12c6b2822f 15:36:52 latest 15:36:52 3.2.0-dev.13 15:36:52 fd38c4f9940e502c46e28314a76cae12c6b2822f-3.2.0-dev.13 15:36:52 main 15:36:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:53 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:fd38c4f9940e502c46e28314a76cae12c6b2822f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:53 a69c41024577: Pull complete 15:36:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual:fd38c4f9940e502c46e28314a76cae12c6b2822f 15:36:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 15:36:53 93319d86470e: Preparing 15:36:53 864545c87d1d: Preparing 15:36:53 28ea67877ce3: Preparing 15:36:53 a656e7e3ddc7: Preparing 15:36:53 c9027a6ccf13: Preparing 15:36:53 aedc3bda2944: Preparing 15:36:53 aedc3bda2944: Waiting 15:36:53 c9027a6ccf13: Pushed 15:36:53 28ea67877ce3: Pushed 15:36:53 864545c87d1d: Pushed 15:36:53 aedc3bda2944: Layer already exists 15:36:53 d6de4b400683: Verifying Checksum 15:36:53 d6de4b400683: Download complete 15:36:54 a656e7e3ddc7: Pushed 15:36:54 00f215d4a9da: Verifying Checksum 15:36:54 00f215d4a9da: Download complete 15:36:57 93319d86470e: Pushed 15:36:57 fd38c4f9940e502c46e28314a76cae12c6b2822f: digest: sha256:4ad4fbc5a383614ec33cb6c640a1e20155a71b8d01af111d36dd7688384cd98a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:57 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 15:36:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 15:36:57 93319d86470e: Preparing 15:36:57 864545c87d1d: Preparing 15:36:57 28ea67877ce3: Preparing 15:36:57 a656e7e3ddc7: Preparing 15:36:57 c9027a6ccf13: Preparing 15:36:57 aedc3bda2944: Preparing 15:36:57 aedc3bda2944: Waiting 15:36:57 a656e7e3ddc7: Layer already exists 15:36:57 28ea67877ce3: Layer already exists 15:36:57 864545c87d1d: Layer already exists 15:36:57 93319d86470e: Layer already exists 15:36:57 c9027a6ccf13: Layer already exists 15:36:57 aedc3bda2944: Layer already exists 15:36:57 latest: digest: sha256:4ad4fbc5a383614ec33cb6c640a1e20155a71b8d01af111d36dd7688384cd98a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:57 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.13 15:36:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 15:36:58 93319d86470e: Preparing 15:36:58 864545c87d1d: Preparing 15:36:58 28ea67877ce3: Preparing 15:36:58 a656e7e3ddc7: Preparing 15:36:58 c9027a6ccf13: Preparing 15:36:58 aedc3bda2944: Preparing 15:36:58 aedc3bda2944: Waiting 15:36:58 864545c87d1d: Layer already exists 15:36:58 93319d86470e: Layer already exists 15:36:58 a656e7e3ddc7: Layer already exists 15:36:58 28ea67877ce3: Layer already exists 15:36:58 c9027a6ccf13: Layer already exists 15:36:58 aedc3bda2944: Layer already exists 15:36:58 3.2.0-dev.13: digest: sha256:4ad4fbc5a383614ec33cb6c640a1e20155a71b8d01af111d36dd7688384cd98a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:58 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:fd38c4f9940e502c46e28314a76cae12c6b2822f-3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual:fd38c4f9940e502c46e28314a76cae12c6b2822f-3.2.0-dev.13 15:36:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 15:36:58 93319d86470e: Preparing 15:36:58 864545c87d1d: Preparing 15:36:58 28ea67877ce3: Preparing 15:36:58 a656e7e3ddc7: Preparing 15:36:58 c9027a6ccf13: Preparing 15:36:58 aedc3bda2944: Preparing 15:36:58 aedc3bda2944: Waiting 15:36:58 864545c87d1d: Layer already exists 15:36:58 c9027a6ccf13: Layer already exists 15:36:58 a656e7e3ddc7: Layer already exists 15:36:58 93319d86470e: Layer already exists 15:36:58 28ea67877ce3: Layer already exists 15:36:58 aedc3bda2944: Layer already exists 15:36:58 fd38c4f9940e502c46e28314a76cae12c6b2822f-3.2.0-dev.13: digest: sha256:4ad4fbc5a383614ec33cb6c640a1e20155a71b8d01af111d36dd7688384cd98a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:59 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:59 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 15:36:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 15:36:59 93319d86470e: Preparing 15:36:59 864545c87d1d: Preparing 15:36:59 28ea67877ce3: Preparing 15:36:59 a656e7e3ddc7: Preparing 15:36:59 c9027a6ccf13: Preparing 15:36:59 aedc3bda2944: Preparing 15:36:59 aedc3bda2944: Waiting 15:36:59 28ea67877ce3: Layer already exists 15:36:59 a656e7e3ddc7: Layer already exists 15:36:59 93319d86470e: Layer already exists 15:36:59 864545c87d1d: Layer already exists 15:36:59 c9027a6ccf13: Layer already exists 15:36:59 aedc3bda2944: Layer already exists 15:36:59 main: digest: sha256:4ad4fbc5a383614ec33cb6c640a1e20155a71b8d01af111d36dd7688384cd98a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:36:59 ===================================================== [Pipeline] echo 15:36:59 taggedImages: 15:36:59 - nexus3.edgexfoundry.org:10004/device-virtual:fd38c4f9940e502c46e28314a76cae12c6b2822f 15:36:59 - nexus3.edgexfoundry.org:10004/device-virtual:latest 15:36:59 - nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.13 15:36:59 - nexus3.edgexfoundry.org:10004/device-virtual:fd38c4f9940e502c46e28314a76cae12c6b2822f-3.2.0-dev.13 15:36:59 - 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 15:37:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:37:00 15:37:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:37:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:37:00 latest: Pulling from edgex-lftools-log-publisher 15:37:00 5eb5b503b376: Pulling fs layer 15:37:00 5c69ac0246d0: Pulling fs layer 15:37:00 ec43610c2a17: Pulling fs layer 15:37:00 3a2ae6a8a46f: Pulling fs layer 15:37:00 33b1e0a273af: Pulling fs layer 15:37:00 5d3b04190fa2: Pulling fs layer 15:37:00 2f39f015ded8: Pulling fs layer 15:37:00 3a2ae6a8a46f: Waiting 15:37:00 33b1e0a273af: Waiting 15:37:00 5d3b04190fa2: Waiting 15:37:00 2f39f015ded8: Waiting 15:37:00 5c69ac0246d0: Download complete 15:37:00 3a2ae6a8a46f: Verifying Checksum 15:37:00 3a2ae6a8a46f: Download complete 15:37:00 33b1e0a273af: Verifying Checksum 15:37:00 33b1e0a273af: Download complete 15:37:00 5d3b04190fa2: Download complete 15:37:00 ec43610c2a17: Verifying Checksum 15:37:00 ec43610c2a17: Download complete 15:37:00 5eb5b503b376: Download complete 15:37:01 2f39f015ded8: Download complete 15:37:01 5eb5b503b376: Pull complete 15:37:02 5c69ac0246d0: Pull complete 15:37:02 ec43610c2a17: Pull complete 15:37:02 3a2ae6a8a46f: Pull complete 15:37:02 33b1e0a273af: Pull complete 15:37:02 5d3b04190fa2: Pull complete 15:37:06 d6de4b400683: Pull complete 15:37:06 35cb2a7552d0: Pull complete 15:37:06 4f4fb700ef54: Pull complete 15:37:06 464afbd9ba4c: Pull complete 15:37:07 2f39f015ded8: Pull complete 15:37:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:37:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:37:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:37:07 prd-ubuntu20.04-docker-8c-8g-948 does not seem to be running inside a container 15:37:07 $ 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 15:37:08 $ docker top 0e365695c4fe96fb8d7b7769320a50907f7335309f5073e0445abaa0d3363218 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:37:09 ---> job-cost.sh 15:37:09 lf-activate-venv: SKIPPING 15:37:09 INFO: No Stack... 15:37:09 INFO: Retrieving Pricing Info for: v3-standard-8 15:37:09 INFO: Archiving Costs [Pipeline] sh 15:37:10 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 15:37:10 + cut -d, -f6 [Pipeline] lock 15:37:10 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-169-stack-cost] 15:37:10 Resource [jenkins-edgexfoundry-device-virtual-go-main-169-stack-cost] did not exist. Created. 15:37:10 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-169-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:37:10 + echo total: 0.2199999988079071 [Pipeline] stash 15:37:10 Stashed 1 file(s) [Pipeline] } 15:37:10 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-169-stack-cost] [Pipeline] // lock [Pipeline] } 15:37:10 $ docker stop --time=1 0e365695c4fe96fb8d7b7769320a50907f7335309f5073e0445abaa0d3363218 15:37:11 $ docker rm -f --volumes 0e365695c4fe96fb8d7b7769320a50907f7335309f5073e0445abaa0d3363218 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:37:15 00f215d4a9da: Pull complete 15:37:16 d496ad576159: Pull complete 15:37:16 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 15:37:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:37:16 ---> f246e2811388 15:37:16 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:37:18 ---> Running in 82c91fe8309a 15:37:18 Removing intermediate container 82c91fe8309a 15:37:18 ---> c3df46b1dd00 15:37:18 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:37:18 ---> Running in 2d1096a525b4 15:37:19 Removing intermediate container 2d1096a525b4 15:37:19 ---> 24a2bdc81bc1 15:37:19 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:37:19 ---> Running in 9a77f481a19e 15:37:19 Removing intermediate container 9a77f481a19e 15:37:19 ---> e854a4463f02 15:37:19 Step 6/12 : WORKDIR /device-virtual-go 15:37:19 ---> Running in 02eb2922cfa5 15:37:20 Removing intermediate container 02eb2922cfa5 15:37:20 ---> 580b67bdc413 15:37:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:37:20 ---> Running in 298f7c9d95f2 15:37:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:37:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:37:22 (1/4) Installing openssh-keygen (9.3_p2-r1) 15:37:22 (2/4) Installing libedit (20221030.3.1-r1) 15:37:22 (3/4) Installing openssh-client-common (9.3_p2-r1) 15:37:22 (4/4) Installing openssh-client-default (9.3_p2-r1) 15:37:22 Executing busybox-1.36.1-r5.trigger 15:37:22 OK: 271 MiB in 56 packages 15:37:23 Removing intermediate container 298f7c9d95f2 15:37:23 ---> 3c8f032a8a9f 15:37:23 Step 8/12 : COPY go.mod vendor* ./ 15:37:24 ---> d2088111febb 15:37:24 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:37:24 ---> Running in 9fb8df19e0e4 15:39:15 Removing intermediate container 9fb8df19e0e4 15:39:15 ---> 522fadd618d2 15:39:15 Step 10/12 : COPY . . 15:39:15 ---> 036634ba5cd2 15:39:15 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:39:15 ---> Running in 847f375f8d53 15:39:15 Removing intermediate container 847f375f8d53 15:39:15 ---> e8523cd359fe 15:39:15 Step 12/12 : RUN $MAKE 15:39:15 ---> Running in cee16b1db62f 15:39:15 noop 15:39:15 Removing intermediate container cee16b1db62f 15:39:15 ---> fbf6b6d5b4f3 15:39:15 Successfully built fbf6b6d5b4f3 15:39:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:16 + docker inspect -f . ci-base-image-arm64 15:39:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:39:16 prd-ubuntu20.04-docker-arm64-4c-16g-949 does not seem to be running inside a container 15:39:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/169 -v /w/workspace/device-virtual-go/169:/w/workspace/device-virtual-go/169:rw,z -v /w/workspace/device-virtual-go/169@tmp:/w/workspace/device-virtual-go/169@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 15:39:17 $ docker top ddf12d848044dc6ca10deb521192a66cc9e2813dde03b9fbe1aab9f1c3e054f4 -eo pid,comm [Pipeline] { [Pipeline] sh 15:39:18 + go version 15:39:18 go version go1.21.9 linux/arm64 [Pipeline] } 15:39:18 $ docker stop --time=1 ddf12d848044dc6ca10deb521192a66cc9e2813dde03b9fbe1aab9f1c3e054f4 15:39:20 $ docker rm -f --volumes ddf12d848044dc6ca10deb521192a66cc9e2813dde03b9fbe1aab9f1c3e054f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:20 + docker inspect -f . ci-base-image-arm64 15:39:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:39:20 prd-ubuntu20.04-docker-arm64-4c-16g-949 does not seem to be running inside a container 15:39:20 $ 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/169 -v /w/workspace/device-virtual-go/169:/w/workspace/device-virtual-go/169:rw,z -v /w/workspace/device-virtual-go/169@tmp:/w/workspace/device-virtual-go/169@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 15:39:21 $ docker top b7d07d929747914a55675d2605a027366cecb22a14aafd80191f734cb9023566 -eo pid,comm [Pipeline] { [Pipeline] sh 15:39:22 + git config --global --add safe.directory /w/workspace/device-virtual-go/169 [Pipeline] fileExists [Pipeline] sh 15:39:23 + make test 15:39:23 go test ./... -coverprofile=coverage.out 15:39:28 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:42:35 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:42:35 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.087s coverage: 58.4% of statements 15:42:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:42:36 go vet ./... 15:43:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:43:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:43:23 ./bin/test-attribution-txt.sh 15:43:23 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 15:43:23 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 15:43:23 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 15:43:23 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 15:43:23 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 15:43:23 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 15:43:23 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 15:43:23 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 15:43:23 An attribution for golang.org/x/term is missing from Attribution.txt, please add 15:43:23 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 15:43:23 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 15:43:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:43:23 $ docker stop --time=1 b7d07d929747914a55675d2605a027366cecb22a14aafd80191f734cb9023566 15:43:25 $ docker rm -f --volumes b7d07d929747914a55675d2605a027366cecb22a14aafd80191f734cb9023566 [Pipeline] // withDockerContainer [Pipeline] sh 15:43:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:43:26 Warning: overwriting stash ‘coverage-report’ 15:43:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:43:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:43:27 + ls -al . 15:43:27 total 264 15:43:27 drwxrwxr-x 7 jenkins jenkins 4096 May 28 15:39 . 15:43:27 drwxrwxr-x 4 jenkins jenkins 4096 May 28 15:36 .. 15:43:27 drwxrwxr-x 8 jenkins jenkins 4096 May 28 15:36 .git 15:43:27 drwxrwxr-x 3 jenkins jenkins 4096 May 28 15:36 .github 15:43:27 -rw-rw-r-- 1 jenkins jenkins 272 May 28 15:36 .gitignore 15:43:27 -rw-rw-r-- 1 jenkins jenkins 41 May 28 15:36 .golangci.yml 15:43:27 -rw-rw-r-- 1 jenkins jenkins 9708 May 28 15:36 Attribution.txt 15:43:27 -rw-rw-r-- 1 jenkins jenkins 15941 May 28 15:36 CHANGELOG.md 15:43:27 -rw-rw-r-- 1 jenkins jenkins 1755 May 28 15:36 Dockerfile 15:43:27 -rw-rw-r-- 1 jenkins jenkins 677 May 28 15:36 GOVERNANCE.md 15:43:27 -rw-rw-r-- 1 jenkins jenkins 660 May 28 15:36 Jenkinsfile 15:43:27 -rw-rw-r-- 1 jenkins jenkins 11340 May 28 15:36 LICENSE 15:43:27 -rw-rw-r-- 1 jenkins jenkins 1953 May 28 15:36 Makefile 15:43:27 -rw-rw-r-- 1 jenkins jenkins 623 May 28 15:36 OWNERS.md 15:43:27 -rw-rw-r-- 1 jenkins jenkins 4103 May 28 15:36 README.md 15:43:27 -rw-rw-r-- 1 jenkins jenkins 12 May 28 15:34 VERSION 15:43:27 drwxrwxr-x 2 jenkins jenkins 4096 May 28 15:36 bin 15:43:27 drwxrwxr-x 3 jenkins jenkins 4096 May 28 15:36 cmd 15:43:27 -rw-r--r-- 1 jenkins jenkins 43063 May 28 15:42 coverage.out 15:43:27 -rw-rw-r-- 1 jenkins jenkins 6979 May 28 15:36 go.mod 15:43:27 -rw-rw-r-- 1 jenkins jenkins 101544 May 28 15:36 go.sum 15:43:27 drwxrwxr-x 3 jenkins jenkins 4096 May 28 15:36 internal 15:43:27 -rw-rw-r-- 1 jenkins jenkins 235 May 28 15:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:28 + 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=fd38c4f9940e502c46e28314a76cae12c6b2822f --label arch=arm64 --label version=3.2.0-dev.13 . 15:43:28 Sending build context to Docker daemon 19.06MB 15:43:28 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 15:43:28 Step 2/26 : FROM ${BASE} AS builder 15:43:28 ---> fbf6b6d5b4f3 15:43:28 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:43:29 ---> Running in 0df9050f1cf1 15:43:29 Removing intermediate container 0df9050f1cf1 15:43:29 ---> 9e82fbbb61a1 15:43:29 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 15:43:29 ---> Running in a2a46c967c4f 15:43:29 Removing intermediate container a2a46c967c4f 15:43:29 ---> ee0318943712 15:43:29 Step 5/26 : ARG ADD_BUILD_TAGS="" 15:43:29 ---> Running in b327acd90454 15:43:29 Removing intermediate container b327acd90454 15:43:29 ---> c68650c07234 15:43:29 Step 6/26 : WORKDIR /device-virtual-go 15:43:30 ---> Running in 0fc09c5d2a2b 15:43:30 Removing intermediate container 0fc09c5d2a2b 15:43:30 ---> ac106ba82ba6 15:43:30 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:43:30 ---> Running in 9194bd7cce0a 15:43:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:43:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:43:32 OK: 271 MiB in 56 packages 15:43:33 Removing intermediate container 9194bd7cce0a 15:43:33 ---> e147adb085db 15:43:33 Step 8/26 : COPY go.mod vendor* ./ 15:43:33 ---> 914cf43a7aec 15:43:33 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:43:34 ---> Running in b1044d33946b 15:43:36 Removing intermediate container b1044d33946b 15:43:36 ---> 7aeb2f84ae47 15:43:36 Step 10/26 : COPY . . 15:43:37 ---> 813a8e4ff336 15:43:37 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:43:37 ---> Running in 9342c808674a 15:43:38 Removing intermediate container 9342c808674a 15:43:38 ---> 18c9d4e508cc 15:43:38 Step 12/26 : RUN $MAKE 15:43:38 ---> Running in 8760bf0bbb5c 15:43:39 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.15" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 15:47:01 Removing intermediate container 8760bf0bbb5c 15:47:01 ---> 8c379b0b1ce5 15:47:01 Step 13/26 : FROM alpine:3.18 15:47:01 3.18: Pulling from library/alpine 15:47:01 c6b39de5b339: Already exists 15:47:01 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 15:47:01 Status: Downloaded newer image for alpine:3.18 15:47:01 ---> 33abbf032149 15:47:01 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 15:47:01 ---> Running in 4632ba301119 15:47:01 Removing intermediate container 4632ba301119 15:47:01 ---> b736a9f4577b 15:47:01 Step 15/26 : RUN apk add --update --no-cache dumb-init 15:47:01 ---> Running in 7ff557263d6a 15:47:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:47:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:47:01 (1/1) Installing dumb-init (1.2.5-r2) 15:47:01 Executing busybox-1.36.1-r5.trigger 15:47:01 OK: 8 MiB in 16 packages 15:47:01 Removing intermediate container 7ff557263d6a 15:47:01 ---> 00b35bba9024 15:47:01 Step 16/26 : RUN apk --no-cache upgrade 15:47:01 ---> Running in 0b3b583896a3 15:47:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:47:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:47:01 Upgrading critical system libraries and apk-tools: 15:47:01 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 15:47:01 Executing busybox-1.36.1-r5.trigger 15:47:01 Continuing the upgrade transaction with new apk-tools: 15:47:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:47:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:47:01 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 15:47:01 Executing busybox-1.36.1-r6.post-upgrade 15:47:01 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 15:47:01 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 15:47:01 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 15:47:01 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 15:47:01 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 15:47:01 Executing busybox-1.36.1-r6.trigger 15:47:01 OK: 8 MiB in 16 packages 15:47:02 Removing intermediate container 0b3b583896a3 15:47:02 ---> d54ca0e9e524 15:47:02 Step 17/26 : WORKDIR / 15:47:02 ---> Running in 91a0d916f436 15:47:02 Removing intermediate container 91a0d916f436 15:47:02 ---> 78505ea52282 15:47:02 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 15:47:03 ---> 463d8d68e809 15:47:03 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 15:47:03 ---> e0d24e7bc499 15:47:03 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 15:47:05 ---> 8c19b8f662c5 15:47:05 Step 21/26 : EXPOSE 59900 15:47:05 ---> Running in 2caff02afe94 15:47:05 Removing intermediate container 2caff02afe94 15:47:05 ---> a802082ccfb5 15:47:05 Step 22/26 : ENTRYPOINT ["/device-virtual"] 15:47:05 ---> Running in f77ca15a2f11 15:47:05 Removing intermediate container f77ca15a2f11 15:47:05 ---> a1afab6da9da 15:47:05 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:47:05 ---> Running in d3a5c132bb4c 15:47:06 Removing intermediate container d3a5c132bb4c 15:47:06 ---> 787aeaae02ef 15:47:06 Step 24/26 : LABEL arch=arm64 15:47:06 ---> Running in f57bc9942bad 15:47:06 Removing intermediate container f57bc9942bad 15:47:06 ---> 11ca59d21928 15:47:06 Step 25/26 : LABEL git_sha=fd38c4f9940e502c46e28314a76cae12c6b2822f 15:47:06 ---> Running in 2560b426e6a5 15:47:06 Removing intermediate container 2560b426e6a5 15:47:06 ---> c332f3bc064e 15:47:06 Step 26/26 : LABEL version=3.2.0-dev.13 15:47:06 ---> Running in 3e910421a743 15:47:07 Removing intermediate container 3e910421a743 15:47:07 ---> 70b93f9d8d5d 15:47:07 [Warning] One or more build-args [ARCH] were not consumed 15:47:07 Successfully built 70b93f9d8d5d 15:47:07 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:47:07 provisioning config files... 15:47:07 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/169@tmp/config967119258869870648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:47:07 ---> ****-login.sh 15:47:07 nexus3.edgexfoundry.org:10001 15:47:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:47:07 Configure a credential helper to remove this warning. See 15:47:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:47:07 15:47:07 Login Succeeded 15:47:07 nexus3.edgexfoundry.org:10002 15:47:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:47:08 Configure a credential helper to remove this warning. See 15:47:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:47:08 15:47:08 Login Succeeded 15:47:08 nexus3.edgexfoundry.org:10003 15:47:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:47:08 Configure a credential helper to remove this warning. See 15:47:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:47:08 15:47:08 Login Succeeded 15:47:08 nexus3.edgexfoundry.org:10004 15:47:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:47:09 Configure a credential helper to remove this warning. See 15:47:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:47:09 15:47:09 Login Succeeded 15:47:09 ****.io 15:47:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:47:09 Configure a credential helper to remove this warning. See 15:47:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:47:09 15:47:09 Login Succeeded 15:47:09 ---> ****-login.sh ends [Pipeline] } 15:47:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:47:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:47:09 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 15:47:09 fd38c4f9940e502c46e28314a76cae12c6b2822f 15:47:09 latest 15:47:09 3.2.0-dev.13 15:47:09 fd38c4f9940e502c46e28314a76cae12c6b2822f-3.2.0-dev.13 15:47:09 main 15:47:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:10 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:fd38c4f9940e502c46e28314a76cae12c6b2822f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:fd38c4f9940e502c46e28314a76cae12c6b2822f 15:47:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:47:10 320a4413b102: Preparing 15:47:10 a5fcb3bbdc14: Preparing 15:47:10 6536c8e0c7d7: Preparing 15:47:10 976e2a322be3: Preparing 15:47:10 4836dd0b40d2: Preparing 15:47:10 7c504f21be85: Preparing 15:47:10 a5fcb3bbdc14: Pushed 15:47:10 6536c8e0c7d7: Pushed 15:47:10 4836dd0b40d2: Pushed 15:47:10 7c504f21be85: Layer already exists 15:47:12 976e2a322be3: Pushed 15:47:17 320a4413b102: Pushed 15:47:17 fd38c4f9940e502c46e28314a76cae12c6b2822f: digest: sha256:291786eaf07f2901466d2206a0dbc6d6b9cc7dc116d0dce36d9e9f30c2310a31 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:17 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 15:47:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:47:18 320a4413b102: Preparing 15:47:18 a5fcb3bbdc14: Preparing 15:47:18 6536c8e0c7d7: Preparing 15:47:18 976e2a322be3: Preparing 15:47:18 4836dd0b40d2: Preparing 15:47:18 7c504f21be85: Preparing 15:47:18 7c504f21be85: Waiting 15:47:18 6536c8e0c7d7: Layer already exists 15:47:18 976e2a322be3: Layer already exists 15:47:18 320a4413b102: Layer already exists 15:47:18 a5fcb3bbdc14: Layer already exists 15:47:18 4836dd0b40d2: Layer already exists 15:47:18 7c504f21be85: Layer already exists 15:47:18 latest: digest: sha256:291786eaf07f2901466d2206a0dbc6d6b9cc7dc116d0dce36d9e9f30c2310a31 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:18 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:19 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.13 15:47:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:47:19 320a4413b102: Preparing 15:47:19 a5fcb3bbdc14: Preparing 15:47:19 6536c8e0c7d7: Preparing 15:47:19 976e2a322be3: Preparing 15:47:19 4836dd0b40d2: Preparing 15:47:19 7c504f21be85: Preparing 15:47:19 7c504f21be85: Waiting 15:47:19 320a4413b102: Layer already exists 15:47:19 4836dd0b40d2: Layer already exists 15:47:19 6536c8e0c7d7: Layer already exists 15:47:19 976e2a322be3: Layer already exists 15:47:19 a5fcb3bbdc14: Layer already exists 15:47:19 7c504f21be85: Layer already exists 15:47:19 3.2.0-dev.13: digest: sha256:291786eaf07f2901466d2206a0dbc6d6b9cc7dc116d0dce36d9e9f30c2310a31 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:19 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:fd38c4f9940e502c46e28314a76cae12c6b2822f-3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:19 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:fd38c4f9940e502c46e28314a76cae12c6b2822f-3.2.0-dev.13 15:47:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:47:19 320a4413b102: Preparing 15:47:19 a5fcb3bbdc14: Preparing 15:47:19 6536c8e0c7d7: Preparing 15:47:19 976e2a322be3: Preparing 15:47:19 4836dd0b40d2: Preparing 15:47:19 7c504f21be85: Preparing 15:47:19 7c504f21be85: Waiting 15:47:19 320a4413b102: Layer already exists 15:47:19 a5fcb3bbdc14: Layer already exists 15:47:19 976e2a322be3: Layer already exists 15:47:19 6536c8e0c7d7: Layer already exists 15:47:19 4836dd0b40d2: Layer already exists 15:47:19 7c504f21be85: Layer already exists 15:47:20 fd38c4f9940e502c46e28314a76cae12c6b2822f-3.2.0-dev.13: digest: sha256:291786eaf07f2901466d2206a0dbc6d6b9cc7dc116d0dce36d9e9f30c2310a31 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:20 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 15:47:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:47:20 320a4413b102: Preparing 15:47:20 a5fcb3bbdc14: Preparing 15:47:20 6536c8e0c7d7: Preparing 15:47:20 976e2a322be3: Preparing 15:47:20 4836dd0b40d2: Preparing 15:47:20 7c504f21be85: Preparing 15:47:20 7c504f21be85: Waiting 15:47:20 976e2a322be3: Layer already exists 15:47:20 4836dd0b40d2: Layer already exists 15:47:20 6536c8e0c7d7: Layer already exists 15:47:20 320a4413b102: Layer already exists 15:47:20 a5fcb3bbdc14: Layer already exists 15:47:20 7c504f21be85: Layer already exists 15:47:21 main: digest: sha256:291786eaf07f2901466d2206a0dbc6d6b9cc7dc116d0dce36d9e9f30c2310a31 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:47:21 ===================================================== [Pipeline] echo 15:47:21 taggedImages: 15:47:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:fd38c4f9940e502c46e28314a76cae12c6b2822f 15:47:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 15:47:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.13 15:47:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:fd38c4f9940e502c46e28314a76cae12c6b2822f-3.2.0-dev.13 15:47: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 15:47:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:47:21 15:47:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:47:21 arm64: Pulling from edgex-lftools-log-publisher 15:47:21 8998bd30e6a1: Pulling fs layer 15:47:21 04944245beec: Pulling fs layer 15:47:21 699f458cf7ca: Pulling fs layer 15:47:21 765212b225bb: Pulling fs layer 15:47:21 f23df028b6ca: Pulling fs layer 15:47:21 d65c8cfc05b1: Pulling fs layer 15:47:21 2437ff75d9bd: Pulling fs layer 15:47:21 f23df028b6ca: Waiting 15:47:21 d65c8cfc05b1: Waiting 15:47:21 2437ff75d9bd: Waiting 15:47:21 765212b225bb: Waiting 15:47:22 04944245beec: Verifying Checksum 15:47:22 04944245beec: Download complete 15:47:22 765212b225bb: Download complete 15:47:22 f23df028b6ca: Verifying Checksum 15:47:22 f23df028b6ca: Download complete 15:47:22 d65c8cfc05b1: Download complete 15:47:22 699f458cf7ca: Download complete 15:47:22 8998bd30e6a1: Verifying Checksum 15:47:22 8998bd30e6a1: Download complete 15:47:25 2437ff75d9bd: Verifying Checksum 15:47:25 2437ff75d9bd: Download complete 15:47:27 8998bd30e6a1: Pull complete 15:47:27 04944245beec: Pull complete 15:47:29 699f458cf7ca: Pull complete 15:47:29 765212b225bb: Pull complete 15:47:30 f23df028b6ca: Pull complete 15:47:30 d65c8cfc05b1: Pull complete 15:47:48 2437ff75d9bd: Pull complete 15:47:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:47:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:47:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:49 prd-ubuntu20.04-docker-arm64-4c-16g-949 does not seem to be running inside a container 15:47:49 $ 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/169 -v /w/workspace/device-virtual-go/169:/w/workspace/device-virtual-go/169:rw,z -v /w/workspace/device-virtual-go/169@tmp:/w/workspace/device-virtual-go/169@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 15:47:51 $ docker top 38080246e56d0e164d9a20e1d4ba92539c7441262dcd90fc58118ebe9b1596aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:47:52 ---> job-cost.sh 15:47:52 lf-activate-venv: SKIPPING 15:47:52 INFO: No Stack... 15:47:53 INFO: Retrieving Pricing Info for: v3-standard-4 15:47:53 INFO: Archiving Costs [Pipeline] sh 15:47:54 + cat /w/workspace/device-virtual-go/169/archives/cost.csv 15:47:54 + cut -d, -f6 [Pipeline] lock 15:47:54 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-169-stack-cost] 15:47:54 Resource [jenkins-edgexfoundry-device-virtual-go-main-169-stack-cost] did not exist. Created. 15:47:54 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-169-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:47:55 /w/workspace/device-virtual-go/169@tmp/durable-bc3270f6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:47:56 + echo total: 0.10999999940395355 [Pipeline] stash 15:47:56 Warning: overwriting stash ‘stack-cost’ 15:47:56 Stashed 1 file(s) [Pipeline] } 15:47:56 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-169-stack-cost] [Pipeline] // lock [Pipeline] } 15:47:56 $ docker stop --time=1 38080246e56d0e164d9a20e1d4ba92539c7441262dcd90fc58118ebe9b1596aa 15:47:57 $ docker rm -f --volumes 38080246e56d0e164d9a20e1d4ba92539c7441262dcd90fc58118ebe9b1596aa [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 15:47:58 provisioning config files... 15:47:58 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5731078350517927023tmp [Pipeline] { [Pipeline] sh 15:47:58 + set +x 15:47:58 + curl -s https://codecov.io/bash 15:47:58 + bash -s -- 15:47:58 15:47:58 _____ _ 15:47:58 / ____| | | 15:47:58 | | ___ __| | ___ ___ _____ __ 15:47:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:47:58 | |___| (_) | (_| | __/ (_| (_) \ V / 15:47:58 \_____\___/ \__,_|\___|\___\___/ \_/ 15:47:58 Bash-1.0.6 15:47:58 15:47:58 15:47:58 ==> git version 2.25.1 found 15:47:58 ==> 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 15:47:58 Release-Date: 2020-01-08 15:47:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:47:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:47:58 ==> Jenkins CI detected. 15:47:58 current dir:  /w/workspace/exfoundry_device-virtual-go_main 15:47:58 project root: . 15:47:58 --> token set from env 15:47:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:47:58 ==> Running gcov in . (disable via -X gcov) 15:47:58 ==> Python coveragepy not found 15:47:58 ==> Searching for coverage reports in: 15:47:58 + . 15:47:58 -> Found 1 reports 15:47:58 ==> Detecting git/mercurial file structure 15:47:58 ==> Reading reports 15:47:58 + ./coverage.out bytes=43063 15:47:58 ==> Appending adjustments 15:47:58 https://docs.codecov.io/docs/fixing-reports 15:47:58 + Found adjustments 15:47:58 ==> Gzipping contents 15:47:58 8.0K /tmp/codecov.bw8fCD.gz 15:47:58 ==> Uploading reports 15:47:58 url: https://codecov.io 15:47:58 query: branch=main&commit=fd38c4f9940e502c46e28314a76cae12c6b2822f&build=169&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F169%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:47:58 -> Pinging Codecov 15:47:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=fd38c4f9940e502c46e28314a76cae12c6b2822f&build=169&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F169%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:47:59 -> Uploading to 15:47:59 https://storage.googleapis.com/codecov/v4/raw/2024-05-28/5E52B4B073DB2E39498172D8E973AA87/fd38c4f9940e502c46e28314a76cae12c6b2822f/785e3610-f05c-4317-b05d-c7f22c8944c6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240528%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240528T154758Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=79e259fc1c80cc3e1d6c48e21c4aa667118b4a74b8035511ec67a7f613402f8d 15:47:59 % Total % Received % Xferd Average Speed Time Time Time Current 15:47:59 Dload Upload Total Spent Left Speed 15:47:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 20912 --:--:-- --:--:-- --:--:-- 20912 15:47:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/fd38c4f9940e502c46e28314a76cae12c6b2822f [Pipeline] } 15:47:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:47:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:47:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 15:47:59 15:47:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 15:48:00 latest: Pulling from edgex-devops/edgex-snyk-go 15:48:00 619be1103602: Already exists 15:48:00 f8ea3408117e: Pulling fs layer 15:48:00 91320369b822: Pulling fs layer 15:48:00 0406650e8295: Pulling fs layer 15:48:00 4f4fb700ef54: Pulling fs layer 15:48:00 96d80e3f36e1: Pulling fs layer 15:48:00 bcf3aedb951c: Pulling fs layer 15:48:00 4f4fb700ef54: Waiting 15:48:00 96d80e3f36e1: Waiting 15:48:00 bcf3aedb951c: Waiting 15:48:00 0406650e8295: Verifying Checksum 15:48:00 0406650e8295: Download complete 15:48:00 f8ea3408117e: Download complete 15:48:00 4f4fb700ef54: Verifying Checksum 15:48:00 4f4fb700ef54: Download complete 15:48:00 f8ea3408117e: Pull complete 15:48:00 96d80e3f36e1: Verifying Checksum 15:48:00 96d80e3f36e1: Download complete 15:48:00 91320369b822: Verifying Checksum 15:48:00 91320369b822: Download complete 15:48:01 bcf3aedb951c: Verifying Checksum 15:48:01 bcf3aedb951c: Download complete 15:48:03 91320369b822: Pull complete 15:48:03 0406650e8295: Pull complete 15:48:04 4f4fb700ef54: Pull complete 15:48:04 96d80e3f36e1: Pull complete 15:48:07 bcf3aedb951c: Pull complete 15:48:07 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 15:48:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 15:48:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:07 prd-ubuntu20.04-docker-8c-8g-948 does not seem to be running inside a container 15:48:07 $ 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 15:48:09 $ docker top b09722b0a7810d026853da6cd78baea743cc9a95f1303ea222563e99deb94ef8 -eo pid,comm [Pipeline] { [Pipeline] sh 15:48:09 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] echo 15:48:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 15:48:10 + set -o pipefail 15:48:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 15:48:22 15:48:22 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 15:48:22 15:48:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/4c51b4af-f1e0-4b23-b385-fd75a099f123/history/d4d8eae9-0735-4d01-b43d-7e3c36913652 15:48:22 15:48:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:48:22 15:48:22 15:48:22 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 15:48:22 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 15:48:22 $ docker stop --time=1 b09722b0a7810d026853da6cd78baea743cc9a95f1303ea222563e99deb94ef8 15:48:24 $ docker rm -f --volumes b09722b0a7810d026853da6cd78baea743cc9a95f1303ea222563e99deb94ef8 [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 15:48:25 + git log --format=format:%s -1 fd38c4f9940e502c46e28314a76cae12c6b2822f [Pipeline] sh 15:48:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:48:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:48:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:26 prd-ubuntu20.04-docker-8c-8g-948 does not seem to be running inside a container 15:48:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:48:26 $ docker top 541c67927b06f64fbd9299db7a12e1da7a90533021011fc800f050bc0dd4b19e -eo pid,comm 15:48:26 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). 15:48:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:48:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:48:26 [ssh-agent] Looking for ssh-agent implementation... 15:48:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:48:27 $ docker exec 541c67927b06f64fbd9299db7a12e1da7a90533021011fc800f050bc0dd4b19e ssh-agent 15:48:27 SSH_AUTH_SOCK=/tmp/ssh-RjDmgZBMAPuO/agent.32 15:48:27 SSH_AGENT_PID=38 15:48:27 Running ssh-add (command line suppressed) 15:48:27 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4599732497975184075.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4599732497975184075.key) 15:48:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:48:27 + git semver tag 15:48:27 2024-05-28 15:48:27,742 [run_tag] DEBUG tag force:False 15:48:27 2024-05-28 15:48:27,742 [check_head_tag] DEBUG check head tag 15:48:27 2024-05-28 15:48:27,744 [execute] INFO git cat-file --batch-check 15:48:27 2024-05-28 15:48:27,744 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 15:48:27 2024-05-28 15:48:27,746 [execute] INFO git cat-file --batch 15:48:27 2024-05-28 15:48:27,747 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 15:48:27 2024-05-28 15:48:27,763 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:48:27 2024-05-28 15:48:27,763 [execute] INFO git tag -a v3.2.0-dev.13 -m v3.2.0-dev.13 15:48:27 2024-05-28 15:48:27,764 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.13', '-m', 'v3.2.0-dev.13'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 15:48:27 2024-05-28 15:48:27,768 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:48:27 3.2.0-dev.13 [Pipeline] } 15:48:27 $ docker exec --env ******** --env ******** 541c67927b06f64fbd9299db7a12e1da7a90533021011fc800f050bc0dd4b19e ssh-agent -k 15:48:27 unset SSH_AUTH_SOCK; 15:48:27 unset SSH_AGENT_PID; 15:48:27 echo Agent pid 38 killed; 15:48:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:48:28 + git semver [Pipeline] } 15:48:28 $ docker stop --time=1 541c67927b06f64fbd9299db7a12e1da7a90533021011fc800f050bc0dd4b19e 15:48:29 $ docker rm -f --volumes 541c67927b06f64fbd9299db7a12e1da7a90533021011fc800f050bc0dd4b19e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:48:30 15:48:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:48:30 0.23.1-centos7: Pulling from edgex-lftools 15:48:30 ab5ef0e58194: Pulling fs layer 15:48:30 9712f1f96733: Pulling fs layer 15:48:30 63f879dbbcfc: Pulling fs layer 15:48:30 0d9ebad4ef96: Pulling fs layer 15:48:30 e9a5061849ea: Pulling fs layer 15:48:30 d747dcd14b5f: Pulling fs layer 15:48:30 2de7ff778b66: Pulling fs layer 15:48:30 0d9ebad4ef96: Waiting 15:48:30 e9a5061849ea: Waiting 15:48:30 d747dcd14b5f: Waiting 15:48:30 2de7ff778b66: Waiting 15:48:30 9712f1f96733: Verifying Checksum 15:48:30 9712f1f96733: Download complete 15:48:30 63f879dbbcfc: Verifying Checksum 15:48:30 63f879dbbcfc: Download complete 15:48:30 e9a5061849ea: Verifying Checksum 15:48:30 e9a5061849ea: Download complete 15:48:31 d747dcd14b5f: Verifying Checksum 15:48:31 d747dcd14b5f: Download complete 15:48:31 0d9ebad4ef96: Verifying Checksum 15:48:31 0d9ebad4ef96: Download complete 15:48:31 ab5ef0e58194: Verifying Checksum 15:48:31 ab5ef0e58194: Download complete 15:48:31 2de7ff778b66: Download complete 15:48:34 ab5ef0e58194: Pull complete 15:48:34 9712f1f96733: Pull complete 15:48:34 63f879dbbcfc: Pull complete 15:48:39 0d9ebad4ef96: Pull complete 15:48:39 e9a5061849ea: Pull complete 15:48:39 d747dcd14b5f: Pull complete 15:48:40 2de7ff778b66: Pull complete 15:48:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:48:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:48:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:40 prd-ubuntu20.04-docker-8c-8g-948 does not seem to be running inside a container 15:48:40 $ 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 15:48:49 $ docker top 8dd30a70c435aa053adcb9dd53510a339a57f7e5ffd9776b5ee075cb43e39646 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:48:49 provisioning config files... 15:48:49 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10255344575942335673tmp 15:48:49 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15110504806018076166tmp 15:48:49 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config898465836839218522tmp [Pipeline] { [Pipeline] echo 15:48:49 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:48:49 ---> sigul-configuration.sh 15:48:49 gpg: directory `/root/.gnupg' created 15:48:49 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:48:49 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:48:49 gpg: keyring `/root/.gnupg/secring.gpg' created 15:48:49 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:48:49 gpg: CAST5 encrypted data 15:48:49 gpg: encrypted with 1 passphrase 15:48:49 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:48:49 + mkdir /home/jenkins 15:48:49 + mkdir /home/jenkins/sigul [Pipeline] sh 15:48:50 + 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 15:48:50 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:48:50 ---> sigul-install.sh 15:48:50 Sigul already installed; skipping installation. [Pipeline] sh 15:48:50 + git tag --list 15:48:50 v1.0.0 15:48:50 v1.1.0 15:48:50 v1.1.1 15:48:50 v1.2.1 15:48:50 v1.2.2 15:48:50 v1.2.3 15:48:50 v1.3.0 15:48:50 v1.3.1 15:48:50 v2.0.0 15:48:50 v2.1.0 15:48:50 v2.1.1 15:48:50 v2.2.0 15:48:50 v2.3.0 15:48:50 v3.0 15:48:50 v3.0.0 15:48:50 v3.1 15:48:50 v3.1.0 15:48:50 v3.1.0-dev.1 15:48:50 v3.1.0-dev.10 15:48:50 v3.1.0-dev.11 15:48:50 v3.1.0-dev.12 15:48:50 v3.1.0-dev.13 15:48:50 v3.1.0-dev.14 15:48:50 v3.1.0-dev.15 15:48:50 v3.1.0-dev.16 15:48:50 v3.1.0-dev.17 15:48:50 v3.1.0-dev.18 15:48:50 v3.1.0-dev.19 15:48:50 v3.1.0-dev.2 15:48:50 v3.1.0-dev.20 15:48:50 v3.1.0-dev.21 15:48:50 v3.1.0-dev.22 15:48:50 v3.1.0-dev.23 15:48:50 v3.1.0-dev.24 15:48:50 v3.1.0-dev.25 15:48:50 v3.1.0-dev.26 15:48:50 v3.1.0-dev.27 15:48:50 v3.1.0-dev.28 15:48:50 v3.1.0-dev.29 15:48:50 v3.1.0-dev.3 15:48:50 v3.1.0-dev.30 15:48:50 v3.1.0-dev.4 15:48:50 v3.1.0-dev.5 15:48:50 v3.1.0-dev.6 15:48:50 v3.1.0-dev.7 15:48:50 v3.1.0-dev.8 15:48:50 v3.1.0-dev.9 15:48:50 v3.1.1 15:48:50 v3.1.1-dev.1 15:48:50 v3.2.0-dev.1 15:48:50 v3.2.0-dev.10 15:48:50 v3.2.0-dev.11 15:48:50 v3.2.0-dev.12 15:48:50 v3.2.0-dev.13 15:48:50 v3.2.0-dev.2 15:48:50 v3.2.0-dev.3 15:48:50 v3.2.0-dev.4 15:48:50 v3.2.0-dev.5 15:48:50 v3.2.0-dev.6 15:48:50 v3.2.0-dev.7 15:48:50 v3.2.0-dev.8 15:48:50 v3.2.0-dev.9 [Pipeline] sh 15:48:51 + lftools sign git-tag v3.2.0-dev.13 15:48:51 Signing Git tag with Sigul... 15:48:51 Signing v3.2.0-dev.13 [Pipeline] echo 15:48:51 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:48:52 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:48:52 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:48:52 $ docker stop --time=1 8dd30a70c435aa053adcb9dd53510a339a57f7e5ffd9776b5ee075cb43e39646 15:48:53 $ docker rm -f --volumes 8dd30a70c435aa053adcb9dd53510a339a57f7e5ffd9776b5ee075cb43e39646 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:48:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:48:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:48:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:54 prd-ubuntu20.04-docker-8c-8g-948 does not seem to be running inside a container 15:48:54 $ 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 15:48:54 $ docker top a08ddff8e78a50aaf89e7722da1374bec3e1619c371d334ca1056d53cb7c5877 -eo pid,comm 15:48:54 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). 15:48:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:48:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:48:54 [ssh-agent] Looking for ssh-agent implementation... 15:48:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:48:54 $ docker exec a08ddff8e78a50aaf89e7722da1374bec3e1619c371d334ca1056d53cb7c5877 ssh-agent 15:48:55 SSH_AUTH_SOCK=/tmp/ssh-oZkdHiewXa3V/agent.33 15:48:55 SSH_AGENT_PID=39 15:48:55 Running ssh-add (command line suppressed) 15:48:55 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4562036680157859117.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4562036680157859117.key) 15:48:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:48:55 + git semver bump pre 15:48:55 2024-05-28 15:48:55,657 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:48:55 2024-05-28 15:48:55,657 [bump_version] DEBUG bumping version:3.2.0-dev.13 on axis:pre with prefix:dev 15:48:55 2024-05-28 15:48:55,657 [bump_version] DEBUG bumped version:3.2.0-dev.14 15:48:55 2024-05-28 15:48:55,657 [write_version] DEBUG write version:3.2.0-dev.14 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 15:48:55 2024-05-28 15:48:55,657 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:48:55 2024-05-28 15:48:55,657 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:48:55 2024-05-28 15:48:55,659 [execute] INFO git cat-file --batch-check 15:48:55 2024-05-28 15:48:55,659 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:48:55 2024-05-28 15:48:55,664 [execute] INFO git cat-file --batch 15:48:55 2024-05-28 15:48:55,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:48:55 2024-05-28 15:48:55,669 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:48:55 3.2.0-dev.14 [Pipeline] } 15:48:55 $ docker exec --env ******** --env ******** a08ddff8e78a50aaf89e7722da1374bec3e1619c371d334ca1056d53cb7c5877 ssh-agent -k 15:48:55 unset SSH_AUTH_SOCK; 15:48:55 unset SSH_AGENT_PID; 15:48:55 echo Agent pid 39 killed; 15:48:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:48:56 + git semver [Pipeline] } 15:48:56 $ docker stop --time=1 a08ddff8e78a50aaf89e7722da1374bec3e1619c371d334ca1056d53cb7c5877 15:48:57 $ docker rm -f --volumes a08ddff8e78a50aaf89e7722da1374bec3e1619c371d334ca1056d53cb7c5877 [Pipeline] // withDockerContainer [Pipeline] sh 15:48:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:48:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:48:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:58 prd-ubuntu20.04-docker-8c-8g-948 does not seem to be running inside a container 15:48:58 $ 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 15:48:58 $ docker top a876ba7c2653c028ce7348a82567b87dd2a06659f88e7b39fac2b2172964fc31 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:48:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:48:58 [ssh-agent] Looking for ssh-agent implementation... 15:48:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:48:59 $ docker exec a876ba7c2653c028ce7348a82567b87dd2a06659f88e7b39fac2b2172964fc31 ssh-agent 15:48:59 SSH_AUTH_SOCK=/tmp/ssh-eLyvffd8jXa1/agent.33 15:48:59 SSH_AGENT_PID=38 15:48:59 Running ssh-add (command line suppressed) 15:48:59 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5818439229909330164.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5818439229909330164.key) 15:48:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:48:59 + git semver push 15:48:59 2024-05-28 15:48:59,754 [run_push] DEBUG push 15:48:59 2024-05-28 15:48:59,754 [execute] INFO git cat-file --batch-check 15:48:59 2024-05-28 15:48:59,754 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:48:59 2024-05-28 15:48:59,758 [execute] INFO git rev-list 54f25802e4e6941904854c62174c666305f96934 -- 15:48:59 2024-05-28 15:48:59,758 [execute] DEBUG Popen(['git', 'rev-list', '54f25802e4e6941904854c62174c666305f96934', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:48:59 2024-05-28 15:48:59,768 [execute] INFO git fetch -v origin 15:48:59 2024-05-28 15:48:59,768 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:49:00 2024-05-28 15:49:00,216 [run_push] DEBUG no remote changes detected 15:49:00 2024-05-28 15:49:00,217 [execute] INFO git push origin semver 15:49:00 2024-05-28 15:49:00,217 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:49:00 2024-05-28 15:49:00,951 [run_push] DEBUG push all version tags 15:49:00 2024-05-28 15:49:00,952 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:49:00 2024-05-28 15:49:00,952 [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) 15:49:01 2024-05-28 15:49:01,707 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:49:01 3.2.0-dev.14 [Pipeline] } 15:49:01 $ docker exec --env ******** --env ******** a876ba7c2653c028ce7348a82567b87dd2a06659f88e7b39fac2b2172964fc31 ssh-agent -k 15:49:02 unset SSH_AUTH_SOCK; 15:49:02 unset SSH_AGENT_PID; 15:49:02 echo Agent pid 38 killed; 15:49:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:49:02 + git semver [Pipeline] } 15:49:02 $ docker stop --time=1 a876ba7c2653c028ce7348a82567b87dd2a06659f88e7b39fac2b2172964fc31 15:49:03 $ docker rm -f --volumes a876ba7c2653c028ce7348a82567b87dd2a06659f88e7b39fac2b2172964fc31 [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 15:49:04 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 15:49:04 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 15:49:04 total 16 15:49:04 drwxr-xr-x 3 root root 4096 May 28 15:37 . 15:49:04 drwxrwxr-x 9 jenkins jenkins 4096 May 28 15:48 .. 15:49:04 drwxr-xr-x 2 root root 4096 May 28 15:37 cost 15:49:04 -rw-r--r-- 1 root root 89 May 28 15:37 cost.csv 15:49:04 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 15:49:04 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 15:49:04 total 16 15:49:04 drwxr-xr-x 3 jenkins jenkins 4096 May 28 15:37 . 15:49:04 drwxrwxr-x 9 jenkins jenkins 4096 May 28 15:48 .. 15:49:04 drwxr-xr-x 2 jenkins jenkins 4096 May 28 15:37 cost 15:49:04 -rw-r--r-- 1 jenkins jenkins 89 May 28 15:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:49:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:49:05 ---> package-listing.sh 15:49:05 ++ facter osfamily 15:49:05 ++ tr '[:upper:]' '[:lower:]' 15:49:05 + OS_FAMILY=debian 15:49:05 + workspace=/w/workspace/exfoundry_device-virtual-go_main 15:49:05 + START_PACKAGES=/tmp/packages_start.txt 15:49:05 + END_PACKAGES=/tmp/packages_end.txt 15:49:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:49:05 + PACKAGES=/tmp/packages_start.txt 15:49:05 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 15:49:05 + PACKAGES=/tmp/packages_end.txt 15:49:05 + case "${OS_FAMILY}" in 15:49:05 + dpkg -l 15:49:05 + grep '^ii' 15:49:05 + '[' -f /tmp/packages_start.txt ']' 15:49:05 + '[' -f /tmp/packages_end.txt ']' 15:49:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:49:05 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 15:49:05 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 15:49:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 15:49:05 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 15:49:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:49:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:06 prd-ubuntu20.04-docker-8c-8g-948 does not seem to be running inside a container 15:49:06 $ 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 15:49:07 $ docker top 2f3656e7a37dae605b0a482abc45a65b1650d20193309c676cc2dd7b498bad12 -eo pid,comm [Pipeline] { [Pipeline] sh 15:49:07 + touch /tmp/pre-build-complete [Pipeline] sh 15:49:07 + mkdir -p /var/log/sysstat [Pipeline] sh 15:49:08 + ls /var/log/sa-host 15:49:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:49:08 provisioning config files... 15:49:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8455719917460505990tmp [Pipeline] { [Pipeline] echo 15:49:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:49:08 ---> create-netrc.sh [Pipeline] } 15:49:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:49:08 ---> python-tools-install.sh [Pipeline] echo 15:49:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:49:09 ---> sudo-logs.sh 15:49:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:49:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:49:09 ---> job-cost.sh 15:49:09 lf-activate-venv: SKIPPING 15:49:09 DEBUG: total: 0.2199999988079071 15:49:09 INFO: Retrieving Stack Cost... 15:49:09 INFO: Retrieving Pricing Info for: v3-standard-8 15:49:10 INFO: Archiving Costs [Pipeline] echo 15:49:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:49:10 ---> logs-deploy.sh 15:49:10 lf-activate-venv: SKIPPING 15:49:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/169 15:49:10 INFO: archiving workspace using pattern(s): 15:49:11 Archives upload complete. 15:49:11 INFO: archiving logs to Nexus