Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 281ea38f110fc5f37e585dd894f432f319c759dc 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-ssh17907268773523918601.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh5999410742867291012.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh13476833613101387828.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh12675753581468807198.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-ssh5125809320802132073.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-17248’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-17541’ is offline ‘prd-ubuntu20.04-docker-8c-8g-17542’ is offline ‘prd-ubuntu20.04-docker-8c-8g-17543’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17569 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 281ea38f110fc5f37e585dd894f432f319c759dc (main) Commit message: "fix: Address CVE in Alpine base image (#450)" > 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 281ea38f110fc5f37e585dd894f432f319c759dc # timeout=10 > git rev-list --no-walk a3e36257f0c9f774ec81edf885f9fc4e99897b55 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:52:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:52:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:52:15 ========================================================= 21:52:15 EdgeX Global Pipelines Version Info 21:52:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:52:16 ------------------- 21:52:16 stable info: 21:52:16 ------------------- 21:52:16 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 21:52:16 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 21:52:16 Message: update stable to v1.0.257 21:52:16 ------------------- 21:52:16 experimental info: 21:52:16 ------------------- 21:52:16 Commited By: **** collab-it+edgex@linuxfoundation.org 21:52:16 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 21:52:16 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:52:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 21:52:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 21:52:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:52:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:52:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 281ea38f110fc5f37e585dd894f432f319c759dc [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 281ea38 [Pipeline] echo 21:52:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:52:17 provisioning config files... 21:52:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15178468739286548037tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:52:17 ---> docker-login.sh 21:52:17 nexus3.edgexfoundry.org:10001 21:52:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:19 Configure a credential helper to remove this warning. See 21:52:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:19 21:52:19 Login Succeeded 21:52:19 nexus3.edgexfoundry.org:10002 21:52:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:19 Configure a credential helper to remove this warning. See 21:52:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:19 21:52:19 Login Succeeded 21:52:19 nexus3.edgexfoundry.org:10003 21:52:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:19 Configure a credential helper to remove this warning. See 21:52:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:19 21:52:19 Login Succeeded 21:52:19 nexus3.edgexfoundry.org:10004 21:52:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:19 Configure a credential helper to remove this warning. See 21:52:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:19 21:52:19 Login Succeeded 21:52:19 docker.io 21:52:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:20 Configure a credential helper to remove this warning. See 21:52:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:20 21:52:20 Login Succeeded 21:52:20 ---> docker-login.sh ends [Pipeline] } 21:52:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:52:20 + git rev-list -1 --merges 281ea38f110fc5f37e585dd894f432f319c759dc~1..281ea38f110fc5f37e585dd894f432f319c759dc [Pipeline] echo 21:52:20 -----------> git rev-list -1 --merges 281ea38f110fc5f37e585dd894f432f319c759dc~1..281ea38f110fc5f37e585dd894f432f319c759dc 281ea38f110fc5f37e585dd894f432f319c759dc [false] [Pipeline] sh 21:52:20 + git log --format=format:%s -1 281ea38f110fc5f37e585dd894f432f319c759dc [Pipeline] echo 21:52:20 ========================================================= 21:52:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:52:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:52:21 + git log --format=format:%s -1 281ea38f110fc5f37e585dd894f432f319c759dc [Pipeline] echo 21:52:21 [semverPrep] GIT_COMMIT: 281ea38f110fc5f37e585dd894f432f319c759dc, Commit Message: fix: Address CVE in Alpine base image (#450) [Pipeline] echo 21:52:21 [semverPrep] This is not a build commit. [Pipeline] sh 21:52:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:52:21 + grep -v github /etc/ssh/ssh_known_hosts 21:52:21 + [ -e /tmp/ssh_known_hosts ] 21:52:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:52:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:52:21 + sudo tee -a /etc/ssh/ssh_known_hosts 21:52:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:52:21 21:52:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:52:23 0.1.4: Pulling from edgex-devops/py-git-semver 21:52:23 b85a868b505f: Pulling fs layer 21:52:23 e2be974225ed: Pulling fs layer 21:52:23 339a4e72a1f5: Pulling fs layer 21:52:23 988bab9f4d93: Pulling fs layer 21:52:23 1469e6f7b9e6: Pulling fs layer 21:52:23 eaf3925da568: Pulling fs layer 21:52:23 bab4dde63d76: Pulling fs layer 21:52:23 bde34c3a00c8: Pulling fs layer 21:52:23 b352a97aabf1: Pulling fs layer 21:52:23 4872d77fe225: Pulling fs layer 21:52:23 5851b861e8e6: Pulling fs layer 21:52:23 1469e6f7b9e6: Waiting 21:52:23 eaf3925da568: Waiting 21:52:23 bab4dde63d76: Waiting 21:52:23 bde34c3a00c8: Waiting 21:52:23 b352a97aabf1: Waiting 21:52:23 4872d77fe225: Waiting 21:52:23 5851b861e8e6: Waiting 21:52:23 988bab9f4d93: Waiting 21:52:23 e2be974225ed: Verifying Checksum 21:52:23 e2be974225ed: Download complete 21:52:23 988bab9f4d93: Verifying Checksum 21:52:23 988bab9f4d93: Download complete 21:52:23 1469e6f7b9e6: Verifying Checksum 21:52:23 1469e6f7b9e6: Download complete 21:52:23 eaf3925da568: Verifying Checksum 21:52:23 eaf3925da568: Download complete 21:52:23 339a4e72a1f5: Verifying Checksum 21:52:23 339a4e72a1f5: Download complete 21:52:23 bde34c3a00c8: Download complete 21:52:23 b352a97aabf1: Verifying Checksum 21:52:23 b352a97aabf1: Download complete 21:52:23 4872d77fe225: Verifying Checksum 21:52:23 4872d77fe225: Download complete 21:52:23 5851b861e8e6: Verifying Checksum 21:52:23 5851b861e8e6: Download complete 21:52:23 b85a868b505f: Download complete 21:52:24 bab4dde63d76: Verifying Checksum 21:52:24 bab4dde63d76: Download complete 21:52:27 b85a868b505f: Pull complete 21:52:28 e2be974225ed: Pull complete 21:52:29 339a4e72a1f5: Pull complete 21:52:32 988bab9f4d93: Pull complete 21:52:34 1469e6f7b9e6: Pull complete 21:52:37 eaf3925da568: Pull complete 21:52:41 bab4dde63d76: Pull complete 21:52:41 bde34c3a00c8: Pull complete 21:52:42 b352a97aabf1: Pull complete 21:52:43 4872d77fe225: Pull complete 21:52:43 5851b861e8e6: Pull complete 21:52:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:52:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:52:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:52:44 prd-ubuntu20.04-docker-8c-8g-17569 does not seem to be running inside a container 21:52: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:53:06 $ docker top a33ed4fe92cafa6a51f72e6d5e42dfdeb7896b5e5048766f91a5e56b09583fb1 -eo pid,comm 21: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). 21:53:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:53:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:53:06 [ssh-agent] Looking for ssh-agent implementation... 21:53:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:53:06 $ docker exec a33ed4fe92cafa6a51f72e6d5e42dfdeb7896b5e5048766f91a5e56b09583fb1 ssh-agent 21:53:06 SSH_AUTH_SOCK=/tmp/ssh-qdR8Otklfhmj/agent.14 21:53:06 SSH_AGENT_PID=20 21:53:06 Running ssh-add (command line suppressed) 21:53:06 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1251917484056977958.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1251917484056977958.key) 21:53:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:53:07 + git tag --points-at HEAD [Pipeline] } 21:53:07 $ docker exec --env ******** --env ******** a33ed4fe92cafa6a51f72e6d5e42dfdeb7896b5e5048766f91a5e56b09583fb1 ssh-agent -k 21:53:07 unset SSH_AUTH_SOCK; 21:53:07 unset SSH_AGENT_PID; 21:53:07 echo Agent pid 20 killed; 21:53:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:53:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:53:07 [ssh-agent] Looking for ssh-agent implementation... 21:53:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:53:07 $ docker exec a33ed4fe92cafa6a51f72e6d5e42dfdeb7896b5e5048766f91a5e56b09583fb1 ssh-agent 21:53:07 SSH_AUTH_SOCK=/tmp/ssh-RMjQpWlWeJiv/agent.52 21:53:07 SSH_AGENT_PID=58 21:53:07 Running ssh-add (command line suppressed) 21:53:07 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12735296215910155579.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12735296215910155579.key) 21:53:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:53:08 + git semver init 21:53:08 2023-11-14 21:53:08,348 [run_init] DEBUG init version:0.0.0 force:False 21:53:08 2023-11-14 21:53:08,349 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 21:53:08 2023-11-14 21:53:08,350 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 21:53:08 2023-11-14 21:53:08,350 [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) 21:53:10 2023-11-14 21:53:10,400 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 21:53:10 2023-11-14 21:53:10,400 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 21:53:10 2023-11-14 21:53:10,400 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:53:10 2023-11-14 21:53:10,401 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:53:10 3.1.0-dev.30 [Pipeline] } 21:53:10 $ docker exec --env ******** --env ******** a33ed4fe92cafa6a51f72e6d5e42dfdeb7896b5e5048766f91a5e56b09583fb1 ssh-agent -k 21:53:11 unset SSH_AUTH_SOCK; 21:53:11 unset SSH_AGENT_PID; 21:53:11 echo Agent pid 58 killed; 21:53:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:53:11 + git semver [Pipeline] } 21:53:12 $ docker stop --time=1 a33ed4fe92cafa6a51f72e6d5e42dfdeb7896b5e5048766f91a5e56b09583fb1 21:53:14 $ docker rm -f --volumes a33ed4fe92cafa6a51f72e6d5e42dfdeb7896b5e5048766f91a5e56b09583fb1 [Pipeline] // withDockerContainer [Pipeline] sh 21:53:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:53:14 Stashed 1 file(s) [Pipeline] echo 21:53:14 [edgeXSemver]: initialized semver on version 3.1.0-dev.30 [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 21:53:15 provisioning config files... 21:53:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config18365082000488002048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:53:15 ---> docker-login.sh 21:53:15 nexus3.edgexfoundry.org:10001 21:53:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:15 Configure a credential helper to remove this warning. See 21:53:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:15 21:53:15 Login Succeeded 21:53:15 nexus3.edgexfoundry.org:10002 21:53:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:15 Configure a credential helper to remove this warning. See 21:53:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:15 21:53:15 Login Succeeded 21:53:15 nexus3.edgexfoundry.org:10003 21:53:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:15 Configure a credential helper to remove this warning. See 21:53:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:15 21:53:15 Login Succeeded 21:53:15 nexus3.edgexfoundry.org:10004 21:53:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:15 Configure a credential helper to remove this warning. See 21:53:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:15 21:53:15 Login Succeeded 21:53:15 docker.io 21:53:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:15 Configure a credential helper to remove this warning. See 21:53:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:15 21:53:15 Login Succeeded 21:53:15 ---> docker-login.sh ends [Pipeline] } 21:53:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:53:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:53:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:53:15 ========================================================= 21:53:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:53:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:16 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:53:16 Sending build context to Docker daemon 23.7MB 21:53:16 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:53:16 Step 2/12 : FROM ${BASE} AS builder 21:53:16 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:53:16 7264a8db6415: Pulling fs layer 21:53:16 c4d48a809fc2: Pulling fs layer 21:53:16 4f1c88b9dad5: Pulling fs layer 21:53:16 ad3a456e5733: Pulling fs layer 21:53:16 69c7f0334f64: Pulling fs layer 21:53:16 1f1c1a5573a3: Pulling fs layer 21:53:16 ce7588e14bc9: Pulling fs layer 21:53:16 b5e4710f87ac: Pulling fs layer 21:53:16 ad3a456e5733: Waiting 21:53:16 69c7f0334f64: Waiting 21:53:16 b5e4710f87ac: Waiting 21:53:16 ce7588e14bc9: Waiting 21:53:16 1f1c1a5573a3: Waiting 21:53:16 c4d48a809fc2: Download complete 21:53:16 ad3a456e5733: Verifying Checksum 21:53:16 ad3a456e5733: Download complete 21:53:16 69c7f0334f64: Verifying Checksum 21:53:16 69c7f0334f64: Download complete 21:53:16 7264a8db6415: Verifying Checksum 21:53:16 7264a8db6415: Download complete 21:53:17 1f1c1a5573a3: Verifying Checksum 21:53:17 1f1c1a5573a3: Download complete 21:53:17 7264a8db6415: Pull complete 21:53:17 b5e4710f87ac: Verifying Checksum 21:53:17 b5e4710f87ac: Download complete 21:53:17 c4d48a809fc2: Pull complete 21:53:17 4f1c88b9dad5: Verifying Checksum 21:53:17 4f1c88b9dad5: Download complete 21:53:18 ce7588e14bc9: Verifying Checksum 21:53:18 ce7588e14bc9: Download complete 21:53:22 4f1c88b9dad5: Pull complete 21:53:22 ad3a456e5733: Pull complete 21:53:22 69c7f0334f64: Pull complete 21:53:22 1f1c1a5573a3: Pull complete 21:53:25 ce7588e14bc9: Pull complete 21:53:26 b5e4710f87ac: Pull complete 21:53:26 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 21:53:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:53:26 ---> 88b5674ff536 21:53:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:53:30 Still waiting to schedule task 21:53:30 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:53:53 ---> Running in abd7639794b8 21:53:54 Removing intermediate container abd7639794b8 21:53:54 ---> 00da62b70a19 21:53:54 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:53:55 ---> Running in 528058d13fb3 21:53:56 Removing intermediate container 528058d13fb3 21:53:56 ---> 220b184a1376 21:53:56 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:53:57 ---> Running in f164b269315d 21:53:58 Removing intermediate container f164b269315d 21:53:58 ---> eb224eb266ac 21:53:58 Step 6/12 : WORKDIR /device-virtual-go 21:54:00 ---> Running in 4e0731b01c9d 21:54:02 Removing intermediate container 4e0731b01c9d 21:54:02 ---> 474421a59028 21:54:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:54:03 ---> Running in 1b1d4aaa0dde 21:54:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:54:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:54:04 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:54:04 (2/4) Installing libedit (20221030.3.1-r1) 21:54:04 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:54:05 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:54:05 Executing busybox-1.36.1-r5.trigger 21:54:05 OK: 268 MiB in 56 packages 21:54:08 Removing intermediate container 1b1d4aaa0dde 21:54:08 ---> a68605f5f05c 21:54:08 Step 8/12 : COPY go.mod vendor* ./ 21:54:10 ---> 0a5e27aca1a7 21:54:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:54:12 ---> Running in 011ea41086e2 21:56:34 Removing intermediate container 011ea41086e2 21:56:34 ---> 161771e52e41 21:56:34 Step 10/12 : COPY . . 21:56:34 ---> 05b545bb49e5 21:56:34 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:56:34 ---> Running in cfbeacbfacdb 21:56:36 Removing intermediate container cfbeacbfacdb 21:56:36 ---> e1d88ab927d2 21:56:36 Step 12/12 : RUN $MAKE 21:56:37 ---> Running in 3506155a0c95 21:56:37 noop 21:56:40 Removing intermediate container 3506155a0c95 21:56:40 ---> 8c0fbb32d17e 21:56:40 Successfully built 8c0fbb32d17e 21:56:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:40 + docker inspect -f . ci-base-image-x86_64 21:56:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:56:40 prd-ubuntu20.04-docker-8c-8g-17569 does not seem to be running inside a container 21:56:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:56:42 $ docker top 2226c315c880351d2dd99a3d2da735197ae51a0775dd5235cd7b63602d38b72d -eo pid,comm [Pipeline] { [Pipeline] sh 21:56:42 + go version 21:56:42 go version go1.21.0 linux/amd64 [Pipeline] } 21:56:42 $ docker stop --time=1 2226c315c880351d2dd99a3d2da735197ae51a0775dd5235cd7b63602d38b72d 21:56:46 $ docker rm -f --volumes 2226c315c880351d2dd99a3d2da735197ae51a0775dd5235cd7b63602d38b72d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:46 + docker inspect -f . ci-base-image-x86_64 21:56:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:56:46 prd-ubuntu20.04-docker-8c-8g-17569 does not seem to be running inside a container 21:56:46 $ 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 21:56:49 $ docker top cb037b7cab91e291b3054ad9c62b2011beda2e860b5cec223479fce8b3fb0b47 -eo pid,comm [Pipeline] { [Pipeline] sh 21:56:49 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 21:56:49 + make test 21:56:49 go test ./... -coverprofile=coverage.out 21:56:59 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:57:12 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:57:12 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.037s coverage: 58.6% of statements 21:57:20 go vet ./... 21:57:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:57:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:57:30 ./bin/test-attribution-txt.sh [Pipeline] echo 21:57:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:57:30 $ docker stop --time=1 cb037b7cab91e291b3054ad9c62b2011beda2e860b5cec223479fce8b3fb0b47 21:57:33 $ docker rm -f --volumes cb037b7cab91e291b3054ad9c62b2011beda2e860b5cec223479fce8b3fb0b47 [Pipeline] // withDockerContainer [Pipeline] sh 21:57:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:57:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:57:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:57:35 + ls -al . 21:57:35 total 200 21:57:35 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 21:56 . 21:57:35 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 21:52 .. 21:57:35 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 21:57 .git 21:57:35 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:52 .github 21:57:35 -rw-rw-r-- 1 jenkins jenkins 272 Nov 14 21:52 .gitignore 21:57:35 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 21:52 .golangci.yml 21:57:35 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 21:53 .semver 21:57:35 -rw-rw-r-- 1 jenkins jenkins 9708 Nov 14 21:52 Attribution.txt 21:57:35 -rw-rw-r-- 1 jenkins jenkins 15941 Nov 14 21:52 CHANGELOG.md 21:57:35 -rw-rw-r-- 1 jenkins jenkins 1755 Nov 14 21:52 Dockerfile 21:57:35 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 21:52 GOVERNANCE.md 21:57:35 -rw-rw-r-- 1 jenkins jenkins 660 Nov 14 21:52 Jenkinsfile 21:57:35 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 21:52 LICENSE 21:57:35 -rw-rw-r-- 1 jenkins jenkins 1947 Nov 14 21:52 Makefile 21:57:35 -rw-rw-r-- 1 jenkins jenkins 623 Nov 14 21:52 OWNERS.md 21:57:35 -rw-rw-r-- 1 jenkins jenkins 4103 Nov 14 21:52 README.md 21:57:35 -rw-rw-r-- 1 jenkins jenkins 12 Nov 14 21:53 VERSION 21:57:35 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 21:52 bin 21:57:35 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:52 cmd 21:57:35 -rw-r--r-- 1 jenkins jenkins 43063 Nov 14 21:57 coverage.out 21:57:35 -rw-rw-r-- 1 jenkins jenkins 3591 Nov 14 21:52 go.mod 21:57:35 -rw-rw-r-- 1 jenkins jenkins 34396 Nov 14 21:52 go.sum 21:57:35 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:52 internal 21:57:35 -rw-rw-r-- 1 jenkins jenkins 235 Nov 14 21:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:35 + 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=281ea38f110fc5f37e585dd894f432f319c759dc --label arch=amd64 --label version=3.1.0-dev.30 . 21:57:35 Sending build context to Docker daemon 23.74MB 21:57:35 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 21:57:35 Step 2/26 : FROM ${BASE} AS builder 21:57:35 ---> 8c0fbb32d17e 21:57:35 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:57:37 ---> Running in 988bdfe2d1a2 21:57:37 Removing intermediate container 988bdfe2d1a2 21:57:37 ---> 809212476006 21:57:37 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:57:37 ---> Running in 0ee6b42802f6 21:57:38 Removing intermediate container 0ee6b42802f6 21:57:38 ---> acb416b34453 21:57:38 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:57:38 ---> Running in 7683eb525b2c 21:57:39 Removing intermediate container 7683eb525b2c 21:57:39 ---> 79f419ffda05 21:57:39 Step 6/26 : WORKDIR /device-virtual-go 21:57:40 ---> Running in ba1101cdb904 21:57:40 Removing intermediate container ba1101cdb904 21:57:40 ---> dcf2e2aa58e9 21:57:40 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:57:41 ---> Running in 7bab3090c978 21:57:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:57:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:57:42 OK: 268 MiB in 56 packages 21:57:46 Removing intermediate container 7bab3090c978 21:57:46 ---> 4d5f08202027 21:57:46 Step 8/26 : COPY go.mod vendor* ./ 21:57:46 ---> bc72b3335b91 21:57:46 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:57:47 ---> Running in b5ae8ab90066 21:57:51 Removing intermediate container b5ae8ab90066 21:57:51 ---> 67a61c786253 21:57:51 Step 10/26 : COPY . . 21:57:53 ---> c59d861786a3 21:57:53 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:57:53 ---> Running in 6f23ea09c287 21:57:54 Removing intermediate container 6f23ea09c287 21:57:54 ---> 7bb63869fdfd 21:57:54 Step 12/26 : RUN $MAKE 21:57:54 ---> Running in 83846f850f1c 21:57:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.30 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 21:58:42 Removing intermediate container 83846f850f1c 21:58:42 ---> 850532b3d923 21:58:42 Step 13/26 : FROM alpine:3.18 21:58:42 3.18: Pulling from library/alpine 21:58:42 96526aa774ef: Pulling fs layer 21:58:42 96526aa774ef: Verifying Checksum 21:58:42 96526aa774ef: Download complete 21:58:42 96526aa774ef: Pull complete 21:58:42 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:58:42 Status: Downloaded newer image for alpine:3.18 21:58:42 ---> 8ca4688f4f35 21:58:42 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:58:42 ---> Running in df1df76f4f9c 21:58:42 Removing intermediate container df1df76f4f9c 21:58:42 ---> 635eff64d739 21:58:42 Step 15/26 : RUN apk add --update --no-cache dumb-init 21:58:42 ---> Running in 9654cec30639 21:58:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:58:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:58:43 (1/1) Installing dumb-init (1.2.5-r2) 21:58:43 Executing busybox-1.36.1-r2.trigger 21:58:43 OK: 7 MiB in 16 packages 21:58:44 Removing intermediate container 9654cec30639 21:58:44 ---> 47deb94f731b 21:58:44 Step 16/26 : RUN apk --no-cache upgrade 21:58:44 ---> Running in d4e449f27eb2 21:58:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:58:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:58:46 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 21:58:46 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 21:58:46 Executing busybox-1.36.1-r5.post-upgrade 21:58:46 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 21:58:46 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 21:58:46 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 21:58:46 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 21:58:46 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 21:58:46 Executing busybox-1.36.1-r5.trigger 21:58:46 OK: 7 MiB in 16 packages 21:58:47 Removing intermediate container d4e449f27eb2 21:58:47 ---> 868c0da3e90c 21:58:47 Step 17/26 : WORKDIR / 21:58:48 ---> Running in e587c32eb5f6 21:58:48 Removing intermediate container e587c32eb5f6 21:58:48 ---> 0378aa2a2dd6 21:58:48 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:58:50 ---> 934794481b18 21:58:50 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 21:58:51 ---> 504f101ec2d6 21:58:51 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 21:58:53 ---> b490ac29a18b 21:58:53 Step 21/26 : EXPOSE 59900 21:58:54 ---> Running in 3b52d67316ab 21:58:55 Removing intermediate container 3b52d67316ab 21:58:55 ---> 2cf15a52afc2 21:58:55 Step 22/26 : ENTRYPOINT ["/device-virtual"] 21:58:55 ---> Running in ebeb977bd763 21:58:57 Removing intermediate container ebeb977bd763 21:58:57 ---> 617f15e9c281 21:58:57 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:58:57 ---> Running in 9fdd9b1dd6be 21:58:58 Removing intermediate container 9fdd9b1dd6be 21:58:58 ---> bd728b9a9391 21:58:58 Step 24/26 : LABEL arch=amd64 21:58:58 ---> Running in a71e159de144 21:58:59 Removing intermediate container a71e159de144 21:58:59 ---> a29fbbde5b71 21:58:59 Step 25/26 : LABEL git_sha=281ea38f110fc5f37e585dd894f432f319c759dc 21:59:00 ---> Running in 71f162c6d3fb 21:59:01 Removing intermediate container 71f162c6d3fb 21:59:01 ---> 38955cfcdbce 21:59:01 Step 26/26 : LABEL version=3.1.0-dev.30 21:59:02 ---> Running in 221796e54172 21:59:03 Removing intermediate container 221796e54172 21:59:03 ---> a9fde75f2e47 21:59:03 [Warning] One or more build-args [ARCH] were not consumed 21:59:03 Successfully built a9fde75f2e47 21:59:03 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:59:03 provisioning config files... 21:59:03 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16498179399573659573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:59:03 ---> docker-login.sh 21:59:03 nexus3.edgexfoundry.org:10001 21:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:03 Configure a credential helper to remove this warning. See 21:59:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:03 21:59:03 Login Succeeded 21:59:03 nexus3.edgexfoundry.org:10002 21:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:03 Configure a credential helper to remove this warning. See 21:59:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:03 21:59:03 Login Succeeded 21:59:03 nexus3.edgexfoundry.org:10003 21:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:03 Configure a credential helper to remove this warning. See 21:59:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:03 21:59:03 Login Succeeded 21:59:03 nexus3.edgexfoundry.org:10004 21:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:03 Configure a credential helper to remove this warning. See 21:59:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:03 21:59:03 Login Succeeded 21:59:03 docker.io 21:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:03 Configure a credential helper to remove this warning. See 21:59:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:03 21:59:03 Login Succeeded 21:59:03 ---> docker-login.sh ends [Pipeline] } 21:59:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:59:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:59:03 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 21:59:03 281ea38f110fc5f37e585dd894f432f319c759dc 21:59:03 latest 21:59:03 3.1.0-dev.30 21:59:03 281ea38f110fc5f37e585dd894f432f319c759dc-3.1.0-dev.30 21:59:03 main 21:59:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:04 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:281ea38f110fc5f37e585dd894f432f319c759dc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:05 + docker push nexus3.edgexfoundry.org:10004/device-virtual:281ea38f110fc5f37e585dd894f432f319c759dc 21:59:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:59:05 cbf81fe1c341: Preparing 21:59:05 61a77a4d0f1d: Preparing 21:59:05 54934b40255f: Preparing 21:59:05 ebf9a50169d0: Preparing 21:59:05 091ab03975de: Preparing 21:59:05 cc2447e1835a: Preparing 21:59:05 cc2447e1835a: Waiting 21:59:05 61a77a4d0f1d: Pushed 21:59:05 091ab03975de: Pushed 21:59:05 54934b40255f: Pushed 21:59:05 ebf9a50169d0: Pushed 21:59:06 cc2447e1835a: Layer already exists 21:59:07 cbf81fe1c341: Pushed 21:59:07 281ea38f110fc5f37e585dd894f432f319c759dc: digest: sha256:8a5034201d82acedb4efabbd55a1d5383511ba8565d2a505f0bc57adf2efa7bd size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:08 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:08 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 21:59:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:59:08 cbf81fe1c341: Preparing 21:59:08 61a77a4d0f1d: Preparing 21:59:08 54934b40255f: Preparing 21:59:08 ebf9a50169d0: Preparing 21:59:08 091ab03975de: Preparing 21:59:08 cc2447e1835a: Preparing 21:59:08 cc2447e1835a: Waiting 21:59:08 61a77a4d0f1d: Layer already exists 21:59:08 091ab03975de: Layer already exists 21:59:08 54934b40255f: Layer already exists 21:59:08 cbf81fe1c341: Layer already exists 21:59:08 ebf9a50169d0: Layer already exists 21:59:08 cc2447e1835a: Layer already exists 21:59:08 latest: digest: sha256:8a5034201d82acedb4efabbd55a1d5383511ba8565d2a505f0bc57adf2efa7bd size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:08 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.30 21:59:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:59:09 cbf81fe1c341: Preparing 21:59:09 61a77a4d0f1d: Preparing 21:59:09 54934b40255f: Preparing 21:59:09 ebf9a50169d0: Preparing 21:59:09 091ab03975de: Preparing 21:59:09 cc2447e1835a: Preparing 21:59:09 cc2447e1835a: Waiting 21:59:09 cbf81fe1c341: Layer already exists 21:59:09 54934b40255f: Layer already exists 21:59:09 091ab03975de: Layer already exists 21:59:09 61a77a4d0f1d: Layer already exists 21:59:09 ebf9a50169d0: Layer already exists 21:59:09 cc2447e1835a: Layer already exists 21:59:09 3.1.0-dev.30: digest: sha256:8a5034201d82acedb4efabbd55a1d5383511ba8565d2a505f0bc57adf2efa7bd size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:09 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:281ea38f110fc5f37e585dd894f432f319c759dc-3.1.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual:281ea38f110fc5f37e585dd894f432f319c759dc-3.1.0-dev.30 21:59:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:59:10 cbf81fe1c341: Preparing 21:59:10 61a77a4d0f1d: Preparing 21:59:10 54934b40255f: Preparing 21:59:10 ebf9a50169d0: Preparing 21:59:10 091ab03975de: Preparing 21:59:10 cc2447e1835a: Preparing 21:59:10 cc2447e1835a: Waiting 21:59:10 61a77a4d0f1d: Layer already exists 21:59:10 ebf9a50169d0: Layer already exists 21:59:10 cbf81fe1c341: Layer already exists 21:59:10 54934b40255f: Layer already exists 21:59:10 091ab03975de: Layer already exists 21:59:10 cc2447e1835a: Layer already exists 21:59:10 281ea38f110fc5f37e585dd894f432f319c759dc-3.1.0-dev.30: digest: sha256:8a5034201d82acedb4efabbd55a1d5383511ba8565d2a505f0bc57adf2efa7bd size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:10 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 21:59:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:59:10 cbf81fe1c341: Preparing 21:59:10 61a77a4d0f1d: Preparing 21:59:10 54934b40255f: Preparing 21:59:10 ebf9a50169d0: Preparing 21:59:10 091ab03975de: Preparing 21:59:10 cc2447e1835a: Preparing 21:59:10 cc2447e1835a: Waiting 21:59:10 091ab03975de: Layer already exists 21:59:10 ebf9a50169d0: Layer already exists 21:59:10 cbf81fe1c341: Layer already exists 21:59:10 54934b40255f: Layer already exists 21:59:10 61a77a4d0f1d: Layer already exists 21:59:10 cc2447e1835a: Layer already exists 21:59:10 main: digest: sha256:8a5034201d82acedb4efabbd55a1d5383511ba8565d2a505f0bc57adf2efa7bd size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:59:10 ===================================================== [Pipeline] echo 21:59:10 taggedImages: 21:59:10 - nexus3.edgexfoundry.org:10004/device-virtual:281ea38f110fc5f37e585dd894f432f319c759dc 21:59:10 - nexus3.edgexfoundry.org:10004/device-virtual:latest 21:59:10 - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.30 21:59:10 - nexus3.edgexfoundry.org:10004/device-virtual:281ea38f110fc5f37e585dd894f432f319c759dc-3.1.0-dev.30 21:59:10 - 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 21:59:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:59:11 21:59:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:59:11 latest: Pulling from edgex-lftools-log-publisher 21:59:11 5eb5b503b376: Pulling fs layer 21:59:11 5c69ac0246d0: Pulling fs layer 21:59:11 ec43610c2a17: Pulling fs layer 21:59:11 3a2ae6a8a46f: Pulling fs layer 21:59:11 33b1e0a273af: Pulling fs layer 21:59:11 5d3b04190fa2: Pulling fs layer 21:59:11 2f39f015ded8: Pulling fs layer 21:59:11 3a2ae6a8a46f: Waiting 21:59:11 2f39f015ded8: Waiting 21:59:11 5d3b04190fa2: Waiting 21:59:11 33b1e0a273af: Waiting 21:59:11 5c69ac0246d0: Verifying Checksum 21:59:11 5c69ac0246d0: Download complete 21:59:11 3a2ae6a8a46f: Download complete 21:59:11 33b1e0a273af: Verifying Checksum 21:59:11 33b1e0a273af: Download complete 21:59:11 5d3b04190fa2: Verifying Checksum 21:59:11 5d3b04190fa2: Download complete 21:59:11 ec43610c2a17: Verifying Checksum 21:59:11 ec43610c2a17: Download complete 21:59:12 5eb5b503b376: Verifying Checksum 21:59:12 5eb5b503b376: Download complete 21:59:12 2f39f015ded8: Download complete 21:59:13 5eb5b503b376: Pull complete 21:59:14 5c69ac0246d0: Pull complete 21:59:15 ec43610c2a17: Pull complete 21:59:15 3a2ae6a8a46f: Pull complete 21:59:16 33b1e0a273af: Pull complete 21:59:16 5d3b04190fa2: Pull complete 21:59:20 2f39f015ded8: Pull complete 21:59:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:59:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:59:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:21 prd-ubuntu20.04-docker-8c-8g-17569 does not seem to be running inside a container 21:59:21 $ 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 21:59:43 $ docker top 9eaf9eb4079611fec30d4403ce1aa770c179c401bdd64d183d4c1a085a1ae7c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:59:43 ---> job-cost.sh 21:59:43 lf-activate-venv: SKIPPING 21:59:43 INFO: No Stack... 21:59:44 INFO: Retrieving Pricing Info for: v3-standard-8 21:59:44 INFO: Archiving Costs [Pipeline] sh 21:59:45 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 21:59:45 + cut -d, -f6 [Pipeline] lock 21:59:45 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-156-stack-cost] 21:59:45 Resource [jenkins-edgexfoundry-device-virtual-go-main-156-stack-cost] did not exist. Created. 21:59:45 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-156-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:59:45 + echo total: 0.2199999988079071 [Pipeline] stash 21:59:45 Stashed 1 file(s) [Pipeline] } 21:59:45 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-156-stack-cost] [Pipeline] // lock [Pipeline] } 21:59:45 $ docker stop --time=1 9eaf9eb4079611fec30d4403ce1aa770c179c401bdd64d183d4c1a085a1ae7c0 21:59:47 $ docker rm -f --volumes 9eaf9eb4079611fec30d4403ce1aa770c179c401bdd64d183d4c1a085a1ae7c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:08:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18002 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 22:08:19 Running in /w/workspace/device-virtual-go/156 [Pipeline] { [Pipeline] checkout 22:08:19 The recommended git tool is: git 22:08:27 using credential edgex-jenkins-ssh 22:08:27 Cloning the remote Git repository 22:08:27 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 22:08:27 > git init /w/workspace/device-virtual-go/156 # timeout=10 22:08:27 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:08:27 > git --version # timeout=10 22:08:27 > git --version # 'git version 2.25.1' 22:08:27 using GIT_SSH to set credentials SSH Credentials for GitHub 22:08:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:08:31 Avoid second fetch 22:08:31 Checking out Revision 281ea38f110fc5f37e585dd894f432f319c759dc (main) 22:08:30 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:08:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:08:31 > git config core.sparsecheckout # timeout=10 22:08:31 > git checkout -f 281ea38f110fc5f37e585dd894f432f319c759dc # timeout=10 22:08:31 Commit message: "fix: Address CVE in Alpine base image (#450)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:08:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:08:32 % Total % Received % Xferd Average Speed Time Time Time Current 22:08:32 Dload Upload Total Spent Left Speed 22:08:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 225k 0 --:--:-- --:--:-- --:--:-- 225k [Pipeline] sh 22:08:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:08:33 + sudo tee /etc/docker/daemon.new 22:08:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:08:33 { 22:08:33 "registry-mirrors": [ 22:08:33 "https://nexus3.edgexfoundry.org:10001" 22:08:33 ], 22:08:33 "bip": "10.250.0.254/24", 22:08:33 "hosts": [ 22:08:33 "tcp://0.0.0.0:5555", 22:08:33 "unix:///var/run/docker.sock" 22:08:33 ], 22:08:33 "mtu": 1458, 22:08:33 "selinux-enabled": true, 22:08:33 "seccomp-profile": "/etc/docker/seccomp.json" 22:08:33 } [Pipeline] sh 22:08:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:08:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:08:52 provisioning config files... 22:08:52 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/156@tmp/config11028242890682815215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:08:53 ---> docker-login.sh 22:08:53 nexus3.edgexfoundry.org:10001 22:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:53 Configure a credential helper to remove this warning. See 22:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:53 22:08:53 Login Succeeded 22:08:54 nexus3.edgexfoundry.org:10002 22:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:54 Configure a credential helper to remove this warning. See 22:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:54 22:08:54 Login Succeeded 22:08:54 nexus3.edgexfoundry.org:10003 22:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:55 Configure a credential helper to remove this warning. See 22:08:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:55 22:08:55 Login Succeeded 22:08:55 nexus3.edgexfoundry.org:10004 22:08:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:55 Configure a credential helper to remove this warning. See 22:08:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:55 22:08:55 Login Succeeded 22:08:55 docker.io 22:08:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:55 Configure a credential helper to remove this warning. See 22:08:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:55 22:08:55 Login Succeeded 22:08:55 ---> docker-login.sh ends [Pipeline] } 22:08:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:08:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:08:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:08:56 ========================================================= 22:08:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 22:08:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:08:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 22:08:57 Sending build context to Docker daemon 11.98MB 22:08:57 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:08:57 Step 2/12 : FROM ${BASE} AS builder 22:08:57 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:08:57 9fda8d8052c6: Pulling fs layer 22:08:57 5d54e960e981: Pulling fs layer 22:08:57 c4a7e357bf2a: Pulling fs layer 22:08:57 f0e02332f6b5: Pulling fs layer 22:08:57 872ee5b61b7b: Pulling fs layer 22:08:57 0c6a40ed1a82: Pulling fs layer 22:08:57 94ae7d8d031c: Pulling fs layer 22:08:57 f0e02332f6b5: Waiting 22:08:57 872ee5b61b7b: Waiting 22:08:57 0c6a40ed1a82: Waiting 22:08:57 94ae7d8d031c: Waiting 22:08:57 9fda8d8052c6: Download complete 22:08:57 f0e02332f6b5: Download complete 22:08:57 872ee5b61b7b: Verifying Checksum 22:08:57 872ee5b61b7b: Download complete 22:08:58 9fda8d8052c6: Pull complete 22:08:58 94ae7d8d031c: Verifying Checksum 22:08:58 94ae7d8d031c: Download complete 22:08:59 5d54e960e981: Pull complete 22:09:00 c4a7e357bf2a: Verifying Checksum 22:09:00 c4a7e357bf2a: Download complete 22:09:02 0c6a40ed1a82: Verifying Checksum 22:09:02 0c6a40ed1a82: Download complete 22:09:14 c4a7e357bf2a: Pull complete 22:09:14 f0e02332f6b5: Pull complete 22:09:14 872ee5b61b7b: Pull complete 22:09:27 0c6a40ed1a82: Pull complete 22:09:28 94ae7d8d031c: Pull complete 22:09:28 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 22:09:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 22:09:28 ---> 86de565de09d 22:09:28 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:09:29 ---> Running in 6748ddff7cb0 22:09:30 Removing intermediate container 6748ddff7cb0 22:09:30 ---> a448a5003f54 22:09:30 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:09:30 ---> Running in 389a6910b254 22:09:30 Removing intermediate container 389a6910b254 22:09:30 ---> 82dba7979213 22:09:30 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:09:30 ---> Running in 7cbfe2dbd533 22:09:31 Removing intermediate container 7cbfe2dbd533 22:09:31 ---> f9546cc2c4c7 22:09:31 Step 6/12 : WORKDIR /device-virtual-go 22:09:31 ---> Running in 1e1d00ba611c 22:09:31 Removing intermediate container 1e1d00ba611c 22:09:31 ---> 879a30133dd7 22:09:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:09:31 ---> Running in 851b1355d2b9 22:09:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:09:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:09:34 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:09:35 (2/4) Installing libedit (20221030.3.1-r1) 22:09:35 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:09:35 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:09:35 Executing busybox-1.36.1-r5.trigger 22:09:35 OK: 271 MiB in 56 packages 22:09:36 Removing intermediate container 851b1355d2b9 22:09:36 ---> 9894321b37d4 22:09:36 Step 8/12 : COPY go.mod vendor* ./ 22:09:36 ---> 52e387a09123 22:09:36 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:09:37 ---> Running in db19eee7e436 22:11:13 Removing intermediate container db19eee7e436 22:11:13 ---> 76980fdf9afb 22:11:13 Step 10/12 : COPY . . 22:11:13 ---> 89ecfefc8f26 22:11:13 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:13 ---> Running in 979cf20f2238 22:11:13 Removing intermediate container 979cf20f2238 22:11:13 ---> b49c44f03951 22:11:13 Step 12/12 : RUN $MAKE 22:11:13 ---> Running in 8ccfd56b74b6 22:11:13 noop 22:11:13 Removing intermediate container 8ccfd56b74b6 22:11:13 ---> a9418b0bc8cb 22:11:13 Successfully built a9418b0bc8cb 22:11:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:14 + docker inspect -f . ci-base-image-arm64 22:11:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:14 prd-ubuntu20.04-docker-arm64-4c-16g-18002 does not seem to be running inside a container 22:11:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/156 -v /w/workspace/device-virtual-go/156:/w/workspace/device-virtual-go/156:rw,z -v /w/workspace/device-virtual-go/156@tmp:/w/workspace/device-virtual-go/156@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 22:11:16 $ docker top f4aad2eb02891c63dbac105d979a70fba044effb42364fa1d65fb84c3d54b3cf -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:16 + go version 22:11:16 go version go1.21.0 linux/arm64 [Pipeline] } 22:11:16 $ docker stop --time=1 f4aad2eb02891c63dbac105d979a70fba044effb42364fa1d65fb84c3d54b3cf 22:11:18 $ docker rm -f --volumes f4aad2eb02891c63dbac105d979a70fba044effb42364fa1d65fb84c3d54b3cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:19 + docker inspect -f . ci-base-image-arm64 22:11:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:19 prd-ubuntu20.04-docker-arm64-4c-16g-18002 does not seem to be running inside a container 22:11:19 $ 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/156 -v /w/workspace/device-virtual-go/156:/w/workspace/device-virtual-go/156:rw,z -v /w/workspace/device-virtual-go/156@tmp:/w/workspace/device-virtual-go/156@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 22:11:21 $ docker top b8baf7cd7d60a213498b4570bc4a24c54157c50d582d2a37d17fa472c1cc546e -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:21 + git config --global --add safe.directory /w/workspace/device-virtual-go/156 [Pipeline] fileExists [Pipeline] sh 22:11:22 + make test 22:11:22 go test ./... -coverprofile=coverage.out 22:11:28 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:14:04 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:14:04 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.095s coverage: 58.4% of statements 22:14:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:14:04 go vet ./... 22:14:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:14:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:14:23 ./bin/test-attribution-txt.sh [Pipeline] echo 22:14:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 22:14:23 $ docker stop --time=1 b8baf7cd7d60a213498b4570bc4a24c54157c50d582d2a37d17fa472c1cc546e 22:14:25 $ docker rm -f --volumes b8baf7cd7d60a213498b4570bc4a24c54157c50d582d2a37d17fa472c1cc546e [Pipeline] // withDockerContainer [Pipeline] sh 22:14:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:14:26 Warning: overwriting stash ‘coverage-report’ 22:14:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:14:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:14:28 + ls -al . 22:14:28 total 196 22:14:28 drwxrwxr-x 7 jenkins jenkins 4096 Nov 14 22:11 . 22:14:28 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 22:08 .. 22:14:28 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 22:08 .git 22:14:28 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 22:08 .github 22:14:28 -rw-rw-r-- 1 jenkins jenkins 272 Nov 14 22:08 .gitignore 22:14:28 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 22:08 .golangci.yml 22:14:28 -rw-rw-r-- 1 jenkins jenkins 9708 Nov 14 22:08 Attribution.txt 22:14:28 -rw-rw-r-- 1 jenkins jenkins 15941 Nov 14 22:08 CHANGELOG.md 22:14:28 -rw-rw-r-- 1 jenkins jenkins 1755 Nov 14 22:08 Dockerfile 22:14:28 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 22:08 GOVERNANCE.md 22:14:28 -rw-rw-r-- 1 jenkins jenkins 660 Nov 14 22:08 Jenkinsfile 22:14:28 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 22:08 LICENSE 22:14:28 -rw-rw-r-- 1 jenkins jenkins 1947 Nov 14 22:08 Makefile 22:14:28 -rw-rw-r-- 1 jenkins jenkins 623 Nov 14 22:08 OWNERS.md 22:14:28 -rw-rw-r-- 1 jenkins jenkins 4103 Nov 14 22:08 README.md 22:14:28 -rw-rw-r-- 1 jenkins jenkins 12 Nov 14 21:53 VERSION 22:14:28 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 22:08 bin 22:14:28 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 22:08 cmd 22:14:28 -rw-r--r-- 1 jenkins jenkins 43063 Nov 14 22:13 coverage.out 22:14:28 -rw-rw-r-- 1 jenkins jenkins 3591 Nov 14 22:08 go.mod 22:14:28 -rw-rw-r-- 1 jenkins jenkins 34396 Nov 14 22:08 go.sum 22:14:28 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 22:08 internal 22:14:28 -rw-rw-r-- 1 jenkins jenkins 235 Nov 14 22:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:28 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=281ea38f110fc5f37e585dd894f432f319c759dc --label arch=arm64 --label version=3.1.0-dev.30 . 22:14:29 Sending build context to Docker daemon 12.02MB 22:14:29 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 22:14:29 Step 2/26 : FROM ${BASE} AS builder 22:14:29 ---> a9418b0bc8cb 22:14:29 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:14:29 ---> Running in 6dc501aa974f 22:14:29 Removing intermediate container 6dc501aa974f 22:14:29 ---> 08c37f9a9273 22:14:29 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:14:29 ---> Running in 908d9347c92c 22:14:30 Removing intermediate container 908d9347c92c 22:14:30 ---> 80cc70bd18ef 22:14:30 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:14:30 ---> Running in eb4b8be3462a 22:14:30 Removing intermediate container eb4b8be3462a 22:14:30 ---> 80ebdcd0d5ed 22:14:30 Step 6/26 : WORKDIR /device-virtual-go 22:14:30 ---> Running in faeb5393cae6 22:14:30 Removing intermediate container faeb5393cae6 22:14:30 ---> 9bae6d64e2a4 22:14:30 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:14:30 ---> Running in ae340fc55dc1 22:14:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:14:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:14:34 OK: 271 MiB in 56 packages 22:14:35 Removing intermediate container ae340fc55dc1 22:14:35 ---> 7a7590ff4af5 22:14:35 Step 8/26 : COPY go.mod vendor* ./ 22:14:35 ---> f13b4bb93ed2 22:14:35 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:35 ---> Running in 1ca95e507f5a 22:14:39 Removing intermediate container 1ca95e507f5a 22:14:39 ---> 7570d5e1397e 22:14:39 Step 10/26 : COPY . . 22:14:40 ---> 45c318eea9b2 22:14:40 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:14:40 ---> Running in 5fd41329c7ee 22:14:40 Removing intermediate container 5fd41329c7ee 22:14:40 ---> 2dc2baa196cd 22:14:40 Step 12/26 : RUN $MAKE 22:14:41 ---> Running in ddc624503101 22:14:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.30 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 22:17:03 Removing intermediate container ddc624503101 22:17:03 ---> cbac5e4469a7 22:17:03 Step 13/26 : FROM alpine:3.18 22:17:03 3.18: Pulling from library/alpine 22:17:03 579b34f0a95b: Pulling fs layer 22:17:03 579b34f0a95b: Verifying Checksum 22:17:03 579b34f0a95b: Download complete 22:17:03 579b34f0a95b: Pull complete 22:17:03 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:17:03 Status: Downloaded newer image for alpine:3.18 22:17:03 ---> 3cc203321400 22:17:03 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:17:03 ---> Running in 564a5ccfce2b 22:17:03 Removing intermediate container 564a5ccfce2b 22:17:03 ---> b78268cee290 22:17:03 Step 15/26 : RUN apk add --update --no-cache dumb-init 22:17:03 ---> Running in 432245a0c5ef 22:17:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:17:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:17:03 (1/1) Installing dumb-init (1.2.5-r2) 22:17:03 Executing busybox-1.36.1-r2.trigger 22:17:03 OK: 8 MiB in 16 packages 22:17:03 Removing intermediate container 432245a0c5ef 22:17:03 ---> e5337e2ab28c 22:17:03 Step 16/26 : RUN apk --no-cache upgrade 22:17:03 ---> Running in 3615c29296c8 22:17:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:17:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:17:06 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 22:17:06 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 22:17:06 Executing busybox-1.36.1-r5.post-upgrade 22:17:06 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 22:17:06 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 22:17:06 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 22:17:06 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 22:17:06 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 22:17:06 Executing busybox-1.36.1-r5.trigger 22:17:06 OK: 8 MiB in 16 packages 22:17:08 Removing intermediate container 3615c29296c8 22:17:08 ---> 6dc57135f48f 22:17:08 Step 17/26 : WORKDIR / 22:17:08 ---> Running in 76ca18ae8368 22:17:08 Removing intermediate container 76ca18ae8368 22:17:08 ---> 2e1bd54fa43f 22:17:08 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:17:09 ---> f5b3c8547e0f 22:17:09 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 22:17:10 ---> 039286b481ce 22:17:10 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 22:17:11 ---> 64beb6978832 22:17:11 Step 21/26 : EXPOSE 59900 22:17:11 ---> Running in e7f47293dd75 22:17:11 Removing intermediate container e7f47293dd75 22:17:11 ---> 887994c250b3 22:17:11 Step 22/26 : ENTRYPOINT ["/device-virtual"] 22:17:11 ---> Running in dfc62a8a44a9 22:17:12 Removing intermediate container dfc62a8a44a9 22:17:12 ---> d389fd2d0daa 22:17:12 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:17:12 ---> Running in 043753078ca6 22:17:12 Removing intermediate container 043753078ca6 22:17:12 ---> fae23f2d539f 22:17:12 Step 24/26 : LABEL arch=arm64 22:17:12 ---> Running in ec17a7d87fba 22:17:13 Removing intermediate container ec17a7d87fba 22:17:13 ---> 82c6a58e90de 22:17:13 Step 25/26 : LABEL git_sha=281ea38f110fc5f37e585dd894f432f319c759dc 22:17:13 ---> Running in b9d4fff7195f 22:17:13 Removing intermediate container b9d4fff7195f 22:17:13 ---> 4e8c440c04ee 22:17:13 Step 26/26 : LABEL version=3.1.0-dev.30 22:17:13 ---> Running in 505c64056bc5 22:17:13 Removing intermediate container 505c64056bc5 22:17:13 ---> 0fb1ad984470 22:17:13 [Warning] One or more build-args [ARCH] were not consumed 22:17:13 Successfully built 0fb1ad984470 22:17:14 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 22:17:14 provisioning config files... 22:17:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/156@tmp/config9011696670536038715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:17:14 ---> docker-login.sh 22:17:14 nexus3.edgexfoundry.org:10001 22:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:14 Configure a credential helper to remove this warning. See 22:17:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:14 22:17:14 Login Succeeded 22:17:14 nexus3.edgexfoundry.org:10002 22:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:15 Configure a credential helper to remove this warning. See 22:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:15 22:17:15 Login Succeeded 22:17:15 nexus3.edgexfoundry.org:10003 22:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:15 Configure a credential helper to remove this warning. See 22:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:15 22:17:15 Login Succeeded 22:17:15 nexus3.edgexfoundry.org:10004 22:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:16 Configure a credential helper to remove this warning. See 22:17:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:16 22:17:16 Login Succeeded 22:17:16 docker.io 22:17:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:16 Configure a credential helper to remove this warning. See 22:17:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:16 22:17:16 Login Succeeded 22:17:16 ---> docker-login.sh ends [Pipeline] } 22:17:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:17:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:17:16 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 22:17:16 281ea38f110fc5f37e585dd894f432f319c759dc 22:17:16 latest 22:17:16 3.1.0-dev.30 22:17:16 281ea38f110fc5f37e585dd894f432f319c759dc-3.1.0-dev.30 22:17:16 main 22:17:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:17 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:281ea38f110fc5f37e585dd894f432f319c759dc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:281ea38f110fc5f37e585dd894f432f319c759dc 22:17:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:17:17 97786a43d636: Preparing 22:17:17 4e157d0c0a57: Preparing 22:17:17 c6572dcf5690: Preparing 22:17:17 ea9d3e4d4f9d: Preparing 22:17:17 18a6bf9481b9: Preparing 22:17:17 5f4d9fc4d98d: Preparing 22:17:17 5f4d9fc4d98d: Waiting 22:17:18 18a6bf9481b9: Pushed 22:17:18 c6572dcf5690: Pushed 22:17:18 4e157d0c0a57: Pushed 22:17:18 5f4d9fc4d98d: Layer already exists 22:17:19 ea9d3e4d4f9d: Pushed 22:17:24 97786a43d636: Pushed 22:17:24 281ea38f110fc5f37e585dd894f432f319c759dc: digest: sha256:5a5c2833a4df3e4bb50e382a92b87d3d06396818b3621380fa5a84926c6bc7db size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:24 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:24 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 22:17:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:17:24 97786a43d636: Preparing 22:17:24 4e157d0c0a57: Preparing 22:17:24 c6572dcf5690: Preparing 22:17:24 ea9d3e4d4f9d: Preparing 22:17:24 18a6bf9481b9: Preparing 22:17:24 5f4d9fc4d98d: Preparing 22:17:24 5f4d9fc4d98d: Waiting 22:17:24 c6572dcf5690: Layer already exists 22:17:24 97786a43d636: Layer already exists 22:17:24 4e157d0c0a57: Layer already exists 22:17:24 ea9d3e4d4f9d: Layer already exists 22:17:24 18a6bf9481b9: Layer already exists 22:17:24 5f4d9fc4d98d: Layer already exists 22:17:25 latest: digest: sha256:5a5c2833a4df3e4bb50e382a92b87d3d06396818b3621380fa5a84926c6bc7db size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:25 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.30 22:17:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:17:25 97786a43d636: Preparing 22:17:25 4e157d0c0a57: Preparing 22:17:25 c6572dcf5690: Preparing 22:17:25 ea9d3e4d4f9d: Preparing 22:17:25 18a6bf9481b9: Preparing 22:17:25 5f4d9fc4d98d: Preparing 22:17:25 5f4d9fc4d98d: Waiting 22:17:25 18a6bf9481b9: Layer already exists 22:17:25 c6572dcf5690: Layer already exists 22:17:25 97786a43d636: Layer already exists 22:17:25 ea9d3e4d4f9d: Layer already exists 22:17:25 4e157d0c0a57: Layer already exists 22:17:25 5f4d9fc4d98d: Layer already exists 22:17:26 3.1.0-dev.30: digest: sha256:5a5c2833a4df3e4bb50e382a92b87d3d06396818b3621380fa5a84926c6bc7db size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:26 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:281ea38f110fc5f37e585dd894f432f319c759dc-3.1.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:281ea38f110fc5f37e585dd894f432f319c759dc-3.1.0-dev.30 22:17:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:17:26 97786a43d636: Preparing 22:17:26 4e157d0c0a57: Preparing 22:17:26 c6572dcf5690: Preparing 22:17:26 ea9d3e4d4f9d: Preparing 22:17:26 18a6bf9481b9: Preparing 22:17:26 5f4d9fc4d98d: Preparing 22:17:26 5f4d9fc4d98d: Waiting 22:17:26 c6572dcf5690: Layer already exists 22:17:26 4e157d0c0a57: Layer already exists 22:17:26 18a6bf9481b9: Layer already exists 22:17:26 97786a43d636: Layer already exists 22:17:26 ea9d3e4d4f9d: Layer already exists 22:17:26 5f4d9fc4d98d: Layer already exists 22:17:26 281ea38f110fc5f37e585dd894f432f319c759dc-3.1.0-dev.30: digest: sha256:5a5c2833a4df3e4bb50e382a92b87d3d06396818b3621380fa5a84926c6bc7db size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:27 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 22:17:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:17:27 97786a43d636: Preparing 22:17:27 4e157d0c0a57: Preparing 22:17:27 c6572dcf5690: Preparing 22:17:27 ea9d3e4d4f9d: Preparing 22:17:27 18a6bf9481b9: Preparing 22:17:27 5f4d9fc4d98d: Preparing 22:17:27 5f4d9fc4d98d: Waiting 22:17:27 4e157d0c0a57: Layer already exists 22:17:27 18a6bf9481b9: Layer already exists 22:17:27 97786a43d636: Layer already exists 22:17:27 c6572dcf5690: Layer already exists 22:17:27 ea9d3e4d4f9d: Layer already exists 22:17:27 5f4d9fc4d98d: Layer already exists 22:17:28 main: digest: sha256:5a5c2833a4df3e4bb50e382a92b87d3d06396818b3621380fa5a84926c6bc7db size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:17:28 ===================================================== [Pipeline] echo 22:17:28 taggedImages: 22:17:28 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:281ea38f110fc5f37e585dd894f432f319c759dc 22:17:28 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 22:17:28 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.30 22:17:28 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:281ea38f110fc5f37e585dd894f432f319c759dc-3.1.0-dev.30 22:17:28 - 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 22:17:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:17:28 22:17:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:17:28 arm64: Pulling from edgex-lftools-log-publisher 22:17:28 8998bd30e6a1: Pulling fs layer 22:17:28 04944245beec: Pulling fs layer 22:17:28 699f458cf7ca: Pulling fs layer 22:17:28 765212b225bb: Pulling fs layer 22:17:28 f23df028b6ca: Pulling fs layer 22:17:28 d65c8cfc05b1: Pulling fs layer 22:17:28 2437ff75d9bd: Pulling fs layer 22:17:28 f23df028b6ca: Waiting 22:17:28 d65c8cfc05b1: Waiting 22:17:28 2437ff75d9bd: Waiting 22:17:28 765212b225bb: Waiting 22:17:29 04944245beec: Verifying Checksum 22:17:29 04944245beec: Download complete 22:17:29 765212b225bb: Verifying Checksum 22:17:29 765212b225bb: Download complete 22:17:29 f23df028b6ca: Verifying Checksum 22:17:29 f23df028b6ca: Download complete 22:17:29 d65c8cfc05b1: Verifying Checksum 22:17:29 d65c8cfc05b1: Download complete 22:17:29 699f458cf7ca: Verifying Checksum 22:17:29 699f458cf7ca: Download complete 22:17:29 8998bd30e6a1: Verifying Checksum 22:17:29 8998bd30e6a1: Download complete 22:17:32 2437ff75d9bd: Verifying Checksum 22:17:32 2437ff75d9bd: Download complete 22:17:34 8998bd30e6a1: Pull complete 22:17:38 04944245beec: Pull complete 22:17:40 699f458cf7ca: Pull complete 22:17:40 765212b225bb: Pull complete 22:17:41 f23df028b6ca: Pull complete 22:17:41 d65c8cfc05b1: Pull complete 22:17:59 2437ff75d9bd: Pull complete 22:17:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:17:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:17:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:17:59 prd-ubuntu20.04-docker-arm64-4c-16g-18002 does not seem to be running inside a container 22:17:59 $ 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/156 -v /w/workspace/device-virtual-go/156:/w/workspace/device-virtual-go/156:rw,z -v /w/workspace/device-virtual-go/156@tmp:/w/workspace/device-virtual-go/156@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 22:18:02 $ docker top cf4d33820d0a45cec140def88f455d47f4c4be764c4d74c4adc77ada7fa0c2c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:18:03 ---> job-cost.sh 22:18:03 lf-activate-venv: SKIPPING 22:18:03 INFO: No Stack... 22:18:04 INFO: Retrieving Pricing Info for: v3-standard-4 22:18:05 INFO: Archiving Costs [Pipeline] sh 22:18:05 + cut -d, -f6 22:18:05 + cat /w/workspace/device-virtual-go/156/archives/cost.csv [Pipeline] lock 22:18:05 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-156-stack-cost] 22:18:05 Resource [jenkins-edgexfoundry-device-virtual-go-main-156-stack-cost] did not exist. Created. 22:18:05 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-156-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:18:06 /w/workspace/device-virtual-go/156@tmp/durable-77a26e3c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:18:07 + echo total: 0.10999999940395355 [Pipeline] stash 22:18:07 Warning: overwriting stash ‘stack-cost’ 22:18:07 Stashed 1 file(s) [Pipeline] } 22:18:07 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-156-stack-cost] [Pipeline] // lock [Pipeline] } 22:18:07 $ docker stop --time=1 cf4d33820d0a45cec140def88f455d47f4c4be764c4d74c4adc77ada7fa0c2c2 22:18:08 $ docker rm -f --volumes cf4d33820d0a45cec140def88f455d47f4c4be764c4d74c4adc77ada7fa0c2c2 [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 22:18:09 provisioning config files... 22:18:09 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6322101727196691443tmp [Pipeline] { [Pipeline] sh 22:18:09 + set +x 22:18:09 + curl -s https://codecov.io/bash 22:18:09 + bash -s -- 22:18:09 22:18:09 _____ _ 22:18:09 / ____| | | 22:18:09 | | ___ __| | ___ ___ _____ __ 22:18:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:18:09 | |___| (_) | (_| | __/ (_| (_) \ V / 22:18:09 \_____\___/ \__,_|\___|\___\___/ \_/ 22:18:09 Bash-1.0.6 22:18:09 22:18:09 22:18:09 ==> git version 2.25.1 found 22:18:09 ==> 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 22:18:09 Release-Date: 2020-01-08 22:18:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:18:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:18:09 ==> Jenkins CI detected. 22:18:09 current dir:  /w/workspace/exfoundry_device-virtual-go_main 22:18:09 project root: . 22:18:09 --> token set from env 22:18:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:18:09 ==> Running gcov in . (disable via -X gcov) 22:18:09 ==> Python coveragepy not found 22:18:09 ==> Searching for coverage reports in: 22:18:09 + . 22:18:09 -> Found 1 reports 22:18:09 ==> Detecting git/mercurial file structure 22:18:09 ==> Reading reports 22:18:09 + ./coverage.out bytes=43063 22:18:09 ==> Appending adjustments 22:18:09 https://docs.codecov.io/docs/fixing-reports 22:18:09 + Found adjustments 22:18:09 ==> Gzipping contents 22:18:09 8.0K /tmp/codecov.T0KUnw.gz 22:18:09 ==> Uploading reports 22:18:09 url: https://codecov.io 22:18:09 query: branch=main&commit=281ea38f110fc5f37e585dd894f432f319c759dc&build=156&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F156%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:18:09 -> Pinging Codecov 22:18:09 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=281ea38f110fc5f37e585dd894f432f319c759dc&build=156&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F156%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:18:10 -> Uploading to 22:18:10 https://storage.googleapis.com/codecov/v4/raw/2023-11-14/5E52B4B073DB2E39498172D8E973AA87/281ea38f110fc5f37e585dd894f432f319c759dc/6597eed8-f10f-4cc5-a71c-c94ffc5ccd63.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T221809Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ad17224f1e8a2ce78fd2df70623f152719d9b7779deda803baf34547ad69fc7c 22:18:10 % Total % Received % Xferd Average Speed Time Time Time Current 22:18:10 Dload Upload Total Spent Left Speed 22:18:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 19003 --:--:-- --:--:-- --:--:-- 19003 22:18:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/281ea38f110fc5f37e585dd894f432f319c759dc [Pipeline] } 22:18:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:18:10 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:18:10 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:18:11 22:18:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:18:11 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:18:11 df9b9388f04a: Pulling fs layer 22:18:11 52dc419b0ee2: Pulling fs layer 22:18:11 25bc292e5bac: Pulling fs layer 22:18:11 114826534d7a: Pulling fs layer 22:18:11 4657fd5d0bcf: Pulling fs layer 22:18:11 6ad1cebc031e: Pulling fs layer 22:18:11 8a3aa393b2d8: Pulling fs layer 22:18:11 6ad1cebc031e: Waiting 22:18:11 114826534d7a: Waiting 22:18:11 4657fd5d0bcf: Waiting 22:18:11 8a3aa393b2d8: Waiting 22:18:11 25bc292e5bac: Download complete 22:18:11 52dc419b0ee2: Verifying Checksum 22:18:11 52dc419b0ee2: Download complete 22:18:12 4657fd5d0bcf: Verifying Checksum 22:18:12 4657fd5d0bcf: Download complete 22:18:12 df9b9388f04a: Download complete 22:18:12 6ad1cebc031e: Verifying Checksum 22:18:12 6ad1cebc031e: Download complete 22:18:12 df9b9388f04a: Pull complete 22:18:12 52dc419b0ee2: Pull complete 22:18:13 25bc292e5bac: Pull complete 22:18:13 114826534d7a: Verifying Checksum 22:18:13 114826534d7a: Download complete 22:18:13 8a3aa393b2d8: Verifying Checksum 22:18:13 8a3aa393b2d8: Download complete 22:18:17 114826534d7a: Pull complete 22:18:17 4657fd5d0bcf: Pull complete 22:18:18 6ad1cebc031e: Pull complete 22:18:33 8a3aa393b2d8: Pull complete 22:18:33 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:18:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:18:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:33 prd-ubuntu20.04-docker-8c-8g-17569 does not seem to be running inside a container 22:18: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 22:18:59 $ docker top 3522627ec7000adcc60cd7b4e942c0d56ba20d25925b8b0dd8c29fa3d64c854a -eo pid,comm [Pipeline] { [Pipeline] echo 22:18:59 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 22:19:00 + set -o pipefail 22:19:00 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 22:19:05 22:19:05 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 22:19:05 22:19:05 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/2d176d3f-e19b-43d3-b66e-bc7a4caa606f 22:19:05 22:19:05 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:19:05 22:19:05 22:19:05 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:19:05 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:19:05 More details here: https://snyk.co/ue1NS 22:19:05 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 22:19:05 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 22:19:05 $ docker stop --time=1 3522627ec7000adcc60cd7b4e942c0d56ba20d25925b8b0dd8c29fa3d64c854a 22:19:29 $ docker rm -f --volumes 3522627ec7000adcc60cd7b4e942c0d56ba20d25925b8b0dd8c29fa3d64c854a [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 22:19:30 + git log --format=format:%s -1 281ea38f110fc5f37e585dd894f432f319c759dc [Pipeline] sh 22:19:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:19:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:19:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:30 prd-ubuntu20.04-docker-8c-8g-17569 does not seem to be running inside a container 22:19:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:19:33 $ docker top 7730047f2feb11faae1183e463bee5e047d54755a9660b599cf1ab7026947c8d -eo pid,comm 22:19:33 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). 22:19:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:19:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:19:33 [ssh-agent] Looking for ssh-agent implementation... 22:19:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:19:33 $ docker exec 7730047f2feb11faae1183e463bee5e047d54755a9660b599cf1ab7026947c8d ssh-agent 22:19:33 SSH_AUTH_SOCK=/tmp/ssh-Qfd1TcViKJJP/agent.14 22:19:33 SSH_AGENT_PID=20 22:19:33 Running ssh-add (command line suppressed) 22:19:33 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14792414362467974125.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14792414362467974125.key) 22:19:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:19:34 + git semver tag 22:19:34 2023-11-14 22:19:34,547 [run_tag] DEBUG tag force:False 22:19:34 2023-11-14 22:19:34,547 [check_head_tag] DEBUG check head tag 22:19:34 2023-11-14 22:19:34,549 [execute] INFO git cat-file --batch-check 22:19:34 2023-11-14 22:19:34,549 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 22:19:34 2023-11-14 22:19:34,554 [execute] INFO git cat-file --batch 22:19:34 2023-11-14 22:19:34,554 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 22:19:34 2023-11-14 22:19:34,572 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:19:34 2023-11-14 22:19:34,573 [execute] INFO git tag -a v3.1.0-dev.30 -m v3.1.0-dev.30 22:19:34 2023-11-14 22:19:34,573 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.30', '-m', 'v3.1.0-dev.30'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 22:19:34 2023-11-14 22:19:34,577 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:19:34 3.1.0-dev.30 [Pipeline] } 22:19:34 $ docker exec --env ******** --env ******** 7730047f2feb11faae1183e463bee5e047d54755a9660b599cf1ab7026947c8d ssh-agent -k 22:19:34 unset SSH_AUTH_SOCK; 22:19:34 unset SSH_AGENT_PID; 22:19:34 echo Agent pid 20 killed; 22:19:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:19:35 + git semver [Pipeline] } 22:19:35 $ docker stop --time=1 7730047f2feb11faae1183e463bee5e047d54755a9660b599cf1ab7026947c8d 22:19:38 $ docker rm -f --volumes 7730047f2feb11faae1183e463bee5e047d54755a9660b599cf1ab7026947c8d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:19:38 22:19:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:19:39 0.23.1-centos7: Pulling from edgex-lftools 22:19:39 ab5ef0e58194: Pulling fs layer 22:19:39 9712f1f96733: Pulling fs layer 22:19:39 63f879dbbcfc: Pulling fs layer 22:19:39 0d9ebad4ef96: Pulling fs layer 22:19:39 e9a5061849ea: Pulling fs layer 22:19:39 d747dcd14b5f: Pulling fs layer 22:19:39 2de7ff778b66: Pulling fs layer 22:19:39 d747dcd14b5f: Waiting 22:19:39 0d9ebad4ef96: Waiting 22:19:39 e9a5061849ea: Waiting 22:19:39 2de7ff778b66: Waiting 22:19:39 9712f1f96733: Download complete 22:19:40 63f879dbbcfc: Verifying Checksum 22:19:40 63f879dbbcfc: Download complete 22:19:40 e9a5061849ea: Verifying Checksum 22:19:40 e9a5061849ea: Download complete 22:19:40 d747dcd14b5f: Verifying Checksum 22:19:40 d747dcd14b5f: Download complete 22:19:40 0d9ebad4ef96: Verifying Checksum 22:19:40 0d9ebad4ef96: Download complete 22:19:40 2de7ff778b66: Verifying Checksum 22:19:40 2de7ff778b66: Download complete 22:19:40 ab5ef0e58194: Verifying Checksum 22:19:40 ab5ef0e58194: Download complete 22:19:44 ab5ef0e58194: Pull complete 22:19:44 9712f1f96733: Pull complete 22:19:46 63f879dbbcfc: Pull complete 22:19:51 0d9ebad4ef96: Pull complete 22:19:51 e9a5061849ea: Pull complete 22:19:51 d747dcd14b5f: Pull complete 22:19:53 2de7ff778b66: Pull complete 22:19:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:19:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:19:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:53 prd-ubuntu20.04-docker-8c-8g-17569 does not seem to be running inside a container 22:19:53 $ 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 22:20:45 $ docker top e8e8d6f76d760a4b55bffd795068722d4d6cdba2651fc46b898617bce962ed6b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:20:45 provisioning config files... 22:20:45 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15835149252104790196tmp 22:20:45 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8449797473803765817tmp 22:20:45 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10365708450577719594tmp [Pipeline] { [Pipeline] echo 22:20:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:20:45 ---> sigul-configuration.sh 22:20:45 gpg: directory `/root/.gnupg' created 22:20:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:20:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:20:45 gpg: keyring `/root/.gnupg/secring.gpg' created 22:20:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:20:45 gpg: CAST5 encrypted data 22:20:45 gpg: encrypted with 1 passphrase 22:20:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:20:46 + mkdir /home/jenkins 22:20:46 + mkdir /home/jenkins/sigul [Pipeline] sh 22:20:46 + 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 22:20:46 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:20:46 ---> sigul-install.sh 22:20:46 Sigul already installed; skipping installation. [Pipeline] sh 22:20:47 + git tag --list 22:20:47 v1.0.0 22:20:47 v1.1.0 22:20:47 v1.1.1 22:20:47 v1.2.1 22:20:47 v1.2.2 22:20:47 v1.2.3 22:20:47 v1.3.0 22:20:47 v1.3.1 22:20:47 v2.0.0 22:20:47 v2.1.0 22:20:47 v2.1.1 22:20:47 v2.2.0 22:20:47 v2.3.0 22:20:47 v3.0 22:20:47 v3.0.0 22:20:47 v3.1.0-dev.1 22:20:47 v3.1.0-dev.10 22:20:47 v3.1.0-dev.11 22:20:47 v3.1.0-dev.12 22:20:47 v3.1.0-dev.13 22:20:47 v3.1.0-dev.14 22:20:47 v3.1.0-dev.15 22:20:47 v3.1.0-dev.16 22:20:47 v3.1.0-dev.17 22:20:47 v3.1.0-dev.18 22:20:47 v3.1.0-dev.19 22:20:47 v3.1.0-dev.2 22:20:47 v3.1.0-dev.20 22:20:47 v3.1.0-dev.21 22:20:47 v3.1.0-dev.22 22:20:47 v3.1.0-dev.23 22:20:47 v3.1.0-dev.24 22:20:47 v3.1.0-dev.25 22:20:47 v3.1.0-dev.26 22:20:47 v3.1.0-dev.27 22:20:47 v3.1.0-dev.28 22:20:47 v3.1.0-dev.29 22:20:47 v3.1.0-dev.3 22:20:47 v3.1.0-dev.30 22:20:47 v3.1.0-dev.4 22:20:47 v3.1.0-dev.5 22:20:47 v3.1.0-dev.6 22:20:47 v3.1.0-dev.7 22:20:47 v3.1.0-dev.8 22:20:47 v3.1.0-dev.9 [Pipeline] sh 22:20:47 + lftools sign git-tag v3.1.0-dev.30 22:20:47 Signing Git tag with Sigul... 22:20:47 Signing v3.1.0-dev.30 [Pipeline] echo 22:20:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:20:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:20:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:20:48 $ docker stop --time=1 e8e8d6f76d760a4b55bffd795068722d4d6cdba2651fc46b898617bce962ed6b 22:20:51 $ docker rm -f --volumes e8e8d6f76d760a4b55bffd795068722d4d6cdba2651fc46b898617bce962ed6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:20:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:20:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:20:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:52 prd-ubuntu20.04-docker-8c-8g-17569 does not seem to be running inside a container 22:20:53 $ 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 22:20:55 $ docker top 7a40d8d0b7e62e5a52a4a7180c9c70c998f92774dbb9347d8c0745ba011af81b -eo pid,comm 22:20:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:20:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:20:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:20:55 [ssh-agent] Looking for ssh-agent implementation... 22:20:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:20:55 $ docker exec 7a40d8d0b7e62e5a52a4a7180c9c70c998f92774dbb9347d8c0745ba011af81b ssh-agent 22:20:56 SSH_AUTH_SOCK=/tmp/ssh-DorczWkD7hGt/agent.14 22:20:56 SSH_AGENT_PID=20 22:20:56 Running ssh-add (command line suppressed) 22:20:56 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9326080615931243354.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9326080615931243354.key) 22:20:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:20:56 + git semver bump pre 22:20:57 2023-11-14 22:20:56,789 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:20:57 2023-11-14 22:20:56,790 [bump_version] DEBUG bumping version:3.1.0-dev.30 on axis:pre with prefix:dev 22:20:57 2023-11-14 22:20:56,790 [bump_version] DEBUG bumped version:3.1.0-dev.31 22:20:57 2023-11-14 22:20:56,790 [write_version] DEBUG write version:3.1.0-dev.31 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 22:20:57 2023-11-14 22:20:56,790 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:20:57 2023-11-14 22:20:56,790 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:20:57 2023-11-14 22:20:56,794 [execute] INFO git cat-file --batch-check 22:20:57 2023-11-14 22:20:56,794 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:20:57 2023-11-14 22:20:56,802 [execute] INFO git cat-file --batch 22:20:57 2023-11-14 22:20:56,803 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:20:57 2023-11-14 22:20:56,966 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:20:57 3.1.0-dev.31 [Pipeline] } 22:20:57 $ docker exec --env ******** --env ******** 7a40d8d0b7e62e5a52a4a7180c9c70c998f92774dbb9347d8c0745ba011af81b ssh-agent -k 22:20:57 unset SSH_AUTH_SOCK; 22:20:57 unset SSH_AGENT_PID; 22:20:57 echo Agent pid 20 killed; 22:20:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:20:57 + git semver [Pipeline] } 22:20:58 $ docker stop --time=1 7a40d8d0b7e62e5a52a4a7180c9c70c998f92774dbb9347d8c0745ba011af81b 22:21:01 $ docker rm -f --volumes 7a40d8d0b7e62e5a52a4a7180c9c70c998f92774dbb9347d8c0745ba011af81b [Pipeline] // withDockerContainer [Pipeline] sh 22:21:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:21:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:21:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:02 prd-ubuntu20.04-docker-8c-8g-17569 does not seem to be running inside a container 22:21:02 $ 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 22:21:04 $ docker top 34c2452746649a808b200544e0914d0403dd64eb2e9423f9576d3ca9721ad8ed -eo pid,comm 22:21:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:21:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:21:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:21:04 [ssh-agent] Looking for ssh-agent implementation... 22:21:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:21:04 $ docker exec 34c2452746649a808b200544e0914d0403dd64eb2e9423f9576d3ca9721ad8ed ssh-agent 22:21:04 SSH_AUTH_SOCK=/tmp/ssh-ultkr9czgRtP/agent.14 22:21:04 SSH_AGENT_PID=20 22:21:04 Running ssh-add (command line suppressed) 22:21:04 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13940116444943692688.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13940116444943692688.key) 22:21:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:21:05 + git semver push 22:21:05 2023-11-14 22:21:05,483 [run_push] DEBUG push 22:21:05 2023-11-14 22:21:05,484 [execute] INFO git cat-file --batch-check 22:21:05 2023-11-14 22:21:05,484 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:21:05 2023-11-14 22:21:05,489 [execute] INFO git rev-list 378892247dc850c1412a902d94f7eb557893118d -- 22:21:05 2023-11-14 22:21:05,490 [execute] DEBUG Popen(['git', 'rev-list', '378892247dc850c1412a902d94f7eb557893118d', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:21:05 2023-11-14 22:21:05,497 [execute] INFO git fetch -v origin 22:21:05 2023-11-14 22:21:05,498 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:21:06 2023-11-14 22:21:06,026 [run_push] DEBUG no remote changes detected 22:21:06 2023-11-14 22:21:06,026 [execute] INFO git push origin semver 22:21:06 2023-11-14 22:21:06,027 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:21:06 2023-11-14 22:21:06,810 [run_push] DEBUG push all version tags 22:21:06 2023-11-14 22:21:06,810 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:21:06 2023-11-14 22:21:06,811 [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) 22:21:07 2023-11-14 22:21:07,652 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:21:07 3.1.0-dev.31 [Pipeline] } 22:21:07 $ docker exec --env ******** --env ******** 34c2452746649a808b200544e0914d0403dd64eb2e9423f9576d3ca9721ad8ed ssh-agent -k 22:21:07 unset SSH_AUTH_SOCK; 22:21:07 unset SSH_AGENT_PID; 22:21:07 echo Agent pid 20 killed; 22:21:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:21:08 + git semver [Pipeline] } 22:21:08 $ docker stop --time=1 34c2452746649a808b200544e0914d0403dd64eb2e9423f9576d3ca9721ad8ed 22:21:11 $ docker rm -f --volumes 34c2452746649a808b200544e0914d0403dd64eb2e9423f9576d3ca9721ad8ed [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 22:21:11 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 22:21:11 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 22:21:11 total 16 22:21:11 drwxr-xr-x 3 root root 4096 Nov 14 21:59 . 22:21:11 drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 22:20 .. 22:21:11 drwxr-xr-x 2 root root 4096 Nov 14 21:59 cost 22:21:11 -rw-r--r-- 1 root root 89 Nov 14 21:59 cost.csv 22:21:11 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 22:21:11 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 22:21:11 total 16 22:21:11 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 21:59 . 22:21:11 drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 22:20 .. 22:21:11 drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 21:59 cost 22:21:11 -rw-r--r-- 1 jenkins jenkins 89 Nov 14 21:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:21:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:21:12 ---> package-listing.sh 22:21:12 ++ facter osfamily 22:21:12 ++ tr '[:upper:]' '[:lower:]' 22:21:13 + OS_FAMILY=debian 22:21:13 + workspace=/w/workspace/exfoundry_device-virtual-go_main 22:21:13 + START_PACKAGES=/tmp/packages_start.txt 22:21:13 + END_PACKAGES=/tmp/packages_end.txt 22:21:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:21:13 + PACKAGES=/tmp/packages_start.txt 22:21:13 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 22:21:13 + PACKAGES=/tmp/packages_end.txt 22:21:13 + case "${OS_FAMILY}" in 22:21:13 + grep '^ii' 22:21:13 + dpkg -l 22:21:13 + '[' -f /tmp/packages_start.txt ']' 22:21:13 + '[' -f /tmp/packages_end.txt ']' 22:21:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:21:13 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 22:21:13 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 22:21:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 22:21:13 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 22:21:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:14 prd-ubuntu20.04-docker-8c-8g-17569 does not seem to be running inside a container 22:21:14 $ 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 22:21:16 $ docker top 40c27a2e7a92ad510efc826929ca2bbeacd57eee528f64fa28a55f07d9796c9f -eo pid,comm [Pipeline] { [Pipeline] sh 22:21:16 + touch /tmp/pre-build-complete [Pipeline] sh 22:21:16 + mkdir -p /var/log/sysstat [Pipeline] sh 22:21:16 + ls /var/log/sa-host 22:21:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:21:17 provisioning config files... 22:21:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8665629541970973230tmp [Pipeline] { [Pipeline] echo 22:21:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:21:17 ---> create-netrc.sh [Pipeline] } 22:21:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:21:17 ---> python-tools-install.sh [Pipeline] echo 22:21:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:21:17 ---> sudo-logs.sh 22:21:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:21:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:21:18 ---> job-cost.sh 22:21:18 lf-activate-venv: SKIPPING 22:21:18 DEBUG: total: 0.2199999988079071 22:21:18 INFO: Retrieving Stack Cost... 22:21:18 INFO: Retrieving Pricing Info for: v3-standard-8 22:21:19 INFO: Archiving Costs [Pipeline] echo 22:21:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:21:19 ---> logs-deploy.sh 22:21:19 lf-activate-venv: SKIPPING 22:21:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/156 22:21:19 INFO: archiving workspace using pattern(s): 22:21:20 Archives upload complete. 22:21:20 INFO: archiving logs to Nexus