Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from de7f1fa98896349c300f3340708f5a9fee2488ae 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-ssh3974866948524762606.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh3550555759239788538.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh14605482400179563453.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh11917820574862362783.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-ssh1610609577423464791.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.18 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-7871 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision de7f1fa98896349c300f3340708f5a9fee2488ae (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f de7f1fa98896349c300f3340708f5a9fee2488ae # timeout=10 Commit message: "Merge pull request #347 from jinlinGuan/sdk-issue-1347" > git rev-list --no-walk 668751ae10c747c3d9f58507713cbcf82909e340 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:52:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:52:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:52:54 ========================================================= 02:52:54 EdgeX Global Pipelines Version Info 02:52:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:52:55 ------------------- 02:52:55 stable info: 02:52:55 ------------------- 02:52:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:52:55 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:52:55 Message: update stable to v1.0.244 02:52:56 ------------------- 02:52:56 experimental info: 02:52:56 ------------------- 02:52:56 Commited By: **** collab-it+edgex@linuxfoundation.org 02:52:56 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:52:56 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = de7f1fa98896349c300f3340708f5a9fee2488ae [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = de7f1fa [Pipeline] echo 02:52:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:56 provisioning config files... 02:52:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15512949077767211920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:52:57 ---> docker-login.sh 02:52:57 nexus3.edgexfoundry.org:10001 02:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:57 Configure a credential helper to remove this warning. See 02:52:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:57 02:52:57 Login Succeeded 02:52:57 nexus3.edgexfoundry.org:10002 02:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:57 Configure a credential helper to remove this warning. See 02:52:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:57 02:52:57 Login Succeeded 02:52:57 nexus3.edgexfoundry.org:10003 02:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:57 Configure a credential helper to remove this warning. See 02:52:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:57 02:52:57 Login Succeeded 02:52:57 nexus3.edgexfoundry.org:10004 02:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:57 Configure a credential helper to remove this warning. See 02:52:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:57 02:52:57 Login Succeeded 02:52:57 docker.io 02:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:58 Configure a credential helper to remove this warning. See 02:52:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:58 02:52:58 Login Succeeded 02:52:58 ---> docker-login.sh ends [Pipeline] } 02:52:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:52:58 + git rev-list -1 --merges de7f1fa98896349c300f3340708f5a9fee2488ae~1..de7f1fa98896349c300f3340708f5a9fee2488ae [Pipeline] echo 02:52:58 -----------> git rev-list -1 --merges de7f1fa98896349c300f3340708f5a9fee2488ae~1..de7f1fa98896349c300f3340708f5a9fee2488ae de7f1fa98896349c300f3340708f5a9fee2488ae 02:52:58 de7f1fa98896349c300f3340708f5a9fee2488ae [false] [Pipeline] sh 02:52:58 + git log --format=format:%s -1 de7f1fa98896349c300f3340708f5a9fee2488ae [Pipeline] echo 02:52:58 ========================================================= 02:52:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:52:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:52:59 + git log --format=format:%s -1 de7f1fa98896349c300f3340708f5a9fee2488ae [Pipeline] echo 02:52:59 [semverPrep] GIT_COMMIT: de7f1fa98896349c300f3340708f5a9fee2488ae, Commit Message: Merge pull request #347 from jinlinGuan/sdk-issue-1347 [Pipeline] echo 02:52:59 [semverPrep] This is not a build commit. [Pipeline] sh 02:52:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:52:59 + grep -v github /etc/ssh/ssh_known_hosts 02:52:59 + [ -e /tmp/ssh_known_hosts ] 02:52:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:52:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:52:59 + sudo tee -a /etc/ssh/ssh_known_hosts 02:52:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:52:59 02:52:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:53:00 0.1.4: Pulling from edgex-devops/py-git-semver 02:53:00 b85a868b505f: Pulling fs layer 02:53:00 e2be974225ed: Pulling fs layer 02:53:00 339a4e72a1f5: Pulling fs layer 02:53:00 988bab9f4d93: Pulling fs layer 02:53:00 1469e6f7b9e6: Pulling fs layer 02:53:00 eaf3925da568: Pulling fs layer 02:53:00 bab4dde63d76: Pulling fs layer 02:53:00 bde34c3a00c8: Pulling fs layer 02:53:00 b352a97aabf1: Pulling fs layer 02:53:00 4872d77fe225: Pulling fs layer 02:53:00 5851b861e8e6: Pulling fs layer 02:53:00 bab4dde63d76: Waiting 02:53:00 988bab9f4d93: Waiting 02:53:00 1469e6f7b9e6: Waiting 02:53:00 eaf3925da568: Waiting 02:53:00 5851b861e8e6: Waiting 02:53:00 4872d77fe225: Waiting 02:53:00 b352a97aabf1: Waiting 02:53:00 bde34c3a00c8: Waiting 02:53:00 e2be974225ed: Verifying Checksum 02:53:00 e2be974225ed: Download complete 02:53:00 988bab9f4d93: Verifying Checksum 02:53:00 988bab9f4d93: Download complete 02:53:00 1469e6f7b9e6: Verifying Checksum 02:53:00 1469e6f7b9e6: Download complete 02:53:00 eaf3925da568: Download complete 02:53:00 339a4e72a1f5: Verifying Checksum 02:53:00 339a4e72a1f5: Download complete 02:53:00 bde34c3a00c8: Verifying Checksum 02:53:00 bde34c3a00c8: Download complete 02:53:00 b352a97aabf1: Download complete 02:53:00 4872d77fe225: Verifying Checksum 02:53:00 4872d77fe225: Download complete 02:53:00 5851b861e8e6: Verifying Checksum 02:53:00 5851b861e8e6: Download complete 02:53:00 b85a868b505f: Verifying Checksum 02:53:00 b85a868b505f: Download complete 02:53:01 bab4dde63d76: Verifying Checksum 02:53:01 bab4dde63d76: Download complete 02:53:02 b85a868b505f: Pull complete 02:53:02 e2be974225ed: Pull complete 02:53:02 339a4e72a1f5: Pull complete 02:53:02 988bab9f4d93: Pull complete 02:53:03 1469e6f7b9e6: Pull complete 02:53:03 eaf3925da568: Pull complete 02:53:05 bab4dde63d76: Pull complete 02:53:05 bde34c3a00c8: Pull complete 02:53:05 b352a97aabf1: Pull complete 02:53:05 4872d77fe225: Pull complete 02:53:05 5851b861e8e6: Pull complete 02:53:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:53:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:53:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:53:05 prd-ubuntu20.04-docker-8c-8g-7871 does not seem to be running inside a container 02:53:05 $ 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 02:53:06 $ docker top 16941f56289a91fc57bc7e84c5e95c01a0ba9d799d7c023535eb139a1167c75b -eo pid,comm 02:53:06 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). 02:53:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:53:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:53:06 [ssh-agent] Looking for ssh-agent implementation... 02:53:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:53:07 $ docker exec 16941f56289a91fc57bc7e84c5e95c01a0ba9d799d7c023535eb139a1167c75b ssh-agent 02:53:07 SSH_AUTH_SOCK=/tmp/ssh-GHH2ubezG0SS/agent.33 02:53:07 SSH_AGENT_PID=39 02:53:07 Running ssh-add (command line suppressed) 02:53:07 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11508805592869229256.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11508805592869229256.key) 02:53:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:53:07 + git tag --points-at HEAD [Pipeline] } 02:53:07 $ docker exec --env ******** --env ******** 16941f56289a91fc57bc7e84c5e95c01a0ba9d799d7c023535eb139a1167c75b ssh-agent -k 02:53:07 unset SSH_AUTH_SOCK; 02:53:07 unset SSH_AGENT_PID; 02:53:07 echo Agent pid 39 killed; 02:53:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:53:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:53:07 [ssh-agent] Looking for ssh-agent implementation... 02:53:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:53:07 $ docker exec 16941f56289a91fc57bc7e84c5e95c01a0ba9d799d7c023535eb139a1167c75b ssh-agent 02:53:08 SSH_AUTH_SOCK=/tmp/ssh-YYsMaTAbhLBs/agent.71 02:53:08 SSH_AGENT_PID=77 02:53:08 Running ssh-add (command line suppressed) 02:53:08 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17253464880980091198.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17253464880980091198.key) 02:53:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:53:08 + git semver init 02:53:08 2023-03-01 02:53:08,662 [run_init] DEBUG init version:0.0.0 force:False 02:53:08 2023-03-01 02:53:08,663 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 02:53:08 2023-03-01 02:53:08,663 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 02:53:08 2023-03-01 02:53:08,664 [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) 02:53:10 2023-03-01 02:53:09,791 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 02:53:10 2023-03-01 02:53:09,792 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 02:53:10 2023-03-01 02:53:09,792 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:53:10 2023-03-01 02:53:09,792 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:53:10 3.0.0-dev.17 [Pipeline] } 02:53:10 $ docker exec --env ******** --env ******** 16941f56289a91fc57bc7e84c5e95c01a0ba9d799d7c023535eb139a1167c75b ssh-agent -k 02:53:10 unset SSH_AUTH_SOCK; 02:53:10 unset SSH_AGENT_PID; 02:53:10 echo Agent pid 77 killed; 02:53:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:53:10 + git semver [Pipeline] } 02:53:10 $ docker stop --time=1 16941f56289a91fc57bc7e84c5e95c01a0ba9d799d7c023535eb139a1167c75b 02:53:12 $ docker rm -f --volumes 16941f56289a91fc57bc7e84c5e95c01a0ba9d799d7c023535eb139a1167c75b [Pipeline] // withDockerContainer [Pipeline] sh 02:53:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:53:12 Stashed 1 file(s) [Pipeline] echo 02:53:12 [edgeXSemver]: initialized semver on version 3.0.0-dev.17 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:12 provisioning config files... 02:53:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config18026157574813306580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:53:13 ---> docker-login.sh 02:53:13 nexus3.edgexfoundry.org:10001 02:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:13 Configure a credential helper to remove this warning. See 02:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:13 02:53:13 Login Succeeded 02:53:13 nexus3.edgexfoundry.org:10002 02:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:13 Configure a credential helper to remove this warning. See 02:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:13 02:53:13 Login Succeeded 02:53:13 nexus3.edgexfoundry.org:10003 02:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:13 Configure a credential helper to remove this warning. See 02:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:13 02:53:13 Login Succeeded 02:53:13 nexus3.edgexfoundry.org:10004 02:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:13 Configure a credential helper to remove this warning. See 02:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:13 02:53:13 Login Succeeded 02:53:13 docker.io 02:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:13 Configure a credential helper to remove this warning. See 02:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:13 02:53:13 Login Succeeded 02:53:13 ---> docker-login.sh ends [Pipeline] } 02:53:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:53:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:53:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:53:14 ========================================================= 02:53:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:53:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:14 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:53:14 Sending build context to Docker daemon 23.39MB 02:53:14 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:53:14 Step 2/12 : FROM ${BASE} AS builder 02:53:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:53:14 213ec9aee27d: Pulling fs layer 02:53:14 4583459ba037: Pulling fs layer 02:53:14 93c1e223e6f2: Pulling fs layer 02:53:14 53926ce57604: Pulling fs layer 02:53:14 21b2b0c7a3f4: Pulling fs layer 02:53:14 22ff95d597cd: Pulling fs layer 02:53:14 12d6caf4c0d1: Pulling fs layer 02:53:14 96b7cbca73a9: Pulling fs layer 02:53:14 a7acece74701: Pulling fs layer 02:53:14 22ff95d597cd: Waiting 02:53:14 12d6caf4c0d1: Waiting 02:53:14 96b7cbca73a9: Waiting 02:53:14 a7acece74701: Waiting 02:53:14 21b2b0c7a3f4: Waiting 02:53:14 93c1e223e6f2: Download complete 02:53:14 4583459ba037: Download complete 02:53:14 21b2b0c7a3f4: Verifying Checksum 02:53:14 21b2b0c7a3f4: Download complete 02:53:14 22ff95d597cd: Verifying Checksum 02:53:14 22ff95d597cd: Download complete 02:53:14 213ec9aee27d: Verifying Checksum 02:53:14 12d6caf4c0d1: Verifying Checksum 02:53:14 12d6caf4c0d1: Download complete 02:53:14 213ec9aee27d: Pull complete 02:53:14 4583459ba037: Pull complete 02:53:14 93c1e223e6f2: Pull complete 02:53:15 a7acece74701: Verifying Checksum 02:53:15 a7acece74701: Download complete 02:53:15 96b7cbca73a9: Verifying Checksum 02:53:15 96b7cbca73a9: Download complete 02:53:15 53926ce57604: Verifying Checksum 02:53:15 53926ce57604: Download complete 02:53:19 53926ce57604: Pull complete 02:53:19 21b2b0c7a3f4: Pull complete 02:53:19 22ff95d597cd: Pull complete 02:53:19 12d6caf4c0d1: Pull complete 02:53:22 96b7cbca73a9: Pull complete 02:53:22 a7acece74701: Pull complete 02:53:22 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 02:53:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:53:22 ---> db6d94c90886 02:53:22 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:53:24 ---> Running in 457e34bf5cf9 02:53:24 Removing intermediate container 457e34bf5cf9 02:53:24 ---> 7c545e930a1b 02:53:24 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:53:24 ---> Running in 4c39b78a2c38 02:53:24 Removing intermediate container 4c39b78a2c38 02:53:24 ---> 049632683a72 02:53:24 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:53:24 ---> Running in f70b1e8d1577 02:53:24 Removing intermediate container f70b1e8d1577 02:53:24 ---> 460b049f397b 02:53:24 Step 6/12 : WORKDIR /device-virtual-go 02:53:24 ---> Running in 2bf29a2ec99d 02:53:24 Removing intermediate container 2bf29a2ec99d 02:53:24 ---> e99abfb5c09a 02:53:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:53:24 ---> Running in 3f0b571a6927 02:53:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:53:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:53:25 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:53:25 (2/4) Installing libedit (20210910.3.1-r0) 02:53:25 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:53:25 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:53:25 Executing busybox-1.35.0-r17.trigger 02:53:25 OK: 216 MiB in 55 packages 02:53:26 Removing intermediate container 3f0b571a6927 02:53:26 ---> 7afa2235b025 02:53:26 Step 8/12 : COPY go.mod vendor* ./ 02:53:26 ---> 4590dc62935f 02:53:26 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:53:26 ---> Running in 01e02690c91e 02:53:27 Still waiting to schedule task 02:53:27 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 02:54:05 Removing intermediate container 01e02690c91e 02:54:05 ---> 4f82458668e8 02:54:05 Step 10/12 : COPY . . 02:54:05 ---> 39f49dd35c06 02:54:05 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:54:05 ---> Running in 4f668471ba57 02:54:05 Removing intermediate container 4f668471ba57 02:54:05 ---> 57e5adc9fb2e 02:54:05 Step 12/12 : RUN $MAKE 02:54:05 ---> Running in a49f2215d8da 02:54:05 noop 02:54:05 Removing intermediate container a49f2215d8da 02:54:05 ---> 132004f254e9 02:54:05 Successfully built 132004f254e9 02:54:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:05 + docker inspect -f . ci-base-image-x86_64 02:54:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:05 prd-ubuntu20.04-docker-8c-8g-7871 does not seem to be running inside a container 02:54:05 $ 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 02:54:05 $ docker top 4e6b35d4e0d1cef12468bcf2a9eee3732eb3a1e0cedb630abcdc85d9c8f016e6 -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:06 + go version 02:54:06 go version go1.18.7 linux/amd64 [Pipeline] } 02:54:06 $ docker stop --time=1 4e6b35d4e0d1cef12468bcf2a9eee3732eb3a1e0cedb630abcdc85d9c8f016e6 02:54:07 $ docker rm -f --volumes 4e6b35d4e0d1cef12468bcf2a9eee3732eb3a1e0cedb630abcdc85d9c8f016e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:07 + docker inspect -f . ci-base-image-x86_64 02:54:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:08 prd-ubuntu20.04-docker-8c-8g-7871 does not seem to be running inside a container 02:54:08 $ 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 02:54:08 $ docker top 7134251beda639b673497da3715f8e2672db15890a95096fbec9de888cc25ff2 -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:08 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 02:54:09 + make test 02:54:09 go test ./... -coverprofile=coverage.out 02:54:09 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:54:19 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:54:19 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.6% of statements 02:54:24 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 02:54:24 go vet ./... 02:54:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:54:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:54:27 ./bin/test-attribution-txt.sh [Pipeline] echo 02:54:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:54:27 $ docker stop --time=1 7134251beda639b673497da3715f8e2672db15890a95096fbec9de888cc25ff2 02:54:29 $ docker rm -f --volumes 7134251beda639b673497da3715f8e2672db15890a95096fbec9de888cc25ff2 [Pipeline] // withDockerContainer [Pipeline] sh 02:54:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:54:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:54:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:54:31 + ls -al . 02:54:31 total 192 02:54:31 drwxrwxr-x 9 jenkins jenkins 4096 Mar 1 02:54 . 02:54:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 02:52 .. 02:54:31 drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 02:54 .git 02:54:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 02:52 .github 02:54:31 -rw-rw-r-- 1 jenkins jenkins 337 Mar 1 02:52 .gitignore 02:54:31 -rw-rw-r-- 1 jenkins jenkins 41 Mar 1 02:52 .golangci.yml 02:54:31 drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 02:53 .semver 02:54:31 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 1 02:52 Attribution.txt 02:54:31 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 1 02:52 CHANGELOG.md 02:54:31 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 1 02:52 Dockerfile 02:54:31 -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 02:52 GOVERNANCE.md 02:54:31 -rw-rw-r-- 1 jenkins jenkins 660 Mar 1 02:52 Jenkinsfile 02:54:31 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 1 02:52 LICENSE 02:54:31 -rw-rw-r-- 1 jenkins jenkins 1661 Mar 1 02:52 Makefile 02:54:31 -rw-rw-r-- 1 jenkins jenkins 623 Mar 1 02:52 OWNERS.md 02:54:31 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 1 02:52 README.md 02:54:31 -rw-rw-r-- 1 jenkins jenkins 12 Mar 1 02:53 VERSION 02:54:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 02:52 bin 02:54:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 02:52 cmd 02:54:31 -rw-r--r-- 1 jenkins jenkins 44128 Mar 1 02:54 coverage.out 02:54:31 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 1 02:52 go.mod 02:54:31 -rw-rw-r-- 1 jenkins jenkins 32563 Mar 1 02:52 go.sum 02:54:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 02:52 internal 02:54:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 02:52 snap 02:54:31 -rw-rw-r-- 1 jenkins jenkins 235 Mar 1 02:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:31 + 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=de7f1fa98896349c300f3340708f5a9fee2488ae --label arch=amd64 --label version=3.0.0-dev.17 . 02:54:31 Sending build context to Docker daemon 23.44MB 02:54:31 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 02:54:31 Step 2/25 : FROM ${BASE} AS builder 02:54:31 ---> 132004f254e9 02:54:31 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:54:31 ---> Running in d329c914732f 02:54:31 Removing intermediate container d329c914732f 02:54:31 ---> f07b86891113 02:54:31 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 02:54:31 ---> Running in 1a26ea0f6951 02:54:31 Removing intermediate container 1a26ea0f6951 02:54:31 ---> afc278be370a 02:54:31 Step 5/25 : ARG ADD_BUILD_TAGS="" 02:54:31 ---> Running in 126cceb84840 02:54:31 Removing intermediate container 126cceb84840 02:54:31 ---> 8e4ee45ebd45 02:54:31 Step 6/25 : WORKDIR /device-virtual-go 02:54:31 ---> Running in 8e347335f308 02:54:32 Removing intermediate container 8e347335f308 02:54:32 ---> 50b17cbf6246 02:54:32 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:54:32 ---> Running in 1da4a956dfa4 02:54:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:54:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:54:32 OK: 216 MiB in 55 packages 02:54:33 Removing intermediate container 1da4a956dfa4 02:54:33 ---> e533268c712e 02:54:33 Step 8/25 : COPY go.mod vendor* ./ 02:54:33 ---> 78d8c6792754 02:54:33 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:54:33 ---> Running in 8fc3d784862f 02:54:34 Removing intermediate container 8fc3d784862f 02:54:34 ---> ec2fcb7906bc 02:54:34 Step 10/25 : COPY . . 02:54:34 ---> 8d34acca39f6 02:54:34 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:54:34 ---> Running in 60f12852c7c5 02:54:34 Removing intermediate container 60f12852c7c5 02:54:34 ---> 1a6d258c19a4 02:54:34 Step 12/25 : RUN $MAKE 02:54:34 ---> Running in 45b5f3c9129b 02:54:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.17" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 02:54:53 Removing intermediate container 45b5f3c9129b 02:54:53 ---> 0e25d723579a 02:54:53 Step 13/25 : FROM alpine:3.16 02:54:53 3.16: Pulling from library/alpine 02:54:53 ef5531b6e74e: Pulling fs layer 02:54:53 ef5531b6e74e: Verifying Checksum 02:54:53 ef5531b6e74e: Download complete 02:54:53 ef5531b6e74e: Pull complete 02:54:53 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 02:54:53 Status: Downloaded newer image for alpine:3.16 02:54:53 ---> dfd21b5a31f5 02:54:53 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:54:53 ---> Running in 077f48787037 02:54:53 Removing intermediate container 077f48787037 02:54:53 ---> 4607669866c1 02:54:53 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:54:53 ---> Running in a51146d80a86 02:54:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:54:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:54:54 (1/1) Installing dumb-init (1.2.5-r1) 02:54:54 Executing busybox-1.35.0-r17.trigger 02:54:54 OK: 6 MiB in 15 packages 02:54:54 Removing intermediate container a51146d80a86 02:54:54 ---> b53c46657c4b 02:54:54 Step 16/25 : WORKDIR / 02:54:54 ---> Running in 2c4dfd9a6a2c 02:54:54 Removing intermediate container 2c4dfd9a6a2c 02:54:54 ---> 7d1897df07d2 02:54:54 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:54:55 ---> ba1ec4367860 02:54:55 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 02:54:55 ---> 6be4f03c7a79 02:54:55 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 02:54:55 ---> fcb6e3f6bd91 02:54:55 Step 20/25 : EXPOSE 59900 02:54:55 ---> Running in 30aba13137b0 02:54:55 Removing intermediate container 30aba13137b0 02:54:55 ---> 9117e657d81f 02:54:55 Step 21/25 : ENTRYPOINT ["/device-virtual"] 02:54:55 ---> Running in 99271ef3db20 02:54:56 Removing intermediate container 99271ef3db20 02:54:56 ---> 009b58272e42 02:54:56 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:54:56 ---> Running in 389cc4359c78 02:54:56 Removing intermediate container 389cc4359c78 02:54:56 ---> 98cfc22c2b64 02:54:56 Step 23/25 : LABEL arch=amd64 02:54:56 ---> Running in 621183e9b1b6 02:54:56 Removing intermediate container 621183e9b1b6 02:54:56 ---> daadd7b88768 02:54:56 Step 24/25 : LABEL git_sha=de7f1fa98896349c300f3340708f5a9fee2488ae 02:54:56 ---> Running in c844bbad46d9 02:54:56 Removing intermediate container c844bbad46d9 02:54:56 ---> cd8f65beb819 02:54:56 Step 25/25 : LABEL version=3.0.0-dev.17 02:54:56 ---> Running in 579885b87bdc 02:54:56 Removing intermediate container 579885b87bdc 02:54:56 ---> 73b5ac1409f6 02:54:56 [Warning] One or more build-args [ARCH] were not consumed 02:54:56 Successfully built 73b5ac1409f6 02:54:56 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:54:56 provisioning config files... 02:54:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11707307314556943409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:54:56 ---> docker-login.sh 02:54:56 nexus3.edgexfoundry.org:10001 02:54:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:56 Configure a credential helper to remove this warning. See 02:54:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:56 02:54:56 Login Succeeded 02:54:56 nexus3.edgexfoundry.org:10002 02:54:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:56 Configure a credential helper to remove this warning. See 02:54:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:56 02:54:56 Login Succeeded 02:54:56 nexus3.edgexfoundry.org:10003 02:54:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:57 Configure a credential helper to remove this warning. See 02:54:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:57 02:54:57 Login Succeeded 02:54:57 nexus3.edgexfoundry.org:10004 02:54:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:57 Configure a credential helper to remove this warning. See 02:54:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:57 02:54:57 Login Succeeded 02:54:57 docker.io 02:54:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:57 Configure a credential helper to remove this warning. See 02:54:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:57 02:54:57 Login Succeeded 02:54:57 ---> docker-login.sh ends [Pipeline] } 02:54:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:54:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:54:57 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 02:54:57 de7f1fa98896349c300f3340708f5a9fee2488ae 02:54:57 latest 02:54:57 3.0.0-dev.17 02:54:57 de7f1fa98896349c300f3340708f5a9fee2488ae-3.0.0-dev.17 02:54:57 main 02:54:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:58 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:de7f1fa98896349c300f3340708f5a9fee2488ae [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual:de7f1fa98896349c300f3340708f5a9fee2488ae 02:54:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:54:58 8404927e988b: Preparing 02:54:58 43648b4b50b5: Preparing 02:54:58 0b375734b1ae: Preparing 02:54:58 43af60395e7f: Preparing 02:54:58 aa5968d388b8: Preparing 02:54:58 aa5968d388b8: Layer already exists 02:54:58 43af60395e7f: Pushed 02:54:58 43648b4b50b5: Pushed 02:54:58 0b375734b1ae: Pushed 02:55:00 8404927e988b: Pushed 02:55:00 de7f1fa98896349c300f3340708f5a9fee2488ae: digest: sha256:b1f0525778d53e873dca89cf174187bfe63570eefa1540b991227f577b4aea23 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:01 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:01 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 02:55:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:55:01 8404927e988b: Preparing 02:55:01 43648b4b50b5: Preparing 02:55:01 0b375734b1ae: Preparing 02:55:01 43af60395e7f: Preparing 02:55:01 aa5968d388b8: Preparing 02:55:01 43af60395e7f: Layer already exists 02:55:01 0b375734b1ae: Layer already exists 02:55:01 8404927e988b: Layer already exists 02:55:01 43648b4b50b5: Layer already exists 02:55:01 aa5968d388b8: Layer already exists 02:55:01 latest: digest: sha256:b1f0525778d53e873dca89cf174187bfe63570eefa1540b991227f577b4aea23 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:01 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:02 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.17 02:55:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:55:02 8404927e988b: Preparing 02:55:02 43648b4b50b5: Preparing 02:55:02 0b375734b1ae: Preparing 02:55:02 43af60395e7f: Preparing 02:55:02 aa5968d388b8: Preparing 02:55:02 43648b4b50b5: Layer already exists 02:55:02 43af60395e7f: Layer already exists 02:55:02 0b375734b1ae: Layer already exists 02:55:02 8404927e988b: Layer already exists 02:55:02 aa5968d388b8: Layer already exists 02:55:02 3.0.0-dev.17: digest: sha256:b1f0525778d53e873dca89cf174187bfe63570eefa1540b991227f577b4aea23 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:02 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:de7f1fa98896349c300f3340708f5a9fee2488ae-3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:02 + docker push nexus3.edgexfoundry.org:10004/device-virtual:de7f1fa98896349c300f3340708f5a9fee2488ae-3.0.0-dev.17 02:55:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:55:02 8404927e988b: Preparing 02:55:02 43648b4b50b5: Preparing 02:55:02 0b375734b1ae: Preparing 02:55:02 43af60395e7f: Preparing 02:55:02 aa5968d388b8: Preparing 02:55:02 43648b4b50b5: Layer already exists 02:55:02 8404927e988b: Layer already exists 02:55:02 43af60395e7f: Layer already exists 02:55:02 0b375734b1ae: Layer already exists 02:55:02 aa5968d388b8: Layer already exists 02:55:02 de7f1fa98896349c300f3340708f5a9fee2488ae-3.0.0-dev.17: digest: sha256:b1f0525778d53e873dca89cf174187bfe63570eefa1540b991227f577b4aea23 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:03 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7872 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { 02:55:03 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 02:55:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:55:03 8404927e988b: Preparing 02:55:03 43648b4b50b5: Preparing 02:55:03 0b375734b1ae: Preparing 02:55:03 43af60395e7f: Preparing 02:55:03 aa5968d388b8: Preparing 02:55:03 43648b4b50b5: Layer already exists 02:55:03 aa5968d388b8: Layer already exists 02:55:03 43af60395e7f: Layer already exists 02:55:03 8404927e988b: Layer already exists 02:55:03 0b375734b1ae: Layer already exists 02:55:03 main: digest: sha256:b1f0525778d53e873dca89cf174187bfe63570eefa1540b991227f577b4aea23 size: 1365 [Pipeline] ws 02:55:03 Running in /w/workspace/device-virtual-go/88 [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] checkout [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:55:03 ===================================================== 02:55:03 The recommended git tool is: git [Pipeline] echo 02:55:03 taggedImages: 02:55:03 - nexus3.edgexfoundry.org:10004/device-virtual:de7f1fa98896349c300f3340708f5a9fee2488ae 02:55:03 - nexus3.edgexfoundry.org:10004/device-virtual:latest 02:55:03 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.17 02:55:03 - nexus3.edgexfoundry.org:10004/device-virtual:de7f1fa98896349c300f3340708f5a9fee2488ae-3.0.0-dev.17 02:55:03 - 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:55:03 02:55:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:55:04 latest: Pulling from edgex-lftools-log-publisher 02:55:04 5eb5b503b376: Pulling fs layer 02:55:04 5c69ac0246d0: Pulling fs layer 02:55:04 ec43610c2a17: Pulling fs layer 02:55:04 3a2ae6a8a46f: Pulling fs layer 02:55:04 33b1e0a273af: Pulling fs layer 02:55:04 3a2ae6a8a46f: Waiting 02:55:04 5d3b04190fa2: Pulling fs layer 02:55:04 2f39f015ded8: Pulling fs layer 02:55:04 2f39f015ded8: Waiting 02:55:04 5d3b04190fa2: Waiting 02:55:04 5c69ac0246d0: Verifying Checksum 02:55:04 5c69ac0246d0: Download complete 02:55:04 3a2ae6a8a46f: Verifying Checksum 02:55:04 3a2ae6a8a46f: Download complete 02:55:04 33b1e0a273af: Verifying Checksum 02:55:04 33b1e0a273af: Download complete 02:55:04 ec43610c2a17: Verifying Checksum 02:55:04 ec43610c2a17: Download complete 02:55:04 5d3b04190fa2: Verifying Checksum 02:55:04 5d3b04190fa2: Download complete 02:55:04 5eb5b503b376: Verifying Checksum 02:55:04 5eb5b503b376: Download complete 02:55:05 2f39f015ded8: Download complete 02:55:05 5eb5b503b376: Pull complete 02:55:05 5c69ac0246d0: Pull complete 02:55:06 ec43610c2a17: Pull complete 02:55:06 3a2ae6a8a46f: Pull complete 02:55:06 33b1e0a273af: Pull complete 02:55:06 5d3b04190fa2: Pull complete 02:55:08 using credential edgex-jenkins-ssh 02:55:08 Cloning the remote Git repository 02:55:08 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 02:55:08 > git init /w/workspace/device-virtual-go/88 # timeout=10 02:55:08 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:55:08 > git --version # timeout=10 02:55:08 > git --version # 'git version 2.25.1' 02:55:08 using GIT_SSH to set credentials SSH Credentials for GitHub 02:55:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:55:10 2f39f015ded8: Pull complete 02:55:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:55:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:55:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:55:10 prd-ubuntu20.04-docker-8c-8g-7871 does not seem to be running inside a container 02:55:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 02:55:11 Avoid second fetch 02:55:11 Checking out Revision de7f1fa98896349c300f3340708f5a9fee2488ae (main) 02:55:12 Commit message: "Merge pull request #347 from jinlinGuan/sdk-issue-1347" 02:55:10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:55:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:55:11 > git config core.sparsecheckout # timeout=10 02:55:11 > git checkout -f de7f1fa98896349c300f3340708f5a9fee2488ae # timeout=10 02:55:12 $ docker top bb133837a58e3b99c3c2e5ba85ecb491a2c730db5590ecd235ed73988bbe058a -eo pid,comm 02:55:12 02:55:12 GitHub has been notified of this commit’s build result 02:55:12 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:55:12 ---> job-cost.sh 02:55:12 lf-activate-venv: SKIPPING 02:55:12 INFO: No Stack... 02:55:13 INFO: Retrieving Pricing Info for: v3-standard-8 02:55:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:55:13 % Total % Received % Xferd Average Speed Time Time Time Current 02:55:13 Dload Upload Total Spent Left Speed 02:55:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 93072 02:55:13 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 02:55:13 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 02:55:13 + cut -d, -f6 [Pipeline] lock 02:55:13 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-88-stack-cost] 02:55:13 Resource [jenkins-edgexfoundry-device-virtual-go-main-88-stack-cost] did not exist. Created. 02:55:13 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-88-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:55:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:55:13 + echo total: 0.2199999988079071 [Pipeline] stash 02:55:13 Stashed 1 file(s) [Pipeline] } 02:55:13 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-88-stack-cost] [Pipeline] // lock [Pipeline] } 02:55:13 $ docker stop --time=1 bb133837a58e3b99c3c2e5ba85ecb491a2c730db5590ecd235ed73988bbe058a 02:55:13 + sudo tee /etc/docker/daemon.new 02:55:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:55:13 { 02:55:13 "registry-mirrors": [ 02:55:13 "https://nexus3.edgexfoundry.org:10001" 02:55:13 ], 02:55:13 "bip": "10.250.0.254/24", 02:55:13 "hosts": [ 02:55:13 "tcp://0.0.0.0:5555", 02:55:13 "unix:///var/run/docker.sock" 02:55:13 ], 02:55:13 "mtu": 1458, 02:55:13 "selinux-enabled": true, 02:55:13 "seccomp-profile": "/etc/docker/seccomp.json" 02:55:13 } 02:55:15 $ docker rm -f --volumes bb133837a58e3b99c3c2e5ba85ecb491a2c730db5590ecd235ed73988bbe058a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:55:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:55:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:55:34 provisioning config files... 02:55:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/88@tmp/config6301598221328322314tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:55:34 ---> docker-login.sh 02:55:34 nexus3.edgexfoundry.org:10001 02:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:34 Configure a credential helper to remove this warning. See 02:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:34 02:55:34 Login Succeeded 02:55:34 nexus3.edgexfoundry.org:10002 02:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:35 Configure a credential helper to remove this warning. See 02:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:35 02:55:35 Login Succeeded 02:55:35 nexus3.edgexfoundry.org:10003 02:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:35 Configure a credential helper to remove this warning. See 02:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:35 02:55:35 Login Succeeded 02:55:35 nexus3.edgexfoundry.org:10004 02:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:36 Configure a credential helper to remove this warning. See 02:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:36 02:55:36 Login Succeeded 02:55:36 docker.io 02:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:36 Configure a credential helper to remove this warning. See 02:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:36 02:55:36 Login Succeeded 02:55:36 ---> docker-login.sh ends [Pipeline] } 02:55:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:55:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:55:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:55:36 ========================================================= 02:55:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:55:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:55:37 Sending build context to Docker daemon 11.85MB 02:55:37 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:55:37 Step 2/12 : FROM ${BASE} AS builder 02:55:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:55:37 9b18e9b68314: Pulling fs layer 02:55:37 35d82f9e3411: Pulling fs layer 02:55:37 e16973657156: Pulling fs layer 02:55:37 fc693d55d65f: Pulling fs layer 02:55:37 7e9fc2657dce: Pulling fs layer 02:55:37 dda99020689f: Pulling fs layer 02:55:37 db1c61fa0a46: Pulling fs layer 02:55:37 fc693d55d65f: Waiting 02:55:37 7e9fc2657dce: Waiting 02:55:37 891c053d2c06: Pulling fs layer 02:55:37 dda99020689f: Waiting 02:55:37 891c053d2c06: Waiting 02:55:37 db1c61fa0a46: Waiting 02:55:37 e16973657156: Verifying Checksum 02:55:37 e16973657156: Download complete 02:55:37 35d82f9e3411: Verifying Checksum 02:55:37 35d82f9e3411: Download complete 02:55:37 7e9fc2657dce: Download complete 02:55:37 dda99020689f: Verifying Checksum 02:55:37 dda99020689f: Download complete 02:55:37 9b18e9b68314: Verifying Checksum 02:55:38 9b18e9b68314: Pull complete 02:55:39 891c053d2c06: Verifying Checksum 02:55:39 891c053d2c06: Download complete 02:55:39 35d82f9e3411: Pull complete 02:55:39 e16973657156: Pull complete 02:55:40 db1c61fa0a46: Verifying Checksum 02:55:40 db1c61fa0a46: Download complete 02:55:40 fc693d55d65f: Verifying Checksum 02:55:40 fc693d55d65f: Download complete 02:55:55 fc693d55d65f: Pull complete 02:55:55 7e9fc2657dce: Pull complete 02:55:55 dda99020689f: Pull complete 02:56:01 db1c61fa0a46: Pull complete 02:56:03 891c053d2c06: Pull complete 02:56:03 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 02:56:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:56:03 ---> f96f9c87975a 02:56:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:56:05 ---> Running in 506dbde9d665 02:56:05 Removing intermediate container 506dbde9d665 02:56:05 ---> 0370bb0da7dd 02:56:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:56:05 ---> Running in d4f33f4c2fbe 02:56:05 Removing intermediate container d4f33f4c2fbe 02:56:05 ---> 23d0b1c81737 02:56:05 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:56:06 ---> Running in ee6d6911219b 02:56:06 Removing intermediate container ee6d6911219b 02:56:06 ---> 5369ab615a5a 02:56:06 Step 6/12 : WORKDIR /device-virtual-go 02:56:06 ---> Running in f998694d303e 02:56:06 Removing intermediate container f998694d303e 02:56:06 ---> 05674ec9eda2 02:56:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:56:06 ---> Running in 32a234f0f901 02:56:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:56:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:56:09 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:56:09 (2/4) Installing libedit (20210910.3.1-r0) 02:56:09 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:56:09 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:56:09 Executing busybox-1.35.0-r17.trigger 02:56:09 OK: 226 MiB in 55 packages 02:56:10 Removing intermediate container 32a234f0f901 02:56:10 ---> 297cbce8992e 02:56:10 Step 8/12 : COPY go.mod vendor* ./ 02:56:10 ---> 7fb88f7fac43 02:56:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:56:10 ---> Running in f60f80ddb6a6 02:57:18 Removing intermediate container f60f80ddb6a6 02:57:18 ---> 8b3b53dc1870 02:57:18 Step 10/12 : COPY . . 02:57:18 ---> 2fe8766c5e3c 02:57:18 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:57:18 ---> Running in dab9cbbed3f1 02:57:18 Removing intermediate container dab9cbbed3f1 02:57:18 ---> dac7b5a8a73f 02:57:18 Step 12/12 : RUN $MAKE 02:57:18 ---> Running in f2d3a802c46d 02:57:18 noop 02:57:18 Removing intermediate container f2d3a802c46d 02:57:18 ---> 26d552f69b99 02:57:18 Successfully built 26d552f69b99 02:57:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:19 + docker inspect -f . ci-base-image-arm64 02:57:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:57:19 prd-ubuntu20.04-docker-arm64-4c-16g-7872 does not seem to be running inside a container 02:57:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/88 -v /w/workspace/device-virtual-go/88:/w/workspace/device-virtual-go/88:rw,z -v /w/workspace/device-virtual-go/88@tmp:/w/workspace/device-virtual-go/88@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 02:57:20 $ docker top 04cebcd824cc4b88d8dcea7089c80086013241fb4f83b1a905cb83974cb7fe79 -eo pid,comm [Pipeline] { [Pipeline] sh 02:57:21 + go version 02:57:21 go version go1.18.7 linux/arm64 [Pipeline] } 02:57:21 $ docker stop --time=1 04cebcd824cc4b88d8dcea7089c80086013241fb4f83b1a905cb83974cb7fe79 02:57:23 $ docker rm -f --volumes 04cebcd824cc4b88d8dcea7089c80086013241fb4f83b1a905cb83974cb7fe79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:23 + docker inspect -f . ci-base-image-arm64 02:57:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:57:23 prd-ubuntu20.04-docker-arm64-4c-16g-7872 does not seem to be running inside a container 02:57:23 $ 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/88 -v /w/workspace/device-virtual-go/88:/w/workspace/device-virtual-go/88:rw,z -v /w/workspace/device-virtual-go/88@tmp:/w/workspace/device-virtual-go/88@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 02:57:25 $ docker top d61e4b78d00950cc6456df0388c5e86a8733956ee932519de2a1b85bbcd72417 -eo pid,comm [Pipeline] { [Pipeline] sh 02:57:25 + git config --global --add safe.directory /w/workspace/device-virtual-go/88 [Pipeline] fileExists [Pipeline] sh 02:57:25 + make test 02:57:25 go test ./... -coverprofile=coverage.out 02:57:27 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:58:49 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:58:49 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.130s coverage: 65.6% of statements 02:58:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:58:49 go vet ./... 02:59:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:59:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:59:07 ./bin/test-attribution-txt.sh [Pipeline] echo 02:59:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:59:07 $ docker stop --time=1 d61e4b78d00950cc6456df0388c5e86a8733956ee932519de2a1b85bbcd72417 02:59:09 $ docker rm -f --volumes d61e4b78d00950cc6456df0388c5e86a8733956ee932519de2a1b85bbcd72417 [Pipeline] // withDockerContainer [Pipeline] sh 02:59:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:59:10 Warning: overwriting stash ‘coverage-report’ 02:59:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:59:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:59:11 + ls -al . 02:59:11 total 188 02:59:11 drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 02:57 . 02:59:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 02:55 .. 02:59:11 drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 02:55 .git 02:59:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 02:55 .github 02:59:11 -rw-rw-r-- 1 jenkins jenkins 337 Mar 1 02:55 .gitignore 02:59:11 -rw-rw-r-- 1 jenkins jenkins 41 Mar 1 02:55 .golangci.yml 02:59:11 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 1 02:55 Attribution.txt 02:59:11 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 1 02:55 CHANGELOG.md 02:59:11 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 1 02:55 Dockerfile 02:59:11 -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 02:55 GOVERNANCE.md 02:59:11 -rw-rw-r-- 1 jenkins jenkins 660 Mar 1 02:55 Jenkinsfile 02:59:11 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 1 02:55 LICENSE 02:59:11 -rw-rw-r-- 1 jenkins jenkins 1661 Mar 1 02:55 Makefile 02:59:11 -rw-rw-r-- 1 jenkins jenkins 623 Mar 1 02:55 OWNERS.md 02:59:11 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 1 02:55 README.md 02:59:11 -rw-rw-r-- 1 jenkins jenkins 12 Mar 1 02:53 VERSION 02:59:11 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 02:55 bin 02:59:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 02:55 cmd 02:59:11 -rw-r--r-- 1 jenkins jenkins 44128 Mar 1 02:58 coverage.out 02:59:11 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 1 02:55 go.mod 02:59:11 -rw-rw-r-- 1 jenkins jenkins 32563 Mar 1 02:55 go.sum 02:59:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 02:55 internal 02:59:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 02:55 snap 02:59:11 -rw-rw-r-- 1 jenkins jenkins 235 Mar 1 02:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:11 + 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=de7f1fa98896349c300f3340708f5a9fee2488ae --label arch=arm64 --label version=3.0.0-dev.17 . 02:59:12 Sending build context to Docker daemon 11.89MB 02:59:12 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 02:59:12 Step 2/25 : FROM ${BASE} AS builder 02:59:12 ---> 26d552f69b99 02:59:12 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:59:12 ---> Running in 67eb4e80a265 02:59:12 Removing intermediate container 67eb4e80a265 02:59:12 ---> 0c1872b7e0b2 02:59:12 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 02:59:12 ---> Running in 0237615e3570 02:59:12 Removing intermediate container 0237615e3570 02:59:12 ---> ef5e53fe2094 02:59:12 Step 5/25 : ARG ADD_BUILD_TAGS="" 02:59:13 ---> Running in af3d3c51e980 02:59:13 Removing intermediate container af3d3c51e980 02:59:13 ---> 54ecc59ac94f 02:59:13 Step 6/25 : WORKDIR /device-virtual-go 02:59:13 ---> Running in 3384c7c3a0f1 02:59:13 Removing intermediate container 3384c7c3a0f1 02:59:13 ---> 34b4af3b4668 02:59:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:59:13 ---> Running in b1368232e796 02:59:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:59:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:59:15 OK: 226 MiB in 55 packages 02:59:16 Removing intermediate container b1368232e796 02:59:16 ---> a36fc0d4fd06 02:59:16 Step 8/25 : COPY go.mod vendor* ./ 02:59:17 ---> dc827d8e81de 02:59:17 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:59:17 ---> Running in 1a8682cccb04 02:59:19 Removing intermediate container 1a8682cccb04 02:59:19 ---> 64cb36d55908 02:59:19 Step 10/25 : COPY . . 02:59:22 ---> f540ca000c5f 02:59:22 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:59:22 ---> Running in 00f919fa6374 02:59:22 Removing intermediate container 00f919fa6374 02:59:22 ---> c386a936e190 02:59:22 Step 12/25 : RUN $MAKE 02:59:22 ---> Running in 96b7315ebd15 02:59:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.17" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 03:01:45 Removing intermediate container 96b7315ebd15 03:01:45 ---> 06494262e30f 03:01:45 Step 13/25 : FROM alpine:3.16 03:01:45 3.16: Pulling from library/alpine 03:01:45 3760b48202b3: Pulling fs layer 03:01:45 3760b48202b3: Verifying Checksum 03:01:45 3760b48202b3: Download complete 03:01:45 3760b48202b3: Pull complete 03:01:45 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 03:01:45 Status: Downloaded newer image for alpine:3.16 03:01:45 ---> 4c81e5bf8899 03:01:45 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 03:01:45 ---> Running in dd216db68e57 03:01:45 Removing intermediate container dd216db68e57 03:01:45 ---> be013e0dca33 03:01:45 Step 15/25 : RUN apk add --update --no-cache dumb-init 03:01:45 ---> Running in 15b4f4a6ee20 03:01:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:01:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:01:45 (1/1) Installing dumb-init (1.2.5-r1) 03:01:45 Executing busybox-1.35.0-r17.trigger 03:01:45 OK: 5 MiB in 15 packages 03:01:45 Removing intermediate container 15b4f4a6ee20 03:01:45 ---> 72e584ce7ad5 03:01:45 Step 16/25 : WORKDIR / 03:01:45 ---> Running in 4cea387dfb77 03:01:45 Removing intermediate container 4cea387dfb77 03:01:45 ---> 9eb59c968f67 03:01:45 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 03:01:45 ---> 61da4e09ccaf 03:01:45 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 03:01:45 ---> 75ec3fb34c3a 03:01:45 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 03:01:45 ---> 14121a09fec7 03:01:45 Step 20/25 : EXPOSE 59900 03:01:45 ---> Running in acbeea716012 03:01:46 Removing intermediate container acbeea716012 03:01:46 ---> af73f227cd25 03:01:46 Step 21/25 : ENTRYPOINT ["/device-virtual"] 03:01:46 ---> Running in c4bf8c7204eb 03:01:46 Removing intermediate container c4bf8c7204eb 03:01:46 ---> 13d3c8bd97ac 03:01:46 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:01:46 ---> Running in 2f5968d54df9 03:01:46 Removing intermediate container 2f5968d54df9 03:01:46 ---> 15dc7b1eab77 03:01:46 Step 23/25 : LABEL arch=arm64 03:01:46 ---> Running in d016de39dd65 03:01:47 Removing intermediate container d016de39dd65 03:01:47 ---> 66ec4a4e2b73 03:01:47 Step 24/25 : LABEL git_sha=de7f1fa98896349c300f3340708f5a9fee2488ae 03:01:47 ---> Running in b0b632e306c2 03:01:47 Removing intermediate container b0b632e306c2 03:01:47 ---> 6f1d44cfa304 03:01:47 Step 25/25 : LABEL version=3.0.0-dev.17 03:01:47 ---> Running in 6dc273900fc0 03:01:47 Removing intermediate container 6dc273900fc0 03:01:47 ---> 260a2d8f691d 03:01:47 [Warning] One or more build-args [ARCH] were not consumed 03:01:47 Successfully built 260a2d8f691d 03:01:47 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 03:01:48 provisioning config files... 03:01:48 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/88@tmp/config17877405389470759221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:01:48 ---> docker-login.sh 03:01:48 nexus3.edgexfoundry.org:10001 03:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:01:48 Configure a credential helper to remove this warning. See 03:01:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:01:48 03:01:48 Login Succeeded 03:01:48 nexus3.edgexfoundry.org:10002 03:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:01:49 Configure a credential helper to remove this warning. See 03:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:01:49 03:01:49 Login Succeeded 03:01:49 nexus3.edgexfoundry.org:10003 03:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:01:49 Configure a credential helper to remove this warning. See 03:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:01:49 03:01:49 Login Succeeded 03:01:49 nexus3.edgexfoundry.org:10004 03:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:01:49 Configure a credential helper to remove this warning. See 03:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:01:49 03:01:49 Login Succeeded 03:01:49 docker.io 03:01:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:01:50 Configure a credential helper to remove this warning. See 03:01:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:01:50 03:01:50 Login Succeeded 03:01:50 ---> docker-login.sh ends [Pipeline] } 03:01:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:01:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:01:50 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 03:01:50 de7f1fa98896349c300f3340708f5a9fee2488ae 03:01:50 latest 03:01:50 3.0.0-dev.17 03:01:50 de7f1fa98896349c300f3340708f5a9fee2488ae-3.0.0-dev.17 03:01:50 main 03:01:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:50 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:de7f1fa98896349c300f3340708f5a9fee2488ae [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:de7f1fa98896349c300f3340708f5a9fee2488ae 03:01:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 03:01:51 ebf7d4ce0e16: Preparing 03:01:51 1d09c8d33ccd: Preparing 03:01:51 0260d3769b68: Preparing 03:01:51 73431c7be0bd: Preparing 03:01:51 f70ee36035b9: Preparing 03:01:51 f70ee36035b9: Layer already exists 03:03:27 73431c7be0bd: Retrying in 5 seconds 03:03:27 1d09c8d33ccd: Retrying in 5 seconds 03:03:27 ebf7d4ce0e16: Retrying in 5 seconds 03:03:27 0260d3769b68: Retrying in 5 seconds 03:03:27 73431c7be0bd: Retrying in 4 seconds 03:03:27 1d09c8d33ccd: Retrying in 4 seconds 03:03:27 ebf7d4ce0e16: Retrying in 4 seconds 03:03:27 0260d3769b68: Retrying in 4 seconds 03:03:27 73431c7be0bd: Retrying in 3 seconds 03:03:27 1d09c8d33ccd: Retrying in 3 seconds 03:03:27 ebf7d4ce0e16: Retrying in 3 seconds 03:03:27 0260d3769b68: Retrying in 3 seconds 03:03:27 73431c7be0bd: Retrying in 2 seconds 03:03:27 1d09c8d33ccd: Retrying in 2 seconds 03:03:27 0260d3769b68: Retrying in 2 seconds 03:03:27 ebf7d4ce0e16: Retrying in 2 seconds 03:03:27 1d09c8d33ccd: Retrying in 1 second 03:03:27 73431c7be0bd: Retrying in 1 second 03:03:27 0260d3769b68: Retrying in 1 second 03:03:27 ebf7d4ce0e16: Retrying in 1 second 03:05:04 ebf7d4ce0e16: Retrying in 10 seconds 03:05:04 1d09c8d33ccd: Retrying in 10 seconds 03:05:04 0260d3769b68: Retrying in 10 seconds 03:05:04 73431c7be0bd: Retrying in 10 seconds 03:05:04 0260d3769b68: Retrying in 9 seconds 03:05:04 ebf7d4ce0e16: Retrying in 9 seconds 03:05:04 1d09c8d33ccd: Retrying in 9 seconds 03:05:04 73431c7be0bd: Retrying in 9 seconds 03:05:04 0260d3769b68: Retrying in 8 seconds 03:05:04 ebf7d4ce0e16: Retrying in 8 seconds 03:05:04 1d09c8d33ccd: Retrying in 8 seconds 03:05:04 73431c7be0bd: Retrying in 8 seconds 03:05:04 1d09c8d33ccd: Retrying in 7 seconds 03:05:04 0260d3769b68: Retrying in 7 seconds 03:05:04 ebf7d4ce0e16: Retrying in 7 seconds 03:05:04 73431c7be0bd: Retrying in 7 seconds 03:05:04 0260d3769b68: Retrying in 6 seconds 03:05:04 ebf7d4ce0e16: Retrying in 6 seconds 03:05:04 1d09c8d33ccd: Retrying in 6 seconds 03:05:04 73431c7be0bd: Retrying in 6 seconds 03:05:04 ebf7d4ce0e16: Retrying in 5 seconds 03:05:04 0260d3769b68: Retrying in 5 seconds 03:05:04 1d09c8d33ccd: Retrying in 5 seconds 03:05:04 73431c7be0bd: Retrying in 5 seconds 03:05:04 ebf7d4ce0e16: Retrying in 4 seconds 03:05:04 0260d3769b68: Retrying in 4 seconds 03:05:04 1d09c8d33ccd: Retrying in 4 seconds 03:05:04 73431c7be0bd: Retrying in 4 seconds 03:05:04 1d09c8d33ccd: Retrying in 3 seconds 03:05:04 ebf7d4ce0e16: Retrying in 3 seconds 03:05:04 0260d3769b68: Retrying in 3 seconds 03:05:04 73431c7be0bd: Retrying in 3 seconds 03:05:04 0260d3769b68: Retrying in 2 seconds 03:05:04 ebf7d4ce0e16: Retrying in 2 seconds 03:05:04 1d09c8d33ccd: Retrying in 2 seconds 03:05:04 73431c7be0bd: Retrying in 2 seconds 03:05:05 ebf7d4ce0e16: Retrying in 1 second 03:05:05 0260d3769b68: Retrying in 1 second 03:05:05 1d09c8d33ccd: Retrying in 1 second 03:05:05 73431c7be0bd: Retrying in 1 second 03:06:43 0260d3769b68: Retrying in 15 seconds 03:06:43 73431c7be0bd: Retrying in 15 seconds 03:06:43 1d09c8d33ccd: Retrying in 15 seconds 03:06:43 ebf7d4ce0e16: Retrying in 15 seconds 03:06:43 0260d3769b68: Retrying in 14 seconds 03:06:43 73431c7be0bd: Retrying in 14 seconds 03:06:43 1d09c8d33ccd: Retrying in 14 seconds 03:06:43 ebf7d4ce0e16: Retrying in 14 seconds 03:06:43 73431c7be0bd: Retrying in 13 seconds 03:06:43 1d09c8d33ccd: Retrying in 13 seconds 03:06:43 0260d3769b68: Retrying in 13 seconds 03:06:43 ebf7d4ce0e16: Retrying in 13 seconds 03:06:43 73431c7be0bd: Retrying in 12 seconds 03:06:43 1d09c8d33ccd: Retrying in 12 seconds 03:06:43 0260d3769b68: Retrying in 12 seconds 03:06:43 ebf7d4ce0e16: Retrying in 12 seconds 03:06:43 73431c7be0bd: Retrying in 11 seconds 03:06:43 1d09c8d33ccd: Retrying in 11 seconds 03:06:43 0260d3769b68: Retrying in 11 seconds 03:06:43 ebf7d4ce0e16: Retrying in 11 seconds 03:06:43 73431c7be0bd: Retrying in 10 seconds 03:06:43 0260d3769b68: Retrying in 10 seconds 03:06:43 1d09c8d33ccd: Retrying in 10 seconds 03:06:43 ebf7d4ce0e16: Retrying in 10 seconds 03:06:43 0260d3769b68: Retrying in 9 seconds 03:06:43 1d09c8d33ccd: Retrying in 9 seconds 03:06:43 73431c7be0bd: Retrying in 9 seconds 03:06:43 ebf7d4ce0e16: Retrying in 9 seconds 03:06:43 73431c7be0bd: Retrying in 8 seconds 03:06:43 1d09c8d33ccd: Retrying in 8 seconds 03:06:43 0260d3769b68: Retrying in 8 seconds 03:06:43 ebf7d4ce0e16: Retrying in 8 seconds 03:06:44 73431c7be0bd: Retrying in 7 seconds 03:06:44 1d09c8d33ccd: Retrying in 7 seconds 03:06:44 0260d3769b68: Retrying in 7 seconds 03:06:44 ebf7d4ce0e16: Retrying in 7 seconds 03:06:45 0260d3769b68: Retrying in 6 seconds 03:06:45 73431c7be0bd: Retrying in 6 seconds 03:06:45 1d09c8d33ccd: Retrying in 6 seconds 03:06:45 ebf7d4ce0e16: Retrying in 6 seconds 03:06:46 1d09c8d33ccd: Retrying in 5 seconds 03:06:46 73431c7be0bd: Retrying in 5 seconds 03:06:46 0260d3769b68: Retrying in 5 seconds 03:06:46 ebf7d4ce0e16: Retrying in 5 seconds 03:06:47 1d09c8d33ccd: Retrying in 4 seconds 03:06:47 73431c7be0bd: Retrying in 4 seconds 03:06:47 0260d3769b68: Retrying in 4 seconds 03:06:47 ebf7d4ce0e16: Retrying in 4 seconds 03:06:48 1d09c8d33ccd: Retrying in 3 seconds 03:06:48 0260d3769b68: Retrying in 3 seconds 03:06:48 73431c7be0bd: Retrying in 3 seconds 03:06:48 ebf7d4ce0e16: Retrying in 3 seconds 03:06:49 1d09c8d33ccd: Retrying in 2 seconds 03:06:49 0260d3769b68: Retrying in 2 seconds 03:06:49 73431c7be0bd: Retrying in 2 seconds 03:06:49 ebf7d4ce0e16: Retrying in 2 seconds 03:06:50 73431c7be0bd: Retrying in 1 second 03:06:50 1d09c8d33ccd: Retrying in 1 second 03:06:50 0260d3769b68: Retrying in 1 second 03:06:50 ebf7d4ce0e16: Retrying in 1 second 03:08:27 ebf7d4ce0e16: Retrying in 20 seconds 03:08:27 1d09c8d33ccd: Retrying in 20 seconds 03:08:27 73431c7be0bd: Retrying in 20 seconds 03:08:27 0260d3769b68: Retrying in 20 seconds 03:08:27 73431c7be0bd: Retrying in 19 seconds 03:08:27 0260d3769b68: Retrying in 19 seconds 03:08:27 ebf7d4ce0e16: Retrying in 19 seconds 03:08:27 1d09c8d33ccd: Retrying in 19 seconds 03:08:27 73431c7be0bd: Retrying in 18 seconds 03:08:27 0260d3769b68: Retrying in 18 seconds 03:08:27 ebf7d4ce0e16: Retrying in 18 seconds 03:08:27 1d09c8d33ccd: Retrying in 18 seconds 03:08:27 1d09c8d33ccd: Retrying in 17 seconds 03:08:27 73431c7be0bd: Retrying in 17 seconds 03:08:27 ebf7d4ce0e16: Retrying in 17 seconds 03:08:27 0260d3769b68: Retrying in 17 seconds 03:08:27 ebf7d4ce0e16: Retrying in 16 seconds 03:08:27 1d09c8d33ccd: Retrying in 16 seconds 03:08:27 73431c7be0bd: Retrying in 16 seconds 03:08:27 0260d3769b68: Retrying in 16 seconds 03:08:27 ebf7d4ce0e16: Retrying in 15 seconds 03:08:27 1d09c8d33ccd: Retrying in 15 seconds 03:08:27 0260d3769b68: Retrying in 15 seconds 03:08:27 73431c7be0bd: Retrying in 15 seconds 03:08:27 ebf7d4ce0e16: Retrying in 14 seconds 03:08:27 73431c7be0bd: Retrying in 14 seconds 03:08:27 1d09c8d33ccd: Retrying in 14 seconds 03:08:27 0260d3769b68: Retrying in 14 seconds 03:08:28 ebf7d4ce0e16: Retrying in 13 seconds 03:08:28 1d09c8d33ccd: Retrying in 13 seconds 03:08:28 73431c7be0bd: Retrying in 13 seconds 03:08:28 0260d3769b68: Retrying in 13 seconds 03:08:29 ebf7d4ce0e16: Retrying in 12 seconds 03:08:29 1d09c8d33ccd: Retrying in 12 seconds 03:08:29 73431c7be0bd: Retrying in 12 seconds 03:08:29 0260d3769b68: Retrying in 12 seconds 03:08:30 ebf7d4ce0e16: Retrying in 11 seconds 03:08:30 0260d3769b68: Retrying in 11 seconds 03:08:30 73431c7be0bd: Retrying in 11 seconds 03:08:30 1d09c8d33ccd: Retrying in 11 seconds 03:08:31 ebf7d4ce0e16: Retrying in 10 seconds 03:08:31 1d09c8d33ccd: Retrying in 10 seconds 03:08:31 73431c7be0bd: Retrying in 10 seconds 03:08:31 0260d3769b68: Retrying in 10 seconds 03:08:32 1d09c8d33ccd: Retrying in 9 seconds 03:08:32 ebf7d4ce0e16: Retrying in 9 seconds 03:08:32 73431c7be0bd: Retrying in 9 seconds 03:08:32 0260d3769b68: Retrying in 9 seconds 03:08:33 1d09c8d33ccd: Retrying in 8 seconds 03:08:33 ebf7d4ce0e16: Retrying in 8 seconds 03:08:33 73431c7be0bd: Retrying in 8 seconds 03:08:33 0260d3769b68: Retrying in 8 seconds 03:08:34 ebf7d4ce0e16: Retrying in 7 seconds 03:08:34 73431c7be0bd: Retrying in 7 seconds 03:08:34 1d09c8d33ccd: Retrying in 7 seconds 03:08:34 0260d3769b68: Retrying in 7 seconds 03:08:35 0260d3769b68: Retrying in 6 seconds 03:08:35 1d09c8d33ccd: Retrying in 6 seconds 03:08:35 73431c7be0bd: Retrying in 6 seconds 03:08:35 ebf7d4ce0e16: Retrying in 6 seconds 03:08:36 1d09c8d33ccd: Retrying in 5 seconds 03:08:36 73431c7be0bd: Retrying in 5 seconds 03:08:36 ebf7d4ce0e16: Retrying in 5 seconds 03:08:36 0260d3769b68: Retrying in 5 seconds 03:08:37 ebf7d4ce0e16: Retrying in 4 seconds 03:08:37 1d09c8d33ccd: Retrying in 4 seconds 03:08:37 73431c7be0bd: Retrying in 4 seconds 03:08:37 0260d3769b68: Retrying in 4 seconds 03:08:38 73431c7be0bd: Retrying in 3 seconds 03:08:38 ebf7d4ce0e16: Retrying in 3 seconds 03:08:38 0260d3769b68: Retrying in 3 seconds 03:08:38 1d09c8d33ccd: Retrying in 3 seconds 03:08:39 1d09c8d33ccd: Retrying in 2 seconds 03:08:39 73431c7be0bd: Retrying in 2 seconds 03:08:39 ebf7d4ce0e16: Retrying in 2 seconds 03:08:39 0260d3769b68: Retrying in 2 seconds 03:08:40 1d09c8d33ccd: Retrying in 1 second 03:08:40 ebf7d4ce0e16: Retrying in 1 second 03:08:40 73431c7be0bd: Retrying in 1 second 03:08:40 0260d3769b68: Retrying in 1 second 03:09:48 73431c7be0bd: Pushed 03:09:48 0260d3769b68: Pushed 03:09:48 1d09c8d33ccd: Pushed 03:09:49 ebf7d4ce0e16: Pushed 03:09:50 de7f1fa98896349c300f3340708f5a9fee2488ae: digest: sha256:b6a421a3d9e5df951d3c86a58c42d5c9ddf5428176b4139326f7809fa9fcabb0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:50 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 03:09:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 03:09:51 ebf7d4ce0e16: Preparing 03:09:51 1d09c8d33ccd: Preparing 03:09:51 0260d3769b68: Preparing 03:09:51 73431c7be0bd: Preparing 03:09:51 f70ee36035b9: Preparing 03:09:51 ebf7d4ce0e16: Layer already exists 03:09:51 0260d3769b68: Layer already exists 03:09:51 f70ee36035b9: Layer already exists 03:09:51 1d09c8d33ccd: Layer already exists 03:09:51 73431c7be0bd: Layer already exists 03:09:51 latest: digest: sha256:b6a421a3d9e5df951d3c86a58c42d5c9ddf5428176b4139326f7809fa9fcabb0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:51 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:52 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.17 03:09:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 03:09:52 ebf7d4ce0e16: Preparing 03:09:52 1d09c8d33ccd: Preparing 03:09:52 0260d3769b68: Preparing 03:09:52 73431c7be0bd: Preparing 03:09:52 f70ee36035b9: Preparing 03:09:52 0260d3769b68: Layer already exists 03:09:52 73431c7be0bd: Layer already exists 03:09:52 f70ee36035b9: Layer already exists 03:09:52 ebf7d4ce0e16: Layer already exists 03:09:52 1d09c8d33ccd: Layer already exists 03:09:52 3.0.0-dev.17: digest: sha256:b6a421a3d9e5df951d3c86a58c42d5c9ddf5428176b4139326f7809fa9fcabb0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:52 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:de7f1fa98896349c300f3340708f5a9fee2488ae-3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:52 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:de7f1fa98896349c300f3340708f5a9fee2488ae-3.0.0-dev.17 03:09:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 03:09:52 ebf7d4ce0e16: Preparing 03:09:52 1d09c8d33ccd: Preparing 03:09:52 0260d3769b68: Preparing 03:09:52 73431c7be0bd: Preparing 03:09:52 f70ee36035b9: Preparing 03:09:52 73431c7be0bd: Layer already exists 03:09:52 ebf7d4ce0e16: Layer already exists 03:09:52 f70ee36035b9: Layer already exists 03:09:52 0260d3769b68: Layer already exists 03:09:52 1d09c8d33ccd: Layer already exists 03:09:52 de7f1fa98896349c300f3340708f5a9fee2488ae-3.0.0-dev.17: digest: sha256:b6a421a3d9e5df951d3c86a58c42d5c9ddf5428176b4139326f7809fa9fcabb0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:53 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 03:09:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 03:09:53 ebf7d4ce0e16: Preparing 03:09:53 1d09c8d33ccd: Preparing 03:09:53 0260d3769b68: Preparing 03:09:53 73431c7be0bd: Preparing 03:09:53 f70ee36035b9: Preparing 03:09:53 0260d3769b68: Layer already exists 03:09:53 1d09c8d33ccd: Layer already exists 03:09:53 73431c7be0bd: Layer already exists 03:09:53 f70ee36035b9: Layer already exists 03:09:53 ebf7d4ce0e16: Layer already exists 03:09:53 main: digest: sha256:b6a421a3d9e5df951d3c86a58c42d5c9ddf5428176b4139326f7809fa9fcabb0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:09:53 ===================================================== [Pipeline] echo 03:09:53 taggedImages: 03:09:53 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:de7f1fa98896349c300f3340708f5a9fee2488ae 03:09:53 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 03:09:53 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.17 03:09:53 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:de7f1fa98896349c300f3340708f5a9fee2488ae-3.0.0-dev.17 03:09:53 - 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 03:09:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:09:53 03:09:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:09:54 arm64: Pulling from edgex-lftools-log-publisher 03:09:54 8998bd30e6a1: Pulling fs layer 03:09:54 04944245beec: Pulling fs layer 03:09:54 699f458cf7ca: Pulling fs layer 03:09:54 765212b225bb: Pulling fs layer 03:09:54 f23df028b6ca: Pulling fs layer 03:09:54 d65c8cfc05b1: Pulling fs layer 03:09:54 2437ff75d9bd: Pulling fs layer 03:09:54 765212b225bb: Waiting 03:09:54 f23df028b6ca: Waiting 03:09:54 d65c8cfc05b1: Waiting 03:09:54 2437ff75d9bd: Waiting 03:09:54 04944245beec: Verifying Checksum 03:09:54 04944245beec: Download complete 03:09:54 765212b225bb: Verifying Checksum 03:09:54 765212b225bb: Download complete 03:09:54 f23df028b6ca: Verifying Checksum 03:09:54 f23df028b6ca: Download complete 03:09:54 d65c8cfc05b1: Verifying Checksum 03:09:54 d65c8cfc05b1: Download complete 03:09:54 699f458cf7ca: Verifying Checksum 03:09:54 699f458cf7ca: Download complete 03:09:55 8998bd30e6a1: Verifying Checksum 03:09:55 8998bd30e6a1: Download complete 03:09:56 2437ff75d9bd: Verifying Checksum 03:09:57 2437ff75d9bd: Download complete 03:09:58 8998bd30e6a1: Pull complete 03:09:59 04944245beec: Pull complete 03:10:00 699f458cf7ca: Pull complete 03:10:00 765212b225bb: Pull complete 03:10:01 f23df028b6ca: Pull complete 03:10:01 d65c8cfc05b1: Pull complete 03:10:16 2437ff75d9bd: Pull complete 03:10:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:10:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:10:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:16 prd-ubuntu20.04-docker-arm64-4c-16g-7872 does not seem to be running inside a container 03:10:16 $ 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/88 -v /w/workspace/device-virtual-go/88:/w/workspace/device-virtual-go/88:rw,z -v /w/workspace/device-virtual-go/88@tmp:/w/workspace/device-virtual-go/88@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 03:10:19 $ docker top 06cc810ceb38a1316cafea6f24fc7bdf0e8145748791b93a9a2d1106506c02a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:10:20 ---> job-cost.sh 03:10:20 lf-activate-venv: SKIPPING 03:10:20 INFO: No Stack... 03:10:20 INFO: Retrieving Pricing Info for: v3-standard-4 03:10:21 INFO: Archiving Costs [Pipeline] sh 03:10:21 + cat /w/workspace/device-virtual-go/88/archives/cost.csv 03:10:21 + cut -d, -f6 [Pipeline] lock 03:10:21 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-88-stack-cost] 03:10:21 Resource [jenkins-edgexfoundry-device-virtual-go-main-88-stack-cost] did not exist. Created. 03:10:21 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-88-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:10:22 /w/workspace/device-virtual-go/88@tmp/durable-642e83d5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:10:22 + echo total: 0.10999999940395355 [Pipeline] stash 03:10:22 Warning: overwriting stash ‘stack-cost’ 03:10:22 Stashed 1 file(s) [Pipeline] } 03:10:22 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-88-stack-cost] [Pipeline] // lock [Pipeline] } 03:10:22 $ docker stop --time=1 06cc810ceb38a1316cafea6f24fc7bdf0e8145748791b93a9a2d1106506c02a5 03:10:24 $ docker rm -f --volumes 06cc810ceb38a1316cafea6f24fc7bdf0e8145748791b93a9a2d1106506c02a5 [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 03:10:24 provisioning config files... 03:10:24 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17812684661056076748tmp [Pipeline] { [Pipeline] sh 03:10:24 + set +x 03:10:24 + curl -s https://codecov.io/bash 03:10:24 + bash -s -- 03:10:24 03:10:24 _____ _ 03:10:24 / ____| | | 03:10:24 | | ___ __| | ___ ___ _____ __ 03:10:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:10:24 | |___| (_) | (_| | __/ (_| (_) \ V / 03:10:24 \_____\___/ \__,_|\___|\___\___/ \_/ 03:10:24 Bash-1.0.6 03:10:24 03:10:24 03:10:24 ==> git version 2.25.1 found 03:10:24 ==> 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 03:10:24 Release-Date: 2020-01-08 03:10:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:10:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:10:24 ==> Jenkins CI detected. 03:10:24 current dir:  /w/workspace/exfoundry_device-virtual-go_main 03:10:24 project root: . 03:10:24 --> token set from env 03:10:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:10:24 ==> Running gcov in . (disable via -X gcov) 03:10:24 ==> Python coveragepy not found 03:10:24 ==> Searching for coverage reports in: 03:10:24 + . 03:10:24 -> Found 1 reports 03:10:24 ==> Detecting git/mercurial file structure 03:10:24 ==> Reading reports 03:10:24 + ./coverage.out bytes=44128 03:10:24 ==> Appending adjustments 03:10:24 https://docs.codecov.io/docs/fixing-reports 03:10:25 + Found adjustments 03:10:25 ==> Gzipping contents 03:10:25 8.0K /tmp/codecov.i8PgWy.gz 03:10:25 ==> Uploading reports 03:10:25 url: https://codecov.io 03:10:25 query: branch=main&commit=de7f1fa98896349c300f3340708f5a9fee2488ae&build=88&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F88%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:10:25 -> Pinging Codecov 03:10:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=main&commit=de7f1fa98896349c300f3340708f5a9fee2488ae&build=88&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F88%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:10:25 -> Uploading to 03:10:25 https://storage.googleapis.com/codecov/v4/raw/2023-03-01/5E52B4B073DB2E39498172D8E973AA87/de7f1fa98896349c300f3340708f5a9fee2488ae/1fe882d1-ba49-492e-ac22-63c6718d724e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230301%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230301T031025Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=15c73cfa609c66a1dd278ec6470146883bd5eb9e9c909d494cb88013d06fcd69 03:10:25 % Total % Received % Xferd Average Speed Time Time Time Current 03:10:25 Dload Upload Total Spent Left Speed 03:10:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5473 0 0 100 5473 0 22995 --:--:-- --:--:-- --:--:-- 22995 03:10:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/de7f1fa98896349c300f3340708f5a9fee2488ae [Pipeline] } 03:10:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:10:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:10:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:10:25 03:10:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:10:26 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:10:26 df9b9388f04a: Pulling fs layer 03:10:26 52dc419b0ee2: Pulling fs layer 03:10:26 25bc292e5bac: Pulling fs layer 03:10:26 114826534d7a: Pulling fs layer 03:10:26 4657fd5d0bcf: Pulling fs layer 03:10:26 6ad1cebc031e: Pulling fs layer 03:10:26 8a3aa393b2d8: Pulling fs layer 03:10:26 114826534d7a: Waiting 03:10:26 4657fd5d0bcf: Waiting 03:10:26 6ad1cebc031e: Waiting 03:10:26 8a3aa393b2d8: Waiting 03:10:26 25bc292e5bac: Download complete 03:10:26 52dc419b0ee2: Verifying Checksum 03:10:26 52dc419b0ee2: Download complete 03:10:26 4657fd5d0bcf: Verifying Checksum 03:10:26 4657fd5d0bcf: Download complete 03:10:26 df9b9388f04a: Download complete 03:10:26 df9b9388f04a: Pull complete 03:10:26 6ad1cebc031e: Verifying Checksum 03:10:26 6ad1cebc031e: Download complete 03:10:26 52dc419b0ee2: Pull complete 03:10:26 25bc292e5bac: Pull complete 03:10:27 114826534d7a: Verifying Checksum 03:10:27 114826534d7a: Download complete 03:10:27 8a3aa393b2d8: Verifying Checksum 03:10:27 8a3aa393b2d8: Download complete 03:10:30 114826534d7a: Pull complete 03:10:30 4657fd5d0bcf: Pull complete 03:10:30 6ad1cebc031e: Pull complete 03:10:33 8a3aa393b2d8: Pull complete 03:10:33 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:10:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:10:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:33 prd-ubuntu20.04-docker-8c-8g-7871 does not seem to be running inside a container 03:10:33 $ 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:1.410.4 cat 03:10:35 $ docker top fb10e05c876d95af77ce9febe0376efa0d97b59fcca8ffd8eb535a8a4d7101b1 -eo pid,comm [Pipeline] { [Pipeline] echo 03:10:35 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 03:10:35 + set -o pipefail 03:10:35 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 03:10:41 03:10:41 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 03:10:41 03:10:41 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/85ad22b2-1dbb-4bd8-9b48-6ab6a8e20fc9 03:10:41 03:10:41 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 03:10:41 03:10:41 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:10:41 03:10:41 03:10:41 A medium severity vulnerability was found in the Snyk CLI versions you are using. 03:10:41 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 03:10:41 More details here: https://snyk.co/ue1NS [Pipeline] } 03:10:41 $ docker stop --time=1 fb10e05c876d95af77ce9febe0376efa0d97b59fcca8ffd8eb535a8a4d7101b1 03:10:43 $ docker rm -f --volumes fb10e05c876d95af77ce9febe0376efa0d97b59fcca8ffd8eb535a8a4d7101b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:10:43 + git log --format=format:%s -1 de7f1fa98896349c300f3340708f5a9fee2488ae [Pipeline] sh 03:10:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:10:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:10:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:44 prd-ubuntu20.04-docker-8c-8g-7871 does not seem to be running inside a container 03:10:44 $ 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 03:10:45 $ docker top 8ba40d2f859991b69adfb4f908c461c82be18805d39440d63a6df8c91162663a -eo pid,comm 03:10:45 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:10:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:10:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:10:45 [ssh-agent] Looking for ssh-agent implementation... 03:10:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:10:45 $ docker exec 8ba40d2f859991b69adfb4f908c461c82be18805d39440d63a6df8c91162663a ssh-agent 03:10:45 SSH_AUTH_SOCK=/tmp/ssh-pCRlXwuFTk0x/agent.33 03:10:45 SSH_AGENT_PID=39 03:10:45 Running ssh-add (command line suppressed) 03:10:45 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5843323525063502642.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5843323525063502642.key) 03:10:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:10:45 + git semver tag 03:10:46 2023-03-01 03:10:45,925 [run_tag] DEBUG tag force:False 03:10:46 2023-03-01 03:10:45,925 [check_head_tag] DEBUG check head tag 03:10:46 2023-03-01 03:10:45,927 [execute] INFO git cat-file --batch-check 03:10:46 2023-03-01 03:10:45,927 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 03:10:46 2023-03-01 03:10:45,931 [execute] INFO git cat-file --batch 03:10:46 2023-03-01 03:10:45,931 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 03:10:46 2023-03-01 03:10:45,953 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:10:46 2023-03-01 03:10:45,953 [execute] INFO git tag -a v3.0.0-dev.17 -m v3.0.0-dev.17 03:10:46 2023-03-01 03:10:45,953 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.17', '-m', 'v3.0.0-dev.17'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 03:10:46 2023-03-01 03:10:45,959 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:10:46 3.0.0-dev.17 [Pipeline] } 03:10:46 $ docker exec --env ******** --env ******** 8ba40d2f859991b69adfb4f908c461c82be18805d39440d63a6df8c91162663a ssh-agent -k 03:10:46 unset SSH_AUTH_SOCK; 03:10:46 unset SSH_AGENT_PID; 03:10:46 echo Agent pid 39 killed; 03:10:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:10:46 + git semver [Pipeline] } 03:10:46 $ docker stop --time=1 8ba40d2f859991b69adfb4f908c461c82be18805d39440d63a6df8c91162663a 03:10:48 $ docker rm -f --volumes 8ba40d2f859991b69adfb4f908c461c82be18805d39440d63a6df8c91162663a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:10:48 03:10:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:10:48 0.23.1-centos7: Pulling from edgex-lftools 03:10:48 ab5ef0e58194: Pulling fs layer 03:10:48 9712f1f96733: Pulling fs layer 03:10:48 63f879dbbcfc: Pulling fs layer 03:10:48 0d9ebad4ef96: Pulling fs layer 03:10:48 e9a5061849ea: Pulling fs layer 03:10:48 d747dcd14b5f: Pulling fs layer 03:10:48 2de7ff778b66: Pulling fs layer 03:10:48 0d9ebad4ef96: Waiting 03:10:48 e9a5061849ea: Waiting 03:10:48 2de7ff778b66: Waiting 03:10:48 d747dcd14b5f: Waiting 03:10:48 9712f1f96733: Download complete 03:10:49 63f879dbbcfc: Verifying Checksum 03:10:49 63f879dbbcfc: Download complete 03:10:49 ab5ef0e58194: Download complete 03:10:49 e9a5061849ea: Verifying Checksum 03:10:49 e9a5061849ea: Download complete 03:10:49 0d9ebad4ef96: Verifying Checksum 03:10:49 0d9ebad4ef96: Download complete 03:10:49 d747dcd14b5f: Download complete 03:10:49 2de7ff778b66: Verifying Checksum 03:10:49 2de7ff778b66: Download complete 03:10:52 ab5ef0e58194: Pull complete 03:10:52 9712f1f96733: Pull complete 03:10:52 63f879dbbcfc: Pull complete 03:10:57 0d9ebad4ef96: Pull complete 03:10:57 e9a5061849ea: Pull complete 03:10:57 d747dcd14b5f: Pull complete 03:10:58 2de7ff778b66: Pull complete 03:10:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:10:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:10:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:58 prd-ubuntu20.04-docker-8c-8g-7871 does not seem to be running inside a container 03:10:58 $ 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 03:11:00 $ docker top bbf40282f6f1ea64216f8f1efc461e67da8b48e99e6ba7f3b9c1fcfd0694220d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:11:00 provisioning config files... 03:11:00 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11901312014026018512tmp 03:11:00 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13282980024840036821tmp 03:11:00 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2517260370310951799tmp [Pipeline] { [Pipeline] echo 03:11:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:11:01 ---> sigul-configuration.sh 03:11:01 gpg: directory `/root/.gnupg' created 03:11:01 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:11:01 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:11:01 gpg: keyring `/root/.gnupg/secring.gpg' created 03:11:01 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:11:01 gpg: CAST5 encrypted data 03:11:01 gpg: encrypted with 1 passphrase 03:11:01 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:11:01 + mkdir /home/jenkins 03:11:01 + mkdir /home/jenkins/sigul [Pipeline] sh 03:11:01 + 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 03:11:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:11:02 ---> sigul-install.sh 03:11:02 Sigul already installed; skipping installation. [Pipeline] sh 03:11:02 + git tag --list 03:11:02 v1.0.0 03:11:02 v1.1.0 03:11:02 v1.1.1 03:11:02 v1.2.1 03:11:02 v1.2.2 03:11:02 v1.2.3 03:11:02 v1.3.0 03:11:02 v1.3.1 03:11:02 v2.0.0 03:11:02 v2.1.0 03:11:02 v2.1.1 03:11:02 v2.1.1-dev.1 03:11:02 v2.1.1-dev.2 03:11:02 v2.2.0 03:11:02 v2.2.1-dev.1 03:11:02 v2.2.1-dev.2 03:11:02 v2.2.1-dev.3 03:11:02 v2.2.1-dev.4 03:11:02 v2.2.1-dev.5 03:11:02 v2.2.1-dev.6 03:11:02 v2.2.1-dev.7 03:11:02 v2.2.1-dev.8 03:11:02 v2.3.0 03:11:02 v2.3.0-dev.10 03:11:02 v2.3.0-dev.11 03:11:02 v2.3.0-dev.12 03:11:02 v2.3.0-dev.13 03:11:02 v2.3.0-dev.14 03:11:02 v2.3.0-dev.15 03:11:02 v2.3.0-dev.16 03:11:02 v2.3.0-dev.17 03:11:02 v2.3.0-dev.18 03:11:02 v2.3.0-dev.19 03:11:02 v2.3.0-dev.20 03:11:02 v2.3.0-dev.21 03:11:02 v2.3.0-dev.22 03:11:02 v2.3.0-dev.23 03:11:02 v2.3.0-dev.24 03:11:02 v2.3.0-dev.25 03:11:02 v2.3.0-dev.26 03:11:02 v2.3.0-dev.27 03:11:02 v2.3.0-dev.28 03:11:02 v2.3.0-dev.29 03:11:02 v2.3.0-dev.30 03:11:02 v2.3.0-dev.8 03:11:02 v2.3.0-dev.9 03:11:02 v3.0.0-dev.1 03:11:02 v3.0.0-dev.10 03:11:02 v3.0.0-dev.11 03:11:02 v3.0.0-dev.12 03:11:02 v3.0.0-dev.13 03:11:02 v3.0.0-dev.14 03:11:02 v3.0.0-dev.15 03:11:02 v3.0.0-dev.16 03:11:02 v3.0.0-dev.17 03:11:02 v3.0.0-dev.2 03:11:02 v3.0.0-dev.3 03:11:02 v3.0.0-dev.4 03:11:02 v3.0.0-dev.5 03:11:02 v3.0.0-dev.6 03:11:02 v3.0.0-dev.7 03:11:02 v3.0.0-dev.8 03:11:02 v3.0.0-dev.9 [Pipeline] sh 03:11:02 + lftools sign git-tag v3.0.0-dev.17 03:11:03 Signing Git tag with Sigul... 03:11:03 Signing v3.0.0-dev.17 [Pipeline] echo 03:11:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:11:03 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:11:03 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:11:03 $ docker stop --time=1 bbf40282f6f1ea64216f8f1efc461e67da8b48e99e6ba7f3b9c1fcfd0694220d 03:11:05 $ docker rm -f --volumes bbf40282f6f1ea64216f8f1efc461e67da8b48e99e6ba7f3b9c1fcfd0694220d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:11:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:11:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:11:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:11:05 prd-ubuntu20.04-docker-8c-8g-7871 does not seem to be running inside a container 03:11:05 $ 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 03:11:06 $ docker top 1484aaf84a87548195e208e5a24fb55ce27a0d670486448942fbf1c7eb7f083f -eo pid,comm 03:11:06 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). 03:11:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:11:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:11:06 [ssh-agent] Looking for ssh-agent implementation... 03:11:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:11:06 $ docker exec 1484aaf84a87548195e208e5a24fb55ce27a0d670486448942fbf1c7eb7f083f ssh-agent 03:11:06 SSH_AUTH_SOCK=/tmp/ssh-FlSF3yWvwo0R/agent.33 03:11:06 SSH_AGENT_PID=39 03:11:06 Running ssh-add (command line suppressed) 03:11:06 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6022549620929506629.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6022549620929506629.key) 03:11:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:11:06 + git semver bump pre 03:11:07 2023-03-01 03:11:07,103 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:11:07 2023-03-01 03:11:07,104 [bump_version] DEBUG bumping version:3.0.0-dev.17 on axis:pre with prefix:dev 03:11:07 2023-03-01 03:11:07,104 [bump_version] DEBUG bumped version:3.0.0-dev.18 03:11:07 2023-03-01 03:11:07,104 [write_version] DEBUG write version:3.0.0-dev.18 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 03:11:07 2023-03-01 03:11:07,104 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:11:07 2023-03-01 03:11:07,104 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:11:07 2023-03-01 03:11:07,106 [execute] INFO git cat-file --batch-check 03:11:07 2023-03-01 03:11:07,106 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:11:07 2023-03-01 03:11:07,112 [execute] INFO git cat-file --batch 03:11:07 2023-03-01 03:11:07,112 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:11:07 2023-03-01 03:11:07,118 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:11:07 3.0.0-dev.18 [Pipeline] } 03:11:07 $ docker exec --env ******** --env ******** 1484aaf84a87548195e208e5a24fb55ce27a0d670486448942fbf1c7eb7f083f ssh-agent -k 03:11:07 unset SSH_AUTH_SOCK; 03:11:07 unset SSH_AGENT_PID; 03:11:07 echo Agent pid 39 killed; 03:11:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:11:07 + git semver [Pipeline] } 03:11:07 $ docker stop --time=1 1484aaf84a87548195e208e5a24fb55ce27a0d670486448942fbf1c7eb7f083f 03:11:09 $ docker rm -f --volumes 1484aaf84a87548195e208e5a24fb55ce27a0d670486448942fbf1c7eb7f083f [Pipeline] // withDockerContainer [Pipeline] sh 03:11:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:11:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:11:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:11:09 prd-ubuntu20.04-docker-8c-8g-7871 does not seem to be running inside a container 03:11:09 $ 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 03:11:10 $ docker top 41829ff4098c5859822a28364cfd2d67bf5aa2794ef71e00b68733c607538b2d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:11:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:11:10 [ssh-agent] Looking for ssh-agent implementation... 03:11:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:11:10 $ docker exec 41829ff4098c5859822a28364cfd2d67bf5aa2794ef71e00b68733c607538b2d ssh-agent 03:11:10 SSH_AUTH_SOCK=/tmp/ssh-BsVnujyQOFX3/agent.32 03:11:10 SSH_AGENT_PID=38 03:11:10 Running ssh-add (command line suppressed) 03:11:10 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5949870231963812833.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5949870231963812833.key) 03:11:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:11:10 + git semver push 03:11:11 2023-03-01 03:11:11,142 [run_push] DEBUG push 03:11:11 2023-03-01 03:11:11,143 [execute] INFO git cat-file --batch-check 03:11:11 2023-03-01 03:11:11,144 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:11:11 2023-03-01 03:11:11,147 [execute] INFO git rev-list f7f03c39f40e3498f72864d330c0998c1bcb7fe0 -- 03:11:11 2023-03-01 03:11:11,147 [execute] DEBUG Popen(['git', 'rev-list', 'f7f03c39f40e3498f72864d330c0998c1bcb7fe0', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:11:11 2023-03-01 03:11:11,156 [execute] INFO git fetch -v origin 03:11:11 2023-03-01 03:11:11,156 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 03:11:11 2023-03-01 03:11:11,738 [run_push] DEBUG no remote changes detected 03:11:11 2023-03-01 03:11:11,738 [execute] INFO git push origin semver 03:11:11 2023-03-01 03:11:11,738 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:11:12 2023-03-01 03:11:12,504 [run_push] DEBUG push all version tags 03:11:12 2023-03-01 03:11:12,505 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:11:12 2023-03-01 03:11:12,505 [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) 03:11:13 2023-03-01 03:11:13,268 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:11:13 3.0.0-dev.18 [Pipeline] } 03:11:13 $ docker exec --env ******** --env ******** 41829ff4098c5859822a28364cfd2d67bf5aa2794ef71e00b68733c607538b2d ssh-agent -k 03:11:13 unset SSH_AUTH_SOCK; 03:11:13 unset SSH_AGENT_PID; 03:11:13 echo Agent pid 38 killed; 03:11:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:11:13 + git semver [Pipeline] } 03:11:13 $ docker stop --time=1 41829ff4098c5859822a28364cfd2d67bf5aa2794ef71e00b68733c607538b2d 03:11:15 $ docker rm -f --volumes 41829ff4098c5859822a28364cfd2d67bf5aa2794ef71e00b68733c607538b2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:11:15 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 03:11:15 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 03:11:15 total 16 03:11:15 drwxr-xr-x 3 root root 4096 Mar 1 02:55 . 03:11:15 drwxrwxr-x 10 jenkins jenkins 4096 Mar 1 03:11 .. 03:11:15 drwxr-xr-x 2 root root 4096 Mar 1 02:55 cost 03:11:15 -rw-r--r-- 1 root root 88 Mar 1 02:55 cost.csv 03:11:15 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 03:11:15 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 03:11:15 total 16 03:11:15 drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 02:55 . 03:11:15 drwxrwxr-x 10 jenkins jenkins 4096 Mar 1 03:11 .. 03:11:15 drwxr-xr-x 2 jenkins jenkins 4096 Mar 1 02:55 cost 03:11:15 -rw-r--r-- 1 jenkins jenkins 88 Mar 1 02:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:11:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:11:17 ---> package-listing.sh 03:11:17 ++ facter osfamily 03:11:17 ++ tr '[:upper:]' '[:lower:]' 03:11:17 + OS_FAMILY=debian 03:11:17 + workspace=/w/workspace/exfoundry_device-virtual-go_main 03:11:17 + START_PACKAGES=/tmp/packages_start.txt 03:11:17 + END_PACKAGES=/tmp/packages_end.txt 03:11:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:11:17 + PACKAGES=/tmp/packages_start.txt 03:11:17 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 03:11:17 + PACKAGES=/tmp/packages_end.txt 03:11:17 + case "${OS_FAMILY}" in 03:11:17 + dpkg -l 03:11:17 + grep '^ii' 03:11:17 + '[' -f /tmp/packages_start.txt ']' 03:11:17 + '[' -f /tmp/packages_end.txt ']' 03:11:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:11:17 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 03:11:17 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 03:11:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 03:11:17 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 03:11:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:11:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:11:18 prd-ubuntu20.04-docker-8c-8g-7871 does not seem to be running inside a container 03:11:18 $ 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 03:11:18 $ docker top eda68e4bc0e72c63cb01ae93a6f1f8a454a93bd297de6e5746513dc7daa885be -eo pid,comm [Pipeline] { [Pipeline] sh 03:11:18 + touch /tmp/pre-build-complete [Pipeline] sh 03:11:19 + mkdir -p /var/log/sysstat [Pipeline] sh 03:11:19 + ls /var/log/sa-host 03:11:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:11:19 provisioning config files... 03:11:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3983766243107473331tmp [Pipeline] { [Pipeline] echo 03:11:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:11:19 ---> create-netrc.sh [Pipeline] } 03:11:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:11:20 ---> python-tools-install.sh [Pipeline] echo 03:11:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:11:20 ---> sudo-logs.sh 03:11:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:11:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:11:20 ---> job-cost.sh 03:11:20 lf-activate-venv: SKIPPING 03:11:20 DEBUG: total: 0.2199999988079071 03:11:20 INFO: Retrieving Stack Cost... 03:11:21 INFO: Retrieving Pricing Info for: v3-standard-8 03:11:21 INFO: Archiving Costs [Pipeline] echo 03:11:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:11:21 ---> logs-deploy.sh 03:11:21 lf-activate-venv: SKIPPING 03:11:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/88 03:11:21 INFO: archiving workspace using pattern(s): 03:11:22 Archives upload complete. 03:11:23 INFO: archiving logs to Nexus 03:11:23 ---> uname -a: 03:11:23 Linux prd-ubuntu20-04-docker-8c-8g-7871 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 03:11:23 03:11:23 03:11:23 ---> lscpu: 03:11:23 Architecture: x86_64 03:11:23 CPU op-mode(s): 32-bit, 64-bit 03:11:23 Byte Order: Little Endian 03:11:23 Address sizes: 40 bits physical, 48 bits virtual 03:11:23 CPU(s): 8 03:11:23 On-line CPU(s) list: 0-7 03:11:23 Thread(s) per core: 1 03:11:23 Core(s) per socket: 1 03:11:23 Socket(s): 8 03:11:23 NUMA node(s): 1 03:11:23 Vendor ID: AuthenticAMD 03:11:23 CPU family: 23 03:11:23 Model: 49 03:11:23 Model name: AMD EPYC-Rome Processor 03:11:23 Stepping: 0 03:11:23 CPU MHz: 2799.994 03:11:23 BogoMIPS: 5599.98 03:11:23 Virtualization: AMD-V 03:11:23 Hypervisor vendor: KVM 03:11:23 Virtualization type: full 03:11:23 L1d cache: 256 KiB 03:11:23 L1i cache: 256 KiB 03:11:23 L2 cache: 4 MiB 03:11:23 L3 cache: 128 MiB 03:11:23 NUMA node0 CPU(s): 0-7 03:11:23 Vulnerability Itlb multihit: Not affected 03:11:23 Vulnerability L1tf: Not affected 03:11:23 Vulnerability Mds: Not affected 03:11:23 Vulnerability Meltdown: Not affected 03:11:23 Vulnerability Mmio stale data: Not affected 03:11:23 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:11:23 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:11:23 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 03:11:23 Vulnerability Srbds: Not affected 03:11:23 Vulnerability Tsx async abort: Not affected 03:11:23 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 03:11:23 03:11:23 03:11:23 ---> nproc: 03:11:23 8 03:11:23 03:11:23