Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 31d774b4f359865edc3dcd5479b181cce8101838 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-ssh6378806205992376678.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh15205925464721517463.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh5430610682277200463.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh6887552519061014126.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-ssh9086151176557376742.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-8829 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 31d774b4f359865edc3dcd5479b181cce8101838 (main) Commit message: "Merge pull request #380 from weichou1229/update-err-msg" > git config core.sparsecheckout # timeout=10 > git checkout -f 31d774b4f359865edc3dcd5479b181cce8101838 # timeout=10 > git rev-list --no-walk b8805d0dc84327be1c031088231e6ea81f537399 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:36:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:36:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:36:43 ========================================================= 01:36:43 EdgeX Global Pipelines Version Info 01:36:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:36:44 ------------------- 01:36:44 stable info: 01:36:44 ------------------- 01:36:44 Commited By: Bill Mahoney bill.mahoney@intel.com 01:36:44 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 01:36:44 Message: update stable to v1.0.248 01:36:44 ------------------- 01:36:44 experimental info: 01:36:44 ------------------- 01:36:44 Commited By: **** collab-it+edgex@linuxfoundation.org 01:36:44 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 01:36:44 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:36:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 01:36:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 01:36:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:36:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:36:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:36:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:36:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:36:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:36:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:36:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 31d774b4f359865edc3dcd5479b181cce8101838 [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 31d774b [Pipeline] echo 01:36:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:36:45 provisioning config files... 01:36:45 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9616142526980638093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:36:45 ---> docker-login.sh 01:36:45 nexus3.edgexfoundry.org:10001 01:36:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:46 Configure a credential helper to remove this warning. See 01:36:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:46 01:36:46 Login Succeeded 01:36:46 nexus3.edgexfoundry.org:10002 01:36:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:46 Configure a credential helper to remove this warning. See 01:36:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:46 01:36:46 Login Succeeded 01:36:46 nexus3.edgexfoundry.org:10003 01:36:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:46 Configure a credential helper to remove this warning. See 01:36:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:46 01:36:46 Login Succeeded 01:36:46 nexus3.edgexfoundry.org:10004 01:36:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:46 Configure a credential helper to remove this warning. See 01:36:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:46 01:36:46 Login Succeeded 01:36:46 docker.io 01:36:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:46 Configure a credential helper to remove this warning. See 01:36:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:46 01:36:46 Login Succeeded 01:36:46 ---> docker-login.sh ends [Pipeline] } 01:36:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:36:47 + git rev-list -1 --merges 31d774b4f359865edc3dcd5479b181cce8101838~1..31d774b4f359865edc3dcd5479b181cce8101838 [Pipeline] echo 01:36:47 -----------> git rev-list -1 --merges 31d774b4f359865edc3dcd5479b181cce8101838~1..31d774b4f359865edc3dcd5479b181cce8101838 31d774b4f359865edc3dcd5479b181cce8101838 01:36:47 31d774b4f359865edc3dcd5479b181cce8101838 [false] [Pipeline] sh 01:36:47 + git log --format=format:%s -1 31d774b4f359865edc3dcd5479b181cce8101838 [Pipeline] echo 01:36:47 ========================================================= 01:36:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:36:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:36:47 + git log --format=format:%s -1 31d774b4f359865edc3dcd5479b181cce8101838 [Pipeline] echo 01:36:47 [semverPrep] GIT_COMMIT: 31d774b4f359865edc3dcd5479b181cce8101838, Commit Message: Merge pull request #380 from weichou1229/update-err-msg [Pipeline] echo 01:36:47 [semverPrep] This is not a build commit. [Pipeline] sh 01:36:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:36:48 + grep -v github /etc/ssh/ssh_known_hosts 01:36:48 + [ -e /tmp/ssh_known_hosts ] 01:36:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:36:48 + + sudo tee -a /etc/ssh/ssh_known_hosts 01:36:48 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:36:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:36:48 01:36:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:36:48 0.1.4: Pulling from edgex-devops/py-git-semver 01:36:48 b85a868b505f: Pulling fs layer 01:36:48 e2be974225ed: Pulling fs layer 01:36:48 339a4e72a1f5: Pulling fs layer 01:36:48 988bab9f4d93: Pulling fs layer 01:36:48 1469e6f7b9e6: Pulling fs layer 01:36:48 eaf3925da568: Pulling fs layer 01:36:48 bab4dde63d76: Pulling fs layer 01:36:48 bde34c3a00c8: Pulling fs layer 01:36:48 b352a97aabf1: Pulling fs layer 01:36:48 4872d77fe225: Pulling fs layer 01:36:48 5851b861e8e6: Pulling fs layer 01:36:48 bab4dde63d76: Waiting 01:36:48 bde34c3a00c8: Waiting 01:36:48 988bab9f4d93: Waiting 01:36:48 1469e6f7b9e6: Waiting 01:36:48 b352a97aabf1: Waiting 01:36:48 eaf3925da568: Waiting 01:36:48 e2be974225ed: Verifying Checksum 01:36:48 e2be974225ed: Download complete 01:36:48 988bab9f4d93: Download complete 01:36:48 1469e6f7b9e6: Verifying Checksum 01:36:48 1469e6f7b9e6: Download complete 01:36:48 eaf3925da568: Verifying Checksum 01:36:48 eaf3925da568: Download complete 01:36:48 339a4e72a1f5: Verifying Checksum 01:36:48 339a4e72a1f5: Download complete 01:36:49 bde34c3a00c8: Verifying Checksum 01:36:49 bde34c3a00c8: Download complete 01:36:49 b352a97aabf1: Verifying Checksum 01:36:49 b352a97aabf1: Download complete 01:36:49 4872d77fe225: Download complete 01:36:49 5851b861e8e6: Verifying Checksum 01:36:49 b85a868b505f: Verifying Checksum 01:36:49 b85a868b505f: Download complete 01:36:49 bab4dde63d76: Download complete 01:36:50 b85a868b505f: Pull complete 01:36:50 e2be974225ed: Pull complete 01:36:51 339a4e72a1f5: Pull complete 01:36:51 988bab9f4d93: Pull complete 01:36:51 1469e6f7b9e6: Pull complete 01:36:51 eaf3925da568: Pull complete 01:36:53 bab4dde63d76: Pull complete 01:36:53 bde34c3a00c8: Pull complete 01:36:53 b352a97aabf1: Pull complete 01:36:53 4872d77fe225: Pull complete 01:36:53 5851b861e8e6: Pull complete 01:36:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:36:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:36:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:36:53 prd-ubuntu20.04-docker-8c-8g-8829 does not seem to be running inside a container 01:36:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:36:56 $ docker top e67b9268577baf3a8b927c0963916a9b6831cc13bf994b2e5a2fd17563d5bc73 -eo pid,comm 01:36: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). 01:36:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:36:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:36:56 [ssh-agent] Looking for ssh-agent implementation... 01:36:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:36:56 $ docker exec e67b9268577baf3a8b927c0963916a9b6831cc13bf994b2e5a2fd17563d5bc73 ssh-agent 01:36:57 SSH_AUTH_SOCK=/tmp/ssh-plWnIODNTaH7/agent.33 01:36:57 SSH_AGENT_PID=39 01:36:57 Running ssh-add (command line suppressed) 01:36:57 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12585896199710674362.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12585896199710674362.key) 01:36:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:36:57 + git tag --points-at HEAD [Pipeline] } 01:36:57 $ docker exec --env ******** --env ******** e67b9268577baf3a8b927c0963916a9b6831cc13bf994b2e5a2fd17563d5bc73 ssh-agent -k 01:36:57 unset SSH_AUTH_SOCK; 01:36:57 unset SSH_AGENT_PID; 01:36:57 echo Agent pid 39 killed; 01:36:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:36:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:36:57 [ssh-agent] Looking for ssh-agent implementation... 01:36:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:36:57 $ docker exec e67b9268577baf3a8b927c0963916a9b6831cc13bf994b2e5a2fd17563d5bc73 ssh-agent 01:36:57 SSH_AUTH_SOCK=/tmp/ssh-kRkWHucgZ0IQ/agent.71 01:36:57 SSH_AGENT_PID=77 01:36:57 Running ssh-add (command line suppressed) 01:36:58 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18339521144967799752.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18339521144967799752.key) 01:36:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:36:58 + git semver init 01:36:58 2023-04-18 01:36:58,576 [run_init] DEBUG init version:0.0.0 force:False 01:36:58 2023-04-18 01:36:58,577 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 01:36:58 2023-04-18 01:36:58,577 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 01:36:58 2023-04-18 01:36:58,577 [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) 01:37:01 2023-04-18 01:37:01,275 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 01:37:01 2023-04-18 01:37:01,276 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 01:37:01 2023-04-18 01:37:01,276 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 01:37:01 2023-04-18 01:37:01,277 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 01:37:01 3.0.0-dev.31 [Pipeline] } 01:37:01 $ docker exec --env ******** --env ******** e67b9268577baf3a8b927c0963916a9b6831cc13bf994b2e5a2fd17563d5bc73 ssh-agent -k 01:37:02 unset SSH_AUTH_SOCK; 01:37:02 unset SSH_AGENT_PID; 01:37:02 echo Agent pid 77 killed; 01:37:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:37:04 + git semver [Pipeline] } 01:37:04 $ docker stop --time=1 e67b9268577baf3a8b927c0963916a9b6831cc13bf994b2e5a2fd17563d5bc73 01:37:06 $ docker rm -f --volumes e67b9268577baf3a8b927c0963916a9b6831cc13bf994b2e5a2fd17563d5bc73 [Pipeline] // withDockerContainer [Pipeline] sh 01:37:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:37:06 Stashed 1 file(s) [Pipeline] echo 01:37:06 [edgeXSemver]: initialized semver on version 3.0.0-dev.31 [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 01:37:06 provisioning config files... 01:37:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6248811229245307570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:37:07 ---> docker-login.sh 01:37:07 nexus3.edgexfoundry.org:10001 01:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:07 Configure a credential helper to remove this warning. See 01:37:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:07 01:37:07 Login Succeeded 01:37:07 nexus3.edgexfoundry.org:10002 01:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:07 Configure a credential helper to remove this warning. See 01:37:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:07 01:37:07 Login Succeeded 01:37:07 nexus3.edgexfoundry.org:10003 01:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:07 Configure a credential helper to remove this warning. See 01:37:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:07 01:37:07 Login Succeeded 01:37:07 nexus3.edgexfoundry.org:10004 01:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:07 Configure a credential helper to remove this warning. See 01:37:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:07 01:37:07 Login Succeeded 01:37:07 docker.io 01:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:07 Configure a credential helper to remove this warning. See 01:37:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:07 01:37:07 Login Succeeded 01:37:07 ---> docker-login.sh ends [Pipeline] } 01:37:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:37:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:37:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:37:07 ========================================================= 01:37:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:37:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:08 + 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 . 01:37:08 Sending build context to Docker daemon 23.54MB 01:37:08 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:37:08 Step 2/12 : FROM ${BASE} AS builder 01:37:08 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:37:08 63b65145d645: Pulling fs layer 01:37:08 a2d21d5440eb: Pulling fs layer 01:37:08 935e6c44a52c: Pulling fs layer 01:37:08 94cc34f8dd06: Pulling fs layer 01:37:08 30dea6a524f1: Pulling fs layer 01:37:08 a2aff8979fd8: Pulling fs layer 01:37:08 6808be2612f2: Pulling fs layer 01:37:08 30dea6a524f1: Waiting 01:37:08 f25807f1079a: Pulling fs layer 01:37:08 f25807f1079a: Waiting 01:37:08 a2aff8979fd8: Waiting 01:37:08 94cc34f8dd06: Waiting 01:37:08 6808be2612f2: Waiting 01:37:08 a2d21d5440eb: Verifying Checksum 01:37:08 a2d21d5440eb: Download complete 01:37:08 94cc34f8dd06: Verifying Checksum 01:37:08 94cc34f8dd06: Download complete 01:37:08 30dea6a524f1: Verifying Checksum 01:37:08 30dea6a524f1: Download complete 01:37:08 63b65145d645: Verifying Checksum 01:37:08 63b65145d645: Download complete 01:37:08 a2aff8979fd8: Verifying Checksum 01:37:08 a2aff8979fd8: Download complete 01:37:08 63b65145d645: Pull complete 01:37:08 a2d21d5440eb: Pull complete 01:37:08 f25807f1079a: Verifying Checksum 01:37:08 f25807f1079a: Download complete 01:37:08 935e6c44a52c: Verifying Checksum 01:37:08 935e6c44a52c: Download complete 01:37:09 6808be2612f2: Verifying Checksum 01:37:09 6808be2612f2: Download complete 01:37:13 935e6c44a52c: Pull complete 01:37:13 94cc34f8dd06: Pull complete 01:37:13 30dea6a524f1: Pull complete 01:37:13 a2aff8979fd8: Pull complete 01:37:15 6808be2612f2: Pull complete 01:37:16 f25807f1079a: Pull complete 01:37:16 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 01:37:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:37:16 ---> 3b553350e43f 01:37:16 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:37:20 ---> Running in dbed744c5ee5 01:37:20 Removing intermediate container dbed744c5ee5 01:37:20 ---> 8bc700e3a570 01:37:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:37:20 ---> Running in 9d5d75f6abd9 01:37:20 Removing intermediate container 9d5d75f6abd9 01:37:20 ---> 4bbafd730702 01:37:20 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:37:20 ---> Running in 919eb5fa7a67 01:37:20 Removing intermediate container 919eb5fa7a67 01:37:20 ---> 1aadbbd8e9c8 01:37:20 Step 6/12 : WORKDIR /device-virtual-go 01:37:20 ---> Running in 2868a8768a89 01:37:20 Removing intermediate container 2868a8768a89 01:37:20 ---> 04eb514e9e82 01:37:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:37:20 ---> Running in 408f77487a54 01:37:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:37:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:37:20 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:37:20 (2/4) Installing libedit (20221030.3.1-r0) 01:37:20 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:37:20 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:37:20 Executing busybox-1.35.0-r29.trigger 01:37:20 OK: 269 MiB in 57 packages 01:37:21 Removing intermediate container 408f77487a54 01:37:21 ---> 2e10bfc9c0c0 01:37:21 Step 8/12 : COPY go.mod vendor* ./ 01:37:21 ---> 911ecf80f6e6 01:37:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:37:21 ---> Running in cefbef29af3e 01:37:21 Still waiting to schedule task 01:37:21 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8828’ 01:38:08 Removing intermediate container cefbef29af3e 01:38:08 ---> 20f6a0b04e3e 01:38:08 Step 10/12 : COPY . . 01:38:08 ---> 1a0a9dfa5845 01:38:08 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:38:08 ---> Running in 78c92809ca1e 01:38:09 Removing intermediate container 78c92809ca1e 01:38:09 ---> 83823bcb305c 01:38:09 Step 12/12 : RUN $MAKE 01:38:09 ---> Running in c3e114a80174 01:38:09 noop 01:38:09 Removing intermediate container c3e114a80174 01:38:09 ---> fa6a820438f3 01:38:09 Successfully built fa6a820438f3 01:38:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:09 + docker inspect -f . ci-base-image-x86_64 01:38:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:10 prd-ubuntu20.04-docker-8c-8g-8829 does not seem to be running inside a container 01:38:10 $ 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 01:38:10 $ docker top 72f8e4987ebdfca6314bb439d7daf48b71dbb490a369c19f26e133010cba96c5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:10 + go version 01:38:10 go version go1.20.2 linux/amd64 [Pipeline] } 01:38:10 $ docker stop --time=1 72f8e4987ebdfca6314bb439d7daf48b71dbb490a369c19f26e133010cba96c5 01:38:11 $ docker rm -f --volumes 72f8e4987ebdfca6314bb439d7daf48b71dbb490a369c19f26e133010cba96c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:12 + docker inspect -f . ci-base-image-x86_64 01:38:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:12 prd-ubuntu20.04-docker-8c-8g-8829 does not seem to be running inside a container 01:38:12 $ 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 01:38:12 $ docker top 8ee83bdf87ad2f5d3e091e5c5b35c5c1bb6723314eefd83dca527a1f76ad2475 -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:13 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 01:38:13 + make test 01:38:13 go test ./... -coverprofile=coverage.out 01:38:18 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:38:28 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:38:28 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.021s coverage: 58.7% of statements 01:38:32 go vet ./... 01:38:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:38:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:38:36 ./bin/test-attribution-txt.sh 01:38:36 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 01:38:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:38:36 $ docker stop --time=1 8ee83bdf87ad2f5d3e091e5c5b35c5c1bb6723314eefd83dca527a1f76ad2475 01:38:39 $ docker rm -f --volumes 8ee83bdf87ad2f5d3e091e5c5b35c5c1bb6723314eefd83dca527a1f76ad2475 [Pipeline] // withDockerContainer [Pipeline] sh 01:38:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:38:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:38:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:38:40 + ls -al . 01:38:40 total 192 01:38:40 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 01:38 . 01:38:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 01:36 .. 01:38:40 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 01:37 .git 01:38:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 01:36 .github 01:38:40 -rw-rw-r-- 1 jenkins jenkins 337 Apr 18 01:36 .gitignore 01:38:40 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 01:36 .golangci.yml 01:38:40 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 01:37 .semver 01:38:40 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 18 01:36 Attribution.txt 01:38:40 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 18 01:36 CHANGELOG.md 01:38:40 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 18 01:36 Dockerfile 01:38:40 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 01:36 GOVERNANCE.md 01:38:40 -rw-rw-r-- 1 jenkins jenkins 660 Apr 18 01:36 Jenkinsfile 01:38:40 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 01:36 LICENSE 01:38:40 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 18 01:36 Makefile 01:38:40 -rw-rw-r-- 1 jenkins jenkins 623 Apr 18 01:36 OWNERS.md 01:38:40 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 18 01:36 README.md 01:38:40 -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 01:37 VERSION 01:38:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 01:36 bin 01:38:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 01:36 cmd 01:38:40 -rw-r--r-- 1 jenkins jenkins 42970 Apr 18 01:38 coverage.out 01:38:40 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 18 01:36 go.mod 01:38:40 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 18 01:36 go.sum 01:38:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 01:36 internal 01:38:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 01:36 snap 01:38:40 -rw-rw-r-- 1 jenkins jenkins 235 Apr 18 01:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:40 + 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=31d774b4f359865edc3dcd5479b181cce8101838 --label arch=amd64 --label version=3.0.0-dev.31 . 01:38:40 Sending build context to Docker daemon 23.58MB 01:38:40 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:38:40 Step 2/25 : FROM ${BASE} AS builder 01:38:40 ---> fa6a820438f3 01:38:40 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:38:41 ---> Running in c29431023553 01:38:41 Removing intermediate container c29431023553 01:38:41 ---> e8f2a3123277 01:38:41 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 01:38:41 ---> Running in 1df556da4ea6 01:38:41 Removing intermediate container 1df556da4ea6 01:38:41 ---> 6e022e08e96d 01:38:41 Step 5/25 : ARG ADD_BUILD_TAGS="" 01:38:41 ---> Running in 1c3b80cead2a 01:38:41 Removing intermediate container 1c3b80cead2a 01:38:41 ---> 6a9b6378a371 01:38:41 Step 6/25 : WORKDIR /device-virtual-go 01:38:41 ---> Running in 832a20923eab 01:38:41 Removing intermediate container 832a20923eab 01:38:41 ---> 7a8d40c252d5 01:38:41 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:38:41 ---> Running in afb4917d036d 01:38:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:38:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:38:42 OK: 269 MiB in 57 packages 01:38:42 Removing intermediate container afb4917d036d 01:38:42 ---> 0323067b5252 01:38:42 Step 8/25 : COPY go.mod vendor* ./ 01:38:42 ---> f0226e8199d4 01:38:42 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:38:42 ---> Running in ad47a654caf4 01:38:43 Removing intermediate container ad47a654caf4 01:38:43 ---> aa68a26ad243 01:38:43 Step 10/25 : COPY . . 01:38:43 ---> 345862e704ae 01:38:43 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:38:43 ---> Running in 25c9c9cec46b 01:38:44 Removing intermediate container 25c9c9cec46b 01:38:44 ---> e69e2ac57001 01:38:44 Step 12/25 : RUN $MAKE 01:38:44 ---> Running in f5af0cd5e0bb 01:38:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.31" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 01:39:06 Removing intermediate container f5af0cd5e0bb 01:39:06 ---> 8161dd511c16 01:39:06 Step 13/25 : FROM alpine:3.17 01:39:06 3.17: Pulling from library/alpine 01:39:06 f56be85fc22e: Pulling fs layer 01:39:06 f56be85fc22e: Verifying Checksum 01:39:06 f56be85fc22e: Download complete 01:39:06 f56be85fc22e: Pull complete 01:39:06 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:39:06 Status: Downloaded newer image for alpine:3.17 01:39:06 ---> 9ed4aefc74f6 01:39:06 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 01:39:06 ---> Running in 7494db314dda 01:39:06 Removing intermediate container 7494db314dda 01:39:06 ---> 624d4fd04e23 01:39:06 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:39:06 ---> Running in bd395908c15a 01:39:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:39:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:39:06 (1/1) Installing dumb-init (1.2.5-r2) 01:39:06 Executing busybox-1.35.0-r29.trigger 01:39:06 OK: 7 MiB in 16 packages 01:39:06 Removing intermediate container bd395908c15a 01:39:06 ---> 18d3612bb4c6 01:39:06 Step 16/25 : WORKDIR / 01:39:06 ---> Running in 3ec46d5f7b61 01:39:06 Removing intermediate container 3ec46d5f7b61 01:39:06 ---> be30cac91b88 01:39:06 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 01:39:06 ---> 5afc60a47eea 01:39:06 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 01:39:06 ---> 3f7f8e541c83 01:39:06 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 01:39:06 ---> c1e70b1acb57 01:39:06 Step 20/25 : EXPOSE 59900 01:39:06 ---> Running in ce217c3470fa 01:39:06 Removing intermediate container ce217c3470fa 01:39:06 ---> c9f2f42f2490 01:39:06 Step 21/25 : ENTRYPOINT ["/device-virtual"] 01:39:06 ---> Running in 175fb24a62e5 01:39:06 Removing intermediate container 175fb24a62e5 01:39:06 ---> 4071f778085b 01:39:06 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 01:39:06 ---> Running in 4e2b93cec6e2 01:39:06 Removing intermediate container 4e2b93cec6e2 01:39:06 ---> 89d7e6a1bc99 01:39:06 Step 23/25 : LABEL arch=amd64 01:39:06 ---> Running in f44b4230fec9 01:39:06 Removing intermediate container f44b4230fec9 01:39:06 ---> c21fb6ffb705 01:39:06 Step 24/25 : LABEL git_sha=31d774b4f359865edc3dcd5479b181cce8101838 01:39:06 ---> Running in ba8bc42769e3 01:39:06 Removing intermediate container ba8bc42769e3 01:39:06 ---> 0901e8728f8b 01:39:06 Step 25/25 : LABEL version=3.0.0-dev.31 01:39:06 ---> Running in c89c13d77aaf 01:39:06 Removing intermediate container c89c13d77aaf 01:39:06 ---> 535e3b51595a 01:39:06 [Warning] One or more build-args [ARCH] were not consumed 01:39:06 Successfully built 535e3b51595a 01:39:06 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:39:06 provisioning config files... 01:39:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1363056470987536419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:39:06 ---> docker-login.sh 01:39:06 nexus3.edgexfoundry.org:10001 01:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:06 Configure a credential helper to remove this warning. See 01:39:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:06 01:39:06 Login Succeeded 01:39:06 nexus3.edgexfoundry.org:10002 01:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:06 Configure a credential helper to remove this warning. See 01:39:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:06 01:39:06 Login Succeeded 01:39:06 nexus3.edgexfoundry.org:10003 01:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:07 Configure a credential helper to remove this warning. See 01:39:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:07 01:39:07 Login Succeeded 01:39:07 nexus3.edgexfoundry.org:10004 01:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:07 Configure a credential helper to remove this warning. See 01:39:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:07 01:39:07 Login Succeeded 01:39:07 docker.io 01:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:07 Configure a credential helper to remove this warning. See 01:39:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:07 01:39:07 Login Succeeded 01:39:07 ---> docker-login.sh ends [Pipeline] } 01:39:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:39:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:39:07 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 01:39:07 31d774b4f359865edc3dcd5479b181cce8101838 01:39:07 latest 01:39:07 3.0.0-dev.31 01:39:07 31d774b4f359865edc3dcd5479b181cce8101838-3.0.0-dev.31 01:39:07 main 01:39:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:07 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:31d774b4f359865edc3dcd5479b181cce8101838 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:08 + docker push nexus3.edgexfoundry.org:10004/device-virtual:31d774b4f359865edc3dcd5479b181cce8101838 01:39:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:39:08 782fb41e9e3f: Preparing 01:39:08 57085bedf46e: Preparing 01:39:08 6beffb7e8e61: Preparing 01:39:08 1589591dcf01: Preparing 01:39:08 f1417ff83b31: Preparing 01:39:08 f1417ff83b31: Layer already exists 01:39:08 57085bedf46e: Pushed 01:39:08 1589591dcf01: Pushed 01:39:08 6beffb7e8e61: Pushed 01:39:10 782fb41e9e3f: Pushed 01:39:10 31d774b4f359865edc3dcd5479b181cce8101838: digest: sha256:d03e8edbfcee6050e2fff936857bcf948222530da13c7c0e1b81d77ae582c772 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:10 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:11 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 01:39:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:39:11 782fb41e9e3f: Preparing 01:39:11 57085bedf46e: Preparing 01:39:11 6beffb7e8e61: Preparing 01:39:11 1589591dcf01: Preparing 01:39:11 f1417ff83b31: Preparing 01:39:11 1589591dcf01: Layer already exists 01:39:11 57085bedf46e: Layer already exists 01:39:11 f1417ff83b31: Layer already exists 01:39:11 782fb41e9e3f: Layer already exists 01:39:11 6beffb7e8e61: Layer already exists 01:39:11 latest: digest: sha256:d03e8edbfcee6050e2fff936857bcf948222530da13c7c0e1b81d77ae582c772 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:11 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:11 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.31 01:39:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:39:11 782fb41e9e3f: Preparing 01:39:11 57085bedf46e: Preparing 01:39:11 6beffb7e8e61: Preparing 01:39:11 1589591dcf01: Preparing 01:39:11 f1417ff83b31: Preparing 01:39:11 6beffb7e8e61: Layer already exists 01:39:11 1589591dcf01: Layer already exists 01:39:11 f1417ff83b31: Layer already exists 01:39:11 57085bedf46e: Layer already exists 01:39:11 782fb41e9e3f: Layer already exists 01:39:11 3.0.0-dev.31: digest: sha256:d03e8edbfcee6050e2fff936857bcf948222530da13c7c0e1b81d77ae582c772 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:12 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:31d774b4f359865edc3dcd5479b181cce8101838-3.0.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:12 + docker push nexus3.edgexfoundry.org:10004/device-virtual:31d774b4f359865edc3dcd5479b181cce8101838-3.0.0-dev.31 01:39:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:39:12 782fb41e9e3f: Preparing 01:39:12 57085bedf46e: Preparing 01:39:12 6beffb7e8e61: Preparing 01:39:12 1589591dcf01: Preparing 01:39:12 f1417ff83b31: Preparing 01:39:12 6beffb7e8e61: Layer already exists 01:39:12 782fb41e9e3f: Layer already exists 01:39:12 1589591dcf01: Layer already exists 01:39:12 f1417ff83b31: Layer already exists 01:39:12 57085bedf46e: Layer already exists 01:39:12 31d774b4f359865edc3dcd5479b181cce8101838-3.0.0-dev.31: digest: sha256:d03e8edbfcee6050e2fff936857bcf948222530da13c7c0e1b81d77ae582c772 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:12 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:13 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 01:39:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:39:13 782fb41e9e3f: Preparing 01:39:13 57085bedf46e: Preparing 01:39:13 6beffb7e8e61: Preparing 01:39:13 1589591dcf01: Preparing 01:39:13 f1417ff83b31: Preparing 01:39:13 57085bedf46e: Layer already exists 01:39:13 6beffb7e8e61: Layer already exists 01:39:13 782fb41e9e3f: Layer already exists 01:39:13 1589591dcf01: Layer already exists 01:39:13 f1417ff83b31: Layer already exists 01:39:13 main: digest: sha256:d03e8edbfcee6050e2fff936857bcf948222530da13c7c0e1b81d77ae582c772 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:39:13 ===================================================== [Pipeline] echo 01:39:13 taggedImages: 01:39:13 - nexus3.edgexfoundry.org:10004/device-virtual:31d774b4f359865edc3dcd5479b181cce8101838 01:39:13 - nexus3.edgexfoundry.org:10004/device-virtual:latest 01:39:13 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.31 01:39:13 - nexus3.edgexfoundry.org:10004/device-virtual:31d774b4f359865edc3dcd5479b181cce8101838-3.0.0-dev.31 01:39:13 - 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 01:39:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:39:13 01:39:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:39:13 latest: Pulling from edgex-lftools-log-publisher 01:39:13 5eb5b503b376: Pulling fs layer 01:39:13 5c69ac0246d0: Pulling fs layer 01:39:13 ec43610c2a17: Pulling fs layer 01:39:13 3a2ae6a8a46f: Pulling fs layer 01:39:13 33b1e0a273af: Pulling fs layer 01:39:13 5d3b04190fa2: Pulling fs layer 01:39:13 2f39f015ded8: Pulling fs layer 01:39:13 33b1e0a273af: Waiting 01:39:13 5d3b04190fa2: Waiting 01:39:13 2f39f015ded8: Waiting 01:39:13 3a2ae6a8a46f: Waiting 01:39:13 5c69ac0246d0: Download complete 01:39:13 3a2ae6a8a46f: Verifying Checksum 01:39:13 3a2ae6a8a46f: Download complete 01:39:13 33b1e0a273af: Verifying Checksum 01:39:13 33b1e0a273af: Download complete 01:39:13 ec43610c2a17: Verifying Checksum 01:39:13 ec43610c2a17: Download complete 01:39:13 5d3b04190fa2: Verifying Checksum 01:39:13 5d3b04190fa2: Download complete 01:39:14 5eb5b503b376: Verifying Checksum 01:39:14 5eb5b503b376: Download complete 01:39:14 2f39f015ded8: Download complete 01:39:15 5eb5b503b376: Pull complete 01:39:15 5c69ac0246d0: Pull complete 01:39:15 ec43610c2a17: Pull complete 01:39:15 3a2ae6a8a46f: Pull complete 01:39:15 33b1e0a273af: Pull complete 01:39:15 5d3b04190fa2: Pull complete 01:39:20 2f39f015ded8: Pull complete 01:39:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:39:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:39:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:20 prd-ubuntu20.04-docker-8c-8g-8829 does not seem to be running inside a container 01:39:20 $ 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 01:39:22 $ docker top 9fbcd57a623f0f4dad421639d5e37f2ab6d290c36c78335a184ed996c64d8256 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:39:23 ---> job-cost.sh 01:39:23 lf-activate-venv: SKIPPING 01:39:23 INFO: No Stack... 01:39:23 INFO: Retrieving Pricing Info for: v3-standard-8 01:39:23 INFO: Archiving Costs [Pipeline] sh 01:39:23 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 01:39:23 + cut -d, -f6 [Pipeline] lock 01:39:23 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-103-stack-cost] 01:39:23 Resource [jenkins-edgexfoundry-device-virtual-go-main-103-stack-cost] did not exist. Created. 01:39:23 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-103-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:39:24 + echo total: 0.2199999988079071 [Pipeline] stash 01:39:24 Stashed 1 file(s) [Pipeline] } 01:39:24 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-103-stack-cost] [Pipeline] // lock [Pipeline] } 01:39:24 $ docker stop --time=1 9fbcd57a623f0f4dad421639d5e37f2ab6d290c36c78335a184ed996c64d8256 01:39:25 $ docker rm -f --volumes 9fbcd57a623f0f4dad421639d5e37f2ab6d290c36c78335a184ed996c64d8256 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:40:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8830 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 01:40:48 Running in /w/workspace/device-virtual-go/103 [Pipeline] { [Pipeline] checkout 01:40:48 The recommended git tool is: git 01:40:54 using credential edgex-jenkins-ssh 01:40:54 Cloning the remote Git repository 01:40:54 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 01:40:54 > git init /w/workspace/device-virtual-go/103 # timeout=10 01:40:54 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:40:54 > git --version # timeout=10 01:40:54 > git --version # 'git version 2.25.1' 01:40:54 using GIT_SSH to set credentials SSH Credentials for GitHub 01:40:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:40:56 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:40:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:40:57 Avoid second fetch 01:40:57 Checking out Revision 31d774b4f359865edc3dcd5479b181cce8101838 (main) 01:40:58 Commit message: "Merge pull request #380 from weichou1229/update-err-msg" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:40:57 > git config core.sparsecheckout # timeout=10 01:40:57 > git checkout -f 31d774b4f359865edc3dcd5479b181cce8101838 # timeout=10 01:40:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:40:59 % Total % Received % Xferd Average Speed Time Time Time Current 01:40:59 Dload Upload Total Spent Left Speed 01:40:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 72862 0 --:--:-- --:--:-- --:--:-- 72862 [Pipeline] sh 01:40:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:41:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:41:00 + sudo tee /etc/docker/daemon.new 01:41:00 { 01:41:00 "registry-mirrors": [ 01:41:00 "https://nexus3.edgexfoundry.org:10001" 01:41:00 ], 01:41:00 "bip": "10.250.0.254/24", 01:41:00 "hosts": [ 01:41:00 "tcp://0.0.0.0:5555", 01:41:00 "unix:///var/run/docker.sock" 01:41:00 ], 01:41:00 "mtu": 1458, 01:41:00 "selinux-enabled": true, 01:41:00 "seccomp-profile": "/etc/docker/seccomp.json" 01:41:00 } [Pipeline] sh 01:41:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:41:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:41:19 provisioning config files... 01:41:19 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/103@tmp/config6537223790960369097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:41:19 ---> docker-login.sh 01:41:19 nexus3.edgexfoundry.org:10001 01:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:19 Configure a credential helper to remove this warning. See 01:41:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:19 01:41:19 Login Succeeded 01:41:19 nexus3.edgexfoundry.org:10002 01:41:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:20 Configure a credential helper to remove this warning. See 01:41:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:20 01:41:20 Login Succeeded 01:41:20 nexus3.edgexfoundry.org:10003 01:41:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:20 Configure a credential helper to remove this warning. See 01:41:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:20 01:41:20 Login Succeeded 01:41:20 nexus3.edgexfoundry.org:10004 01:41:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:21 Configure a credential helper to remove this warning. See 01:41:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:21 01:41:21 Login Succeeded 01:41:21 docker.io 01:41:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:21 Configure a credential helper to remove this warning. See 01:41:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:21 01:41:21 Login Succeeded 01:41:21 ---> docker-login.sh ends [Pipeline] } 01:41:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:41:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:41:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:41:21 ========================================================= 01:41:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:41:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:22 + 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 . 01:41:22 Sending build context to Docker daemon 11.93MB 01:41:22 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:41:22 Step 2/12 : FROM ${BASE} AS builder 01:41:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:41:22 af6eaf76a39c: Pulling fs layer 01:41:22 55522c791124: Pulling fs layer 01:41:22 ce5c4a1c91eb: Pulling fs layer 01:41:22 169dfbe0d373: Pulling fs layer 01:41:22 e1ff8fa3b103: Pulling fs layer 01:41:22 52ebb69f0ebf: Pulling fs layer 01:41:22 5abe8eddf0d5: Pulling fs layer 01:41:22 e1ff8fa3b103: Waiting 01:41:22 52ebb69f0ebf: Waiting 01:41:22 169dfbe0d373: Waiting 01:41:22 5abe8eddf0d5: Waiting 01:41:22 55522c791124: Verifying Checksum 01:41:22 55522c791124: Download complete 01:41:22 169dfbe0d373: Verifying Checksum 01:41:22 169dfbe0d373: Download complete 01:41:22 e1ff8fa3b103: Verifying Checksum 01:41:22 e1ff8fa3b103: Download complete 01:41:22 af6eaf76a39c: Verifying Checksum 01:41:22 af6eaf76a39c: Download complete 01:41:23 af6eaf76a39c: Pull complete 01:41:24 5abe8eddf0d5: Verifying Checksum 01:41:24 5abe8eddf0d5: Download complete 01:41:24 55522c791124: Pull complete 01:41:25 52ebb69f0ebf: Verifying Checksum 01:41:25 52ebb69f0ebf: Download complete 01:41:25 ce5c4a1c91eb: Verifying Checksum 01:41:25 ce5c4a1c91eb: Download complete 01:41:35 ce5c4a1c91eb: Pull complete 01:41:35 169dfbe0d373: Pull complete 01:41:35 e1ff8fa3b103: Pull complete 01:41:40 52ebb69f0ebf: Pull complete 01:41:42 5abe8eddf0d5: Pull complete 01:41:42 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 01:41:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:41:42 ---> 6cb57ee374ae 01:41:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:41:44 ---> Running in 00f537464d7f 01:41:44 Removing intermediate container 00f537464d7f 01:41:44 ---> ae5302e4a0dd 01:41:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:41:44 ---> Running in 7af26b6f3f5e 01:41:44 Removing intermediate container 7af26b6f3f5e 01:41:44 ---> 784b7acdd96c 01:41:44 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:41:44 ---> Running in 1fbb0d58921b 01:41:45 Removing intermediate container 1fbb0d58921b 01:41:45 ---> b6a5866ecbd9 01:41:45 Step 6/12 : WORKDIR /device-virtual-go 01:41:45 ---> Running in 8d09ba70f2be 01:41:45 Removing intermediate container 8d09ba70f2be 01:41:45 ---> ab19635cd182 01:41:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:41:45 ---> Running in 3bde69721e63 01:41:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:41:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:41:48 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:41:48 (2/4) Installing libedit (20221030.3.1-r0) 01:41:48 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:41:48 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:41:48 Executing busybox-1.35.0-r29.trigger 01:41:48 OK: 268 MiB in 57 packages 01:41:49 Removing intermediate container 3bde69721e63 01:41:49 ---> bc1a14a75f3a 01:41:49 Step 8/12 : COPY go.mod vendor* ./ 01:41:50 ---> 5c8afbac5398 01:41:50 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:41:50 ---> Running in 6d424640bcb2 01:42:58 Removing intermediate container 6d424640bcb2 01:42:58 ---> 966f22c7b7c0 01:42:58 Step 10/12 : COPY . . 01:42:58 ---> d8dc254648d3 01:42:58 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:42:58 ---> Running in 9b3ed6bbca5e 01:42:58 Removing intermediate container 9b3ed6bbca5e 01:42:58 ---> 60af4fceb265 01:42:58 Step 12/12 : RUN $MAKE 01:42:58 ---> Running in 7535e224cde0 01:42:58 noop 01:42:58 Removing intermediate container 7535e224cde0 01:42:58 ---> 06610448685b 01:42:58 Successfully built 06610448685b 01:42:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:58 + docker inspect -f . ci-base-image-arm64 01:42:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:42:58 prd-ubuntu20.04-docker-arm64-4c-16g-8830 does not seem to be running inside a container 01:42:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/103 -v /w/workspace/device-virtual-go/103:/w/workspace/device-virtual-go/103:rw,z -v /w/workspace/device-virtual-go/103@tmp:/w/workspace/device-virtual-go/103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:42:59 $ docker top b1127ccc0dd1fa042f44a3efec331a92118b6799a0960ed95f50e6db7674a69b -eo pid,comm [Pipeline] { [Pipeline] sh 01:43:00 + go version 01:43:00 go version go1.20.2 linux/arm64 [Pipeline] } 01:43:00 $ docker stop --time=1 b1127ccc0dd1fa042f44a3efec331a92118b6799a0960ed95f50e6db7674a69b 01:43:02 $ docker rm -f --volumes b1127ccc0dd1fa042f44a3efec331a92118b6799a0960ed95f50e6db7674a69b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:02 + docker inspect -f . ci-base-image-arm64 01:43:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:03 prd-ubuntu20.04-docker-arm64-4c-16g-8830 does not seem to be running inside a container 01:43:03 $ 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/103 -v /w/workspace/device-virtual-go/103:/w/workspace/device-virtual-go/103:rw,z -v /w/workspace/device-virtual-go/103@tmp:/w/workspace/device-virtual-go/103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:43:05 $ docker top f2b2285e163ef959fb7609d5fd4cc62f13514f041cd1b35c8af053aef75bd5b5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:43:06 + git config --global --add safe.directory /w/workspace/device-virtual-go/103 [Pipeline] fileExists [Pipeline] sh 01:43:06 + make test 01:43:06 go test ./... -coverprofile=coverage.out 01:43:38 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:45:15 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:45:15 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.087s coverage: 58.5% of statements 01:45:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:45:15 go vet ./... 01:45:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:45:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:45:47 ./bin/test-attribution-txt.sh 01:45:47 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 01:45:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:45:47 $ docker stop --time=1 f2b2285e163ef959fb7609d5fd4cc62f13514f041cd1b35c8af053aef75bd5b5 01:45:50 $ docker rm -f --volumes f2b2285e163ef959fb7609d5fd4cc62f13514f041cd1b35c8af053aef75bd5b5 [Pipeline] // withDockerContainer [Pipeline] sh 01:45:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:45:51 Warning: overwriting stash ‘coverage-report’ 01:45:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:45:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:45:52 + ls -al . 01:45:52 total 188 01:45:52 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 01:43 . 01:45:52 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 01:40 .. 01:45:52 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 01:40 .git 01:45:52 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 01:40 .github 01:45:52 -rw-rw-r-- 1 jenkins jenkins 337 Apr 18 01:40 .gitignore 01:45:52 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 01:40 .golangci.yml 01:45:52 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 18 01:40 Attribution.txt 01:45:52 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 18 01:40 CHANGELOG.md 01:45:52 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 18 01:40 Dockerfile 01:45:52 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 01:40 GOVERNANCE.md 01:45:52 -rw-rw-r-- 1 jenkins jenkins 660 Apr 18 01:40 Jenkinsfile 01:45:52 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 01:40 LICENSE 01:45:52 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 18 01:40 Makefile 01:45:52 -rw-rw-r-- 1 jenkins jenkins 623 Apr 18 01:40 OWNERS.md 01:45:52 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 18 01:40 README.md 01:45:52 -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 01:37 VERSION 01:45:52 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 01:40 bin 01:45:52 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 01:40 cmd 01:45:52 -rw-r--r-- 1 jenkins jenkins 42970 Apr 18 01:45 coverage.out 01:45:52 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 18 01:40 go.mod 01:45:52 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 18 01:40 go.sum 01:45:52 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 01:40 internal 01:45:52 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 01:40 snap 01:45:52 -rw-rw-r-- 1 jenkins jenkins 235 Apr 18 01:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:52 + 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=31d774b4f359865edc3dcd5479b181cce8101838 --label arch=arm64 --label version=3.0.0-dev.31 . 01:45:52 Sending build context to Docker daemon 11.97MB 01:45:52 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:45:52 Step 2/25 : FROM ${BASE} AS builder 01:45:52 ---> 06610448685b 01:45:52 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:45:53 ---> Running in 6363719a356f 01:45:53 Removing intermediate container 6363719a356f 01:45:53 ---> 4bfaa516a43b 01:45:53 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 01:45:53 ---> Running in 4cc2e9928132 01:45:53 Removing intermediate container 4cc2e9928132 01:45:53 ---> ff5936dba5c6 01:45:53 Step 5/25 : ARG ADD_BUILD_TAGS="" 01:45:54 ---> Running in 19978e6b2fba 01:45:54 Removing intermediate container 19978e6b2fba 01:45:54 ---> 7696cdedd328 01:45:54 Step 6/25 : WORKDIR /device-virtual-go 01:45:54 ---> Running in 5b5a5dd6309f 01:45:54 Removing intermediate container 5b5a5dd6309f 01:45:54 ---> 1fecb1d24c23 01:45:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:45:54 ---> Running in a99e6b6b6e29 01:45:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:45:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:45:57 OK: 268 MiB in 57 packages 01:45:59 Removing intermediate container a99e6b6b6e29 01:45:59 ---> 3eb07c77c67a 01:45:59 Step 8/25 : COPY go.mod vendor* ./ 01:45:59 ---> bc683dde3d00 01:45:59 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:45:59 ---> Running in 7892057560fa 01:46:02 Removing intermediate container 7892057560fa 01:46:02 ---> fdc511f793f1 01:46:02 Step 10/25 : COPY . . 01:46:03 ---> 4311a3822b0d 01:46:03 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:46:03 ---> Running in d46b42ed7976 01:46:03 Removing intermediate container d46b42ed7976 01:46:03 ---> 5e0b3821a0f2 01:46:03 Step 12/25 : RUN $MAKE 01:46:03 ---> Running in 6701bdc0aba1 01:46:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.31" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 01:48:26 Removing intermediate container 6701bdc0aba1 01:48:26 ---> 126db98acb33 01:48:26 Step 13/25 : FROM alpine:3.17 01:48:26 3.17: Pulling from library/alpine 01:48:26 c41833b44d91: Pulling fs layer 01:48:26 c41833b44d91: Verifying Checksum 01:48:26 c41833b44d91: Download complete 01:48:26 c41833b44d91: Pull complete 01:48:26 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:48:26 Status: Downloaded newer image for alpine:3.17 01:48:26 ---> 51e60588ff2c 01:48:26 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 01:48:26 ---> Running in 9e0fd70d3ad7 01:48:26 Removing intermediate container 9e0fd70d3ad7 01:48:26 ---> a1202a2dec4a 01:48:26 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:48:26 ---> Running in 84c29d6c3dea 01:48:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:48:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:48:26 (1/1) Installing dumb-init (1.2.5-r2) 01:48:26 Executing busybox-1.35.0-r29.trigger 01:48:26 OK: 8 MiB in 16 packages 01:48:27 Removing intermediate container 84c29d6c3dea 01:48:27 ---> accb9ab5fdbe 01:48:27 Step 16/25 : WORKDIR / 01:48:27 ---> Running in c756cfe02b04 01:48:27 Removing intermediate container c756cfe02b04 01:48:27 ---> ed13fe83c55e 01:48:27 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 01:48:28 ---> fe9815d799bb 01:48:28 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 01:48:28 ---> 0330472027f8 01:48:28 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 01:48:30 ---> facaa76ed2b9 01:48:30 Step 20/25 : EXPOSE 59900 01:48:30 ---> Running in f17427d3d73f 01:48:30 Removing intermediate container f17427d3d73f 01:48:30 ---> dadef4832ada 01:48:30 Step 21/25 : ENTRYPOINT ["/device-virtual"] 01:48:30 ---> Running in ddfede224388 01:48:31 Removing intermediate container ddfede224388 01:48:31 ---> f67664bf3984 01:48:31 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 01:48:31 ---> Running in 6ba9c3279662 01:48:31 Removing intermediate container 6ba9c3279662 01:48:31 ---> 9e27d5882633 01:48:31 Step 23/25 : LABEL arch=arm64 01:48:31 ---> Running in 2a50960385ab 01:48:31 Removing intermediate container 2a50960385ab 01:48:31 ---> 136722756fc0 01:48:31 Step 24/25 : LABEL git_sha=31d774b4f359865edc3dcd5479b181cce8101838 01:48:31 ---> Running in 8a2bbba90ab8 01:48:32 Removing intermediate container 8a2bbba90ab8 01:48:32 ---> 40d185ab11f4 01:48:32 Step 25/25 : LABEL version=3.0.0-dev.31 01:48:32 ---> Running in d3ab25372867 01:48:32 Removing intermediate container d3ab25372867 01:48:32 ---> a9a337dda40f 01:48:32 [Warning] One or more build-args [ARCH] were not consumed 01:48:32 Successfully built a9a337dda40f 01:48:32 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 01:48:32 provisioning config files... 01:48:32 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/103@tmp/config14984529317260520364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:33 ---> docker-login.sh 01:48:33 nexus3.edgexfoundry.org:10001 01:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:33 Configure a credential helper to remove this warning. See 01:48:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:33 01:48:33 Login Succeeded 01:48:33 nexus3.edgexfoundry.org:10002 01:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:33 Configure a credential helper to remove this warning. See 01:48:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:33 01:48:33 Login Succeeded 01:48:34 nexus3.edgexfoundry.org:10003 01:48:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:34 Configure a credential helper to remove this warning. See 01:48:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:34 01:48:34 Login Succeeded 01:48:34 nexus3.edgexfoundry.org:10004 01:48:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:34 Configure a credential helper to remove this warning. See 01:48:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:34 01:48:34 Login Succeeded 01:48:34 docker.io 01:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:35 Configure a credential helper to remove this warning. See 01:48:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:35 01:48:35 Login Succeeded 01:48:35 ---> docker-login.sh ends [Pipeline] } 01:48:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:48:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:48:35 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 01:48:35 31d774b4f359865edc3dcd5479b181cce8101838 01:48:35 latest 01:48:35 3.0.0-dev.31 01:48:35 31d774b4f359865edc3dcd5479b181cce8101838-3.0.0-dev.31 01:48:35 main 01:48:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:35 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:31d774b4f359865edc3dcd5479b181cce8101838 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:36 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:31d774b4f359865edc3dcd5479b181cce8101838 01:48:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 01:48:36 32d861446743: Preparing 01:48:36 67648c539239: Preparing 01:48:36 327701ad5b35: Preparing 01:48:36 c21f4380bcba: Preparing 01:48:36 26cbea5cba74: Preparing 01:48:36 26cbea5cba74: Layer already exists 01:48:36 327701ad5b35: Pushed 01:48:36 67648c539239: Pushed 01:48:36 c21f4380bcba: Pushed 01:48:41 32d861446743: Pushed 01:48:42 31d774b4f359865edc3dcd5479b181cce8101838: digest: sha256:0f9e386ba42d6106e72ac918999dd32b145c0eeec98ae1338d79d6cb745e948f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:42 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 01:48:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 01:48:42 32d861446743: Preparing 01:48:42 67648c539239: Preparing 01:48:42 327701ad5b35: Preparing 01:48:42 c21f4380bcba: Preparing 01:48:42 26cbea5cba74: Preparing 01:48:42 c21f4380bcba: Layer already exists 01:48:42 26cbea5cba74: Layer already exists 01:48:42 32d861446743: Layer already exists 01:48:42 67648c539239: Layer already exists 01:48:42 327701ad5b35: Layer already exists 01:48:42 latest: digest: sha256:0f9e386ba42d6106e72ac918999dd32b145c0eeec98ae1338d79d6cb745e948f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:43 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.31 01:48:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 01:48:43 32d861446743: Preparing 01:48:43 67648c539239: Preparing 01:48:43 327701ad5b35: Preparing 01:48:43 c21f4380bcba: Preparing 01:48:43 26cbea5cba74: Preparing 01:48:43 67648c539239: Layer already exists 01:48:43 327701ad5b35: Layer already exists 01:48:43 26cbea5cba74: Layer already exists 01:48:43 32d861446743: Layer already exists 01:48:43 c21f4380bcba: Layer already exists 01:48:43 3.0.0-dev.31: digest: sha256:0f9e386ba42d6106e72ac918999dd32b145c0eeec98ae1338d79d6cb745e948f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:44 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:31d774b4f359865edc3dcd5479b181cce8101838-3.0.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:31d774b4f359865edc3dcd5479b181cce8101838-3.0.0-dev.31 01:48:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 01:48:44 32d861446743: Preparing 01:48:44 67648c539239: Preparing 01:48:44 327701ad5b35: Preparing 01:48:44 c21f4380bcba: Preparing 01:48:44 26cbea5cba74: Preparing 01:48:44 32d861446743: Layer already exists 01:48:44 327701ad5b35: Layer already exists 01:48:44 67648c539239: Layer already exists 01:48:44 c21f4380bcba: Layer already exists 01:48:44 26cbea5cba74: Layer already exists 01:48:44 31d774b4f359865edc3dcd5479b181cce8101838-3.0.0-dev.31: digest: sha256:0f9e386ba42d6106e72ac918999dd32b145c0eeec98ae1338d79d6cb745e948f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:45 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 01:48:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 01:48:45 32d861446743: Preparing 01:48:45 67648c539239: Preparing 01:48:45 327701ad5b35: Preparing 01:48:45 c21f4380bcba: Preparing 01:48:45 26cbea5cba74: Preparing 01:48:45 c21f4380bcba: Layer already exists 01:48:45 26cbea5cba74: Layer already exists 01:48:45 327701ad5b35: Layer already exists 01:48:45 67648c539239: Layer already exists 01:48:45 32d861446743: Layer already exists 01:48:45 main: digest: sha256:0f9e386ba42d6106e72ac918999dd32b145c0eeec98ae1338d79d6cb745e948f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:48:45 ===================================================== [Pipeline] echo 01:48:45 taggedImages: 01:48:45 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:31d774b4f359865edc3dcd5479b181cce8101838 01:48:45 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 01:48:45 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.31 01:48:45 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:31d774b4f359865edc3dcd5479b181cce8101838-3.0.0-dev.31 01:48:45 - 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 01:48:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:48:46 01:48:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:48:46 arm64: Pulling from edgex-lftools-log-publisher 01:48:46 8998bd30e6a1: Pulling fs layer 01:48:46 04944245beec: Pulling fs layer 01:48:46 699f458cf7ca: Pulling fs layer 01:48:46 765212b225bb: Pulling fs layer 01:48:46 f23df028b6ca: Pulling fs layer 01:48:46 d65c8cfc05b1: Pulling fs layer 01:48:46 2437ff75d9bd: Pulling fs layer 01:48:46 f23df028b6ca: Waiting 01:48:46 d65c8cfc05b1: Waiting 01:48:46 2437ff75d9bd: Waiting 01:48:46 765212b225bb: Waiting 01:48:46 04944245beec: Verifying Checksum 01:48:46 04944245beec: Download complete 01:48:46 765212b225bb: Verifying Checksum 01:48:46 765212b225bb: Download complete 01:48:46 f23df028b6ca: Verifying Checksum 01:48:46 f23df028b6ca: Download complete 01:48:46 d65c8cfc05b1: Verifying Checksum 01:48:46 d65c8cfc05b1: Download complete 01:48:46 699f458cf7ca: Verifying Checksum 01:48:46 699f458cf7ca: Download complete 01:48:47 8998bd30e6a1: Verifying Checksum 01:48:47 8998bd30e6a1: Download complete 01:48:49 2437ff75d9bd: Verifying Checksum 01:48:49 2437ff75d9bd: Download complete 01:48:51 8998bd30e6a1: Pull complete 01:48:51 04944245beec: Pull complete 01:48:55 699f458cf7ca: Pull complete 01:48:55 765212b225bb: Pull complete 01:48:55 f23df028b6ca: Pull complete 01:48:56 d65c8cfc05b1: Pull complete 01:49:08 2437ff75d9bd: Pull complete 01:49:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:49:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:49:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:08 prd-ubuntu20.04-docker-arm64-4c-16g-8830 does not seem to be running inside a container 01:49:08 $ 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/103 -v /w/workspace/device-virtual-go/103:/w/workspace/device-virtual-go/103:rw,z -v /w/workspace/device-virtual-go/103@tmp:/w/workspace/device-virtual-go/103@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:arm64 cat 01:49:11 $ docker top 59d086664716ce1bf6010c202e85b6bbcd4865342354552d17dbc243b651937a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:49:11 ---> job-cost.sh 01:49:11 lf-activate-venv: SKIPPING 01:49:11 INFO: No Stack... 01:49:12 INFO: Retrieving Pricing Info for: v3-standard-4 01:49:13 INFO: Archiving Costs [Pipeline] sh 01:49:13 + cat /w/workspace/device-virtual-go/103/archives/cost.csv 01:49:13 + cut -d, -f6 [Pipeline] lock 01:49:13 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-103-stack-cost] 01:49:13 Resource [jenkins-edgexfoundry-device-virtual-go-main-103-stack-cost] did not exist. Created. 01:49:13 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-103-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:49:14 /w/workspace/device-virtual-go/103@tmp/durable-695157ca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:49:14 + echo total: 0.10999999940395355 [Pipeline] stash 01:49:14 Warning: overwriting stash ‘stack-cost’ 01:49:14 Stashed 1 file(s) [Pipeline] } 01:49:14 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-103-stack-cost] [Pipeline] // lock [Pipeline] } 01:49:14 $ docker stop --time=1 59d086664716ce1bf6010c202e85b6bbcd4865342354552d17dbc243b651937a 01:49:15 $ docker rm -f --volumes 59d086664716ce1bf6010c202e85b6bbcd4865342354552d17dbc243b651937a [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 01:49:16 provisioning config files... 01:49:16 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15709716549988564884tmp [Pipeline] { [Pipeline] sh 01:49:16 + set +x 01:49:16 + curl -s https://codecov.io/bash 01:49:16 + bash -s -- 01:49:16 01:49:16 _____ _ 01:49:16 / ____| | | 01:49:16 | | ___ __| | ___ ___ _____ __ 01:49:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:49:16 | |___| (_) | (_| | __/ (_| (_) \ V / 01:49:16 \_____\___/ \__,_|\___|\___\___/ \_/ 01:49:16 Bash-1.0.6 01:49:16 01:49:16 01:49:16 ==> git version 2.25.1 found 01:49:16 ==> 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 01:49:16 Release-Date: 2020-01-08 01:49:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:49:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:49:16 ==> Jenkins CI detected. 01:49:16 current dir:  /w/workspace/exfoundry_device-virtual-go_main 01:49:16 project root: . 01:49:16 --> token set from env 01:49:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:49:16 ==> Running gcov in . (disable via -X gcov) 01:49:16 ==> Python coveragepy not found 01:49:16 ==> Searching for coverage reports in: 01:49:16 + . 01:49:16 -> Found 1 reports 01:49:16 ==> Detecting git/mercurial file structure 01:49:16 ==> Reading reports 01:49:16 + ./coverage.out bytes=42970 01:49:16 ==> Appending adjustments 01:49:16 https://docs.codecov.io/docs/fixing-reports 01:49:16 + Found adjustments 01:49:16 ==> Gzipping contents 01:49:16 8.0K /tmp/codecov.JGZfFI.gz 01:49:16 ==> Uploading reports 01:49:16 url: https://codecov.io 01:49:16 query: branch=main&commit=31d774b4f359865edc3dcd5479b181cce8101838&build=103&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F103%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:49:16 -> Pinging Codecov 01:49:16 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=31d774b4f359865edc3dcd5479b181cce8101838&build=103&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F103%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:49:17 -> Uploading to 01:49:17 https://storage.googleapis.com/codecov/v4/raw/2023-04-18/5E52B4B073DB2E39498172D8E973AA87/31d774b4f359865edc3dcd5479b181cce8101838/4073b1ec-48b0-4e69-873e-567e51bc2db6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T014916Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f8465e8ad34bb919d6d4f093192fce0a750bdebc0655a7737b0aad2efd4b644 01:49:17 % Total % Received % Xferd Average Speed Time Time Time Current 01:49:17 Dload Upload Total Spent Left Speed 01:49:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5164 0 0 100 5164 0 25564 --:--:-- --:--:-- --:--:-- 25438 100 5164 0 0 100 5164 0 23366 --:--:-- --:--:-- --:--:-- 23261 01:49:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/31d774b4f359865edc3dcd5479b181cce8101838 [Pipeline] } 01:49:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:49:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:49:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:49:17 01:49:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:49:18 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:49:18 df9b9388f04a: Pulling fs layer 01:49:18 52dc419b0ee2: Pulling fs layer 01:49:18 25bc292e5bac: Pulling fs layer 01:49:18 114826534d7a: Pulling fs layer 01:49:18 4657fd5d0bcf: Pulling fs layer 01:49:18 6ad1cebc031e: Pulling fs layer 01:49:18 8a3aa393b2d8: Pulling fs layer 01:49:18 6ad1cebc031e: Waiting 01:49:18 114826534d7a: Waiting 01:49:18 4657fd5d0bcf: Waiting 01:49:18 25bc292e5bac: Download complete 01:49:18 52dc419b0ee2: Verifying Checksum 01:49:18 52dc419b0ee2: Download complete 01:49:18 4657fd5d0bcf: Verifying Checksum 01:49:18 4657fd5d0bcf: Download complete 01:49:18 df9b9388f04a: Download complete 01:49:18 6ad1cebc031e: Verifying Checksum 01:49:18 6ad1cebc031e: Download complete 01:49:18 df9b9388f04a: Pull complete 01:49:18 52dc419b0ee2: Pull complete 01:49:18 25bc292e5bac: Pull complete 01:49:18 114826534d7a: Download complete 01:49:18 8a3aa393b2d8: Download complete 01:49:22 114826534d7a: Pull complete 01:49:22 4657fd5d0bcf: Pull complete 01:49:22 6ad1cebc031e: Pull complete 01:49:24 8a3aa393b2d8: Pull complete 01:49:24 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:49:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:49:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:24 prd-ubuntu20.04-docker-8c-8g-8829 does not seem to be running inside a container 01:49:24 $ 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 01:49:27 $ docker top ce2a3f2fdae60ff1d9901efea22658bbb9f47622c02a8b6e79d4c08d1b5fbd7c -eo pid,comm [Pipeline] { [Pipeline] echo 01:49:27 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 01:49:28 + set -o pipefail 01:49:28 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 01:49:33 01:49:33 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 01:49:33 01:49:33 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/3bdec993-8193-4c12-8970-73da70213249 01:49:33 01:49:33 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 01:49:33 01:49:33 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:49:33 01:49:33 01:49:33 A medium severity vulnerability was found in the Snyk CLI versions you are using. 01:49:33 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 01:49:33 More details here: https://snyk.co/ue1NS [Pipeline] } 01:49:33 $ docker stop --time=1 ce2a3f2fdae60ff1d9901efea22658bbb9f47622c02a8b6e79d4c08d1b5fbd7c 01:49:35 $ docker rm -f --volumes ce2a3f2fdae60ff1d9901efea22658bbb9f47622c02a8b6e79d4c08d1b5fbd7c [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 01:49:36 + git log --format=format:%s -1 31d774b4f359865edc3dcd5479b181cce8101838 [Pipeline] sh 01:49:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:49:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:49:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:37 prd-ubuntu20.04-docker-8c-8g-8829 does not seem to be running inside a container 01:49:37 $ 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 01:49:37 $ docker top a4bc79f8ebd04be512c6bb21de570445014003bb540f7040b237541f8c49c4aa -eo pid,comm 01:49:37 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). 01:49:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:49:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:49:37 [ssh-agent] Looking for ssh-agent implementation... 01:49:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:49:37 $ docker exec a4bc79f8ebd04be512c6bb21de570445014003bb540f7040b237541f8c49c4aa ssh-agent 01:49:37 SSH_AUTH_SOCK=/tmp/ssh-GmcGLzmNL68M/agent.32 01:49:37 SSH_AGENT_PID=38 01:49:37 Running ssh-add (command line suppressed) 01:49:38 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1263176166164669030.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1263176166164669030.key) 01:49:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:49:38 + git semver tag 01:49:38 2023-04-18 01:49:38,485 [run_tag] DEBUG tag force:False 01:49:38 2023-04-18 01:49:38,485 [check_head_tag] DEBUG check head tag 01:49:38 2023-04-18 01:49:38,487 [execute] INFO git cat-file --batch-check 01:49:38 2023-04-18 01:49:38,487 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 01:49:38 2023-04-18 01:49:38,490 [execute] INFO git cat-file --batch 01:49:38 2023-04-18 01:49:38,491 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 01:49:38 2023-04-18 01:49:38,512 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 01:49:38 2023-04-18 01:49:38,512 [execute] INFO git tag -a v3.0.0-dev.31 -m v3.0.0-dev.31 01:49:38 2023-04-18 01:49:38,513 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.31', '-m', 'v3.0.0-dev.31'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 01:49:38 2023-04-18 01:49:38,517 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 01:49:38 3.0.0-dev.31 [Pipeline] } 01:49:38 $ docker exec --env ******** --env ******** a4bc79f8ebd04be512c6bb21de570445014003bb540f7040b237541f8c49c4aa ssh-agent -k 01:49:38 unset SSH_AUTH_SOCK; 01:49:38 unset SSH_AGENT_PID; 01:49:38 echo Agent pid 38 killed; 01:49:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:49:38 + git semver [Pipeline] } 01:49:39 $ docker stop --time=1 a4bc79f8ebd04be512c6bb21de570445014003bb540f7040b237541f8c49c4aa 01:49:40 $ docker rm -f --volumes a4bc79f8ebd04be512c6bb21de570445014003bb540f7040b237541f8c49c4aa [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:49:40 01:49:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:49:41 0.23.1-centos7: Pulling from edgex-lftools 01:49:41 ab5ef0e58194: Pulling fs layer 01:49:41 9712f1f96733: Pulling fs layer 01:49:41 63f879dbbcfc: Pulling fs layer 01:49:41 0d9ebad4ef96: Pulling fs layer 01:49:41 e9a5061849ea: Pulling fs layer 01:49:41 d747dcd14b5f: Pulling fs layer 01:49:41 2de7ff778b66: Pulling fs layer 01:49:41 e9a5061849ea: Waiting 01:49:41 2de7ff778b66: Waiting 01:49:41 d747dcd14b5f: Waiting 01:49:41 0d9ebad4ef96: Waiting 01:49:41 9712f1f96733: Verifying Checksum 01:49:41 9712f1f96733: Download complete 01:49:41 63f879dbbcfc: Verifying Checksum 01:49:41 63f879dbbcfc: Download complete 01:49:41 e9a5061849ea: Verifying Checksum 01:49:41 e9a5061849ea: Download complete 01:49:41 d747dcd14b5f: Verifying Checksum 01:49:41 d747dcd14b5f: Download complete 01:49:41 0d9ebad4ef96: Verifying Checksum 01:49:41 0d9ebad4ef96: Download complete 01:49:41 ab5ef0e58194: Verifying Checksum 01:49:41 ab5ef0e58194: Download complete 01:49:41 2de7ff778b66: Verifying Checksum 01:49:41 2de7ff778b66: Download complete 01:49:44 ab5ef0e58194: Pull complete 01:49:44 9712f1f96733: Pull complete 01:49:45 63f879dbbcfc: Pull complete 01:49:48 0d9ebad4ef96: Pull complete 01:49:48 e9a5061849ea: Pull complete 01:49:48 d747dcd14b5f: Pull complete 01:49:49 2de7ff778b66: Pull complete 01:49:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:49:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:49:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:49 prd-ubuntu20.04-docker-8c-8g-8829 does not seem to be running inside a container 01:49:49 $ 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 01:49:52 $ docker top 7d840a4aa38499a3c1135018ba89aafcb0611d97dba9b56f00e71ab0b5075f4e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:49:53 provisioning config files... 01:49:53 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3973464300113383863tmp 01:49:53 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1072792121421210318tmp 01:49:53 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6819986614781936593tmp [Pipeline] { [Pipeline] echo 01:49:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:49:53 ---> sigul-configuration.sh 01:49:53 gpg: directory `/root/.gnupg' created 01:49:53 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:49:53 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:49:53 gpg: keyring `/root/.gnupg/secring.gpg' created 01:49:53 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:49:53 gpg: CAST5 encrypted data 01:49:53 gpg: encrypted with 1 passphrase 01:49:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:49:53 + mkdir /home/jenkins 01:49:53 + mkdir /home/jenkins/sigul [Pipeline] sh 01:49:53 + 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 01:49:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:49:54 ---> sigul-install.sh 01:49:54 Sigul already installed; skipping installation. [Pipeline] sh 01:49:54 + git tag --list 01:49:54 v1.0.0 01:49:54 v1.1.0 01:49:54 v1.1.1 01:49:54 v1.2.1 01:49:54 v1.2.2 01:49:54 v1.2.3 01:49:54 v1.3.0 01:49:54 v1.3.1 01:49:54 v2.0.0 01:49:54 v2.1.0 01:49:54 v2.1.1 01:49:54 v2.1.1-dev.1 01:49:54 v2.1.1-dev.2 01:49:54 v2.2.0 01:49:54 v2.2.1-dev.1 01:49:54 v2.2.1-dev.2 01:49:54 v2.2.1-dev.3 01:49:54 v2.2.1-dev.4 01:49:54 v2.2.1-dev.5 01:49:54 v2.2.1-dev.6 01:49:54 v2.2.1-dev.7 01:49:54 v2.2.1-dev.8 01:49:54 v2.3.0 01:49:54 v2.3.0-dev.10 01:49:54 v2.3.0-dev.11 01:49:54 v2.3.0-dev.12 01:49:54 v2.3.0-dev.13 01:49:54 v2.3.0-dev.14 01:49:54 v2.3.0-dev.15 01:49:54 v2.3.0-dev.16 01:49:54 v2.3.0-dev.17 01:49:54 v2.3.0-dev.18 01:49:54 v2.3.0-dev.19 01:49:54 v2.3.0-dev.20 01:49:54 v2.3.0-dev.21 01:49:54 v2.3.0-dev.22 01:49:54 v2.3.0-dev.23 01:49:54 v2.3.0-dev.24 01:49:54 v2.3.0-dev.25 01:49:54 v2.3.0-dev.26 01:49:54 v2.3.0-dev.27 01:49:54 v2.3.0-dev.28 01:49:54 v2.3.0-dev.29 01:49:54 v2.3.0-dev.30 01:49:54 v2.3.0-dev.8 01:49:54 v2.3.0-dev.9 01:49:54 v3.0.0-dev.1 01:49:54 v3.0.0-dev.10 01:49:54 v3.0.0-dev.11 01:49:54 v3.0.0-dev.12 01:49:54 v3.0.0-dev.13 01:49:54 v3.0.0-dev.14 01:49:54 v3.0.0-dev.15 01:49:54 v3.0.0-dev.16 01:49:54 v3.0.0-dev.17 01:49:54 v3.0.0-dev.18 01:49:54 v3.0.0-dev.19 01:49:54 v3.0.0-dev.2 01:49:54 v3.0.0-dev.20 01:49:54 v3.0.0-dev.21 01:49:54 v3.0.0-dev.22 01:49:54 v3.0.0-dev.23 01:49:54 v3.0.0-dev.24 01:49:54 v3.0.0-dev.25 01:49:54 v3.0.0-dev.26 01:49:54 v3.0.0-dev.27 01:49:54 v3.0.0-dev.28 01:49:54 v3.0.0-dev.29 01:49:54 v3.0.0-dev.3 01:49:54 v3.0.0-dev.30 01:49:54 v3.0.0-dev.31 01:49:54 v3.0.0-dev.4 01:49:54 v3.0.0-dev.5 01:49:54 v3.0.0-dev.6 01:49:54 v3.0.0-dev.7 01:49:54 v3.0.0-dev.8 01:49:54 v3.0.0-dev.9 [Pipeline] sh 01:49:54 + lftools sign git-tag v3.0.0-dev.31 01:49:55 Signing Git tag with Sigul... 01:49:55 Signing v3.0.0-dev.31 [Pipeline] echo 01:49:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:49:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:49:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:49:55 $ docker stop --time=1 7d840a4aa38499a3c1135018ba89aafcb0611d97dba9b56f00e71ab0b5075f4e 01:49:57 $ docker rm -f --volumes 7d840a4aa38499a3c1135018ba89aafcb0611d97dba9b56f00e71ab0b5075f4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:49:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:49:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:49:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:58 prd-ubuntu20.04-docker-8c-8g-8829 does not seem to be running inside a container 01:49:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:49:58 $ docker top 47c71f12a77fee7afb214fffe8895bbfe06a823eb8bcf2bc8a4007bf9289bf6d -eo pid,comm 01:49:58 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). 01:49:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:49:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:49:58 [ssh-agent] Looking for ssh-agent implementation... 01:49:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:49:58 $ docker exec 47c71f12a77fee7afb214fffe8895bbfe06a823eb8bcf2bc8a4007bf9289bf6d ssh-agent 01:49:58 SSH_AUTH_SOCK=/tmp/ssh-Lb0T5whQi8B3/agent.32 01:49:58 SSH_AGENT_PID=38 01:49:58 Running ssh-add (command line suppressed) 01:49:58 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5213094182383250566.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5213094182383250566.key) 01:49:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:49:59 + git semver bump pre 01:49:59 2023-04-18 01:49:59,274 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 01:49:59 2023-04-18 01:49:59,274 [bump_version] DEBUG bumping version:3.0.0-dev.31 on axis:pre with prefix:dev 01:49:59 2023-04-18 01:49:59,274 [bump_version] DEBUG bumped version:3.0.0-dev.32 01:49:59 2023-04-18 01:49:59,274 [write_version] DEBUG write version:3.0.0-dev.32 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 01:49:59 2023-04-18 01:49:59,274 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 01:49:59 2023-04-18 01:49:59,274 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 01:49:59 2023-04-18 01:49:59,276 [execute] INFO git cat-file --batch-check 01:49:59 2023-04-18 01:49:59,276 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:49:59 2023-04-18 01:49:59,282 [execute] INFO git cat-file --batch 01:49:59 2023-04-18 01:49:59,282 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:49:59 2023-04-18 01:49:59,287 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 01:49:59 3.0.0-dev.32 [Pipeline] } 01:49:59 $ docker exec --env ******** --env ******** 47c71f12a77fee7afb214fffe8895bbfe06a823eb8bcf2bc8a4007bf9289bf6d ssh-agent -k 01:49:59 unset SSH_AUTH_SOCK; 01:49:59 unset SSH_AGENT_PID; 01:49:59 echo Agent pid 38 killed; 01:49:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:49:59 + git semver [Pipeline] } 01:50:00 $ docker stop --time=1 47c71f12a77fee7afb214fffe8895bbfe06a823eb8bcf2bc8a4007bf9289bf6d 01:50:01 $ docker rm -f --volumes 47c71f12a77fee7afb214fffe8895bbfe06a823eb8bcf2bc8a4007bf9289bf6d [Pipeline] // withDockerContainer [Pipeline] sh 01:50:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:50:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:50:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:50:01 prd-ubuntu20.04-docker-8c-8g-8829 does not seem to be running inside a container 01:50:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:50:02 $ docker top 819679acd3452bce62cabaa8a6303171e9946d1f71fa02ea22ad10fae28b9012 -eo pid,comm 01:50:02 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). 01:50:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:50:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:50:02 [ssh-agent] Looking for ssh-agent implementation... 01:50:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:50:02 $ docker exec 819679acd3452bce62cabaa8a6303171e9946d1f71fa02ea22ad10fae28b9012 ssh-agent 01:50:02 SSH_AUTH_SOCK=/tmp/ssh-30isCZazaKOl/agent.33 01:50:02 SSH_AGENT_PID=39 01:50:02 Running ssh-add (command line suppressed) 01:50:02 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11113748790497504723.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11113748790497504723.key) 01:50:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:50:02 + git semver push 01:50:03 2023-04-18 01:50:03,160 [run_push] DEBUG push 01:50:03 2023-04-18 01:50:03,161 [execute] INFO git cat-file --batch-check 01:50:03 2023-04-18 01:50:03,161 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:50:03 2023-04-18 01:50:03,165 [execute] INFO git rev-list 84830aeafd0b85c07e25d61d2f8c0c89c2359c0b -- 01:50:03 2023-04-18 01:50:03,165 [execute] DEBUG Popen(['git', 'rev-list', '84830aeafd0b85c07e25d61d2f8c0c89c2359c0b', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:50:03 2023-04-18 01:50:03,172 [execute] INFO git fetch -v origin 01:50:03 2023-04-18 01:50:03,173 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 01:50:03 2023-04-18 01:50:03,752 [run_push] DEBUG no remote changes detected 01:50:03 2023-04-18 01:50:03,753 [execute] INFO git push origin semver 01:50:03 2023-04-18 01:50:03,753 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:50:04 2023-04-18 01:50:04,548 [run_push] DEBUG push all version tags 01:50:04 2023-04-18 01:50:04,549 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:50:04 2023-04-18 01:50:04,549 [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) 01:50:05 2023-04-18 01:50:05,283 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 01:50:05 3.0.0-dev.32 [Pipeline] } 01:50:05 $ docker exec --env ******** --env ******** 819679acd3452bce62cabaa8a6303171e9946d1f71fa02ea22ad10fae28b9012 ssh-agent -k 01:50:05 unset SSH_AUTH_SOCK; 01:50:05 unset SSH_AGENT_PID; 01:50:05 echo Agent pid 39 killed; 01:50:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:50:05 + git semver [Pipeline] } 01:50:06 $ docker stop --time=1 819679acd3452bce62cabaa8a6303171e9946d1f71fa02ea22ad10fae28b9012 01:50:07 $ docker rm -f --volumes 819679acd3452bce62cabaa8a6303171e9946d1f71fa02ea22ad10fae28b9012 [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 01:50:07 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 01:50:07 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 01:50:07 total 16 01:50:07 drwxr-xr-x 3 root root 4096 Apr 18 01:39 . 01:50:07 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 01:49 .. 01:50:07 drwxr-xr-x 2 root root 4096 Apr 18 01:39 cost 01:50:07 -rw-r--r-- 1 root root 89 Apr 18 01:39 cost.csv 01:50:07 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 01:50:07 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 01:50:07 total 16 01:50:07 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 01:39 . 01:50:07 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 01:49 .. 01:50:07 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 01:39 cost 01:50:07 -rw-r--r-- 1 jenkins jenkins 89 Apr 18 01:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:50:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:50:09 ---> package-listing.sh 01:50:09 ++ facter osfamily 01:50:09 ++ tr '[:upper:]' '[:lower:]' 01:50:09 + OS_FAMILY=debian 01:50:09 + workspace=/w/workspace/exfoundry_device-virtual-go_main 01:50:09 + START_PACKAGES=/tmp/packages_start.txt 01:50:09 + END_PACKAGES=/tmp/packages_end.txt 01:50:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:50:09 + PACKAGES=/tmp/packages_start.txt 01:50:09 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 01:50:09 + PACKAGES=/tmp/packages_end.txt 01:50:09 + case "${OS_FAMILY}" in 01:50:09 + dpkg -l 01:50:09 + grep '^ii' 01:50:09 + '[' -f /tmp/packages_start.txt ']' 01:50:09 + '[' -f /tmp/packages_end.txt ']' 01:50:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:50:09 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 01:50:09 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 01:50:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 01:50:09 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 01:50:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:50:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:50:10 prd-ubuntu20.04-docker-8c-8g-8829 does not seem to be running inside a container 01:50:10 $ 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 01:50:10 $ docker top 3ada44141598ec6c32f44d3a7cf38b7cf1cde6ef763d4d50df90d9d0666c2b27 -eo pid,comm [Pipeline] { [Pipeline] sh 01:50:10 + touch /tmp/pre-build-complete [Pipeline] sh 01:50:11 + mkdir -p /var/log/sysstat [Pipeline] sh 01:50:11 + ls /var/log/sa-host 01:50:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:50:11 provisioning config files... 01:50:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6815154077686804243tmp [Pipeline] { [Pipeline] echo 01:50:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:50:11 ---> create-netrc.sh [Pipeline] } 01:50:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:50:12 ---> python-tools-install.sh [Pipeline] echo 01:50:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:50:12 ---> sudo-logs.sh 01:50:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:50:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:50:12 ---> job-cost.sh 01:50:12 lf-activate-venv: SKIPPING 01:50:12 DEBUG: total: 0.2199999988079071 01:50:12 INFO: Retrieving Stack Cost... 01:50:13 INFO: Retrieving Pricing Info for: v3-standard-8 01:50:13 INFO: Archiving Costs [Pipeline] echo 01:50:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:50:13 ---> logs-deploy.sh 01:50:13 lf-activate-venv: SKIPPING 01:50:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/103 01:50:13 INFO: archiving workspace using pattern(s): 01:50:14 Archives upload complete. 01:50:14 INFO: archiving logs to Nexus