Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c7e78e6532bae73b7c555e394d1391f1597ad588 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-ssh3887011498238072741.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh1789940902683096092.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh7333598841308931240.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh6272622063066772028.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-ssh14004376852339265435.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.20 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17219 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c7e78e6532bae73b7c555e394d1391f1597ad588 (main) Commit message: "Merge pull request #413 from jumpingliu/update-readme" > git config core.sparsecheckout # timeout=10 > git checkout -f c7e78e6532bae73b7c555e394d1391f1597ad588 # timeout=10 > git rev-list --no-walk 8f55b196a710e15398781abdc7fd66bab52d29c1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:15:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:15:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:15:15 ========================================================= 00:15:15 EdgeX Global Pipelines Version Info 00:15:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:15:16 ------------------- 00:15:16 stable info: 00:15:16 ------------------- 00:15:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:15:16 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:15:16 Message: update stable to v1.0.249 00:15:17 ------------------- 00:15:17 experimental info: 00:15:17 ------------------- 00:15:17 Commited By: **** collab-it+edgex@linuxfoundation.org 00:15:17 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:15:17 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c7e78e6532bae73b7c555e394d1391f1597ad588 [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c7e78e6 [Pipeline] echo 00:15:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:15:18 provisioning config files... 00:15:18 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14007975972601841047tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:15:18 ---> docker-login.sh 00:15:18 nexus3.edgexfoundry.org:10001 00:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:18 Configure a credential helper to remove this warning. See 00:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:18 00:15:18 Login Succeeded 00:15:18 nexus3.edgexfoundry.org:10002 00:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:18 Configure a credential helper to remove this warning. See 00:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:18 00:15:18 Login Succeeded 00:15:18 nexus3.edgexfoundry.org:10003 00:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:18 Configure a credential helper to remove this warning. See 00:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:18 00:15:18 Login Succeeded 00:15:18 nexus3.edgexfoundry.org:10004 00:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:18 Configure a credential helper to remove this warning. See 00:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:18 00:15:18 Login Succeeded 00:15:18 docker.io 00:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:19 Configure a credential helper to remove this warning. See 00:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:19 00:15:19 Login Succeeded 00:15:19 ---> docker-login.sh ends [Pipeline] } 00:15:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:15:19 + git rev-list -1 --merges c7e78e6532bae73b7c555e394d1391f1597ad588~1..c7e78e6532bae73b7c555e394d1391f1597ad588 [Pipeline] echo 00:15:19 -----------> git rev-list -1 --merges c7e78e6532bae73b7c555e394d1391f1597ad588~1..c7e78e6532bae73b7c555e394d1391f1597ad588 c7e78e6532bae73b7c555e394d1391f1597ad588 00:15:19 c7e78e6532bae73b7c555e394d1391f1597ad588 [false] [Pipeline] sh 00:15:19 + git log --format=format:%s -1 c7e78e6532bae73b7c555e394d1391f1597ad588 [Pipeline] echo 00:15:19 ========================================================= 00:15:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:15:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:15:20 + git log --format=format:%s -1 c7e78e6532bae73b7c555e394d1391f1597ad588 [Pipeline] echo 00:15:20 [semverPrep] GIT_COMMIT: c7e78e6532bae73b7c555e394d1391f1597ad588, Commit Message: Merge pull request #413 from jumpingliu/update-readme [Pipeline] echo 00:15:20 [semverPrep] This is not a build commit. [Pipeline] sh 00:15:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:15:20 + grep -v github /etc/ssh/ssh_known_hosts 00:15:20 + [ -e /tmp/ssh_known_hosts ] 00:15:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:15:20 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:15:20 sudo tee -a /etc/ssh/ssh_known_hosts 00:15:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:15:20 00:15:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:15:21 0.1.4: Pulling from edgex-devops/py-git-semver 00:15:21 b85a868b505f: Pulling fs layer 00:15:21 e2be974225ed: Pulling fs layer 00:15:21 339a4e72a1f5: Pulling fs layer 00:15:21 988bab9f4d93: Pulling fs layer 00:15:21 1469e6f7b9e6: Pulling fs layer 00:15:21 eaf3925da568: Pulling fs layer 00:15:21 bab4dde63d76: Pulling fs layer 00:15:21 bde34c3a00c8: Pulling fs layer 00:15:21 b352a97aabf1: Pulling fs layer 00:15:21 4872d77fe225: Pulling fs layer 00:15:21 5851b861e8e6: Pulling fs layer 00:15:21 bab4dde63d76: Waiting 00:15:21 988bab9f4d93: Waiting 00:15:21 1469e6f7b9e6: Waiting 00:15:21 eaf3925da568: Waiting 00:15:21 b352a97aabf1: Waiting 00:15:21 bde34c3a00c8: Waiting 00:15:21 4872d77fe225: Waiting 00:15:21 5851b861e8e6: Waiting 00:15:21 e2be974225ed: Download complete 00:15:21 988bab9f4d93: Verifying Checksum 00:15:21 988bab9f4d93: Download complete 00:15:21 1469e6f7b9e6: Verifying Checksum 00:15:21 1469e6f7b9e6: Download complete 00:15:21 eaf3925da568: Verifying Checksum 00:15:21 eaf3925da568: Download complete 00:15:21 339a4e72a1f5: Verifying Checksum 00:15:21 339a4e72a1f5: Download complete 00:15:21 bde34c3a00c8: Verifying Checksum 00:15:21 bde34c3a00c8: Download complete 00:15:21 b352a97aabf1: Verifying Checksum 00:15:21 b352a97aabf1: Download complete 00:15:21 4872d77fe225: Verifying Checksum 00:15:21 4872d77fe225: Download complete 00:15:21 5851b861e8e6: Verifying Checksum 00:15:21 5851b861e8e6: Download complete 00:15:21 b85a868b505f: Verifying Checksum 00:15:21 b85a868b505f: Download complete 00:15:21 bab4dde63d76: Verifying Checksum 00:15:21 bab4dde63d76: Download complete 00:15:22 b85a868b505f: Pull complete 00:15:22 e2be974225ed: Pull complete 00:15:23 339a4e72a1f5: Pull complete 00:15:23 988bab9f4d93: Pull complete 00:15:23 1469e6f7b9e6: Pull complete 00:15:23 eaf3925da568: Pull complete 00:15:25 bab4dde63d76: Pull complete 00:15:25 bde34c3a00c8: Pull complete 00:15:25 b352a97aabf1: Pull complete 00:15:26 4872d77fe225: Pull complete 00:15:26 5851b861e8e6: Pull complete 00:15:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:15:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:15:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:15:26 prd-ubuntu20.04-docker-8c-8g-17219 does not seem to be running inside a container 00:15:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:15:29 $ docker top d65b6eb3ddf6a9e2e690226e8ba9b718d041c82b79d638cf876e7ca0a6656079 -eo pid,comm 00:15:29 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). 00:15:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:15:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:15:30 [ssh-agent] Looking for ssh-agent implementation... 00:15:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:15:30 $ docker exec d65b6eb3ddf6a9e2e690226e8ba9b718d041c82b79d638cf876e7ca0a6656079 ssh-agent 00:15:30 SSH_AUTH_SOCK=/tmp/ssh-GWt16ZoC8on6/agent.31 00:15:30 SSH_AGENT_PID=37 00:15:30 Running ssh-add (command line suppressed) 00:15:30 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15576515332353473279.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15576515332353473279.key) 00:15:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:15:30 + git tag --points-at HEAD [Pipeline] } 00:15:30 $ docker exec --env ******** --env ******** d65b6eb3ddf6a9e2e690226e8ba9b718d041c82b79d638cf876e7ca0a6656079 ssh-agent -k 00:15:30 unset SSH_AUTH_SOCK; 00:15:30 unset SSH_AGENT_PID; 00:15:30 echo Agent pid 37 killed; 00:15:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:15:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:15:30 [ssh-agent] Looking for ssh-agent implementation... 00:15:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:15:30 $ docker exec d65b6eb3ddf6a9e2e690226e8ba9b718d041c82b79d638cf876e7ca0a6656079 ssh-agent 00:15:31 SSH_AUTH_SOCK=/tmp/ssh-AgnXQxpPcWtx/agent.69 00:15:31 SSH_AGENT_PID=75 00:15:31 Running ssh-add (command line suppressed) 00:15:31 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13466168641345698607.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13466168641345698607.key) 00:15:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:15:31 + git semver init 00:15:31 2023-05-30 00:15:31,693 [run_init] DEBUG init version:0.0.0 force:False 00:15:31 2023-05-30 00:15:31,694 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 00:15:31 2023-05-30 00:15:31,694 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 00:15:31 2023-05-30 00:15:31,694 [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) 00:15:33 2023-05-30 00:15:32,736 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 00:15:33 2023-05-30 00:15:32,737 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 00:15:33 2023-05-30 00:15:32,737 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:15:33 2023-05-30 00:15:32,737 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:15:33 3.0.0-dev.52 [Pipeline] } 00:15:33 $ docker exec --env ******** --env ******** d65b6eb3ddf6a9e2e690226e8ba9b718d041c82b79d638cf876e7ca0a6656079 ssh-agent -k 00:15:33 unset SSH_AUTH_SOCK; 00:15:33 unset SSH_AGENT_PID; 00:15:33 echo Agent pid 75 killed; 00:15:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:15:33 + git semver [Pipeline] } 00:15:33 $ docker stop --time=1 d65b6eb3ddf6a9e2e690226e8ba9b718d041c82b79d638cf876e7ca0a6656079 00:15:35 $ docker rm -f --volumes d65b6eb3ddf6a9e2e690226e8ba9b718d041c82b79d638cf876e7ca0a6656079 [Pipeline] // withDockerContainer [Pipeline] sh 00:15:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:15:35 Stashed 1 file(s) [Pipeline] echo 00:15:35 [edgeXSemver]: initialized semver on version 3.0.0-dev.52 [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 00:15:35 provisioning config files... 00:15:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9391813412524830199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:15:36 ---> docker-login.sh 00:15:36 nexus3.edgexfoundry.org:10001 00:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:36 Configure a credential helper to remove this warning. See 00:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:36 00:15:36 Login Succeeded 00:15:36 nexus3.edgexfoundry.org:10002 00:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:36 Configure a credential helper to remove this warning. See 00:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:36 00:15:36 Login Succeeded 00:15:36 nexus3.edgexfoundry.org:10003 00:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:36 Configure a credential helper to remove this warning. See 00:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:36 00:15:36 Login Succeeded 00:15:36 nexus3.edgexfoundry.org:10004 00:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:36 Configure a credential helper to remove this warning. See 00:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:36 00:15:36 Login Succeeded 00:15:36 docker.io 00:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:36 Configure a credential helper to remove this warning. See 00:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:36 00:15:36 Login Succeeded 00:15:36 ---> docker-login.sh ends [Pipeline] } 00:15:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:15:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:15:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:15:36 ========================================================= 00:15:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:15:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:37 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:15:37 Sending build context to Docker daemon 23.67MB 00:15:37 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:15:37 Step 2/12 : FROM ${BASE} AS builder 00:15:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:15:37 f56be85fc22e: Pulling fs layer 00:15:37 85791d961cd3: Pulling fs layer 00:15:37 d694b5ae8c79: Pulling fs layer 00:15:37 9f32a84ed3da: Pulling fs layer 00:15:37 4d19c01a9841: Pulling fs layer 00:15:37 9325e15d5711: Pulling fs layer 00:15:37 556b6ee489ea: Pulling fs layer 00:15:37 4d19c01a9841: Waiting 00:15:37 c5a4b2cf53e6: Pulling fs layer 00:15:37 556b6ee489ea: Waiting 00:15:37 9325e15d5711: Waiting 00:15:37 c5a4b2cf53e6: Waiting 00:15:37 85791d961cd3: Download complete 00:15:37 9f32a84ed3da: Download complete 00:15:37 4d19c01a9841: Verifying Checksum 00:15:37 4d19c01a9841: Download complete 00:15:37 f56be85fc22e: Verifying Checksum 00:15:37 f56be85fc22e: Download complete 00:15:37 9325e15d5711: Verifying Checksum 00:15:37 9325e15d5711: Download complete 00:15:37 f56be85fc22e: Pull complete 00:15:37 85791d961cd3: Pull complete 00:15:37 c5a4b2cf53e6: Verifying Checksum 00:15:37 c5a4b2cf53e6: Download complete 00:15:38 d694b5ae8c79: Verifying Checksum 00:15:38 d694b5ae8c79: Download complete 00:15:38 556b6ee489ea: Verifying Checksum 00:15:38 556b6ee489ea: Download complete 00:15:42 d694b5ae8c79: Pull complete 00:15:42 9f32a84ed3da: Pull complete 00:15:42 4d19c01a9841: Pull complete 00:15:42 9325e15d5711: Pull complete 00:15:44 556b6ee489ea: Pull complete 00:15:45 c5a4b2cf53e6: Pull complete 00:15:45 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:15:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:15:45 ---> c4be618373d6 00:15:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:15:50 ---> Running in 2a20a5a5203d 00:15:50 Removing intermediate container 2a20a5a5203d 00:15:50 ---> d7bff125139c 00:15:50 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:15:50 ---> Running in bafb92a49f9e 00:15:50 Removing intermediate container bafb92a49f9e 00:15:50 ---> b93fc443c4e0 00:15:50 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:15:50 ---> Running in 86275a13fb3b 00:15:50 Removing intermediate container 86275a13fb3b 00:15:50 ---> 2c8bb8a3e26a 00:15:50 Step 6/12 : WORKDIR /device-virtual-go 00:15:50 Still waiting to schedule task 00:15:50 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:15:50 ---> Running in c9f4ffb90880 00:15:50 Removing intermediate container c9f4ffb90880 00:15:50 ---> 5ea72d81d634 00:15:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:15:50 ---> Running in 3a337c752e6f 00:15:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:15:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:15:51 (1/4) Installing openssh-keygen (9.1_p1-r3) 00:15:51 (2/4) Installing libedit (20221030.3.1-r0) 00:15:51 (3/4) Installing openssh-client-common (9.1_p1-r3) 00:15:51 (4/4) Installing openssh-client-default (9.1_p1-r3) 00:15:51 Executing busybox-1.35.0-r29.trigger 00:15:51 OK: 269 MiB in 57 packages 00:15:51 Removing intermediate container 3a337c752e6f 00:15:51 ---> 00fe15343db0 00:15:51 Step 8/12 : COPY go.mod vendor* ./ 00:15:52 ---> f5ac4e3c3d91 00:15:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:15:52 ---> Running in 60a61eed1a8d 00:16:24 Removing intermediate container 60a61eed1a8d 00:16:24 ---> 7610868910a0 00:16:24 Step 10/12 : COPY . . 00:16:24 ---> 971296630b03 00:16:24 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:16:24 ---> Running in 195bfb3c524d 00:16:24 Removing intermediate container 195bfb3c524d 00:16:24 ---> 39084d463ef1 00:16:24 Step 12/12 : RUN $MAKE 00:16:24 ---> Running in a69efd1853be 00:16:24 noop 00:16:24 Removing intermediate container a69efd1853be 00:16:24 ---> c0e456614b2e 00:16:24 Successfully built c0e456614b2e 00:16:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:24 + docker inspect -f . ci-base-image-x86_64 00:16:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:25 prd-ubuntu20.04-docker-8c-8g-17219 does not seem to be running inside a container 00:16:25 $ 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 ******** ci-base-image-x86_64 cat 00:16:25 $ docker top 7ee93e516d72115953794bf8b56803508c5d64c8481c757ae0c62e9bbf954167 -eo pid,comm [Pipeline] { [Pipeline] sh 00:16:25 + go version 00:16:25 go version go1.20.2 linux/amd64 [Pipeline] } 00:16:25 $ docker stop --time=1 7ee93e516d72115953794bf8b56803508c5d64c8481c757ae0c62e9bbf954167 00:16:27 $ docker rm -f --volumes 7ee93e516d72115953794bf8b56803508c5d64c8481c757ae0c62e9bbf954167 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:27 + docker inspect -f . ci-base-image-x86_64 00:16:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:27 prd-ubuntu20.04-docker-8c-8g-17219 does not seem to be running inside a container 00:16:27 $ 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 ******** ci-base-image-x86_64 cat 00:16:28 $ docker top 265f6648264f66c6f5985055bdf1715bb427db74164d8639020565573ebb4646 -eo pid,comm [Pipeline] { [Pipeline] sh 00:16:28 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 00:16:28 + make test 00:16:28 go test ./... -coverprofile=coverage.out 00:16:34 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:16:44 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:16:44 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.015s coverage: 58.6% of statements 00:16:50 go vet ./... 00:16:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:16:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:16:54 ./bin/test-attribution-txt.sh [Pipeline] echo 00:16:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:16:54 $ docker stop --time=1 265f6648264f66c6f5985055bdf1715bb427db74164d8639020565573ebb4646 00:16:58 $ docker rm -f --volumes 265f6648264f66c6f5985055bdf1715bb427db74164d8639020565573ebb4646 [Pipeline] // withDockerContainer [Pipeline] sh 00:16:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:16:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:16:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:16:59 + ls -al . 00:16:59 total 196 00:16:59 drwxrwxr-x 9 jenkins jenkins 4096 May 30 00:16 . 00:16:59 drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:15 .. 00:16:59 drwxrwxr-x 8 jenkins jenkins 4096 May 30 00:15 .git 00:16:59 drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:15 .github 00:16:59 -rw-rw-r-- 1 jenkins jenkins 337 May 30 00:15 .gitignore 00:16:59 -rw-rw-r-- 1 jenkins jenkins 41 May 30 00:15 .golangci.yml 00:16:59 drwxr-xr-x 3 jenkins jenkins 4096 May 30 00:15 .semver 00:16:59 -rw-rw-r-- 1 jenkins jenkins 8652 May 30 00:15 Attribution.txt 00:16:59 -rw-rw-r-- 1 jenkins jenkins 11367 May 30 00:15 CHANGELOG.md 00:16:59 -rw-rw-r-- 1 jenkins jenkins 1646 May 30 00:15 Dockerfile 00:16:59 -rw-rw-r-- 1 jenkins jenkins 677 May 30 00:15 GOVERNANCE.md 00:16:59 -rw-rw-r-- 1 jenkins jenkins 660 May 30 00:15 Jenkinsfile 00:16:59 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 00:15 LICENSE 00:16:59 -rw-rw-r-- 1 jenkins jenkins 1696 May 30 00:15 Makefile 00:16:59 -rw-rw-r-- 1 jenkins jenkins 623 May 30 00:15 OWNERS.md 00:16:59 -rw-rw-r-- 1 jenkins jenkins 4111 May 30 00:15 README.md 00:16:59 -rw-rw-r-- 1 jenkins jenkins 12 May 30 00:15 VERSION 00:16:59 drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:15 bin 00:16:59 drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:15 cmd 00:16:59 -rw-r--r-- 1 jenkins jenkins 43063 May 30 00:16 coverage.out 00:16:59 -rw-rw-r-- 1 jenkins jenkins 3161 May 30 00:15 go.mod 00:16:59 -rw-rw-r-- 1 jenkins jenkins 30898 May 30 00:15 go.sum 00:16:59 drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:15 internal 00:16:59 drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:15 snap 00:16:59 -rw-rw-r-- 1 jenkins jenkins 235 May 30 00:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:00 + 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=c7e78e6532bae73b7c555e394d1391f1597ad588 --label arch=amd64 --label version=3.0.0-dev.52 . 00:17:00 Sending build context to Docker daemon 23.71MB 00:17:00 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 00:17:00 Step 2/25 : FROM ${BASE} AS builder 00:17:00 ---> c0e456614b2e 00:17:00 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:17:00 ---> Running in 35d5d21f2dbe 00:17:00 Removing intermediate container 35d5d21f2dbe 00:17:00 ---> faa62e485d72 00:17:00 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:17:00 ---> Running in 5cff3d4cb872 00:17:00 Removing intermediate container 5cff3d4cb872 00:17:00 ---> 3bea4ff68cb5 00:17:00 Step 5/25 : ARG ADD_BUILD_TAGS="" 00:17:00 ---> Running in e8815c3ccfc0 00:17:00 Removing intermediate container e8815c3ccfc0 00:17:00 ---> 59161c6965e7 00:17:00 Step 6/25 : WORKDIR /device-virtual-go 00:17:00 ---> Running in 6d551e59ec98 00:17:00 Removing intermediate container 6d551e59ec98 00:17:00 ---> 7497927bf23a 00:17:00 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:17:00 ---> Running in 32791bf524ec 00:17:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:17:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:17:01 OK: 269 MiB in 57 packages 00:17:01 Removing intermediate container 32791bf524ec 00:17:01 ---> 812405d49a44 00:17:01 Step 8/25 : COPY go.mod vendor* ./ 00:17:01 ---> b0bf49039c03 00:17:01 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:17:01 ---> Running in 9814e5cad5e2 00:17:02 Removing intermediate container 9814e5cad5e2 00:17:02 ---> 3575d1117a41 00:17:02 Step 10/25 : COPY . . 00:17:03 ---> 6bd6ee0960b3 00:17:03 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:17:03 ---> Running in 42551118759d 00:17:03 Removing intermediate container 42551118759d 00:17:03 ---> 32abdc602003 00:17:03 Step 12/25 : RUN $MAKE 00:17:03 ---> Running in ec11dab7d3d2 00:17:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.52" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 00:17:25 Removing intermediate container ec11dab7d3d2 00:17:25 ---> 97d3e5ac26d6 00:17:25 Step 13/25 : FROM alpine:3.17 00:17:25 3.17: Pulling from library/alpine 00:17:25 f56be85fc22e: Already exists 00:17:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:17:25 Status: Downloaded newer image for alpine:3.17 00:17:25 ---> 9ed4aefc74f6 00:17:25 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 00:17:25 ---> Running in 777356df8830 00:17:25 Removing intermediate container 777356df8830 00:17:25 ---> ce5b4817942d 00:17:25 Step 15/25 : RUN apk add --update --no-cache dumb-init 00:17:25 ---> Running in aac8177ea4bc 00:17:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:17:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:17:25 (1/1) Installing dumb-init (1.2.5-r2) 00:17:25 Executing busybox-1.35.0-r29.trigger 00:17:25 OK: 7 MiB in 16 packages 00:17:25 Removing intermediate container aac8177ea4bc 00:17:25 ---> ff175fd45b72 00:17:25 Step 16/25 : WORKDIR / 00:17:25 ---> Running in 44b4ce146534 00:17:25 Removing intermediate container 44b4ce146534 00:17:25 ---> 831d6926082a 00:17:25 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 00:17:25 ---> 7df7f42bd25e 00:17:25 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 00:17:25 ---> 654a15c4b6e9 00:17:25 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 00:17:26 ---> 722b8e08bcfe 00:17:26 Step 20/25 : EXPOSE 59900 00:17:26 ---> Running in b3acd6b7a62a 00:17:26 Removing intermediate container b3acd6b7a62a 00:17:26 ---> ce70510c0182 00:17:26 Step 21/25 : ENTRYPOINT ["/device-virtual"] 00:17:26 ---> Running in 12cf31d1ccf2 00:17:26 Removing intermediate container 12cf31d1ccf2 00:17:26 ---> 0ec0634e2225 00:17:26 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:17:26 ---> Running in a94a3df1c0f1 00:17:26 Removing intermediate container a94a3df1c0f1 00:17:26 ---> ab071c0ee968 00:17:26 Step 23/25 : LABEL arch=amd64 00:17:26 ---> Running in 16f7f0d9d512 00:17:26 Removing intermediate container 16f7f0d9d512 00:17:26 ---> d84dfdcd573c 00:17:26 Step 24/25 : LABEL git_sha=c7e78e6532bae73b7c555e394d1391f1597ad588 00:17:26 ---> Running in 053f9a6565a1 00:17:27 Removing intermediate container 053f9a6565a1 00:17:27 ---> 5ce7dec12d17 00:17:27 Step 25/25 : LABEL version=3.0.0-dev.52 00:17:27 ---> Running in eee7800beb51 00:17:27 Removing intermediate container eee7800beb51 00:17:27 ---> 81a6336b342f 00:17:27 [Warning] One or more build-args [ARCH] were not consumed 00:17:27 Successfully built 81a6336b342f 00:17:27 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:17:27 provisioning config files... 00:17:27 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5075294309247632097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:17:27 ---> docker-login.sh 00:17:27 nexus3.edgexfoundry.org:10001 00:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:27 Configure a credential helper to remove this warning. See 00:17:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:27 00:17:27 Login Succeeded 00:17:27 nexus3.edgexfoundry.org:10002 00:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:27 Configure a credential helper to remove this warning. See 00:17:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:27 00:17:27 Login Succeeded 00:17:27 nexus3.edgexfoundry.org:10003 00:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:27 Configure a credential helper to remove this warning. See 00:17:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:27 00:17:27 Login Succeeded 00:17:27 nexus3.edgexfoundry.org:10004 00:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:27 Configure a credential helper to remove this warning. See 00:17:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:27 00:17:27 Login Succeeded 00:17:27 docker.io 00:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:28 Configure a credential helper to remove this warning. See 00:17:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:28 00:17:28 Login Succeeded 00:17:28 ---> docker-login.sh ends [Pipeline] } 00:17:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:17:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:17:28 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 00:17:28 c7e78e6532bae73b7c555e394d1391f1597ad588 00:17:28 latest 00:17:28 3.0.0-dev.52 00:17:28 c7e78e6532bae73b7c555e394d1391f1597ad588-3.0.0-dev.52 00:17:28 main 00:17:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:28 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:c7e78e6532bae73b7c555e394d1391f1597ad588 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:28 + docker push nexus3.edgexfoundry.org:10004/device-virtual:c7e78e6532bae73b7c555e394d1391f1597ad588 00:17:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 00:17:28 50fd71ebe0f0: Preparing 00:17:28 9af26e7b2078: Preparing 00:17:28 f69977e4d858: Preparing 00:17:28 6cf8a2006ea9: Preparing 00:17:28 f1417ff83b31: Preparing 00:17:28 f1417ff83b31: Layer already exists 00:17:28 f69977e4d858: Pushed 00:17:28 9af26e7b2078: Pushed 00:17:28 6cf8a2006ea9: Pushed 00:17:32 50fd71ebe0f0: Pushed 00:17:32 c7e78e6532bae73b7c555e394d1391f1597ad588: digest: sha256:fbeff091416e49efc94bd1d1b30da0978f9eec7d47c8ff3bf3e8d4fd3b603a95 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:32 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:32 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 00:17:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 00:17:32 50fd71ebe0f0: Preparing 00:17:32 9af26e7b2078: Preparing 00:17:32 f69977e4d858: Preparing 00:17:32 6cf8a2006ea9: Preparing 00:17:32 f1417ff83b31: Preparing 00:17:32 9af26e7b2078: Layer already exists 00:17:32 f69977e4d858: Layer already exists 00:17:32 f1417ff83b31: Layer already exists 00:17:32 50fd71ebe0f0: Layer already exists 00:17:32 6cf8a2006ea9: Layer already exists 00:17:32 latest: digest: sha256:fbeff091416e49efc94bd1d1b30da0978f9eec7d47c8ff3bf3e8d4fd3b603a95 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:32 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.52 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:33 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.52 00:17:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 00:17:33 50fd71ebe0f0: Preparing 00:17:33 9af26e7b2078: Preparing 00:17:33 f69977e4d858: Preparing 00:17:33 6cf8a2006ea9: Preparing 00:17:33 f1417ff83b31: Preparing 00:17:33 50fd71ebe0f0: Layer already exists 00:17:33 f1417ff83b31: Layer already exists 00:17:33 f69977e4d858: Layer already exists 00:17:33 9af26e7b2078: Layer already exists 00:17:33 6cf8a2006ea9: Layer already exists 00:17:33 3.0.0-dev.52: digest: sha256:fbeff091416e49efc94bd1d1b30da0978f9eec7d47c8ff3bf3e8d4fd3b603a95 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:33 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:c7e78e6532bae73b7c555e394d1391f1597ad588-3.0.0-dev.52 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:33 + docker push nexus3.edgexfoundry.org:10004/device-virtual:c7e78e6532bae73b7c555e394d1391f1597ad588-3.0.0-dev.52 00:17:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 00:17:33 50fd71ebe0f0: Preparing 00:17:33 9af26e7b2078: Preparing 00:17:33 f69977e4d858: Preparing 00:17:33 6cf8a2006ea9: Preparing 00:17:33 f1417ff83b31: Preparing 00:17:33 50fd71ebe0f0: Layer already exists 00:17:33 f69977e4d858: Layer already exists 00:17:33 9af26e7b2078: Layer already exists 00:17:33 6cf8a2006ea9: Layer already exists 00:17:33 f1417ff83b31: Layer already exists 00:17:33 c7e78e6532bae73b7c555e394d1391f1597ad588-3.0.0-dev.52: digest: sha256:fbeff091416e49efc94bd1d1b30da0978f9eec7d47c8ff3bf3e8d4fd3b603a95 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:34 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:34 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 00:17:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 00:17:34 50fd71ebe0f0: Preparing 00:17:34 9af26e7b2078: Preparing 00:17:34 f69977e4d858: Preparing 00:17:34 6cf8a2006ea9: Preparing 00:17:34 f1417ff83b31: Preparing 00:17:34 50fd71ebe0f0: Layer already exists 00:17:34 f1417ff83b31: Layer already exists 00:17:34 9af26e7b2078: Layer already exists 00:17:34 f69977e4d858: Layer already exists 00:17:34 6cf8a2006ea9: Layer already exists 00:17:34 main: digest: sha256:fbeff091416e49efc94bd1d1b30da0978f9eec7d47c8ff3bf3e8d4fd3b603a95 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:17:34 ===================================================== [Pipeline] echo 00:17:34 taggedImages: 00:17:34 - nexus3.edgexfoundry.org:10004/device-virtual:c7e78e6532bae73b7c555e394d1391f1597ad588 00:17:34 - nexus3.edgexfoundry.org:10004/device-virtual:latest 00:17:34 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.52 00:17:34 - nexus3.edgexfoundry.org:10004/device-virtual:c7e78e6532bae73b7c555e394d1391f1597ad588-3.0.0-dev.52 00:17:34 - 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 00:17:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:17:35 00:17:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:17:35 latest: Pulling from edgex-lftools-log-publisher 00:17:35 5eb5b503b376: Pulling fs layer 00:17:35 5c69ac0246d0: Pulling fs layer 00:17:35 ec43610c2a17: Pulling fs layer 00:17:35 3a2ae6a8a46f: Pulling fs layer 00:17:35 33b1e0a273af: Pulling fs layer 00:17:35 5d3b04190fa2: Pulling fs layer 00:17:35 2f39f015ded8: Pulling fs layer 00:17:35 33b1e0a273af: Waiting 00:17:35 5d3b04190fa2: Waiting 00:17:35 2f39f015ded8: Waiting 00:17:35 3a2ae6a8a46f: Waiting 00:17:35 5c69ac0246d0: Verifying Checksum 00:17:35 5c69ac0246d0: Download complete 00:17:35 3a2ae6a8a46f: Verifying Checksum 00:17:35 3a2ae6a8a46f: Download complete 00:17:35 33b1e0a273af: Verifying Checksum 00:17:35 33b1e0a273af: Download complete 00:17:35 5d3b04190fa2: Verifying Checksum 00:17:35 5d3b04190fa2: Download complete 00:17:35 ec43610c2a17: Verifying Checksum 00:17:35 ec43610c2a17: Download complete 00:17:35 5eb5b503b376: Verifying Checksum 00:17:35 5eb5b503b376: Download complete 00:17:36 2f39f015ded8: Download complete 00:17:37 5eb5b503b376: Pull complete 00:17:37 5c69ac0246d0: Pull complete 00:17:37 ec43610c2a17: Pull complete 00:17:37 3a2ae6a8a46f: Pull complete 00:17:37 33b1e0a273af: Pull complete 00:17:37 5d3b04190fa2: Pull complete 00:17:42 2f39f015ded8: Pull complete 00:17:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:17:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:17:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:17:42 prd-ubuntu20.04-docker-8c-8g-17219 does not seem to be running inside a container 00:17:42 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:17:45 $ docker top ed016d906f0b81f07b67c703b556ce5389b89f4212e7df5c36ca57a9292232a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:17:46 ---> job-cost.sh 00:17:46 lf-activate-venv: SKIPPING 00:17:46 INFO: No Stack... 00:17:46 INFO: Retrieving Pricing Info for: v3-standard-8 00:17:47 INFO: Archiving Costs [Pipeline] sh 00:17:47 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 00:17:47 + cut -d, -f6 [Pipeline] lock 00:17:47 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-124-stack-cost] 00:17:47 Resource [jenkins-edgexfoundry-device-virtual-go-main-124-stack-cost] did not exist. Created. 00:17:47 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-124-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:17:47 + echo total: 0.2199999988079071 [Pipeline] stash 00:17:47 Stashed 1 file(s) [Pipeline] } 00:17:47 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-124-stack-cost] [Pipeline] // lock [Pipeline] } 00:17:47 $ docker stop --time=1 ed016d906f0b81f07b67c703b556ce5389b89f4212e7df5c36ca57a9292232a4 00:17:48 $ docker rm -f --volumes ed016d906f0b81f07b67c703b556ce5389b89f4212e7df5c36ca57a9292232a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:19:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17222 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 00:19:18 Running in /w/workspace/device-virtual-go/124 [Pipeline] { [Pipeline] checkout 00:19:18 The recommended git tool is: git 00:19:27 using credential edgex-jenkins-ssh 00:19:27 Cloning the remote Git repository 00:19:27 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:19:28 > git init /w/workspace/device-virtual-go/124 # timeout=10 00:19:28 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:19:28 > git --version # timeout=10 00:19:28 > git --version # 'git version 2.25.1' 00:19:28 using GIT_SSH to set credentials SSH Credentials for GitHub 00:19:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:19:31 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:19:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:19:33 Avoid second fetch 00:19:33 Checking out Revision c7e78e6532bae73b7c555e394d1391f1597ad588 (main) 00:19:33 > git config core.sparsecheckout # timeout=10 00:19:33 > git checkout -f c7e78e6532bae73b7c555e394d1391f1597ad588 # timeout=10 00:19:34 Commit message: "Merge pull request #413 from jumpingliu/update-readme" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:19:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:19:35 % Total % Received % Xferd Average Speed Time Time Time Current 00:19:35 Dload Upload Total Spent Left Speed 00:19:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 00:19:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:19:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:19:36 + sudo tee /etc/docker/daemon.new 00:19:36 { 00:19:36 "registry-mirrors": [ 00:19:36 "https://nexus3.edgexfoundry.org:10001" 00:19:36 ], 00:19:36 "bip": "10.250.0.254/24", 00:19:36 "hosts": [ 00:19:36 "tcp://0.0.0.0:5555", 00:19:36 "unix:///var/run/docker.sock" 00:19:36 ], 00:19:36 "mtu": 1458, 00:19:36 "selinux-enabled": true, 00:19:36 "seccomp-profile": "/etc/docker/seccomp.json" 00:19:36 } [Pipeline] sh 00:19:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:19:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:19:55 provisioning config files... 00:19:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/124@tmp/config2463148485974828568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:19:56 ---> docker-login.sh 00:19:56 nexus3.edgexfoundry.org:10001 00:19:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:56 Configure a credential helper to remove this warning. See 00:19:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:56 00:19:56 Login Succeeded 00:19:56 nexus3.edgexfoundry.org:10002 00:19:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:57 Configure a credential helper to remove this warning. See 00:19:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:57 00:19:57 Login Succeeded 00:19:57 nexus3.edgexfoundry.org:10003 00:19:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:57 Configure a credential helper to remove this warning. See 00:19:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:57 00:19:57 Login Succeeded 00:19:57 nexus3.edgexfoundry.org:10004 00:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:58 Configure a credential helper to remove this warning. See 00:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:58 00:19:58 Login Succeeded 00:19:58 docker.io 00:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:58 Configure a credential helper to remove this warning. See 00:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:58 00:19:58 Login Succeeded 00:19:58 ---> docker-login.sh ends [Pipeline] } 00:19:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:19:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:19:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:19:59 ========================================================= 00:19:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:19:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:59 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:20:00 Sending build context to Docker daemon 12MB 00:20:00 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:20:00 Step 2/12 : FROM ${BASE} AS builder 00:20:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:20:00 c41833b44d91: Pulling fs layer 00:20:00 ed15518f5707: Pulling fs layer 00:20:00 feae8fd75edb: Pulling fs layer 00:20:00 242c74f7c9fa: Pulling fs layer 00:20:00 3cdef696dda3: Pulling fs layer 00:20:00 2ced38df9373: Pulling fs layer 00:20:00 58f1dce35555: Pulling fs layer 00:20:00 3cdef696dda3: Waiting 00:20:00 2ced38df9373: Waiting 00:20:00 242c74f7c9fa: Waiting 00:20:00 ed15518f5707: Verifying Checksum 00:20:00 ed15518f5707: Download complete 00:20:00 242c74f7c9fa: Verifying Checksum 00:20:00 242c74f7c9fa: Download complete 00:20:00 3cdef696dda3: Download complete 00:20:00 c41833b44d91: Verifying Checksum 00:20:01 c41833b44d91: Pull complete 00:20:02 58f1dce35555: Verifying Checksum 00:20:02 58f1dce35555: Download complete 00:20:02 ed15518f5707: Pull complete 00:20:03 feae8fd75edb: Download complete 00:20:03 2ced38df9373: Download complete 00:20:13 feae8fd75edb: Pull complete 00:20:13 242c74f7c9fa: Pull complete 00:20:14 3cdef696dda3: Pull complete 00:20:21 2ced38df9373: Pull complete 00:20:22 58f1dce35555: Pull complete 00:20:22 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:20:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:20:22 ---> fadd8f120f05 00:20:22 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:20:25 ---> Running in 4dee9bcdea24 00:20:25 Removing intermediate container 4dee9bcdea24 00:20:25 ---> ae4a984e8322 00:20:25 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:20:25 ---> Running in 015480ef036f 00:20:25 Removing intermediate container 015480ef036f 00:20:25 ---> 08cd1d7c95af 00:20:25 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:20:25 ---> Running in df148a9380ac 00:20:26 Removing intermediate container df148a9380ac 00:20:26 ---> ea7615f753bf 00:20:26 Step 6/12 : WORKDIR /device-virtual-go 00:20:26 ---> Running in e9f9646c94e2 00:20:26 Removing intermediate container e9f9646c94e2 00:20:26 ---> 51caea0f1c3a 00:20:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:20:26 ---> Running in d2d4d4010ac2 00:20:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:20:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:20:30 (1/4) Installing openssh-keygen (9.1_p1-r3) 00:20:30 (2/4) Installing libedit (20221030.3.1-r0) 00:20:30 (3/4) Installing openssh-client-common (9.1_p1-r3) 00:20:30 (4/4) Installing openssh-client-default (9.1_p1-r3) 00:20:30 Executing busybox-1.35.0-r29.trigger 00:20:30 OK: 268 MiB in 57 packages 00:20:32 Removing intermediate container d2d4d4010ac2 00:20:32 ---> 1d9c3ece791c 00:20:32 Step 8/12 : COPY go.mod vendor* ./ 00:20:32 ---> 68dda242644e 00:20:32 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:20:32 ---> Running in 00c38e434413 00:21:40 Removing intermediate container 00c38e434413 00:21:40 ---> 5372cd774315 00:21:40 Step 10/12 : COPY . . 00:21:40 ---> 6be139dd707a 00:21:40 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:21:40 ---> Running in b5e84bcf095a 00:21:40 Removing intermediate container b5e84bcf095a 00:21:40 ---> 4d5ca9c4103d 00:21:40 Step 12/12 : RUN $MAKE 00:21:40 ---> Running in 9467c0ea23b6 00:21:41 noop 00:21:41 Removing intermediate container 9467c0ea23b6 00:21:41 ---> be2b5603056e 00:21:41 Successfully built be2b5603056e 00:21:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:42 + docker inspect -f . ci-base-image-arm64 00:21:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:42 prd-ubuntu20.04-docker-arm64-4c-16g-17222 does not seem to be running inside a container 00:21:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/124 -v /w/workspace/device-virtual-go/124:/w/workspace/device-virtual-go/124:rw,z -v /w/workspace/device-virtual-go/124@tmp:/w/workspace/device-virtual-go/124@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 00:21:43 $ docker top a929587708b6107249cb60bbaa93637a2bbaa0efa936e1a4ad8280651fdf49ea -eo pid,comm [Pipeline] { [Pipeline] sh 00:21:44 + go version 00:21:44 go version go1.20.2 linux/arm64 [Pipeline] } 00:21:44 $ docker stop --time=1 a929587708b6107249cb60bbaa93637a2bbaa0efa936e1a4ad8280651fdf49ea 00:21:46 $ docker rm -f --volumes a929587708b6107249cb60bbaa93637a2bbaa0efa936e1a4ad8280651fdf49ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:46 + docker inspect -f . ci-base-image-arm64 00:21:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:47 prd-ubuntu20.04-docker-arm64-4c-16g-17222 does not seem to be running inside a container 00:21:47 $ 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/124 -v /w/workspace/device-virtual-go/124:/w/workspace/device-virtual-go/124:rw,z -v /w/workspace/device-virtual-go/124@tmp:/w/workspace/device-virtual-go/124@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 00:21:48 $ docker top 7ce4870aa2aa8ed05b1d483a8159ac0dfc6ae5a35e20937c068c2ed4b4cc7ee5 -eo pid,comm [Pipeline] { [Pipeline] sh 00:21:49 + git config --global --add safe.directory /w/workspace/device-virtual-go/124 [Pipeline] fileExists [Pipeline] sh 00:21:49 + make test 00:21:49 go test ./... -coverprofile=coverage.out 00:22:28 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:24:35 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:24:35 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.105s coverage: 58.4% of statements 00:24:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:24:35 go vet ./... 00:25:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:25:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:25:02 ./bin/test-attribution-txt.sh [Pipeline] echo 00:25:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:25:02 $ docker stop --time=1 7ce4870aa2aa8ed05b1d483a8159ac0dfc6ae5a35e20937c068c2ed4b4cc7ee5 00:25:04 $ docker rm -f --volumes 7ce4870aa2aa8ed05b1d483a8159ac0dfc6ae5a35e20937c068c2ed4b4cc7ee5 [Pipeline] // withDockerContainer [Pipeline] sh 00:25:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:25:06 Warning: overwriting stash ‘coverage-report’ 00:25:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:25:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:25:07 + ls -al . 00:25:07 total 192 00:25:07 drwxrwxr-x 8 jenkins jenkins 4096 May 30 00:21 . 00:25:07 drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:19 .. 00:25:07 drwxrwxr-x 8 jenkins jenkins 4096 May 30 00:19 .git 00:25:07 drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:19 .github 00:25:07 -rw-rw-r-- 1 jenkins jenkins 337 May 30 00:19 .gitignore 00:25:07 -rw-rw-r-- 1 jenkins jenkins 41 May 30 00:19 .golangci.yml 00:25:07 -rw-rw-r-- 1 jenkins jenkins 8652 May 30 00:19 Attribution.txt 00:25:07 -rw-rw-r-- 1 jenkins jenkins 11367 May 30 00:19 CHANGELOG.md 00:25:07 -rw-rw-r-- 1 jenkins jenkins 1646 May 30 00:19 Dockerfile 00:25:07 -rw-rw-r-- 1 jenkins jenkins 677 May 30 00:19 GOVERNANCE.md 00:25:07 -rw-rw-r-- 1 jenkins jenkins 660 May 30 00:19 Jenkinsfile 00:25:07 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 00:19 LICENSE 00:25:07 -rw-rw-r-- 1 jenkins jenkins 1696 May 30 00:19 Makefile 00:25:07 -rw-rw-r-- 1 jenkins jenkins 623 May 30 00:19 OWNERS.md 00:25:07 -rw-rw-r-- 1 jenkins jenkins 4111 May 30 00:19 README.md 00:25:07 -rw-rw-r-- 1 jenkins jenkins 12 May 30 00:15 VERSION 00:25:07 drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:19 bin 00:25:07 drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:19 cmd 00:25:07 -rw-r--r-- 1 jenkins jenkins 43063 May 30 00:24 coverage.out 00:25:07 -rw-rw-r-- 1 jenkins jenkins 3161 May 30 00:19 go.mod 00:25:07 -rw-rw-r-- 1 jenkins jenkins 30898 May 30 00:19 go.sum 00:25:07 drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:19 internal 00:25:07 drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:19 snap 00:25:07 -rw-rw-r-- 1 jenkins jenkins 235 May 30 00:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:07 + 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=c7e78e6532bae73b7c555e394d1391f1597ad588 --label arch=arm64 --label version=3.0.0-dev.52 . 00:25:08 Sending build context to Docker daemon 12.05MB 00:25:08 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 00:25:08 Step 2/25 : FROM ${BASE} AS builder 00:25:08 ---> be2b5603056e 00:25:08 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:25:08 ---> Running in 2d7d04082cb2 00:25:08 Removing intermediate container 2d7d04082cb2 00:25:08 ---> b78d6cbd76f3 00:25:08 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:25:08 ---> Running in e709df6cf907 00:25:09 Removing intermediate container e709df6cf907 00:25:09 ---> 4c5f26d12fb4 00:25:09 Step 5/25 : ARG ADD_BUILD_TAGS="" 00:25:09 ---> Running in 92286fedab64 00:25:09 Removing intermediate container 92286fedab64 00:25:09 ---> be1174d8113b 00:25:09 Step 6/25 : WORKDIR /device-virtual-go 00:25:09 ---> Running in a518e82211bc 00:25:09 Removing intermediate container a518e82211bc 00:25:09 ---> 5c4ea7b17ea8 00:25:09 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:25:09 ---> Running in 733541d09b39 00:25:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:25:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:25:13 OK: 268 MiB in 57 packages 00:25:13 Removing intermediate container 733541d09b39 00:25:13 ---> 784873a9e506 00:25:13 Step 8/25 : COPY go.mod vendor* ./ 00:25:14 ---> 162abd9985c5 00:25:14 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:25:14 ---> Running in 86259eb7ad30 00:25:17 Removing intermediate container 86259eb7ad30 00:25:17 ---> 24ee84dce7ae 00:25:17 Step 10/25 : COPY . . 00:25:18 ---> 04b0b0dec159 00:25:18 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:25:18 ---> Running in f94c295c1e41 00:25:19 Removing intermediate container f94c295c1e41 00:25:19 ---> ac3f62f404a2 00:25:19 Step 12/25 : RUN $MAKE 00:25:19 ---> Running in f94dca3909c3 00:25:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.52" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 00:27:57 Removing intermediate container f94dca3909c3 00:27:57 ---> 08ace20df2f0 00:27:57 Step 13/25 : FROM alpine:3.17 00:27:57 3.17: Pulling from library/alpine 00:27:57 c41833b44d91: Already exists 00:27:57 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:27:57 Status: Downloaded newer image for alpine:3.17 00:27:57 ---> 51e60588ff2c 00:27:57 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 00:27:57 ---> Running in 71967ad22e20 00:27:57 Removing intermediate container 71967ad22e20 00:27:57 ---> 4c4bc5d2696f 00:27:57 Step 15/25 : RUN apk add --update --no-cache dumb-init 00:27:57 ---> Running in c654f2d96f50 00:27:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:27:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:27:57 (1/1) Installing dumb-init (1.2.5-r2) 00:27:57 Executing busybox-1.35.0-r29.trigger 00:27:57 OK: 8 MiB in 16 packages 00:27:57 Removing intermediate container c654f2d96f50 00:27:57 ---> 153eab15b62e 00:27:57 Step 16/25 : WORKDIR / 00:27:57 ---> Running in ac631c011bd4 00:27:57 Removing intermediate container ac631c011bd4 00:27:57 ---> 3eb97a4884e4 00:27:57 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 00:27:57 ---> c2d3dc4ef56a 00:27:57 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 00:27:57 ---> dbda8bd58afa 00:27:57 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 00:27:57 ---> 8a832633c43b 00:27:57 Step 20/25 : EXPOSE 59900 00:27:57 ---> Running in 67765180b579 00:27:57 Removing intermediate container 67765180b579 00:27:57 ---> b1b4f641c8ce 00:27:57 Step 21/25 : ENTRYPOINT ["/device-virtual"] 00:27:57 ---> Running in 80f493ec9a78 00:27:57 Removing intermediate container 80f493ec9a78 00:27:57 ---> 8fdae11eb9a4 00:27:57 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:27:57 ---> Running in bc6cef1443e4 00:27:57 Removing intermediate container bc6cef1443e4 00:27:57 ---> 56f29818910e 00:27:57 Step 23/25 : LABEL arch=arm64 00:27:57 ---> Running in 39e4b319c4f2 00:27:57 Removing intermediate container 39e4b319c4f2 00:27:57 ---> e19e77c37bb9 00:27:57 Step 24/25 : LABEL git_sha=c7e78e6532bae73b7c555e394d1391f1597ad588 00:27:57 ---> Running in 2fa1f186f3e6 00:27:57 Removing intermediate container 2fa1f186f3e6 00:27:57 ---> c9dde3823d4b 00:27:57 Step 25/25 : LABEL version=3.0.0-dev.52 00:27:57 ---> Running in 439bc0e28f02 00:27:57 Removing intermediate container 439bc0e28f02 00:27:57 ---> 5b713de9a954 00:27:57 [Warning] One or more build-args [ARCH] were not consumed 00:27:57 Successfully built 5b713de9a954 00:27:57 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 00:27:58 provisioning config files... 00:27:58 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/124@tmp/config10167111917155005442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:27:58 ---> docker-login.sh 00:27:58 nexus3.edgexfoundry.org:10001 00:27:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:58 Configure a credential helper to remove this warning. See 00:27:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:58 00:27:58 Login Succeeded 00:27:58 nexus3.edgexfoundry.org:10002 00:27:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:59 Configure a credential helper to remove this warning. See 00:27:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:59 00:27:59 Login Succeeded 00:27:59 nexus3.edgexfoundry.org:10003 00:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:59 Configure a credential helper to remove this warning. See 00:27:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:59 00:27:59 Login Succeeded 00:27:59 nexus3.edgexfoundry.org:10004 00:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:28:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:28:00 Configure a credential helper to remove this warning. See 00:28:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:28:00 00:28:00 Login Succeeded 00:28:00 docker.io 00:28:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:28:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:28:00 Configure a credential helper to remove this warning. See 00:28:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:28:00 00:28:00 Login Succeeded 00:28:00 ---> docker-login.sh ends [Pipeline] } 00:28:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:28:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:28:00 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 00:28:00 c7e78e6532bae73b7c555e394d1391f1597ad588 00:28:00 latest 00:28:00 3.0.0-dev.52 00:28:00 c7e78e6532bae73b7c555e394d1391f1597ad588-3.0.0-dev.52 00:28:00 main 00:28:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:01 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:c7e78e6532bae73b7c555e394d1391f1597ad588 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:01 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:c7e78e6532bae73b7c555e394d1391f1597ad588 00:28:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:28:01 5ec74dfbded4: Preparing 00:28:01 fe478876f889: Preparing 00:28:01 c9fcfc1c06ec: Preparing 00:28:01 5508eb0e2b05: Preparing 00:28:01 26cbea5cba74: Preparing 00:28:01 26cbea5cba74: Layer already exists 00:28:01 c9fcfc1c06ec: Pushed 00:28:01 fe478876f889: Pushed 00:28:01 5508eb0e2b05: Pushed 00:28:08 5ec74dfbded4: Pushed 00:28:08 c7e78e6532bae73b7c555e394d1391f1597ad588: digest: sha256:579ff7463183eb6d7243b59e3f4310148380c0e8348b091206b3019dfea33bef size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:09 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 00:28:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:28:09 5ec74dfbded4: Preparing 00:28:09 fe478876f889: Preparing 00:28:09 c9fcfc1c06ec: Preparing 00:28:09 5508eb0e2b05: Preparing 00:28:09 26cbea5cba74: Preparing 00:28:09 26cbea5cba74: Layer already exists 00:28:09 c9fcfc1c06ec: Layer already exists 00:28:09 5508eb0e2b05: Layer already exists 00:28:09 5ec74dfbded4: Layer already exists 00:28:09 fe478876f889: Layer already exists 00:28:09 latest: digest: sha256:579ff7463183eb6d7243b59e3f4310148380c0e8348b091206b3019dfea33bef size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:10 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.52 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.52 00:28:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:28:10 5ec74dfbded4: Preparing 00:28:10 fe478876f889: Preparing 00:28:10 c9fcfc1c06ec: Preparing 00:28:10 5508eb0e2b05: Preparing 00:28:10 26cbea5cba74: Preparing 00:28:10 5508eb0e2b05: Layer already exists 00:28:10 c9fcfc1c06ec: Layer already exists 00:28:10 5ec74dfbded4: Layer already exists 00:28:10 26cbea5cba74: Layer already exists 00:28:10 fe478876f889: Layer already exists 00:28:10 3.0.0-dev.52: digest: sha256:579ff7463183eb6d7243b59e3f4310148380c0e8348b091206b3019dfea33bef size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:10 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:c7e78e6532bae73b7c555e394d1391f1597ad588-3.0.0-dev.52 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:11 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:c7e78e6532bae73b7c555e394d1391f1597ad588-3.0.0-dev.52 00:28:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:28:11 5ec74dfbded4: Preparing 00:28:11 fe478876f889: Preparing 00:28:11 c9fcfc1c06ec: Preparing 00:28:11 5508eb0e2b05: Preparing 00:28:11 26cbea5cba74: Preparing 00:28:11 26cbea5cba74: Layer already exists 00:28:11 5508eb0e2b05: Layer already exists 00:28:11 fe478876f889: Layer already exists 00:28:11 5ec74dfbded4: Layer already exists 00:28:11 c9fcfc1c06ec: Layer already exists 00:28:11 c7e78e6532bae73b7c555e394d1391f1597ad588-3.0.0-dev.52: digest: sha256:579ff7463183eb6d7243b59e3f4310148380c0e8348b091206b3019dfea33bef size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:11 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:11 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 00:28:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:28:11 5ec74dfbded4: Preparing 00:28:11 fe478876f889: Preparing 00:28:11 c9fcfc1c06ec: Preparing 00:28:11 5508eb0e2b05: Preparing 00:28:11 26cbea5cba74: Preparing 00:28:11 fe478876f889: Layer already exists 00:28:11 26cbea5cba74: Layer already exists 00:28:11 5ec74dfbded4: Layer already exists 00:28:11 c9fcfc1c06ec: Layer already exists 00:28:11 5508eb0e2b05: Layer already exists 00:28:11 main: digest: sha256:579ff7463183eb6d7243b59e3f4310148380c0e8348b091206b3019dfea33bef size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:28:12 ===================================================== [Pipeline] echo 00:28:12 taggedImages: 00:28:12 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:c7e78e6532bae73b7c555e394d1391f1597ad588 00:28:12 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 00:28:12 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.52 00:28:12 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:c7e78e6532bae73b7c555e394d1391f1597ad588-3.0.0-dev.52 00:28:12 - 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 00:28:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:28:12 00:28:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:28:13 arm64: Pulling from edgex-lftools-log-publisher 00:28:13 8998bd30e6a1: Pulling fs layer 00:28:13 04944245beec: Pulling fs layer 00:28:13 699f458cf7ca: Pulling fs layer 00:28:13 765212b225bb: Pulling fs layer 00:28:13 f23df028b6ca: Pulling fs layer 00:28:13 d65c8cfc05b1: Pulling fs layer 00:28:13 2437ff75d9bd: Pulling fs layer 00:28:13 f23df028b6ca: Waiting 00:28:13 765212b225bb: Waiting 00:28:13 2437ff75d9bd: Waiting 00:28:13 04944245beec: Verifying Checksum 00:28:13 04944245beec: Download complete 00:28:13 765212b225bb: Verifying Checksum 00:28:13 765212b225bb: Download complete 00:28:13 f23df028b6ca: Verifying Checksum 00:28:13 f23df028b6ca: Download complete 00:28:13 d65c8cfc05b1: Verifying Checksum 00:28:13 d65c8cfc05b1: Download complete 00:28:13 699f458cf7ca: Verifying Checksum 00:28:13 699f458cf7ca: Download complete 00:28:14 8998bd30e6a1: Verifying Checksum 00:28:14 8998bd30e6a1: Download complete 00:28:17 2437ff75d9bd: Verifying Checksum 00:28:17 2437ff75d9bd: Download complete 00:28:18 8998bd30e6a1: Pull complete 00:28:19 04944245beec: Pull complete 00:28:20 699f458cf7ca: Pull complete 00:28:20 765212b225bb: Pull complete 00:28:21 f23df028b6ca: Pull complete 00:28:21 d65c8cfc05b1: Pull complete 00:28:36 2437ff75d9bd: Pull complete 00:28:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:28:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:28:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:36 prd-ubuntu20.04-docker-arm64-4c-16g-17222 does not seem to be running inside a container 00:28:36 $ 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/124 -v /w/workspace/device-virtual-go/124:/w/workspace/device-virtual-go/124:rw,z -v /w/workspace/device-virtual-go/124@tmp:/w/workspace/device-virtual-go/124@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 00:28:39 $ docker top 10dad72fe0ce2943b1f8e93a2633d3016b9e2a16ac0d9439eb1e9fe36408fcb2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:28:40 ---> job-cost.sh 00:28:40 lf-activate-venv: SKIPPING 00:28:40 INFO: No Stack... 00:28:41 INFO: Retrieving Pricing Info for: v3-standard-4 00:28:41 INFO: Archiving Costs [Pipeline] sh 00:28:42 + cat /w/workspace/device-virtual-go/124/archives/cost.csv 00:28:42 + cut -d, -f6 [Pipeline] lock 00:28:42 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-124-stack-cost] 00:28:42 Resource [jenkins-edgexfoundry-device-virtual-go-main-124-stack-cost] did not exist. Created. 00:28:42 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-124-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:28:43 /w/workspace/device-virtual-go/124@tmp/durable-d55d09ed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:28:43 + echo total: 0.10999999940395355 [Pipeline] stash 00:28:43 Warning: overwriting stash ‘stack-cost’ 00:28:44 Stashed 1 file(s) [Pipeline] } 00:28:44 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-124-stack-cost] [Pipeline] // lock [Pipeline] } 00:28:44 $ docker stop --time=1 10dad72fe0ce2943b1f8e93a2633d3016b9e2a16ac0d9439eb1e9fe36408fcb2 00:28:45 $ docker rm -f --volumes 10dad72fe0ce2943b1f8e93a2633d3016b9e2a16ac0d9439eb1e9fe36408fcb2 [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 00:28:46 provisioning config files... 00:28:46 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11776041793292876943tmp [Pipeline] { [Pipeline] sh 00:28:46 + set +x 00:28:46 + curl -s https://codecov.io/bash 00:28:46 + bash -s -- 00:28:46 00:28:46 _____ _ 00:28:46 / ____| | | 00:28:46 | | ___ __| | ___ ___ _____ __ 00:28:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:28:46 | |___| (_) | (_| | __/ (_| (_) \ V / 00:28:46 \_____\___/ \__,_|\___|\___\___/ \_/ 00:28:46 Bash-1.0.6 00:28:46 00:28:46 00:28:46 ==> git version 2.25.1 found 00:28:46 ==> 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 00:28:46 Release-Date: 2020-01-08 00:28:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:28:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:28:46 ==> Jenkins CI detected. 00:28:46 current dir:  /w/workspace/exfoundry_device-virtual-go_main 00:28:46 project root: . 00:28:46 --> token set from env 00:28:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:28:46 ==> Running gcov in . (disable via -X gcov) 00:28:46 ==> Python coveragepy not found 00:28:46 ==> Searching for coverage reports in: 00:28:46 + . 00:28:46 -> Found 1 reports 00:28:46 ==> Detecting git/mercurial file structure 00:28:46 ==> Reading reports 00:28:46 + ./coverage.out bytes=43063 00:28:46 ==> Appending adjustments 00:28:46 https://docs.codecov.io/docs/fixing-reports 00:28:46 + Found adjustments 00:28:46 ==> Gzipping contents 00:28:46 8.0K /tmp/codecov.3DLD7t.gz 00:28:46 ==> Uploading reports 00:28:46 url: https://codecov.io 00:28:46 query: branch=main&commit=c7e78e6532bae73b7c555e394d1391f1597ad588&build=124&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F124%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:28:46 -> Pinging Codecov 00:28:46 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=c7e78e6532bae73b7c555e394d1391f1597ad588&build=124&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F124%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:28:46 -> Uploading to 00:28:46 https://storage.googleapis.com/codecov/v4/raw/2023-05-30/5E52B4B073DB2E39498172D8E973AA87/c7e78e6532bae73b7c555e394d1391f1597ad588/dfc657a5-1dc6-43f2-a2b9-5dac9aaf9441.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T002846Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=60ecd3fe267e2422b666e8dab0c91b5d4749f3e97e9a8d709540f8c9dd7bd752 00:28:46 % Total % Received % Xferd Average Speed Time Time Time Current 00:28:46 Dload Upload Total Spent Left Speed 00:28:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 26314 --:--:-- --:--:-- --:--:-- 26314 00:28:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/c7e78e6532bae73b7c555e394d1391f1597ad588 [Pipeline] } 00:28:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:28:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:28:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:28:47 00:28:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:28:47 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:28:47 df9b9388f04a: Pulling fs layer 00:28:47 52dc419b0ee2: Pulling fs layer 00:28:47 25bc292e5bac: Pulling fs layer 00:28:47 114826534d7a: Pulling fs layer 00:28:47 4657fd5d0bcf: Pulling fs layer 00:28:47 6ad1cebc031e: Pulling fs layer 00:28:47 8a3aa393b2d8: Pulling fs layer 00:28:47 114826534d7a: Waiting 00:28:47 4657fd5d0bcf: Waiting 00:28:47 6ad1cebc031e: Waiting 00:28:47 25bc292e5bac: Verifying Checksum 00:28:47 25bc292e5bac: Download complete 00:28:47 52dc419b0ee2: Verifying Checksum 00:28:47 52dc419b0ee2: Download complete 00:28:47 4657fd5d0bcf: Verifying Checksum 00:28:47 4657fd5d0bcf: Download complete 00:28:47 df9b9388f04a: Download complete 00:28:48 df9b9388f04a: Pull complete 00:28:48 6ad1cebc031e: Verifying Checksum 00:28:48 6ad1cebc031e: Download complete 00:28:48 52dc419b0ee2: Pull complete 00:28:48 25bc292e5bac: Pull complete 00:28:48 114826534d7a: Verifying Checksum 00:28:48 114826534d7a: Download complete 00:28:49 8a3aa393b2d8: Verifying Checksum 00:28:49 8a3aa393b2d8: Download complete 00:28:52 114826534d7a: Pull complete 00:28:52 4657fd5d0bcf: Pull complete 00:28:52 6ad1cebc031e: Pull complete 00:28:54 8a3aa393b2d8: Pull complete 00:28:54 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:28:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:28:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:54 prd-ubuntu20.04-docker-8c-8g-17219 does not seem to be running inside a container 00:28:54 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:28:58 $ docker top 398c4965cb2480880e02b4642fc7ba05612e631753379c6e38e01a2dec5360e8 -eo pid,comm [Pipeline] { [Pipeline] echo 00:28:58 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 00:28:58 + set -o pipefail 00:28:58 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 00:29:04 00:29:04 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 00:29:04 00:29:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/097907dc-e845-4cf9-a150-db7513d513e6 00:29:04 00:29:04 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:29:04 00:29:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:29:04 00:29:04 00:29:04 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:29:04 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:29:04 More details here: https://snyk.co/ue1NS [Pipeline] } 00:29:04 $ docker stop --time=1 398c4965cb2480880e02b4642fc7ba05612e631753379c6e38e01a2dec5360e8 00:29:06 $ docker rm -f --volumes 398c4965cb2480880e02b4642fc7ba05612e631753379c6e38e01a2dec5360e8 [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 00:29:07 + git log --format=format:%s -1 c7e78e6532bae73b7c555e394d1391f1597ad588 [Pipeline] sh 00:29:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:29:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:29:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:08 prd-ubuntu20.04-docker-8c-8g-17219 does not seem to be running inside a container 00:29:08 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:29:08 $ docker top d6065c6e31d81d102588e18e1b63d475231f0619f55039a5713d776889216026 -eo pid,comm 00:29:08 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). 00:29:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:29:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:29:08 [ssh-agent] Looking for ssh-agent implementation... 00:29:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:29:08 $ docker exec d6065c6e31d81d102588e18e1b63d475231f0619f55039a5713d776889216026 ssh-agent 00:29:09 SSH_AUTH_SOCK=/tmp/ssh-36sh34qjA8RI/agent.32 00:29:09 SSH_AGENT_PID=38 00:29:09 Running ssh-add (command line suppressed) 00:29:09 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4169353800181610686.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4169353800181610686.key) 00:29:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:29:09 + git semver tag 00:29:09 2023-05-30 00:29:09,627 [run_tag] DEBUG tag force:False 00:29:09 2023-05-30 00:29:09,627 [check_head_tag] DEBUG check head tag 00:29:09 2023-05-30 00:29:09,629 [execute] INFO git cat-file --batch-check 00:29:09 2023-05-30 00:29:09,629 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 00:29:09 2023-05-30 00:29:09,633 [execute] INFO git cat-file --batch 00:29:09 2023-05-30 00:29:09,633 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 00:29:09 2023-05-30 00:29:09,663 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:29:09 2023-05-30 00:29:09,663 [execute] INFO git tag -a v3.0.0-dev.52 -m v3.0.0-dev.52 00:29:09 2023-05-30 00:29:09,663 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.52', '-m', 'v3.0.0-dev.52'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 00:29:09 2023-05-30 00:29:09,667 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:29:09 3.0.0-dev.52 [Pipeline] } 00:29:09 $ docker exec --env ******** --env ******** d6065c6e31d81d102588e18e1b63d475231f0619f55039a5713d776889216026 ssh-agent -k 00:29:09 unset SSH_AUTH_SOCK; 00:29:09 unset SSH_AGENT_PID; 00:29:09 echo Agent pid 38 killed; 00:29:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:29:10 + git semver [Pipeline] } 00:29:10 $ docker stop --time=1 d6065c6e31d81d102588e18e1b63d475231f0619f55039a5713d776889216026 00:29:11 $ docker rm -f --volumes d6065c6e31d81d102588e18e1b63d475231f0619f55039a5713d776889216026 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:29:12 00:29:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:29:12 0.23.1-centos7: Pulling from edgex-lftools 00:29:12 ab5ef0e58194: Pulling fs layer 00:29:12 9712f1f96733: Pulling fs layer 00:29:12 63f879dbbcfc: Pulling fs layer 00:29:12 0d9ebad4ef96: Pulling fs layer 00:29:12 e9a5061849ea: Pulling fs layer 00:29:12 d747dcd14b5f: Pulling fs layer 00:29:12 2de7ff778b66: Pulling fs layer 00:29:12 0d9ebad4ef96: Waiting 00:29:12 e9a5061849ea: Waiting 00:29:12 2de7ff778b66: Waiting 00:29:12 9712f1f96733: Verifying Checksum 00:29:12 9712f1f96733: Download complete 00:29:12 63f879dbbcfc: Verifying Checksum 00:29:12 63f879dbbcfc: Download complete 00:29:12 e9a5061849ea: Verifying Checksum 00:29:12 e9a5061849ea: Download complete 00:29:12 d747dcd14b5f: Verifying Checksum 00:29:12 d747dcd14b5f: Download complete 00:29:12 0d9ebad4ef96: Verifying Checksum 00:29:12 0d9ebad4ef96: Download complete 00:29:13 ab5ef0e58194: Download complete 00:29:13 2de7ff778b66: Verifying Checksum 00:29:13 2de7ff778b66: Download complete 00:29:15 ab5ef0e58194: Pull complete 00:29:15 9712f1f96733: Pull complete 00:29:16 63f879dbbcfc: Pull complete 00:29:19 0d9ebad4ef96: Pull complete 00:29:19 e9a5061849ea: Pull complete 00:29:19 d747dcd14b5f: Pull complete 00:29:20 2de7ff778b66: Pull complete 00:29:20 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:29:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:29:20 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:20 prd-ubuntu20.04-docker-8c-8g-17219 does not seem to be running inside a container 00:29:20 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:29:24 $ docker top 78426e7f56205d60e415c1a9e23f0c99c28773267a2410fddd39c1ae0360759f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:29:24 provisioning config files... 00:29:24 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15487110276714561104tmp 00:29:24 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11410706687769268603tmp 00:29:24 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6700312878401854908tmp [Pipeline] { [Pipeline] echo 00:29:24 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:29:24 ---> sigul-configuration.sh 00:29:24 gpg: directory `/root/.gnupg' created 00:29:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:29:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:29:24 gpg: keyring `/root/.gnupg/secring.gpg' created 00:29:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:29:24 gpg: CAST5 encrypted data 00:29:24 gpg: encrypted with 1 passphrase 00:29:24 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:29:25 + mkdir /home/jenkins 00:29:25 + mkdir /home/jenkins/sigul [Pipeline] sh 00:29:25 + 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 00:29:25 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:29:25 ---> sigul-install.sh 00:29:25 Sigul already installed; skipping installation. [Pipeline] sh 00:29:26 + git tag --list 00:29:26 v1.0.0 00:29:26 v1.1.0 00:29:26 v1.1.1 00:29:26 v1.2.1 00:29:26 v1.2.2 00:29:26 v1.2.3 00:29:26 v1.3.0 00:29:26 v1.3.1 00:29:26 v2.0.0 00:29:26 v2.1.0 00:29:26 v2.1.1 00:29:26 v2.1.1-dev.1 00:29:26 v2.1.1-dev.2 00:29:26 v2.2.0 00:29:26 v2.2.1-dev.1 00:29:26 v2.2.1-dev.2 00:29:26 v2.2.1-dev.3 00:29:26 v2.2.1-dev.4 00:29:26 v2.2.1-dev.5 00:29:26 v2.2.1-dev.6 00:29:26 v2.2.1-dev.7 00:29:26 v2.2.1-dev.8 00:29:26 v2.3.0 00:29:26 v2.3.0-dev.10 00:29:26 v2.3.0-dev.11 00:29:26 v2.3.0-dev.12 00:29:26 v2.3.0-dev.13 00:29:26 v2.3.0-dev.14 00:29:26 v2.3.0-dev.15 00:29:26 v2.3.0-dev.16 00:29:26 v2.3.0-dev.17 00:29:26 v2.3.0-dev.18 00:29:26 v2.3.0-dev.19 00:29:26 v2.3.0-dev.20 00:29:26 v2.3.0-dev.21 00:29:26 v2.3.0-dev.22 00:29:26 v2.3.0-dev.23 00:29:26 v2.3.0-dev.24 00:29:26 v2.3.0-dev.25 00:29:26 v2.3.0-dev.26 00:29:26 v2.3.0-dev.27 00:29:26 v2.3.0-dev.28 00:29:26 v2.3.0-dev.29 00:29:26 v2.3.0-dev.30 00:29:26 v2.3.0-dev.8 00:29:26 v2.3.0-dev.9 00:29:26 v3.0.0-dev.1 00:29:26 v3.0.0-dev.10 00:29:26 v3.0.0-dev.11 00:29:26 v3.0.0-dev.12 00:29:26 v3.0.0-dev.13 00:29:26 v3.0.0-dev.14 00:29:26 v3.0.0-dev.15 00:29:26 v3.0.0-dev.16 00:29:26 v3.0.0-dev.17 00:29:26 v3.0.0-dev.18 00:29:26 v3.0.0-dev.19 00:29:26 v3.0.0-dev.2 00:29:26 v3.0.0-dev.20 00:29:26 v3.0.0-dev.21 00:29:26 v3.0.0-dev.22 00:29:26 v3.0.0-dev.23 00:29:26 v3.0.0-dev.24 00:29:26 v3.0.0-dev.25 00:29:26 v3.0.0-dev.26 00:29:26 v3.0.0-dev.27 00:29:26 v3.0.0-dev.28 00:29:26 v3.0.0-dev.29 00:29:26 v3.0.0-dev.3 00:29:26 v3.0.0-dev.30 00:29:26 v3.0.0-dev.31 00:29:26 v3.0.0-dev.32 00:29:26 v3.0.0-dev.33 00:29:26 v3.0.0-dev.34 00:29:26 v3.0.0-dev.35 00:29:26 v3.0.0-dev.36 00:29:26 v3.0.0-dev.37 00:29:26 v3.0.0-dev.38 00:29:26 v3.0.0-dev.39 00:29:26 v3.0.0-dev.4 00:29:26 v3.0.0-dev.40 00:29:26 v3.0.0-dev.41 00:29:26 v3.0.0-dev.42 00:29:26 v3.0.0-dev.43 00:29:26 v3.0.0-dev.44 00:29:26 v3.0.0-dev.45 00:29:26 v3.0.0-dev.46 00:29:26 v3.0.0-dev.47 00:29:26 v3.0.0-dev.48 00:29:26 v3.0.0-dev.49 00:29:26 v3.0.0-dev.5 00:29:26 v3.0.0-dev.50 00:29:26 v3.0.0-dev.51 00:29:26 v3.0.0-dev.52 00:29:26 v3.0.0-dev.6 00:29:26 v3.0.0-dev.7 00:29:26 v3.0.0-dev.8 00:29:26 v3.0.0-dev.9 [Pipeline] sh 00:29:26 + lftools sign git-tag v3.0.0-dev.52 00:29:26 Signing Git tag with Sigul... 00:29:26 Signing v3.0.0-dev.52 [Pipeline] echo 00:29:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:29:27 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:29:27 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:29:27 $ docker stop --time=1 78426e7f56205d60e415c1a9e23f0c99c28773267a2410fddd39c1ae0360759f 00:29:28 $ docker rm -f --volumes 78426e7f56205d60e415c1a9e23f0c99c28773267a2410fddd39c1ae0360759f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:29:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:29:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:29:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:29 prd-ubuntu20.04-docker-8c-8g-17219 does not seem to be running inside a container 00:29:29 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:29:29 $ docker top 88fbb57203c90becffee2c995003cbfccd72c154e916af0a6132c9354c9bda5d -eo pid,comm 00:29:29 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). 00:29:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:29:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:29:30 [ssh-agent] Looking for ssh-agent implementation... 00:29:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:29:30 $ docker exec 88fbb57203c90becffee2c995003cbfccd72c154e916af0a6132c9354c9bda5d ssh-agent 00:29:30 SSH_AUTH_SOCK=/tmp/ssh-Rq6JLixpvU0t/agent.33 00:29:30 SSH_AGENT_PID=39 00:29:30 Running ssh-add (command line suppressed) 00:29:30 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16244156365729413017.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16244156365729413017.key) 00:29:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:29:30 + git semver bump pre 00:29:30 2023-05-30 00:29:30,818 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:29:30 2023-05-30 00:29:30,818 [bump_version] DEBUG bumping version:3.0.0-dev.52 on axis:pre with prefix:dev 00:29:30 2023-05-30 00:29:30,818 [bump_version] DEBUG bumped version:3.0.0-dev.53 00:29:30 2023-05-30 00:29:30,818 [write_version] DEBUG write version:3.0.0-dev.53 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 00:29:30 2023-05-30 00:29:30,819 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:29:30 2023-05-30 00:29:30,819 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:29:30 2023-05-30 00:29:30,821 [execute] INFO git cat-file --batch-check 00:29:30 2023-05-30 00:29:30,821 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:29:30 2023-05-30 00:29:30,826 [execute] INFO git cat-file --batch 00:29:30 2023-05-30 00:29:30,826 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:29:30 2023-05-30 00:29:30,831 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:29:30 3.0.0-dev.53 [Pipeline] } 00:29:30 $ docker exec --env ******** --env ******** 88fbb57203c90becffee2c995003cbfccd72c154e916af0a6132c9354c9bda5d ssh-agent -k 00:29:31 unset SSH_AUTH_SOCK; 00:29:31 unset SSH_AGENT_PID; 00:29:31 echo Agent pid 39 killed; 00:29:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:29:31 + git semver [Pipeline] } 00:29:31 $ docker stop --time=1 88fbb57203c90becffee2c995003cbfccd72c154e916af0a6132c9354c9bda5d 00:29:32 $ docker rm -f --volumes 88fbb57203c90becffee2c995003cbfccd72c154e916af0a6132c9354c9bda5d [Pipeline] // withDockerContainer [Pipeline] sh 00:29:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:29:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:29:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:33 prd-ubuntu20.04-docker-8c-8g-17219 does not seem to be running inside a container 00:29:33 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:29:33 $ docker top 9ed436e6b1c3de866d07e988241edb3598e4f7e8e674c7cb6dd36407ffb4542f -eo pid,comm 00:29: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). 00:29:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:29:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:29:34 [ssh-agent] Looking for ssh-agent implementation... 00:29:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:29:34 $ docker exec 9ed436e6b1c3de866d07e988241edb3598e4f7e8e674c7cb6dd36407ffb4542f ssh-agent 00:29:34 SSH_AUTH_SOCK=/tmp/ssh-MU8FmFPWkkl2/agent.32 00:29:34 SSH_AGENT_PID=38 00:29:34 Running ssh-add (command line suppressed) 00:29:34 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7186333673982785230.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7186333673982785230.key) 00:29:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:29:34 + git semver push 00:29:34 2023-05-30 00:29:34,856 [run_push] DEBUG push 00:29:34 2023-05-30 00:29:34,857 [execute] INFO git cat-file --batch-check 00:29:34 2023-05-30 00:29:34,857 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:29:34 2023-05-30 00:29:34,862 [execute] INFO git rev-list 47ab7cc148b6e159e0d0bb4e14b7cbec9744c33a -- 00:29:34 2023-05-30 00:29:34,862 [execute] DEBUG Popen(['git', 'rev-list', '47ab7cc148b6e159e0d0bb4e14b7cbec9744c33a', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:29:34 2023-05-30 00:29:34,873 [execute] INFO git fetch -v origin 00:29:34 2023-05-30 00:29:34,873 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:29:35 2023-05-30 00:29:35,341 [run_push] DEBUG no remote changes detected 00:29:35 2023-05-30 00:29:35,341 [execute] INFO git push origin semver 00:29:35 2023-05-30 00:29:35,342 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:29:36 2023-05-30 00:29:36,115 [run_push] DEBUG push all version tags 00:29:36 2023-05-30 00:29:36,115 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:29:36 2023-05-30 00:29:36,116 [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) 00:29:37 2023-05-30 00:29:36,878 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:29:37 3.0.0-dev.53 [Pipeline] } 00:29:37 $ docker exec --env ******** --env ******** 9ed436e6b1c3de866d07e988241edb3598e4f7e8e674c7cb6dd36407ffb4542f ssh-agent -k 00:29:37 unset SSH_AUTH_SOCK; 00:29:37 unset SSH_AGENT_PID; 00:29:37 echo Agent pid 38 killed; 00:29:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:29:37 + git semver [Pipeline] } 00:29:37 $ docker stop --time=1 9ed436e6b1c3de866d07e988241edb3598e4f7e8e674c7cb6dd36407ffb4542f 00:29:39 $ docker rm -f --volumes 9ed436e6b1c3de866d07e988241edb3598e4f7e8e674c7cb6dd36407ffb4542f [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 00:29:39 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 00:29:39 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 00:29:39 total 16 00:29:39 drwxr-xr-x 3 root root 4096 May 30 00:17 . 00:29:39 drwxrwxr-x 10 jenkins jenkins 4096 May 30 00:29 .. 00:29:39 drwxr-xr-x 2 root root 4096 May 30 00:17 cost 00:29:39 -rw-r--r-- 1 root root 89 May 30 00:17 cost.csv 00:29:39 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 00:29:39 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 00:29:39 total 16 00:29:39 drwxr-xr-x 3 jenkins jenkins 4096 May 30 00:17 . 00:29:39 drwxrwxr-x 10 jenkins jenkins 4096 May 30 00:29 .. 00:29:39 drwxr-xr-x 2 jenkins jenkins 4096 May 30 00:17 cost 00:29:39 -rw-r--r-- 1 jenkins jenkins 89 May 30 00:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:29:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:29:40 ---> package-listing.sh 00:29:40 ++ facter osfamily 00:29:40 ++ tr '[:upper:]' '[:lower:]' 00:29:41 + OS_FAMILY=debian 00:29:41 + workspace=/w/workspace/exfoundry_device-virtual-go_main 00:29:41 + START_PACKAGES=/tmp/packages_start.txt 00:29:41 + END_PACKAGES=/tmp/packages_end.txt 00:29:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:29:41 + PACKAGES=/tmp/packages_start.txt 00:29:41 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 00:29:41 + PACKAGES=/tmp/packages_end.txt 00:29:41 + case "${OS_FAMILY}" in 00:29:41 + dpkg -l 00:29:41 + grep '^ii' 00:29:41 + '[' -f /tmp/packages_start.txt ']' 00:29:41 + '[' -f /tmp/packages_end.txt ']' 00:29:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:29:41 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 00:29:41 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 00:29:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 00:29:41 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 00:29:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:29:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:41 prd-ubuntu20.04-docker-8c-8g-17219 does not seem to be running inside a container 00:29:42 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:29:42 $ docker top 23009a875390cad7c8b58bea8bff1e0b4d088fd7aa9e89fd9dfccb48bc91414c -eo pid,comm [Pipeline] { [Pipeline] sh 00:29:42 + touch /tmp/pre-build-complete [Pipeline] sh 00:29:42 + mkdir -p /var/log/sysstat [Pipeline] sh 00:29:43 + ls /var/log/sa-host 00:29:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:29:43 provisioning config files... 00:29:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13636633671053774841tmp [Pipeline] { [Pipeline] echo 00:29:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:29:43 ---> create-netrc.sh [Pipeline] } 00:29:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:29:43 ---> python-tools-install.sh [Pipeline] echo 00:29:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:29:44 ---> sudo-logs.sh 00:29:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:29:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:29:44 ---> job-cost.sh 00:29:44 lf-activate-venv: SKIPPING 00:29:44 DEBUG: total: 0.2199999988079071 00:29:44 INFO: Retrieving Stack Cost... 00:29:44 INFO: Retrieving Pricing Info for: v3-standard-8 00:29:45 INFO: Archiving Costs [Pipeline] echo 00:29:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:29:45 ---> logs-deploy.sh 00:29:45 lf-activate-venv: SKIPPING 00:29:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/124 00:29:45 INFO: archiving workspace using pattern(s): 00:29:46 Archives upload complete. 00:29:46 INFO: archiving logs to Nexus