Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 81c3d8df6e6916a21c685b3cf20bca39d3871f6d 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-ssh6236616701898428231.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-ssh5370545173842137623.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-ssh14121081417055225361.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-ssh17915747033132769122.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-ssh10953801368427853263.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-13840 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 81c3d8df6e6916a21c685b3cf20bca39d3871f6d (main) Commit message: "Merge pull request #397 from jumpingliu/ignore-go-mods" > git config core.sparsecheckout # timeout=10 > git checkout -f 81c3d8df6e6916a21c685b3cf20bca39d3871f6d # timeout=10 > git rev-list --no-walk f8cb92a3d845b6daf1d0068b834535a64d8c37e9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:06:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:06:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:06:10 ========================================================= 06:06:10 EdgeX Global Pipelines Version Info 06:06:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:06:10 ------------------- 06:06:10 stable info: 06:06:10 ------------------- 06:06:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:06:10 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:06:10 Message: update stable to v1.0.249 06:06:11 ------------------- 06:06:11 experimental info: 06:06:11 ------------------- 06:06:11 Commited By: **** collab-it+edgex@linuxfoundation.org 06:06:11 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:06:11 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:06:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 81c3d8df6e6916a21c685b3cf20bca39d3871f6d [Pipeline] echo 06:06:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 81c3d8d [Pipeline] echo 06:06:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:06:12 provisioning config files... 06:06:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3078041439504648951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:12 ---> docker-login.sh 06:06:12 nexus3.edgexfoundry.org:10001 06:06:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:12 Configure a credential helper to remove this warning. See 06:06:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:12 06:06:12 Login Succeeded 06:06:12 nexus3.edgexfoundry.org:10002 06:06:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:12 Configure a credential helper to remove this warning. See 06:06:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:12 06:06:12 Login Succeeded 06:06:12 nexus3.edgexfoundry.org:10003 06:06:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:12 Configure a credential helper to remove this warning. See 06:06:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:12 06:06:12 Login Succeeded 06:06:12 nexus3.edgexfoundry.org:10004 06:06:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:13 Configure a credential helper to remove this warning. See 06:06:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:13 06:06:13 Login Succeeded 06:06:13 docker.io 06:06:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:13 Configure a credential helper to remove this warning. See 06:06:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:13 06:06:13 Login Succeeded 06:06:13 ---> docker-login.sh ends [Pipeline] } 06:06:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:06:13 + git rev-list -1 --merges 81c3d8df6e6916a21c685b3cf20bca39d3871f6d~1..81c3d8df6e6916a21c685b3cf20bca39d3871f6d [Pipeline] echo 06:06:13 -----------> git rev-list -1 --merges 81c3d8df6e6916a21c685b3cf20bca39d3871f6d~1..81c3d8df6e6916a21c685b3cf20bca39d3871f6d 81c3d8df6e6916a21c685b3cf20bca39d3871f6d 06:06:13 81c3d8df6e6916a21c685b3cf20bca39d3871f6d [false] [Pipeline] sh 06:06:14 + git log --format=format:%s -1 81c3d8df6e6916a21c685b3cf20bca39d3871f6d [Pipeline] echo 06:06:14 ========================================================= 06:06:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:06:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:06:14 + git log --format=format:%s -1 81c3d8df6e6916a21c685b3cf20bca39d3871f6d [Pipeline] echo 06:06:14 [semverPrep] GIT_COMMIT: 81c3d8df6e6916a21c685b3cf20bca39d3871f6d, Commit Message: Merge pull request #397 from jumpingliu/ignore-go-mods [Pipeline] echo 06:06:14 [semverPrep] This is not a build commit. [Pipeline] sh 06:06:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:06:14 + grep -v github /etc/ssh/ssh_known_hosts 06:06:14 + [ -e /tmp/ssh_known_hosts ] 06:06:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:06:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:06:14 + sudo tee -a /etc/ssh/ssh_known_hosts 06:06:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:06:15 06:06:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:06:15 0.1.4: Pulling from edgex-devops/py-git-semver 06:06:15 b85a868b505f: Pulling fs layer 06:06:15 e2be974225ed: Pulling fs layer 06:06:15 339a4e72a1f5: Pulling fs layer 06:06:15 988bab9f4d93: Pulling fs layer 06:06:15 1469e6f7b9e6: Pulling fs layer 06:06:15 eaf3925da568: Pulling fs layer 06:06:15 bab4dde63d76: Pulling fs layer 06:06:15 bde34c3a00c8: Pulling fs layer 06:06:15 988bab9f4d93: Waiting 06:06:15 bab4dde63d76: Waiting 06:06:15 eaf3925da568: Waiting 06:06:15 b352a97aabf1: Pulling fs layer 06:06:15 1469e6f7b9e6: Waiting 06:06:15 4872d77fe225: Pulling fs layer 06:06:15 bde34c3a00c8: Waiting 06:06:15 5851b861e8e6: Pulling fs layer 06:06:15 b352a97aabf1: Waiting 06:06:15 4872d77fe225: Waiting 06:06:15 e2be974225ed: Download complete 06:06:15 988bab9f4d93: Verifying Checksum 06:06:15 988bab9f4d93: Download complete 06:06:15 1469e6f7b9e6: Verifying Checksum 06:06:15 1469e6f7b9e6: Download complete 06:06:15 339a4e72a1f5: Verifying Checksum 06:06:15 339a4e72a1f5: Download complete 06:06:15 eaf3925da568: Verifying Checksum 06:06:15 eaf3925da568: Download complete 06:06:15 bde34c3a00c8: Verifying Checksum 06:06:15 bde34c3a00c8: Download complete 06:06:15 b352a97aabf1: Verifying Checksum 06:06:15 b352a97aabf1: Download complete 06:06:15 4872d77fe225: Verifying Checksum 06:06:15 4872d77fe225: Download complete 06:06:15 5851b861e8e6: Verifying Checksum 06:06:15 5851b861e8e6: Download complete 06:06:15 b85a868b505f: Download complete 06:06:16 bab4dde63d76: Verifying Checksum 06:06:16 bab4dde63d76: Download complete 06:06:16 b85a868b505f: Pull complete 06:06:16 e2be974225ed: Pull complete 06:06:17 339a4e72a1f5: Pull complete 06:06:17 988bab9f4d93: Pull complete 06:06:17 1469e6f7b9e6: Pull complete 06:06:18 eaf3925da568: Pull complete 06:06:19 bab4dde63d76: Pull complete 06:06:19 bde34c3a00c8: Pull complete 06:06:19 b352a97aabf1: Pull complete 06:06:19 4872d77fe225: Pull complete 06:06:19 5851b861e8e6: Pull complete 06:06:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:06:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:06:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:20 prd-ubuntu20.04-docker-8c-8g-13840 does not seem to be running inside a container 06:06:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:06:21 $ docker top 9d80cb641f17448b79693aa21219cb4d5efec682d112cf92a2e7630f1fcc4881 -eo pid,comm 06:06:21 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). 06:06:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:06:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:06:21 [ssh-agent] Looking for ssh-agent implementation... 06:06:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:06:21 $ docker exec 9d80cb641f17448b79693aa21219cb4d5efec682d112cf92a2e7630f1fcc4881 ssh-agent 06:06:21 SSH_AUTH_SOCK=/tmp/ssh-Z8x8J1yK0Vu6/agent.32 06:06:21 SSH_AGENT_PID=38 06:06:21 Running ssh-add (command line suppressed) 06:06:21 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18433325627558944055.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18433325627558944055.key) 06:06:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:06:21 + git tag --points-at HEAD [Pipeline] } 06:06:21 $ docker exec --env ******** --env ******** 9d80cb641f17448b79693aa21219cb4d5efec682d112cf92a2e7630f1fcc4881 ssh-agent -k 06:06:22 unset SSH_AUTH_SOCK; 06:06:22 unset SSH_AGENT_PID; 06:06:22 echo Agent pid 38 killed; 06:06:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:06:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:06:22 [ssh-agent] Looking for ssh-agent implementation... 06:06:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:06:22 $ docker exec 9d80cb641f17448b79693aa21219cb4d5efec682d112cf92a2e7630f1fcc4881 ssh-agent 06:06:22 SSH_AUTH_SOCK=/tmp/ssh-9kcqvhDfKpGD/agent.70 06:06:22 SSH_AGENT_PID=76 06:06:22 Running ssh-add (command line suppressed) 06:06:22 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6403804277759725721.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6403804277759725721.key) 06:06:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:06:22 + git semver init 06:06:23 2023-05-05 06:06:22,952 [run_init] DEBUG init version:0.0.0 force:False 06:06:23 2023-05-05 06:06:22,953 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 06:06:23 2023-05-05 06:06:22,953 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 06:06:23 2023-05-05 06:06:22,953 [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) 06:06:23 2023-05-05 06:06:23,913 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 06:06:23 2023-05-05 06:06:23,915 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 06:06:23 2023-05-05 06:06:23,915 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 06:06:23 2023-05-05 06:06:23,915 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 06:06:23 3.0.0-dev.39 [Pipeline] } 06:06:23 $ docker exec --env ******** --env ******** 9d80cb641f17448b79693aa21219cb4d5efec682d112cf92a2e7630f1fcc4881 ssh-agent -k 06:06:24 unset SSH_AUTH_SOCK; 06:06:24 unset SSH_AGENT_PID; 06:06:24 echo Agent pid 76 killed; 06:06:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:06:24 + git semver [Pipeline] } 06:06:24 $ docker stop --time=1 9d80cb641f17448b79693aa21219cb4d5efec682d112cf92a2e7630f1fcc4881 06:06:25 $ docker rm -f --volumes 9d80cb641f17448b79693aa21219cb4d5efec682d112cf92a2e7630f1fcc4881 [Pipeline] // withDockerContainer [Pipeline] sh 06:06:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:06:26 Stashed 1 file(s) [Pipeline] echo 06:06:26 [edgeXSemver]: initialized semver on version 3.0.0-dev.39 [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 06:06:26 provisioning config files... 06:06:26 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16727869700202914484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:26 ---> docker-login.sh 06:06:26 nexus3.edgexfoundry.org:10001 06:06:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:26 Configure a credential helper to remove this warning. See 06:06:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:26 06:06:26 Login Succeeded 06:06:26 nexus3.edgexfoundry.org:10002 06:06:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:26 Configure a credential helper to remove this warning. See 06:06:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:26 06:06:26 Login Succeeded 06:06:26 nexus3.edgexfoundry.org:10003 06:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:27 Configure a credential helper to remove this warning. See 06:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:27 06:06:27 Login Succeeded 06:06:27 nexus3.edgexfoundry.org:10004 06:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:27 Configure a credential helper to remove this warning. See 06:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:27 06:06:27 Login Succeeded 06:06:27 docker.io 06:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:27 Configure a credential helper to remove this warning. See 06:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:27 06:06:27 Login Succeeded 06:06:27 ---> docker-login.sh ends [Pipeline] } 06:06:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:06:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:06:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:06:27 ========================================================= 06:06:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:06:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:27 + 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 . 06:06:27 Sending build context to Docker daemon 23.6MB 06:06:27 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:06:27 Step 2/12 : FROM ${BASE} AS builder 06:06:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:06:27 f56be85fc22e: Pulling fs layer 06:06:27 85791d961cd3: Pulling fs layer 06:06:27 d694b5ae8c79: Pulling fs layer 06:06:27 9f32a84ed3da: Pulling fs layer 06:06:27 4d19c01a9841: Pulling fs layer 06:06:27 9325e15d5711: Pulling fs layer 06:06:27 556b6ee489ea: Pulling fs layer 06:06:27 c5a4b2cf53e6: Pulling fs layer 06:06:27 556b6ee489ea: Waiting 06:06:27 c5a4b2cf53e6: Waiting 06:06:27 9f32a84ed3da: Waiting 06:06:27 4d19c01a9841: Waiting 06:06:27 9325e15d5711: Waiting 06:06:28 85791d961cd3: Verifying Checksum 06:06:28 85791d961cd3: Download complete 06:06:28 9f32a84ed3da: Verifying Checksum 06:06:28 9f32a84ed3da: Download complete 06:06:28 4d19c01a9841: Verifying Checksum 06:06:28 4d19c01a9841: Download complete 06:06:28 f56be85fc22e: Verifying Checksum 06:06:28 f56be85fc22e: Download complete 06:06:28 9325e15d5711: Verifying Checksum 06:06:28 9325e15d5711: Download complete 06:06:28 f56be85fc22e: Pull complete 06:06:28 85791d961cd3: Pull complete 06:06:28 c5a4b2cf53e6: Verifying Checksum 06:06:28 c5a4b2cf53e6: Download complete 06:06:28 d694b5ae8c79: Verifying Checksum 06:06:28 d694b5ae8c79: Download complete 06:06:28 556b6ee489ea: Verifying Checksum 06:06:28 556b6ee489ea: Download complete 06:06:32 d694b5ae8c79: Pull complete 06:06:32 9f32a84ed3da: Pull complete 06:06:32 4d19c01a9841: Pull complete 06:06:32 9325e15d5711: Pull complete 06:06:34 556b6ee489ea: Pull complete 06:06:35 c5a4b2cf53e6: Pull complete 06:06:35 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 06:06:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:06:35 ---> c4be618373d6 06:06:35 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:06:36 ---> Running in ba9d173a094e 06:06:36 Removing intermediate container ba9d173a094e 06:06:36 ---> 0d36be85595a 06:06:36 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:06:37 ---> Running in bca1103010d4 06:06:37 Removing intermediate container bca1103010d4 06:06:37 ---> 1985cb612a6a 06:06:37 Step 5/12 : ARG ADD_BUILD_TAGS="" 06:06:37 ---> Running in 116afc28ce45 06:06:37 Removing intermediate container 116afc28ce45 06:06:37 ---> 556fe43c51d4 06:06:37 Step 6/12 : WORKDIR /device-virtual-go 06:06:37 ---> Running in 5b4a8b37e067 06:06:37 Removing intermediate container 5b4a8b37e067 06:06:37 ---> f44920542a01 06:06:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:06:37 ---> Running in bb3dfdd36f1f 06:06:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:06:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:06:38 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:06:38 (2/4) Installing libedit (20221030.3.1-r0) 06:06:38 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:06:38 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:06:38 Executing busybox-1.35.0-r29.trigger 06:06:38 OK: 269 MiB in 57 packages 06:06:38 Removing intermediate container bb3dfdd36f1f 06:06:38 ---> 6536f7c365aa 06:06:38 Step 8/12 : COPY go.mod vendor* ./ 06:06:38 ---> 96b6bdc890ab 06:06:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:06:38 ---> Running in 717bc51628da 06:06:41 Still waiting to schedule task 06:06:41 ‘prd-centos7-blackbox-4c-2g-12073’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:06:41 ‘prd-centos7-blackbox-4c-2g-12074’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:06:41 ‘prd-ubuntu20.04-docker-arm64-4c-16g-13841’ is offline 06:06:56 Removing intermediate container 717bc51628da 06:06:56 ---> 8a6f97c0f379 06:06:56 Step 10/12 : COPY . . 06:06:56 ---> 151d702b1c2c 06:06:56 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:06:56 ---> Running in 0ec4b6402af5 06:06:56 Removing intermediate container 0ec4b6402af5 06:06:56 ---> 00e23a1cd1b5 06:06:56 Step 12/12 : RUN $MAKE 06:06:56 ---> Running in 9bb243205e07 06:06:56 noop 06:06:56 Removing intermediate container 9bb243205e07 06:06:56 ---> 40b6d51f830e 06:06:56 Successfully built 40b6d51f830e 06:06:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:57 + docker inspect -f . ci-base-image-x86_64 06:06:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:57 prd-ubuntu20.04-docker-8c-8g-13840 does not seem to be running inside a container 06:06:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:06:57 $ docker top e366f53f6469f3164ffd0f61a1d03578c9cdf713c97fe32c89ba41ffbf840c92 -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:58 + go version 06:06:58 go version go1.20.2 linux/amd64 [Pipeline] } 06:06:58 $ docker stop --time=1 e366f53f6469f3164ffd0f61a1d03578c9cdf713c97fe32c89ba41ffbf840c92 06:06:59 $ docker rm -f --volumes e366f53f6469f3164ffd0f61a1d03578c9cdf713c97fe32c89ba41ffbf840c92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:59 + docker inspect -f . ci-base-image-x86_64 06:06:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:59 prd-ubuntu20.04-docker-8c-8g-13840 does not seem to be running inside a container 06:06:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:07:00 $ docker top a0b5c729cf7a468de53cb02438aa55fa0afa81cf0c73de1de372360cd970b5b4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:07:00 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 06:07:00 + make test 06:07:00 go test ./... -coverprofile=coverage.out 06:07:06 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:07:16 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:07:16 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.019s coverage: 58.6% of statements 06:07:20 go vet ./... 06:07:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:07:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:07:23 ./bin/test-attribution-txt.sh [Pipeline] echo 06:07:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:07:23 $ docker stop --time=1 a0b5c729cf7a468de53cb02438aa55fa0afa81cf0c73de1de372360cd970b5b4 06:07:25 $ docker rm -f --volumes a0b5c729cf7a468de53cb02438aa55fa0afa81cf0c73de1de372360cd970b5b4 [Pipeline] // withDockerContainer [Pipeline] sh 06:07:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:07:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:07:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:07:26 + ls -al . 06:07:26 total 192 06:07:26 drwxrwxr-x 9 jenkins jenkins 4096 May 5 06:07 . 06:07:26 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:06 .. 06:07:26 drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:06 .git 06:07:26 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:06 .github 06:07:26 -rw-rw-r-- 1 jenkins jenkins 337 May 5 06:06 .gitignore 06:07:26 -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:06 .golangci.yml 06:07:26 drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:06 .semver 06:07:26 -rw-rw-r-- 1 jenkins jenkins 8652 May 5 06:06 Attribution.txt 06:07:26 -rw-rw-r-- 1 jenkins jenkins 11367 May 5 06:06 CHANGELOG.md 06:07:26 -rw-rw-r-- 1 jenkins jenkins 1646 May 5 06:06 Dockerfile 06:07:26 -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:06 GOVERNANCE.md 06:07:26 -rw-rw-r-- 1 jenkins jenkins 660 May 5 06:06 Jenkinsfile 06:07:26 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:06 LICENSE 06:07:26 -rw-rw-r-- 1 jenkins jenkins 1696 May 5 06:06 Makefile 06:07:26 -rw-rw-r-- 1 jenkins jenkins 623 May 5 06:06 OWNERS.md 06:07:26 -rw-rw-r-- 1 jenkins jenkins 3578 May 5 06:06 README.md 06:07:26 -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:06 VERSION 06:07:26 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:06 bin 06:07:26 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:06 cmd 06:07:26 -rw-r--r-- 1 jenkins jenkins 43063 May 5 06:07 coverage.out 06:07:26 -rw-rw-r-- 1 jenkins jenkins 3209 May 5 06:06 go.mod 06:07:26 -rw-rw-r-- 1 jenkins jenkins 30994 May 5 06:06 go.sum 06:07:26 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:06 internal 06:07:26 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:06 snap 06:07:26 -rw-rw-r-- 1 jenkins jenkins 235 May 5 06:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:26 + 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=81c3d8df6e6916a21c685b3cf20bca39d3871f6d --label arch=amd64 --label version=3.0.0-dev.39 . 06:07:26 Sending build context to Docker daemon 23.64MB 06:07:26 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 06:07:26 Step 2/25 : FROM ${BASE} AS builder 06:07:26 ---> 40b6d51f830e 06:07:26 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:07:26 ---> Running in 0b090ffea29a 06:07:27 Removing intermediate container 0b090ffea29a 06:07:27 ---> 561e6ebefc55 06:07:27 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 06:07:27 ---> Running in 8e421f50de20 06:07:27 Removing intermediate container 8e421f50de20 06:07:27 ---> 4d0361070a85 06:07:27 Step 5/25 : ARG ADD_BUILD_TAGS="" 06:07:27 ---> Running in a2d39bfdcfc1 06:07:27 Removing intermediate container a2d39bfdcfc1 06:07:27 ---> ba5ccb40d041 06:07:27 Step 6/25 : WORKDIR /device-virtual-go 06:07:27 ---> Running in 8fd1c2bd1342 06:07:27 Removing intermediate container 8fd1c2bd1342 06:07:27 ---> 2d3680a36645 06:07:27 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:07:27 ---> Running in ef9e63ab890d 06:07:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:07:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:07:27 OK: 269 MiB in 57 packages 06:07:28 Removing intermediate container ef9e63ab890d 06:07:28 ---> b0cdd4dddcf8 06:07:28 Step 8/25 : COPY go.mod vendor* ./ 06:07:28 ---> 828c2cf1e748 06:07:28 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:07:28 ---> Running in 62bfbdfc9728 06:07:29 Removing intermediate container 62bfbdfc9728 06:07:29 ---> cf88e3321935 06:07:29 Step 10/25 : COPY . . 06:07:29 ---> 8aa064c9470e 06:07:29 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:07:29 ---> Running in 9e9cfad76bc4 06:07:29 Removing intermediate container 9e9cfad76bc4 06:07:29 ---> 2172ca5945fe 06:07:29 Step 12/25 : RUN $MAKE 06:07:29 ---> Running in 691f5738f4e9 06:07:29 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.39" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 06:07:47 Removing intermediate container 691f5738f4e9 06:07:47 ---> a1721196d268 06:07:47 Step 13/25 : FROM alpine:3.17 06:07:47 3.17: Pulling from library/alpine 06:07:47 f56be85fc22e: Already exists 06:07:47 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:07:47 Status: Downloaded newer image for alpine:3.17 06:07:47 ---> 9ed4aefc74f6 06:07:47 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 06:07:47 ---> Running in 02ac51fae27a 06:07:47 Removing intermediate container 02ac51fae27a 06:07:47 ---> 20822506add5 06:07:47 Step 15/25 : RUN apk add --update --no-cache dumb-init 06:07:47 ---> Running in 9b7f1fb01960 06:07:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:07:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:07:47 (1/1) Installing dumb-init (1.2.5-r2) 06:07:47 Executing busybox-1.35.0-r29.trigger 06:07:47 OK: 7 MiB in 16 packages 06:07:47 Removing intermediate container 9b7f1fb01960 06:07:47 ---> 5064e9c8e8cb 06:07:47 Step 16/25 : WORKDIR / 06:07:47 ---> Running in fd375fb2d4e2 06:07:47 Removing intermediate container fd375fb2d4e2 06:07:47 ---> 67044596ec9b 06:07:47 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 06:07:47 ---> 2ddccb8f8bd4 06:07:47 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 06:07:47 ---> ceeee3456b0e 06:07:47 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 06:07:47 ---> 5deac8a5e6c1 06:07:47 Step 20/25 : EXPOSE 59900 06:07:47 ---> Running in 62bdf23a93c1 06:07:47 Removing intermediate container 62bdf23a93c1 06:07:47 ---> 15891c63f41d 06:07:47 Step 21/25 : ENTRYPOINT ["/device-virtual"] 06:07:47 ---> Running in 9be6c2619821 06:07:47 Removing intermediate container 9be6c2619821 06:07:47 ---> 7810f8735188 06:07:47 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:07:47 ---> Running in 055d4e66fcea 06:07:47 Removing intermediate container 055d4e66fcea 06:07:47 ---> 06f322914108 06:07:47 Step 23/25 : LABEL arch=amd64 06:07:47 ---> Running in 548d63125631 06:07:47 Removing intermediate container 548d63125631 06:07:47 ---> 93d9880f5e60 06:07:47 Step 24/25 : LABEL git_sha=81c3d8df6e6916a21c685b3cf20bca39d3871f6d 06:07:47 ---> Running in cae4726a8f67 06:07:47 Removing intermediate container cae4726a8f67 06:07:47 ---> 5938edb151e0 06:07:47 Step 25/25 : LABEL version=3.0.0-dev.39 06:07:48 ---> Running in 194daf5cd96e 06:07:48 Removing intermediate container 194daf5cd96e 06:07:48 ---> b251ed89a324 06:07:48 [Warning] One or more build-args [ARCH] were not consumed 06:07:48 Successfully built b251ed89a324 06:07:48 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:07:48 provisioning config files... 06:07:48 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2592074943906597146tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:07:48 ---> docker-login.sh 06:07:48 nexus3.edgexfoundry.org:10001 06:07:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:48 Configure a credential helper to remove this warning. See 06:07:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:48 06:07:48 Login Succeeded 06:07:48 nexus3.edgexfoundry.org:10002 06:07:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:48 Configure a credential helper to remove this warning. See 06:07:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:48 06:07:48 Login Succeeded 06:07:48 nexus3.edgexfoundry.org:10003 06:07:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:49 Configure a credential helper to remove this warning. See 06:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:49 06:07:49 Login Succeeded 06:07:49 nexus3.edgexfoundry.org:10004 06:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:49 Configure a credential helper to remove this warning. See 06:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:49 06:07:49 Login Succeeded 06:07:49 docker.io 06:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:49 Configure a credential helper to remove this warning. See 06:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:49 06:07:49 Login Succeeded 06:07:49 ---> docker-login.sh ends [Pipeline] } 06:07:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:07:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:07:49 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 06:07:49 81c3d8df6e6916a21c685b3cf20bca39d3871f6d 06:07:49 latest 06:07:49 3.0.0-dev.39 06:07:49 81c3d8df6e6916a21c685b3cf20bca39d3871f6d-3.0.0-dev.39 06:07:49 main 06:07:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:49 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:81c3d8df6e6916a21c685b3cf20bca39d3871f6d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:49 + docker push nexus3.edgexfoundry.org:10004/device-virtual:81c3d8df6e6916a21c685b3cf20bca39d3871f6d 06:07:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 06:07:49 e0029c259c55: Preparing 06:07:49 5c02099b4e6c: Preparing 06:07:49 a129155580fa: Preparing 06:07:49 15bc70161b8e: Preparing 06:07:49 f1417ff83b31: Preparing 06:07:49 f1417ff83b31: Layer already exists 06:07:49 a129155580fa: Pushed 06:07:49 5c02099b4e6c: Pushed 06:07:49 15bc70161b8e: Pushed 06:07:52 e0029c259c55: Pushed 06:07:52 81c3d8df6e6916a21c685b3cf20bca39d3871f6d: digest: sha256:50af9c541577c8de3b35c65587e57decd645ec8462a628ae539bf031eb3e1ab0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:53 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 06:07:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 06:07:53 e0029c259c55: Preparing 06:07:53 5c02099b4e6c: Preparing 06:07:53 a129155580fa: Preparing 06:07:53 15bc70161b8e: Preparing 06:07:53 f1417ff83b31: Preparing 06:07:53 15bc70161b8e: Layer already exists 06:07:53 f1417ff83b31: Layer already exists 06:07:53 5c02099b4e6c: Layer already exists 06:07:53 a129155580fa: Layer already exists 06:07:53 e0029c259c55: Layer already exists 06:07:53 latest: digest: sha256:50af9c541577c8de3b35c65587e57decd645ec8462a628ae539bf031eb3e1ab0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:53 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:54 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.39 06:07:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 06:07:54 e0029c259c55: Preparing 06:07:54 5c02099b4e6c: Preparing 06:07:54 a129155580fa: Preparing 06:07:54 15bc70161b8e: Preparing 06:07:54 f1417ff83b31: Preparing 06:07:54 15bc70161b8e: Layer already exists 06:07:54 f1417ff83b31: Layer already exists 06:07:54 a129155580fa: Layer already exists 06:07:54 5c02099b4e6c: Layer already exists 06:07:54 e0029c259c55: Layer already exists 06:07:54 3.0.0-dev.39: digest: sha256:50af9c541577c8de3b35c65587e57decd645ec8462a628ae539bf031eb3e1ab0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:54 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:81c3d8df6e6916a21c685b3cf20bca39d3871f6d-3.0.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:54 + docker push nexus3.edgexfoundry.org:10004/device-virtual:81c3d8df6e6916a21c685b3cf20bca39d3871f6d-3.0.0-dev.39 06:07:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 06:07:54 e0029c259c55: Preparing 06:07:54 5c02099b4e6c: Preparing 06:07:54 a129155580fa: Preparing 06:07:54 15bc70161b8e: Preparing 06:07:54 f1417ff83b31: Preparing 06:07:54 e0029c259c55: Layer already exists 06:07:54 a129155580fa: Layer already exists 06:07:54 f1417ff83b31: Layer already exists 06:07:54 5c02099b4e6c: Layer already exists 06:07:54 15bc70161b8e: Layer already exists 06:07:54 81c3d8df6e6916a21c685b3cf20bca39d3871f6d-3.0.0-dev.39: digest: sha256:50af9c541577c8de3b35c65587e57decd645ec8462a628ae539bf031eb3e1ab0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:54 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:55 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 06:07:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 06:07:55 e0029c259c55: Preparing 06:07:55 5c02099b4e6c: Preparing 06:07:55 a129155580fa: Preparing 06:07:55 15bc70161b8e: Preparing 06:07:55 f1417ff83b31: Preparing 06:07:55 a129155580fa: Layer already exists 06:07:55 5c02099b4e6c: Layer already exists 06:07:55 f1417ff83b31: Layer already exists 06:07:55 e0029c259c55: Layer already exists 06:07:55 15bc70161b8e: Layer already exists 06:07:55 main: digest: sha256:50af9c541577c8de3b35c65587e57decd645ec8462a628ae539bf031eb3e1ab0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:07:55 ===================================================== [Pipeline] echo 06:07:55 taggedImages: 06:07:55 - nexus3.edgexfoundry.org:10004/device-virtual:81c3d8df6e6916a21c685b3cf20bca39d3871f6d 06:07:55 - nexus3.edgexfoundry.org:10004/device-virtual:latest 06:07:55 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.39 06:07:55 - nexus3.edgexfoundry.org:10004/device-virtual:81c3d8df6e6916a21c685b3cf20bca39d3871f6d-3.0.0-dev.39 06:07:55 - 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 06:07:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:07:55 06:07:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:07:55 latest: Pulling from edgex-lftools-log-publisher 06:07:55 5eb5b503b376: Pulling fs layer 06:07:55 5c69ac0246d0: Pulling fs layer 06:07:55 ec43610c2a17: Pulling fs layer 06:07:55 3a2ae6a8a46f: Pulling fs layer 06:07:55 33b1e0a273af: Pulling fs layer 06:07:55 3a2ae6a8a46f: Waiting 06:07:55 5d3b04190fa2: Pulling fs layer 06:07:55 2f39f015ded8: Pulling fs layer 06:07:55 33b1e0a273af: Waiting 06:07:55 5d3b04190fa2: Waiting 06:07:55 5c69ac0246d0: Verifying Checksum 06:07:55 5c69ac0246d0: Download complete 06:07:55 3a2ae6a8a46f: Verifying Checksum 06:07:55 3a2ae6a8a46f: Download complete 06:07:55 33b1e0a273af: Verifying Checksum 06:07:55 33b1e0a273af: Download complete 06:07:55 5d3b04190fa2: Verifying Checksum 06:07:55 5d3b04190fa2: Download complete 06:07:55 ec43610c2a17: Verifying Checksum 06:07:56 ec43610c2a17: Download complete 06:07:56 5eb5b503b376: Verifying Checksum 06:07:56 5eb5b503b376: Download complete 06:07:56 2f39f015ded8: Download complete 06:07:57 5eb5b503b376: Pull complete 06:07:57 5c69ac0246d0: Pull complete 06:07:57 ec43610c2a17: Pull complete 06:07:58 3a2ae6a8a46f: Pull complete 06:07:58 33b1e0a273af: Pull complete 06:07:58 5d3b04190fa2: Pull complete 06:08:02 2f39f015ded8: Pull complete 06:08:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:08:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:08:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:02 prd-ubuntu20.04-docker-8c-8g-13840 does not seem to be running inside a container 06:08:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:08:03 $ docker top 3b5dec358fd3a71d79777ac14cbc8f55c76491ac00440c466777f13f64f059a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:04 ---> job-cost.sh 06:08:04 lf-activate-venv: SKIPPING 06:08:04 INFO: No Stack... 06:08:04 INFO: Retrieving Pricing Info for: v3-standard-8 06:08:05 INFO: Archiving Costs [Pipeline] sh 06:08:05 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 06:08:05 + cut -d, -f6 [Pipeline] lock 06:08:05 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-111-stack-cost] 06:08:05 Resource [jenkins-edgexfoundry-device-virtual-go-main-111-stack-cost] did not exist. Created. 06:08:05 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-111-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:08:05 + echo total: 0.2199999988079071 [Pipeline] stash 06:08:05 Stashed 1 file(s) [Pipeline] } 06:08:05 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-111-stack-cost] [Pipeline] // lock [Pipeline] } 06:08:05 $ docker stop --time=1 3b5dec358fd3a71d79777ac14cbc8f55c76491ac00440c466777f13f64f059a1 06:08:07 $ docker rm -f --volumes 3b5dec358fd3a71d79777ac14cbc8f55c76491ac00440c466777f13f64f059a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:09:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13844 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 06:09:32 Running in /w/workspace/device-virtual-go/111 [Pipeline] { [Pipeline] checkout 06:09:32 The recommended git tool is: git 06:09:40 using credential edgex-jenkins-ssh 06:09:40 Cloning the remote Git repository 06:09:40 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:09:40 > git init /w/workspace/device-virtual-go/111 # timeout=10 06:09:41 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:09:41 > git --version # timeout=10 06:09:41 > git --version # 'git version 2.25.1' 06:09:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:09:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:09:43 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:09:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:09:45 Avoid second fetch 06:09:45 Checking out Revision 81c3d8df6e6916a21c685b3cf20bca39d3871f6d (main) 06:09:45 Commit message: "Merge pull request #397 from jumpingliu/ignore-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 06:09:45 > git config core.sparsecheckout # timeout=10 06:09:45 > git checkout -f 81c3d8df6e6916a21c685b3cf20bca39d3871f6d # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:09:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:09:46 % Total % Received % Xferd Average Speed Time Time Time Current 06:09:46 Dload Upload Total Spent Left Speed 06:09:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 06:09:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:09:47 + sudo tee /etc/docker/daemon.new 06:09:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:09:47 { 06:09:47 "registry-mirrors": [ 06:09:47 "https://nexus3.edgexfoundry.org:10001" 06:09:47 ], 06:09:47 "bip": "10.250.0.254/24", 06:09:47 "hosts": [ 06:09:47 "tcp://0.0.0.0:5555", 06:09:47 "unix:///var/run/docker.sock" 06:09:47 ], 06:09:47 "mtu": 1458, 06:09:47 "selinux-enabled": true, 06:09:47 "seccomp-profile": "/etc/docker/seccomp.json" 06:09:47 } [Pipeline] sh 06:09:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:09:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:07 provisioning config files... 06:10:07 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/111@tmp/config12745731174577947424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:07 ---> docker-login.sh 06:10:07 nexus3.edgexfoundry.org:10001 06:10:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:08 Configure a credential helper to remove this warning. See 06:10:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:08 06:10:08 Login Succeeded 06:10:08 nexus3.edgexfoundry.org:10002 06:10:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:08 Configure a credential helper to remove this warning. See 06:10:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:08 06:10:08 Login Succeeded 06:10:08 nexus3.edgexfoundry.org:10003 06:10:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:09 Configure a credential helper to remove this warning. See 06:10:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:09 06:10:09 Login Succeeded 06:10:09 nexus3.edgexfoundry.org:10004 06:10:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:09 Configure a credential helper to remove this warning. See 06:10:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:09 06:10:09 Login Succeeded 06:10:09 docker.io 06:10:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:10 Configure a credential helper to remove this warning. See 06:10:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:10 06:10:10 Login Succeeded 06:10:10 ---> docker-login.sh ends [Pipeline] } 06:10:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:10:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:10:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:10:10 ========================================================= 06:10:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:10:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:11 + 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 . 06:10:11 Sending build context to Docker daemon 11.95MB 06:10:11 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:10:11 Step 2/12 : FROM ${BASE} AS builder 06:10:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:10:14 c41833b44d91: Pulling fs layer 06:10:14 ed15518f5707: Pulling fs layer 06:10:14 feae8fd75edb: Pulling fs layer 06:10:14 242c74f7c9fa: Pulling fs layer 06:10:14 3cdef696dda3: Pulling fs layer 06:10:14 2ced38df9373: Pulling fs layer 06:10:14 58f1dce35555: Pulling fs layer 06:10:14 242c74f7c9fa: Waiting 06:10:14 3cdef696dda3: Waiting 06:10:14 2ced38df9373: Waiting 06:10:14 58f1dce35555: Waiting 06:10:14 ed15518f5707: Verifying Checksum 06:10:14 ed15518f5707: Download complete 06:10:14 242c74f7c9fa: Download complete 06:10:14 3cdef696dda3: Verifying Checksum 06:10:14 3cdef696dda3: Download complete 06:10:14 c41833b44d91: Verifying Checksum 06:10:14 c41833b44d91: Download complete 06:10:15 c41833b44d91: Pull complete 06:10:16 58f1dce35555: Verifying Checksum 06:10:16 58f1dce35555: Download complete 06:10:16 ed15518f5707: Pull complete 06:10:17 feae8fd75edb: Verifying Checksum 06:10:17 feae8fd75edb: Download complete 06:10:17 2ced38df9373: Verifying Checksum 06:10:17 2ced38df9373: Download complete 06:10:32 feae8fd75edb: Pull complete 06:10:32 242c74f7c9fa: Pull complete 06:10:32 3cdef696dda3: Pull complete 06:10:39 2ced38df9373: Pull complete 06:10:42 58f1dce35555: Pull complete 06:10:42 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:10:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:10:42 ---> fadd8f120f05 06:10:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:10:44 ---> Running in 68f5b38ee2ab 06:10:44 Removing intermediate container 68f5b38ee2ab 06:10:44 ---> f1305da9d964 06:10:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:10:44 ---> Running in 9e034447696c 06:10:44 Removing intermediate container 9e034447696c 06:10:44 ---> 5c33f0af0c0d 06:10:44 Step 5/12 : ARG ADD_BUILD_TAGS="" 06:10:44 ---> Running in 960e58b79da6 06:10:45 Removing intermediate container 960e58b79da6 06:10:45 ---> 2f483e358cfb 06:10:45 Step 6/12 : WORKDIR /device-virtual-go 06:10:45 ---> Running in b66d8bf049a3 06:10:45 Removing intermediate container b66d8bf049a3 06:10:45 ---> aa8f4319e15f 06:10:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:10:46 ---> Running in 161d193c7c16 06:10:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:10:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:10:49 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:10:49 (2/4) Installing libedit (20221030.3.1-r0) 06:10:49 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:10:49 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:10:49 Executing busybox-1.35.0-r29.trigger 06:10:49 OK: 268 MiB in 57 packages 06:10:51 Removing intermediate container 161d193c7c16 06:10:51 ---> 4f6fa2ed3f0c 06:10:51 Step 8/12 : COPY go.mod vendor* ./ 06:10:51 ---> bcd4e1e09b0a 06:10:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:10:51 ---> Running in 6df7eeb0e1c6 06:12:13 Removing intermediate container 6df7eeb0e1c6 06:12:13 ---> b09839e2dd70 06:12:13 Step 10/12 : COPY . . 06:12:13 ---> 2ef987aa4c79 06:12:13 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:12:13 ---> Running in 8f8c68bdb3e7 06:12:13 Removing intermediate container 8f8c68bdb3e7 06:12:13 ---> 3098a3b39c8e 06:12:13 Step 12/12 : RUN $MAKE 06:12:13 ---> Running in d0517c75563a 06:12:13 noop 06:12:13 Removing intermediate container d0517c75563a 06:12:13 ---> 542698afbfe9 06:12:13 Successfully built 542698afbfe9 06:12:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:13 + docker inspect -f . ci-base-image-arm64 06:12:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:14 prd-ubuntu20.04-docker-arm64-4c-16g-13844 does not seem to be running inside a container 06:12:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/111 -v /w/workspace/device-virtual-go/111:/w/workspace/device-virtual-go/111:rw,z -v /w/workspace/device-virtual-go/111@tmp:/w/workspace/device-virtual-go/111@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 06:12:15 $ docker top 3a455a7a952dd3d67aa3d710bbd5b04368db7600a246fd94fc53e2745d4249f4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:16 + go version 06:12:16 go version go1.20.2 linux/arm64 [Pipeline] } 06:12:16 $ docker stop --time=1 3a455a7a952dd3d67aa3d710bbd5b04368db7600a246fd94fc53e2745d4249f4 06:12:18 $ docker rm -f --volumes 3a455a7a952dd3d67aa3d710bbd5b04368db7600a246fd94fc53e2745d4249f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:19 + docker inspect -f . ci-base-image-arm64 06:12:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:19 prd-ubuntu20.04-docker-arm64-4c-16g-13844 does not seem to be running inside a container 06:12:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/111 -v /w/workspace/device-virtual-go/111:/w/workspace/device-virtual-go/111:rw,z -v /w/workspace/device-virtual-go/111@tmp:/w/workspace/device-virtual-go/111@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 06:12:21 $ docker top ffa251271cd50bd7dca2fe11825c3943cf1622de2f2c499ebde7f3491c34d677 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:22 + git config --global --add safe.directory /w/workspace/device-virtual-go/111 [Pipeline] fileExists [Pipeline] sh 06:12:23 + make test 06:12:23 go test ./... -coverprofile=coverage.out 06:13:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:15:46 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:15:47 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.110s coverage: 58.4% of statements 06:15:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:15:48 go vet ./... 06:16:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:16:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:16:20 ./bin/test-attribution-txt.sh [Pipeline] echo 06:16:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:16:20 $ docker stop --time=1 ffa251271cd50bd7dca2fe11825c3943cf1622de2f2c499ebde7f3491c34d677 06:16:22 $ docker rm -f --volumes ffa251271cd50bd7dca2fe11825c3943cf1622de2f2c499ebde7f3491c34d677 [Pipeline] // withDockerContainer [Pipeline] sh 06:16:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:16:23 Warning: overwriting stash ‘coverage-report’ 06:16:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:16:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:16:25 + ls -al . 06:16:25 total 188 06:16:25 drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:12 . 06:16:25 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:09 .. 06:16:25 drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:09 .git 06:16:25 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:09 .github 06:16:25 -rw-rw-r-- 1 jenkins jenkins 337 May 5 06:09 .gitignore 06:16:25 -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:09 .golangci.yml 06:16:25 -rw-rw-r-- 1 jenkins jenkins 8652 May 5 06:09 Attribution.txt 06:16:25 -rw-rw-r-- 1 jenkins jenkins 11367 May 5 06:09 CHANGELOG.md 06:16:25 -rw-rw-r-- 1 jenkins jenkins 1646 May 5 06:09 Dockerfile 06:16:25 -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:09 GOVERNANCE.md 06:16:25 -rw-rw-r-- 1 jenkins jenkins 660 May 5 06:09 Jenkinsfile 06:16:25 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:09 LICENSE 06:16:25 -rw-rw-r-- 1 jenkins jenkins 1696 May 5 06:09 Makefile 06:16:25 -rw-rw-r-- 1 jenkins jenkins 623 May 5 06:09 OWNERS.md 06:16:25 -rw-rw-r-- 1 jenkins jenkins 3578 May 5 06:09 README.md 06:16:25 -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:06 VERSION 06:16:25 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:09 bin 06:16:25 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:09 cmd 06:16:25 -rw-r--r-- 1 jenkins jenkins 43063 May 5 06:15 coverage.out 06:16:25 -rw-rw-r-- 1 jenkins jenkins 3209 May 5 06:09 go.mod 06:16:25 -rw-rw-r-- 1 jenkins jenkins 30994 May 5 06:09 go.sum 06:16:25 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:09 internal 06:16:25 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:09 snap 06:16:25 -rw-rw-r-- 1 jenkins jenkins 235 May 5 06:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:25 + 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=81c3d8df6e6916a21c685b3cf20bca39d3871f6d --label arch=arm64 --label version=3.0.0-dev.39 . 06:16:26 Sending build context to Docker daemon 12MB 06:16:26 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 06:16:26 Step 2/25 : FROM ${BASE} AS builder 06:16:26 ---> 542698afbfe9 06:16:26 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:16:26 ---> Running in 25d121983ddd 06:16:26 Removing intermediate container 25d121983ddd 06:16:26 ---> 1a909a4af9e9 06:16:26 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 06:16:26 ---> Running in 19b9ec545ebf 06:16:27 Removing intermediate container 19b9ec545ebf 06:16:27 ---> 3fbeb37043f3 06:16:27 Step 5/25 : ARG ADD_BUILD_TAGS="" 06:16:27 ---> Running in 0aad3a5119c5 06:16:27 Removing intermediate container 0aad3a5119c5 06:16:27 ---> 6a938165f834 06:16:27 Step 6/25 : WORKDIR /device-virtual-go 06:16:27 ---> Running in 0b2aec45884e 06:16:27 Removing intermediate container 0b2aec45884e 06:16:27 ---> 1ab38140f076 06:16:27 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:16:27 ---> Running in ada34015d851 06:16:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:16:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:16:31 OK: 268 MiB in 57 packages 06:16:32 Removing intermediate container ada34015d851 06:16:32 ---> 61a877c90a10 06:16:32 Step 8/25 : COPY go.mod vendor* ./ 06:16:32 ---> 52ba67d74035 06:16:32 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:16:33 ---> Running in 46618153f246 06:16:36 Removing intermediate container 46618153f246 06:16:36 ---> c86c9143ba72 06:16:36 Step 10/25 : COPY . . 06:16:37 ---> fa50ffbc72b5 06:16:37 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:16:37 ---> Running in f9412cc134fc 06:16:37 Removing intermediate container f9412cc134fc 06:16:37 ---> 51cc2cc726d7 06:16:37 Step 12/25 : RUN $MAKE 06:16:37 ---> Running in e9cf1694cc7f 06:16:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.39" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 06:19:30 Removing intermediate container e9cf1694cc7f 06:19:30 ---> 9f11e0675456 06:19:30 Step 13/25 : FROM alpine:3.17 06:19:30 3.17: Pulling from library/alpine 06:19:30 c41833b44d91: Already exists 06:19:30 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:19:30 Status: Downloaded newer image for alpine:3.17 06:19:30 ---> 51e60588ff2c 06:19:30 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 06:19:30 ---> Running in a06612c15c69 06:19:30 Removing intermediate container a06612c15c69 06:19:30 ---> 94dbf5a24799 06:19:30 Step 15/25 : RUN apk add --update --no-cache dumb-init 06:19:30 ---> Running in 60dca56088ee 06:19:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:19:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:19:30 (1/1) Installing dumb-init (1.2.5-r2) 06:19:30 Executing busybox-1.35.0-r29.trigger 06:19:30 OK: 8 MiB in 16 packages 06:19:30 Removing intermediate container 60dca56088ee 06:19:30 ---> 19d7ac913f1c 06:19:30 Step 16/25 : WORKDIR / 06:19:30 ---> Running in 8ccf4d708629 06:19:30 Removing intermediate container 8ccf4d708629 06:19:30 ---> 68be172b49c3 06:19:30 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 06:19:30 ---> d7d8101eb687 06:19:30 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 06:19:30 ---> 5e269ab8f7ba 06:19:30 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 06:19:34 ---> 2081369140bc 06:19:34 Step 20/25 : EXPOSE 59900 06:19:34 ---> Running in 86c643c4fa33 06:19:34 Removing intermediate container 86c643c4fa33 06:19:34 ---> 5a57c88ca1af 06:19:34 Step 21/25 : ENTRYPOINT ["/device-virtual"] 06:19:34 ---> Running in 2df474f6774b 06:19:35 Removing intermediate container 2df474f6774b 06:19:35 ---> d3d5105c5082 06:19:35 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:19:35 ---> Running in 51de67961ac0 06:19:35 Removing intermediate container 51de67961ac0 06:19:35 ---> 0f751d4d44d2 06:19:35 Step 23/25 : LABEL arch=arm64 06:19:35 ---> Running in bd9bfdfac407 06:19:36 Removing intermediate container bd9bfdfac407 06:19:36 ---> 1f5d1d3800a9 06:19:36 Step 24/25 : LABEL git_sha=81c3d8df6e6916a21c685b3cf20bca39d3871f6d 06:19:36 ---> Running in 73c0df40b90c 06:19:36 Removing intermediate container 73c0df40b90c 06:19:36 ---> 81bb18e230e0 06:19:36 Step 25/25 : LABEL version=3.0.0-dev.39 06:19:36 ---> Running in fe6935052adf 06:19:36 Removing intermediate container fe6935052adf 06:19:36 ---> ea3a03dada63 06:19:36 [Warning] One or more build-args [ARCH] were not consumed 06:19:36 Successfully built ea3a03dada63 06:19:36 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 06:19:36 provisioning config files... 06:19:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/111@tmp/config5765473402801852878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:19:37 ---> docker-login.sh 06:19:37 nexus3.edgexfoundry.org:10001 06:19:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:37 Configure a credential helper to remove this warning. See 06:19:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:37 06:19:37 Login Succeeded 06:19:37 nexus3.edgexfoundry.org:10002 06:19:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:38 Configure a credential helper to remove this warning. See 06:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:38 06:19:38 Login Succeeded 06:19:38 nexus3.edgexfoundry.org:10003 06:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:38 Configure a credential helper to remove this warning. See 06:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:38 06:19:38 Login Succeeded 06:19:38 nexus3.edgexfoundry.org:10004 06:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:39 Configure a credential helper to remove this warning. See 06:19:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:39 06:19:39 Login Succeeded 06:19:39 docker.io 06:19:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:39 Configure a credential helper to remove this warning. See 06:19:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:39 06:19:39 Login Succeeded 06:19:39 ---> docker-login.sh ends [Pipeline] } 06:19:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:19:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:19:39 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 06:19:39 81c3d8df6e6916a21c685b3cf20bca39d3871f6d 06:19:39 latest 06:19:39 3.0.0-dev.39 06:19:39 81c3d8df6e6916a21c685b3cf20bca39d3871f6d-3.0.0-dev.39 06:19:39 main 06:19:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:40 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:81c3d8df6e6916a21c685b3cf20bca39d3871f6d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:81c3d8df6e6916a21c685b3cf20bca39d3871f6d 06:19:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 06:19:40 f81e54f0ed0b: Preparing 06:19:40 8af7eaa8eebe: Preparing 06:19:40 7898c571a267: Preparing 06:19:40 ce20d9630417: Preparing 06:19:40 26cbea5cba74: Preparing 06:19:40 26cbea5cba74: Layer already exists 06:19:40 8af7eaa8eebe: Pushed 06:19:40 ce20d9630417: Pushed 06:19:40 7898c571a267: Pushed 06:19:47 f81e54f0ed0b: Pushed 06:19:47 81c3d8df6e6916a21c685b3cf20bca39d3871f6d: digest: sha256:b669c9ad403f79fa2d86e35ffb54316a521447e91deea421b0d3b34726f61376 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:47 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:48 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 06:19:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 06:19:48 f81e54f0ed0b: Preparing 06:19:48 8af7eaa8eebe: Preparing 06:19:48 7898c571a267: Preparing 06:19:48 ce20d9630417: Preparing 06:19:48 26cbea5cba74: Preparing 06:19:48 8af7eaa8eebe: Layer already exists 06:19:48 ce20d9630417: Layer already exists 06:19:48 7898c571a267: Layer already exists 06:19:48 26cbea5cba74: Layer already exists 06:19:48 f81e54f0ed0b: Layer already exists 06:19:48 latest: digest: sha256:b669c9ad403f79fa2d86e35ffb54316a521447e91deea421b0d3b34726f61376 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:48 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:49 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.39 06:19:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 06:19:49 f81e54f0ed0b: Preparing 06:19:49 8af7eaa8eebe: Preparing 06:19:49 7898c571a267: Preparing 06:19:49 ce20d9630417: Preparing 06:19:49 26cbea5cba74: Preparing 06:19:49 f81e54f0ed0b: Layer already exists 06:19:49 7898c571a267: Layer already exists 06:19:49 ce20d9630417: Layer already exists 06:19:49 8af7eaa8eebe: Layer already exists 06:19:49 26cbea5cba74: Layer already exists 06:19:49 3.0.0-dev.39: digest: sha256:b669c9ad403f79fa2d86e35ffb54316a521447e91deea421b0d3b34726f61376 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:49 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:81c3d8df6e6916a21c685b3cf20bca39d3871f6d-3.0.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:50 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:81c3d8df6e6916a21c685b3cf20bca39d3871f6d-3.0.0-dev.39 06:19:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 06:19:50 f81e54f0ed0b: Preparing 06:19:50 8af7eaa8eebe: Preparing 06:19:50 7898c571a267: Preparing 06:19:50 ce20d9630417: Preparing 06:19:50 26cbea5cba74: Preparing 06:19:50 7898c571a267: Layer already exists 06:19:50 8af7eaa8eebe: Layer already exists 06:19:50 26cbea5cba74: Layer already exists 06:19:50 ce20d9630417: Layer already exists 06:19:50 f81e54f0ed0b: Layer already exists 06:19:50 81c3d8df6e6916a21c685b3cf20bca39d3871f6d-3.0.0-dev.39: digest: sha256:b669c9ad403f79fa2d86e35ffb54316a521447e91deea421b0d3b34726f61376 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:50 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 06:19:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 06:19:51 f81e54f0ed0b: Preparing 06:19:51 8af7eaa8eebe: Preparing 06:19:51 7898c571a267: Preparing 06:19:51 ce20d9630417: Preparing 06:19:51 26cbea5cba74: Preparing 06:19:51 8af7eaa8eebe: Layer already exists 06:19:51 26cbea5cba74: Layer already exists 06:19:51 ce20d9630417: Layer already exists 06:19:51 f81e54f0ed0b: Layer already exists 06:19:51 7898c571a267: Layer already exists 06:19:51 main: digest: sha256:b669c9ad403f79fa2d86e35ffb54316a521447e91deea421b0d3b34726f61376 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:19:51 ===================================================== [Pipeline] echo 06:19:51 taggedImages: 06:19:51 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:81c3d8df6e6916a21c685b3cf20bca39d3871f6d 06:19:51 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 06:19:51 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.39 06:19:51 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:81c3d8df6e6916a21c685b3cf20bca39d3871f6d-3.0.0-dev.39 06:19:51 - 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 06:19:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:19:51 06:19:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:19:52 arm64: Pulling from edgex-lftools-log-publisher 06:19:52 8998bd30e6a1: Pulling fs layer 06:19:52 04944245beec: Pulling fs layer 06:19:52 699f458cf7ca: Pulling fs layer 06:19:52 765212b225bb: Pulling fs layer 06:19:52 f23df028b6ca: Pulling fs layer 06:19:52 d65c8cfc05b1: Pulling fs layer 06:19:52 2437ff75d9bd: Pulling fs layer 06:19:52 765212b225bb: Waiting 06:19:52 f23df028b6ca: Waiting 06:19:52 d65c8cfc05b1: Waiting 06:19:52 2437ff75d9bd: Waiting 06:19:52 04944245beec: Verifying Checksum 06:19:52 04944245beec: Download complete 06:19:52 765212b225bb: Verifying Checksum 06:19:52 765212b225bb: Download complete 06:19:52 f23df028b6ca: Verifying Checksum 06:19:52 f23df028b6ca: Download complete 06:19:52 d65c8cfc05b1: Verifying Checksum 06:19:52 d65c8cfc05b1: Download complete 06:19:52 699f458cf7ca: Verifying Checksum 06:19:52 699f458cf7ca: Download complete 06:19:53 8998bd30e6a1: Verifying Checksum 06:19:53 8998bd30e6a1: Download complete 06:19:55 2437ff75d9bd: Verifying Checksum 06:19:55 2437ff75d9bd: Download complete 06:19:57 8998bd30e6a1: Pull complete 06:19:58 04944245beec: Pull complete 06:20:00 699f458cf7ca: Pull complete 06:20:00 765212b225bb: Pull complete 06:20:01 f23df028b6ca: Pull complete 06:20:01 d65c8cfc05b1: Pull complete 06:20:16 2437ff75d9bd: Pull complete 06:20:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:20:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:20:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:17 prd-ubuntu20.04-docker-arm64-4c-16g-13844 does not seem to be running inside a container 06:20:17 $ 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/111 -v /w/workspace/device-virtual-go/111:/w/workspace/device-virtual-go/111:rw,z -v /w/workspace/device-virtual-go/111@tmp:/w/workspace/device-virtual-go/111@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 06:20:20 $ docker top 0a3d2602d36be8a01e01ce108a8389c1fb0ddf00d438fd2d10d7fc6b84b01fa8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:20:20 ---> job-cost.sh 06:20:20 lf-activate-venv: SKIPPING 06:20:20 INFO: No Stack... 06:20:21 INFO: Retrieving Pricing Info for: v3-standard-4 06:20:22 INFO: Archiving Costs [Pipeline] sh 06:20:23 + cat /w/workspace/device-virtual-go/111/archives/cost.csv 06:20:23 + cut -d, -f6 [Pipeline] lock 06:20:23 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-111-stack-cost] 06:20:23 Resource [jenkins-edgexfoundry-device-virtual-go-main-111-stack-cost] did not exist. Created. 06:20:23 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-111-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:20:23 /w/workspace/device-virtual-go/111@tmp/durable-b5942268/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:20:24 + echo total: 0.10999999940395355 [Pipeline] stash 06:20:24 Warning: overwriting stash ‘stack-cost’ 06:20:24 Stashed 1 file(s) [Pipeline] } 06:20:24 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-111-stack-cost] [Pipeline] // lock [Pipeline] } 06:20:24 $ docker stop --time=1 0a3d2602d36be8a01e01ce108a8389c1fb0ddf00d438fd2d10d7fc6b84b01fa8 06:20:27 $ docker rm -f --volumes 0a3d2602d36be8a01e01ce108a8389c1fb0ddf00d438fd2d10d7fc6b84b01fa8 [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 06:20:28 provisioning config files... 06:20:28 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14057462278926237502tmp [Pipeline] { [Pipeline] sh 06:20:28 + set +x 06:20:28 + + curlbash -s -s https://codecov.io/bash -- 06:20:28 06:20:28 06:20:28 _____ _ 06:20:28 / ____| | | 06:20:28 | | ___ __| | ___ ___ _____ __ 06:20:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:20:28 | |___| (_) | (_| | __/ (_| (_) \ V / 06:20:28 \_____\___/ \__,_|\___|\___\___/ \_/ 06:20:28 Bash-1.0.6 06:20:28 06:20:28 06:20:28 ==> git version 2.25.1 found 06:20:28 ==> 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 06:20:28 Release-Date: 2020-01-08 06:20:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:20:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:20:28 ==> Jenkins CI detected. 06:20:28 current dir:  /w/workspace/exfoundry_device-virtual-go_main 06:20:28 project root: . 06:20:28 --> token set from env 06:20:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:20:28 ==> Running gcov in . (disable via -X gcov) 06:20:28 ==> Python coveragepy not found 06:20:28 ==> Searching for coverage reports in: 06:20:28 + . 06:20:28 -> Found 1 reports 06:20:28 ==> Detecting git/mercurial file structure 06:20:28 ==> Reading reports 06:20:28 + ./coverage.out bytes=43063 06:20:28 ==> Appending adjustments 06:20:28 https://docs.codecov.io/docs/fixing-reports 06:20:28 + Found adjustments 06:20:28 ==> Gzipping contents 06:20:28 8.0K /tmp/codecov.VUpc5y.gz 06:20:28 ==> Uploading reports 06:20:28 url: https://codecov.io 06:20:28 query: branch=main&commit=81c3d8df6e6916a21c685b3cf20bca39d3871f6d&build=111&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F111%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:20:28 -> Pinging Codecov 06:20:28 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=81c3d8df6e6916a21c685b3cf20bca39d3871f6d&build=111&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F111%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:20:28 -> Uploading to 06:20:28 https://storage.googleapis.com/codecov/v4/raw/2023-05-05/5E52B4B073DB2E39498172D8E973AA87/81c3d8df6e6916a21c685b3cf20bca39d3871f6d/56844e4f-251a-4a9f-8908-cb202e6bfdc0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230505T062028Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=820c09fcefbd8666bc2b074e42b0b1159e80670f8ff99894f1181737cbbbbd76 06:20:29 % Total % Received % Xferd Average Speed Time Time Time Current 06:20:29 Dload Upload Total Spent Left Speed 06:20:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 24685 --:--:-- --:--:-- --:--:-- 24685 06:20:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/81c3d8df6e6916a21c685b3cf20bca39d3871f6d [Pipeline] } 06:20:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:20:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:20:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:20:29 06:20:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:20:29 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:20:29 df9b9388f04a: Pulling fs layer 06:20:29 52dc419b0ee2: Pulling fs layer 06:20:29 25bc292e5bac: Pulling fs layer 06:20:29 114826534d7a: Pulling fs layer 06:20:29 4657fd5d0bcf: Pulling fs layer 06:20:29 6ad1cebc031e: Pulling fs layer 06:20:29 8a3aa393b2d8: Pulling fs layer 06:20:29 114826534d7a: Waiting 06:20:29 4657fd5d0bcf: Waiting 06:20:29 6ad1cebc031e: Waiting 06:20:29 8a3aa393b2d8: Waiting 06:20:29 25bc292e5bac: Download complete 06:20:29 52dc419b0ee2: Verifying Checksum 06:20:29 52dc419b0ee2: Download complete 06:20:29 4657fd5d0bcf: Download complete 06:20:29 df9b9388f04a: Download complete 06:20:30 6ad1cebc031e: Verifying Checksum 06:20:30 6ad1cebc031e: Download complete 06:20:30 df9b9388f04a: Pull complete 06:20:30 52dc419b0ee2: Pull complete 06:20:30 25bc292e5bac: Pull complete 06:20:30 114826534d7a: Verifying Checksum 06:20:30 114826534d7a: Download complete 06:20:30 8a3aa393b2d8: Verifying Checksum 06:20:30 8a3aa393b2d8: Download complete 06:20:33 114826534d7a: Pull complete 06:20:33 4657fd5d0bcf: Pull complete 06:20:33 6ad1cebc031e: Pull complete 06:20:36 8a3aa393b2d8: Pull complete 06:20:36 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:20:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:20:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:36 prd-ubuntu20.04-docker-8c-8g-13840 does not seem to be running inside a container 06:20:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:20:38 $ docker top ff54404e87dcfc9e774c353900e03282c39ea752fc58dafe1e1affdef9bbf867 -eo pid,comm [Pipeline] { [Pipeline] echo 06:20:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 06:20:38 + set -o pipefail 06:20:38 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 06:20:42 06:20:42 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 06:20:42 06:20:42 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/30a64a28-cddd-4586-9797-f67c5b731db8 06:20:42 06:20:42 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:20:42 06:20:42 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:20:42 06:20:42 06:20:42 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:20:42 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:20:42 More details here: https://snyk.co/ue1NS 06:20:42 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 06:20:42 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:20:42 $ docker stop --time=1 ff54404e87dcfc9e774c353900e03282c39ea752fc58dafe1e1affdef9bbf867 06:20:43 $ docker rm -f --volumes ff54404e87dcfc9e774c353900e03282c39ea752fc58dafe1e1affdef9bbf867 [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 06:20:44 + git log --format=format:%s -1 81c3d8df6e6916a21c685b3cf20bca39d3871f6d [Pipeline] sh 06:20:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:20:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:20:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:45 prd-ubuntu20.04-docker-8c-8g-13840 does not seem to be running inside a container 06:20:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:20:45 $ docker top b653a94c3aee19eadd4280f83cb3e1b041f910e2956cef0e1ad4d70d2c3b5e7d -eo pid,comm 06:20:45 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:20:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:20:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:20:45 [ssh-agent] Looking for ssh-agent implementation... 06:20:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:20:45 $ docker exec b653a94c3aee19eadd4280f83cb3e1b041f910e2956cef0e1ad4d70d2c3b5e7d ssh-agent 06:20:45 SSH_AUTH_SOCK=/tmp/ssh-FSnEPlnzgKsg/agent.32 06:20:45 SSH_AGENT_PID=38 06:20:45 Running ssh-add (command line suppressed) 06:20:46 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6601608178519621536.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6601608178519621536.key) 06:20:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:20:46 + git semver tag 06:20:46 2023-05-05 06:20:46,516 [run_tag] DEBUG tag force:False 06:20:46 2023-05-05 06:20:46,516 [check_head_tag] DEBUG check head tag 06:20:46 2023-05-05 06:20:46,517 [execute] INFO git cat-file --batch-check 06:20:46 2023-05-05 06:20:46,518 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 06:20:46 2023-05-05 06:20:46,521 [execute] INFO git cat-file --batch 06:20:46 2023-05-05 06:20:46,522 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 06:20:46 2023-05-05 06:20:46,546 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 06:20:46 2023-05-05 06:20:46,546 [execute] INFO git tag -a v3.0.0-dev.39 -m v3.0.0-dev.39 06:20:46 2023-05-05 06:20:46,546 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.39', '-m', 'v3.0.0-dev.39'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 06:20:46 2023-05-05 06:20:46,551 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 06:20:46 3.0.0-dev.39 [Pipeline] } 06:20:46 $ docker exec --env ******** --env ******** b653a94c3aee19eadd4280f83cb3e1b041f910e2956cef0e1ad4d70d2c3b5e7d ssh-agent -k 06:20:46 unset SSH_AUTH_SOCK; 06:20:46 unset SSH_AGENT_PID; 06:20:46 echo Agent pid 38 killed; 06:20:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:20:47 + git semver [Pipeline] } 06:20:47 $ docker stop --time=1 b653a94c3aee19eadd4280f83cb3e1b041f910e2956cef0e1ad4d70d2c3b5e7d 06:20:48 $ docker rm -f --volumes b653a94c3aee19eadd4280f83cb3e1b041f910e2956cef0e1ad4d70d2c3b5e7d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:20:48 06:20:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:20:49 0.23.1-centos7: Pulling from edgex-lftools 06:20:49 ab5ef0e58194: Pulling fs layer 06:20:49 9712f1f96733: Pulling fs layer 06:20:49 63f879dbbcfc: Pulling fs layer 06:20:49 0d9ebad4ef96: Pulling fs layer 06:20:49 e9a5061849ea: Pulling fs layer 06:20:49 d747dcd14b5f: Pulling fs layer 06:20:49 2de7ff778b66: Pulling fs layer 06:20:49 e9a5061849ea: Waiting 06:20:49 d747dcd14b5f: Waiting 06:20:49 2de7ff778b66: Waiting 06:20:49 0d9ebad4ef96: Waiting 06:20:49 9712f1f96733: Verifying Checksum 06:20:49 9712f1f96733: Download complete 06:20:49 63f879dbbcfc: Verifying Checksum 06:20:49 63f879dbbcfc: Download complete 06:20:49 e9a5061849ea: Verifying Checksum 06:20:49 e9a5061849ea: Download complete 06:20:49 d747dcd14b5f: Download complete 06:20:49 ab5ef0e58194: Verifying Checksum 06:20:49 ab5ef0e58194: Download complete 06:20:49 0d9ebad4ef96: Verifying Checksum 06:20:49 0d9ebad4ef96: Download complete 06:20:49 2de7ff778b66: Verifying Checksum 06:20:49 2de7ff778b66: Download complete 06:20:52 ab5ef0e58194: Pull complete 06:20:52 9712f1f96733: Pull complete 06:20:52 63f879dbbcfc: Pull complete 06:20:56 0d9ebad4ef96: Pull complete 06:20:56 e9a5061849ea: Pull complete 06:20:56 d747dcd14b5f: Pull complete 06:20:57 2de7ff778b66: Pull complete 06:20:57 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:20:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:20:57 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:57 prd-ubuntu20.04-docker-8c-8g-13840 does not seem to be running inside a container 06:20:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:20:59 $ docker top a9805bfa19bb075f5eeeb921ed5f7cb1c2b18759ad1bb7ff4e6d088137ccb3f3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:20:59 provisioning config files... 06:20:59 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1881477067310640340tmp 06:20:59 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14719889064774619119tmp 06:20:59 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5173955635824549489tmp [Pipeline] { [Pipeline] echo 06:20:59 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:20:59 ---> sigul-configuration.sh 06:20:59 gpg: directory `/root/.gnupg' created 06:20:59 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:20:59 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:20:59 gpg: keyring `/root/.gnupg/secring.gpg' created 06:20:59 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:20:59 gpg: CAST5 encrypted data 06:20:59 gpg: encrypted with 1 passphrase 06:20:59 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:20:59 + mkdir /home/jenkins 06:20:59 + mkdir /home/jenkins/sigul [Pipeline] sh 06:21:00 + 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 06:21:00 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:21:00 ---> sigul-install.sh 06:21:00 Sigul already installed; skipping installation. [Pipeline] sh 06:21:00 + git tag --list 06:21:00 v1.0.0 06:21:00 v1.1.0 06:21:00 v1.1.1 06:21:00 v1.2.1 06:21:00 v1.2.2 06:21:00 v1.2.3 06:21:00 v1.3.0 06:21:00 v1.3.1 06:21:00 v2.0.0 06:21:00 v2.1.0 06:21:00 v2.1.1 06:21:00 v2.1.1-dev.1 06:21:00 v2.1.1-dev.2 06:21:00 v2.2.0 06:21:00 v2.2.1-dev.1 06:21:00 v2.2.1-dev.2 06:21:00 v2.2.1-dev.3 06:21:00 v2.2.1-dev.4 06:21:00 v2.2.1-dev.5 06:21:00 v2.2.1-dev.6 06:21:00 v2.2.1-dev.7 06:21:00 v2.2.1-dev.8 06:21:00 v2.3.0 06:21:00 v2.3.0-dev.10 06:21:00 v2.3.0-dev.11 06:21:00 v2.3.0-dev.12 06:21:00 v2.3.0-dev.13 06:21:00 v2.3.0-dev.14 06:21:00 v2.3.0-dev.15 06:21:00 v2.3.0-dev.16 06:21:00 v2.3.0-dev.17 06:21:00 v2.3.0-dev.18 06:21:00 v2.3.0-dev.19 06:21:00 v2.3.0-dev.20 06:21:00 v2.3.0-dev.21 06:21:00 v2.3.0-dev.22 06:21:00 v2.3.0-dev.23 06:21:00 v2.3.0-dev.24 06:21:00 v2.3.0-dev.25 06:21:00 v2.3.0-dev.26 06:21:00 v2.3.0-dev.27 06:21:00 v2.3.0-dev.28 06:21:00 v2.3.0-dev.29 06:21:00 v2.3.0-dev.30 06:21:00 v2.3.0-dev.8 06:21:00 v2.3.0-dev.9 06:21:00 v3.0.0-dev.1 06:21:00 v3.0.0-dev.10 06:21:00 v3.0.0-dev.11 06:21:00 v3.0.0-dev.12 06:21:00 v3.0.0-dev.13 06:21:00 v3.0.0-dev.14 06:21:00 v3.0.0-dev.15 06:21:00 v3.0.0-dev.16 06:21:00 v3.0.0-dev.17 06:21:00 v3.0.0-dev.18 06:21:00 v3.0.0-dev.19 06:21:00 v3.0.0-dev.2 06:21:00 v3.0.0-dev.20 06:21:00 v3.0.0-dev.21 06:21:00 v3.0.0-dev.22 06:21:00 v3.0.0-dev.23 06:21:00 v3.0.0-dev.24 06:21:00 v3.0.0-dev.25 06:21:00 v3.0.0-dev.26 06:21:00 v3.0.0-dev.27 06:21:00 v3.0.0-dev.28 06:21:00 v3.0.0-dev.29 06:21:00 v3.0.0-dev.3 06:21:00 v3.0.0-dev.30 06:21:00 v3.0.0-dev.31 06:21:00 v3.0.0-dev.32 06:21:00 v3.0.0-dev.33 06:21:00 v3.0.0-dev.34 06:21:00 v3.0.0-dev.35 06:21:00 v3.0.0-dev.36 06:21:00 v3.0.0-dev.37 06:21:00 v3.0.0-dev.38 06:21:00 v3.0.0-dev.39 06:21:00 v3.0.0-dev.4 06:21:00 v3.0.0-dev.5 06:21:00 v3.0.0-dev.6 06:21:00 v3.0.0-dev.7 06:21:00 v3.0.0-dev.8 06:21:00 v3.0.0-dev.9 [Pipeline] sh 06:21:00 + lftools sign git-tag v3.0.0-dev.39 06:21:01 Signing Git tag with Sigul... 06:21:01 Signing v3.0.0-dev.39 06:22:53 ERROR: I/O error: NSPR connection reset [Pipeline] echo 06:22:53 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:22:54 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:22:54 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:22:54 $ docker stop --time=1 a9805bfa19bb075f5eeeb921ed5f7cb1c2b18759ad1bb7ff4e6d088137ccb3f3 06:22:55 $ docker rm -f --volumes a9805bfa19bb075f5eeeb921ed5f7cb1c2b18759ad1bb7ff4e6d088137ccb3f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:22:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:22:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:22:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:56 prd-ubuntu20.04-docker-8c-8g-13840 does not seem to be running inside a container 06:22:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:22:56 $ docker top 50258aa54d5d8a8fa89c0658197891eb51a89c5d29f77485a24c58635d207688 -eo pid,comm 06:22:56 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:22:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:22:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:22:56 [ssh-agent] Looking for ssh-agent implementation... 06:22:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:22:56 $ docker exec 50258aa54d5d8a8fa89c0658197891eb51a89c5d29f77485a24c58635d207688 ssh-agent 06:22:57 SSH_AUTH_SOCK=/tmp/ssh-uUxOzuiyErK9/agent.32 06:22:57 SSH_AGENT_PID=38 06:22:57 Running ssh-add (command line suppressed) 06:22:57 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4630041597949143954.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4630041597949143954.key) 06:22:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:22:57 + git semver bump pre 06:22:57 2023-05-05 06:22:57,678 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 06:22:57 2023-05-05 06:22:57,678 [bump_version] DEBUG bumping version:3.0.0-dev.39 on axis:pre with prefix:dev 06:22:57 2023-05-05 06:22:57,678 [bump_version] DEBUG bumped version:3.0.0-dev.40 06:22:57 2023-05-05 06:22:57,678 [write_version] DEBUG write version:3.0.0-dev.40 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 06:22:57 2023-05-05 06:22:57,678 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 06:22:57 2023-05-05 06:22:57,678 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 06:22:57 2023-05-05 06:22:57,680 [execute] INFO git cat-file --batch-check 06:22:57 2023-05-05 06:22:57,680 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:22:57 2023-05-05 06:22:57,686 [execute] INFO git cat-file --batch 06:22:57 2023-05-05 06:22:57,686 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:22:57 2023-05-05 06:22:57,694 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 06:22:57 3.0.0-dev.40 [Pipeline] } 06:22:57 $ docker exec --env ******** --env ******** 50258aa54d5d8a8fa89c0658197891eb51a89c5d29f77485a24c58635d207688 ssh-agent -k 06:22:57 unset SSH_AUTH_SOCK; 06:22:57 unset SSH_AGENT_PID; 06:22:57 echo Agent pid 38 killed; 06:22:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:22:58 + git semver [Pipeline] } 06:22:58 $ docker stop --time=1 50258aa54d5d8a8fa89c0658197891eb51a89c5d29f77485a24c58635d207688 06:22:59 $ docker rm -f --volumes 50258aa54d5d8a8fa89c0658197891eb51a89c5d29f77485a24c58635d207688 [Pipeline] // withDockerContainer [Pipeline] sh 06:23:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:23:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:23:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:00 prd-ubuntu20.04-docker-8c-8g-13840 does not seem to be running inside a container 06:23:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:23:00 $ docker top 144be6e5f371101f4d3570d287d7b417c735c2ea07f40c6d01b41bc4556e82c6 -eo pid,comm 06:23:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:23:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:23:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:23:00 [ssh-agent] Looking for ssh-agent implementation... 06:23:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:23:00 $ docker exec 144be6e5f371101f4d3570d287d7b417c735c2ea07f40c6d01b41bc4556e82c6 ssh-agent 06:23:01 SSH_AUTH_SOCK=/tmp/ssh-tqeMcwHYKDQF/agent.32 06:23:01 SSH_AGENT_PID=38 06:23:01 Running ssh-add (command line suppressed) 06:23:01 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7935448105588666285.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7935448105588666285.key) 06:23:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:23:01 + git semver push 06:23:01 2023-05-05 06:23:01,613 [run_push] DEBUG push 06:23:01 2023-05-05 06:23:01,614 [execute] INFO git cat-file --batch-check 06:23:01 2023-05-05 06:23:01,614 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:23:01 2023-05-05 06:23:01,618 [execute] INFO git rev-list fe4292d86f67668cb52bf3a0b23a373f2f531aa9 -- 06:23:01 2023-05-05 06:23:01,618 [execute] DEBUG Popen(['git', 'rev-list', 'fe4292d86f67668cb52bf3a0b23a373f2f531aa9', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:23:01 2023-05-05 06:23:01,626 [execute] INFO git fetch -v origin 06:23:01 2023-05-05 06:23:01,627 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:23:02 2023-05-05 06:23:02,102 [run_push] DEBUG no remote changes detected 06:23:02 2023-05-05 06:23:02,103 [execute] INFO git push origin semver 06:23:02 2023-05-05 06:23:02,103 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:23:03 2023-05-05 06:23:02,877 [run_push] DEBUG push all version tags 06:23:03 2023-05-05 06:23:02,878 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:23:03 2023-05-05 06:23:02,878 [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) 06:23:03 2023-05-05 06:23:03,654 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 06:23:03 3.0.0-dev.40 [Pipeline] } 06:23:03 $ docker exec --env ******** --env ******** 144be6e5f371101f4d3570d287d7b417c735c2ea07f40c6d01b41bc4556e82c6 ssh-agent -k 06:23:03 unset SSH_AUTH_SOCK; 06:23:03 unset SSH_AGENT_PID; 06:23:03 echo Agent pid 38 killed; 06:23:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:23:04 + git semver [Pipeline] } 06:23:04 $ docker stop --time=1 144be6e5f371101f4d3570d287d7b417c735c2ea07f40c6d01b41bc4556e82c6 06:23:05 $ docker rm -f --volumes 144be6e5f371101f4d3570d287d7b417c735c2ea07f40c6d01b41bc4556e82c6 [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 06:23:06 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 06:23:06 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 06:23:06 total 16 06:23:06 drwxr-xr-x 3 root root 4096 May 5 06:08 . 06:23:06 drwxrwxr-x 10 jenkins jenkins 4096 May 5 06:21 .. 06:23:06 drwxr-xr-x 2 root root 4096 May 5 06:08 cost 06:23:06 -rw-r--r-- 1 root root 89 May 5 06:08 cost.csv 06:23:06 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 06:23:06 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 06:23:06 total 16 06:23:06 drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:08 . 06:23:06 drwxrwxr-x 10 jenkins jenkins 4096 May 5 06:21 .. 06:23:06 drwxr-xr-x 2 jenkins jenkins 4096 May 5 06:08 cost 06:23:06 -rw-r--r-- 1 jenkins jenkins 89 May 5 06:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:23:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:23:07 ---> package-listing.sh 06:23:07 ++ facter osfamily 06:23:07 ++ tr '[:upper:]' '[:lower:]' 06:23:07 + OS_FAMILY=debian 06:23:07 + workspace=/w/workspace/exfoundry_device-virtual-go_main 06:23:07 + START_PACKAGES=/tmp/packages_start.txt 06:23:07 + END_PACKAGES=/tmp/packages_end.txt 06:23:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:23:07 + PACKAGES=/tmp/packages_start.txt 06:23:07 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 06:23:07 + PACKAGES=/tmp/packages_end.txt 06:23:07 + case "${OS_FAMILY}" in 06:23:07 + dpkg -l 06:23:07 + grep '^ii' 06:23:07 + '[' -f /tmp/packages_start.txt ']' 06:23:07 + '[' -f /tmp/packages_end.txt ']' 06:23:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:23:07 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 06:23:07 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 06:23:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 06:23:07 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:23:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:23:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:08 prd-ubuntu20.04-docker-8c-8g-13840 does not seem to be running inside a container 06:23:08 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:23:08 $ docker top afa90a9aad9bb7d9399d4c7d3dc92c774b4f1883296315c95c92af60ce86967d -eo pid,comm [Pipeline] { [Pipeline] sh 06:23:09 + touch /tmp/pre-build-complete [Pipeline] sh 06:23:09 + mkdir -p /var/log/sysstat [Pipeline] sh 06:23:09 + ls /var/log/sa-host 06:23:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:23:09 provisioning config files... 06:23:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17723661496928102085tmp [Pipeline] { [Pipeline] echo 06:23:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:23:10 ---> create-netrc.sh [Pipeline] } 06:23:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:23:10 ---> python-tools-install.sh [Pipeline] echo 06:23:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:23:10 ---> sudo-logs.sh 06:23:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:23:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:23:11 ---> job-cost.sh 06:23:11 lf-activate-venv: SKIPPING 06:23:11 DEBUG: total: 0.2199999988079071 06:23:11 INFO: Retrieving Stack Cost... 06:23:11 INFO: Retrieving Pricing Info for: v3-standard-8 06:23:12 INFO: Archiving Costs [Pipeline] echo 06:23:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:23:12 ---> logs-deploy.sh 06:23:12 lf-activate-venv: SKIPPING 06:23:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/111 06:23:12 INFO: archiving workspace using pattern(s): 06:23:13 Archives upload complete. 06:23:13 INFO: archiving logs to Nexus