Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 626db8e9a2222f123adcb85f9e159bc679c0b5f7 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-ssh3483228338058780439.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh9142841283046389875.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh12064834763164848439.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh12513742224120505123.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-ssh285749238620045596.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 ‘prd-ubuntu20.04-docker-8c-8g-7524’ Running on prd-ubuntu20.04-docker-8c-8g-7526 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 626db8e9a2222f123adcb85f9e159bc679c0b5f7 (main) Commit message: "Merge pull request #376 from weichou1229/interface-change" > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 626db8e9a2222f123adcb85f9e159bc679c0b5f7 # timeout=10 > git rev-list --no-walk 9393cb199918d0b51a604a638f19df0ef5e84a0a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:59:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:59:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:59:34 ========================================================= 03:59:34 EdgeX Global Pipelines Version Info 03:59:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:59:34 ------------------- 03:59:34 stable info: 03:59:34 ------------------- 03:59:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:59:34 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 03:59:34 Message: update stable to v1.0.245 03:59:35 ------------------- 03:59:35 experimental info: 03:59:35 ------------------- 03:59:35 Commited By: **** collab-it+edgex@linuxfoundation.org 03:59:35 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 03:59:35 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 626db8e9a2222f123adcb85f9e159bc679c0b5f7 [Pipeline] echo 03:59:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 626db8e [Pipeline] echo 03:59:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:59:36 provisioning config files... 03:59:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17746700951360054141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:59:36 ---> docker-login.sh 03:59:36 nexus3.edgexfoundry.org:10001 03:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:36 Configure a credential helper to remove this warning. See 03:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:36 03:59:36 Login Succeeded 03:59:36 nexus3.edgexfoundry.org:10002 03:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:36 Configure a credential helper to remove this warning. See 03:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:36 03:59:36 Login Succeeded 03:59:36 nexus3.edgexfoundry.org:10003 03:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:36 Configure a credential helper to remove this warning. See 03:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:36 03:59:36 Login Succeeded 03:59:36 nexus3.edgexfoundry.org:10004 03:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:37 Configure a credential helper to remove this warning. See 03:59:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:37 03:59:37 Login Succeeded 03:59:37 docker.io 03:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:37 Configure a credential helper to remove this warning. See 03:59:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:37 03:59:37 Login Succeeded 03:59:37 ---> docker-login.sh ends [Pipeline] } 03:59:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:59:37 + git rev-list -1 --merges 626db8e9a2222f123adcb85f9e159bc679c0b5f7~1..626db8e9a2222f123adcb85f9e159bc679c0b5f7 [Pipeline] echo 03:59:37 -----------> git rev-list -1 --merges 626db8e9a2222f123adcb85f9e159bc679c0b5f7~1..626db8e9a2222f123adcb85f9e159bc679c0b5f7 626db8e9a2222f123adcb85f9e159bc679c0b5f7 03:59:37 626db8e9a2222f123adcb85f9e159bc679c0b5f7 [false] [Pipeline] sh 03:59:38 + git log --format=format:%s -1 626db8e9a2222f123adcb85f9e159bc679c0b5f7 [Pipeline] echo 03:59:38 ========================================================= 03:59:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:59:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:59:38 + git log --format=format:%s -1 626db8e9a2222f123adcb85f9e159bc679c0b5f7 [Pipeline] echo 03:59:38 [semverPrep] GIT_COMMIT: 626db8e9a2222f123adcb85f9e159bc679c0b5f7, Commit Message: Merge pull request #376 from weichou1229/interface-change [Pipeline] echo 03:59:38 [semverPrep] This is not a build commit. [Pipeline] sh 03:59:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:59:38 + grep -v github /etc/ssh/ssh_known_hosts 03:59:38 + [ -e /tmp/ssh_known_hosts ] 03:59:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:59:38 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:59:38 sudo tee -a /etc/ssh/ssh_known_hosts 03:59:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:59:39 03:59:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:59:39 0.1.4: Pulling from edgex-devops/py-git-semver 03:59:39 b85a868b505f: Pulling fs layer 03:59:39 e2be974225ed: Pulling fs layer 03:59:39 339a4e72a1f5: Pulling fs layer 03:59:39 988bab9f4d93: Pulling fs layer 03:59:39 1469e6f7b9e6: Pulling fs layer 03:59:39 eaf3925da568: Pulling fs layer 03:59:39 bab4dde63d76: Pulling fs layer 03:59:39 bde34c3a00c8: Pulling fs layer 03:59:39 b352a97aabf1: Pulling fs layer 03:59:39 4872d77fe225: Pulling fs layer 03:59:39 5851b861e8e6: Pulling fs layer 03:59:39 988bab9f4d93: Waiting 03:59:39 bab4dde63d76: Waiting 03:59:39 5851b861e8e6: Waiting 03:59:39 eaf3925da568: Waiting 03:59:39 b352a97aabf1: Waiting 03:59:39 4872d77fe225: Waiting 03:59:39 e2be974225ed: Download complete 03:59:39 988bab9f4d93: Verifying Checksum 03:59:39 988bab9f4d93: Download complete 03:59:39 1469e6f7b9e6: Verifying Checksum 03:59:39 1469e6f7b9e6: Download complete 03:59:39 339a4e72a1f5: Verifying Checksum 03:59:39 339a4e72a1f5: Download complete 03:59:39 eaf3925da568: Verifying Checksum 03:59:39 eaf3925da568: Download complete 03:59:39 bde34c3a00c8: Verifying Checksum 03:59:39 bde34c3a00c8: Download complete 03:59:39 b352a97aabf1: Verifying Checksum 03:59:39 b352a97aabf1: Download complete 03:59:39 4872d77fe225: Download complete 03:59:39 5851b861e8e6: Verifying Checksum 03:59:39 5851b861e8e6: Download complete 03:59:39 b85a868b505f: Verifying Checksum 03:59:39 b85a868b505f: Download complete 03:59:39 bab4dde63d76: Verifying Checksum 03:59:39 bab4dde63d76: Download complete 03:59:40 b85a868b505f: Pull complete 03:59:40 e2be974225ed: Pull complete 03:59:41 339a4e72a1f5: Pull complete 03:59:41 988bab9f4d93: Pull complete 03:59:41 1469e6f7b9e6: Pull complete 03:59:41 eaf3925da568: Pull complete 03:59:43 bab4dde63d76: Pull complete 03:59:43 bde34c3a00c8: Pull complete 03:59:43 b352a97aabf1: Pull complete 03:59:43 4872d77fe225: Pull complete 03:59:43 5851b861e8e6: Pull complete 03:59:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:59:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:59:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:43 prd-ubuntu20.04-docker-8c-8g-7526 does not seem to be running inside a container 03:59:43 $ 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 03:59:46 $ docker top 9f2f010b20f67cd7575fc19617ac8c568003afa9036f6d20e8322fcaec4d740e -eo pid,comm 03:59:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:59:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:59:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:59:47 [ssh-agent] Looking for ssh-agent implementation... 03:59:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:59:47 $ docker exec 9f2f010b20f67cd7575fc19617ac8c568003afa9036f6d20e8322fcaec4d740e ssh-agent 03:59:47 SSH_AUTH_SOCK=/tmp/ssh-yVHXEFPgewJp/agent.33 03:59:47 SSH_AGENT_PID=39 03:59:47 Running ssh-add (command line suppressed) 03:59:47 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17969922981269607402.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17969922981269607402.key) 03:59:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:59:47 + git tag --points-at HEAD [Pipeline] } 03:59:47 $ docker exec --env ******** --env ******** 9f2f010b20f67cd7575fc19617ac8c568003afa9036f6d20e8322fcaec4d740e ssh-agent -k 03:59:47 unset SSH_AUTH_SOCK; 03:59:47 unset SSH_AGENT_PID; 03:59:47 echo Agent pid 39 killed; 03:59:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:59:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:59:47 [ssh-agent] Looking for ssh-agent implementation... 03:59:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:59:47 $ docker exec 9f2f010b20f67cd7575fc19617ac8c568003afa9036f6d20e8322fcaec4d740e ssh-agent 03:59:48 SSH_AUTH_SOCK=/tmp/ssh-VKpuBglRmenQ/agent.71 03:59:48 SSH_AGENT_PID=77 03:59:48 Running ssh-add (command line suppressed) 03:59:48 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9326180802790640493.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9326180802790640493.key) 03:59:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:59:48 + git semver init 03:59:48 2023-04-12 03:59:48,604 [run_init] DEBUG init version:0.0.0 force:False 03:59:48 2023-04-12 03:59:48,604 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 03:59:48 2023-04-12 03:59:48,605 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 03:59:48 2023-04-12 03:59:48,605 [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) 03:59:50 2023-04-12 03:59:49,690 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 03:59:50 2023-04-12 03:59:49,690 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 03:59:50 2023-04-12 03:59:49,690 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:59:50 2023-04-12 03:59:49,691 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:59:50 3.0.0-dev.29 [Pipeline] } 03:59:50 $ docker exec --env ******** --env ******** 9f2f010b20f67cd7575fc19617ac8c568003afa9036f6d20e8322fcaec4d740e ssh-agent -k 03:59:50 unset SSH_AUTH_SOCK; 03:59:50 unset SSH_AGENT_PID; 03:59:50 echo Agent pid 77 killed; 03:59:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:59:50 + git semver [Pipeline] } 03:59:50 $ docker stop --time=1 9f2f010b20f67cd7575fc19617ac8c568003afa9036f6d20e8322fcaec4d740e 03:59:52 $ docker rm -f --volumes 9f2f010b20f67cd7575fc19617ac8c568003afa9036f6d20e8322fcaec4d740e [Pipeline] // withDockerContainer [Pipeline] sh 03:59:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:59:52 Stashed 1 file(s) [Pipeline] echo 03:59:52 [edgeXSemver]: initialized semver on version 3.0.0-dev.29 [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 03:59:52 provisioning config files... 03:59:52 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16976541712075781010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:59:52 ---> docker-login.sh 03:59:52 nexus3.edgexfoundry.org:10001 03:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:52 Configure a credential helper to remove this warning. See 03:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:52 03:59:52 Login Succeeded 03:59:52 nexus3.edgexfoundry.org:10002 03:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:52 Configure a credential helper to remove this warning. See 03:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:52 03:59:52 Login Succeeded 03:59:52 nexus3.edgexfoundry.org:10003 03:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:53 Configure a credential helper to remove this warning. See 03:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:53 03:59:53 Login Succeeded 03:59:53 nexus3.edgexfoundry.org:10004 03:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:53 Configure a credential helper to remove this warning. See 03:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:53 03:59:53 Login Succeeded 03:59:53 docker.io 03:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:53 Configure a credential helper to remove this warning. See 03:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:53 03:59:53 Login Succeeded 03:59:53 ---> docker-login.sh ends [Pipeline] } 03:59:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:59:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:59:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:59:53 ========================================================= 03:59:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:59:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:53 + 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 . 03:59:53 Sending build context to Docker daemon 23.52MB 03:59:53 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:59:53 Step 2/12 : FROM ${BASE} AS builder 03:59:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:59:54 63b65145d645: Pulling fs layer 03:59:54 a2d21d5440eb: Pulling fs layer 03:59:54 935e6c44a52c: Pulling fs layer 03:59:54 94cc34f8dd06: Pulling fs layer 03:59:54 30dea6a524f1: Pulling fs layer 03:59:54 a2aff8979fd8: Pulling fs layer 03:59:54 94cc34f8dd06: Waiting 03:59:54 6808be2612f2: Pulling fs layer 03:59:54 f25807f1079a: Pulling fs layer 03:59:54 a2aff8979fd8: Waiting 03:59:54 6808be2612f2: Waiting 03:59:54 a2d21d5440eb: Verifying Checksum 03:59:54 a2d21d5440eb: Download complete 03:59:54 94cc34f8dd06: Verifying Checksum 03:59:54 94cc34f8dd06: Download complete 03:59:54 30dea6a524f1: Verifying Checksum 03:59:54 30dea6a524f1: Download complete 03:59:54 63b65145d645: Verifying Checksum 03:59:54 63b65145d645: Download complete 03:59:54 a2aff8979fd8: Verifying Checksum 03:59:54 a2aff8979fd8: Download complete 03:59:54 63b65145d645: Pull complete 03:59:54 a2d21d5440eb: Pull complete 03:59:54 f25807f1079a: Verifying Checksum 03:59:54 f25807f1079a: Download complete 03:59:54 935e6c44a52c: Download complete 03:59:54 6808be2612f2: Verifying Checksum 03:59:54 6808be2612f2: Download complete 03:59:57 935e6c44a52c: Pull complete 03:59:57 94cc34f8dd06: Pull complete 03:59:57 30dea6a524f1: Pull complete 03:59:57 a2aff8979fd8: Pull complete 04:00:00 6808be2612f2: Pull complete 04:00:01 f25807f1079a: Pull complete 04:00:01 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 04:00:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:00:01 ---> 3b553350e43f 04:00:01 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:00:06 ---> Running in c4a8eee50c3d 04:00:06 Removing intermediate container c4a8eee50c3d 04:00:06 ---> 403c8bb91315 04:00:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:00:06 ---> Running in 82ae1274b009 04:00:06 Removing intermediate container 82ae1274b009 04:00:06 ---> 4b8a01727811 04:00:06 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:00:06 ---> Running in faf039d3f96f 04:00:06 Removing intermediate container faf039d3f96f 04:00:06 ---> 8c2add0cc813 04:00:06 Step 6/12 : WORKDIR /device-virtual-go 04:00:06 ---> Running in 58a32b9f6c62 04:00:06 Removing intermediate container 58a32b9f6c62 04:00:06 ---> e1bbe0069d3f 04:00:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:00:06 ---> Running in 145dd4e925b4 04:00:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:00:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:00:07 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:00:07 (2/4) Installing libedit (20221030.3.1-r0) 04:00:07 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:00:07 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:00:07 Executing busybox-1.35.0-r29.trigger 04:00:07 OK: 269 MiB in 57 packages 04:00:07 Still waiting to schedule task 04:00:07 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7527’ is offline 04:00:07 Removing intermediate container 145dd4e925b4 04:00:07 ---> 159f5c3b7563 04:00:07 Step 8/12 : COPY go.mod vendor* ./ 04:00:07 ---> 0a20ac639138 04:00:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:00:07 ---> Running in 96a128203c4c 04:00:34 Removing intermediate container 96a128203c4c 04:00:34 ---> b08f5500483a 04:00:34 Step 10/12 : COPY . . 04:00:34 ---> c82d403c9103 04:00:34 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:00:34 ---> Running in 4a53451c774e 04:00:34 Removing intermediate container 4a53451c774e 04:00:34 ---> 40decd74346e 04:00:34 Step 12/12 : RUN $MAKE 04:00:34 ---> Running in 7539bc4d2337 04:00:35 noop 04:00:35 Removing intermediate container 7539bc4d2337 04:00:35 ---> de5737f6191b 04:00:35 Successfully built de5737f6191b 04:00:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:35 + docker inspect -f . ci-base-image-x86_64 04:00:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:00:36 prd-ubuntu20.04-docker-8c-8g-7526 does not seem to be running inside a container 04:00:36 $ 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 04:00:36 $ docker top 787f37d981a677874ffb6bfae99580ef91d5dea2e35a9a9e2482edbd0c16073a -eo pid,comm [Pipeline] { [Pipeline] sh 04:00:36 + go version 04:00:36 go version go1.20.2 linux/amd64 [Pipeline] } 04:00:36 $ docker stop --time=1 787f37d981a677874ffb6bfae99580ef91d5dea2e35a9a9e2482edbd0c16073a 04:00:38 $ docker rm -f --volumes 787f37d981a677874ffb6bfae99580ef91d5dea2e35a9a9e2482edbd0c16073a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:38 + docker inspect -f . ci-base-image-x86_64 04:00:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:00:38 prd-ubuntu20.04-docker-8c-8g-7526 does not seem to be running inside a container 04:00:38 $ 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 04:00:39 $ docker top 68799286c1cfe8f81ab61e7bd230333b60dadac78798463c44c2733770025076 -eo pid,comm [Pipeline] { [Pipeline] sh 04:00:39 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 04:00:39 + make test 04:00:39 go test ./... -coverprofile=coverage.out 04:00:44 ? github.com/edgexfoundry/device-virtual-go [no test files] 04:00:54 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 04:00:54 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.019s coverage: 58.7% of statements 04:00:58 go vet ./... 04:01:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:01:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:01:01 ./bin/test-attribution-txt.sh 04:01:01 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 04:01:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:01:01 $ docker stop --time=1 68799286c1cfe8f81ab61e7bd230333b60dadac78798463c44c2733770025076 04:01:05 $ docker rm -f --volumes 68799286c1cfe8f81ab61e7bd230333b60dadac78798463c44c2733770025076 [Pipeline] // withDockerContainer [Pipeline] sh 04:01:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:01:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:01:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:01:06 + ls -al . 04:01:06 total 192 04:01:06 drwxrwxr-x 9 jenkins jenkins 4096 Apr 12 04:00 . 04:01:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 03:59 .. 04:01:06 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 03:59 .git 04:01:06 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 03:59 .github 04:01:06 -rw-rw-r-- 1 jenkins jenkins 337 Apr 12 03:59 .gitignore 04:01:06 -rw-rw-r-- 1 jenkins jenkins 41 Apr 12 03:59 .golangci.yml 04:01:06 drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 03:59 .semver 04:01:06 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 12 03:59 Attribution.txt 04:01:06 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 12 03:59 CHANGELOG.md 04:01:06 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 12 03:59 Dockerfile 04:01:06 -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 03:59 GOVERNANCE.md 04:01:06 -rw-rw-r-- 1 jenkins jenkins 660 Apr 12 03:59 Jenkinsfile 04:01:06 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 12 03:59 LICENSE 04:01:06 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 12 03:59 Makefile 04:01:06 -rw-rw-r-- 1 jenkins jenkins 623 Apr 12 03:59 OWNERS.md 04:01:06 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 12 03:59 README.md 04:01:06 -rw-rw-r-- 1 jenkins jenkins 12 Apr 12 03:59 VERSION 04:01:06 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 03:59 bin 04:01:06 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 03:59 cmd 04:01:06 -rw-r--r-- 1 jenkins jenkins 42970 Apr 12 04:00 coverage.out 04:01:06 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 12 03:59 go.mod 04:01:06 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 12 03:59 go.sum 04:01:06 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 03:59 internal 04:01:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 03:59 snap 04:01:06 -rw-rw-r-- 1 jenkins jenkins 235 Apr 12 03:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:06 + 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=626db8e9a2222f123adcb85f9e159bc679c0b5f7 --label arch=amd64 --label version=3.0.0-dev.29 . 04:01:06 Sending build context to Docker daemon 23.56MB 04:01:06 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 04:01:06 Step 2/25 : FROM ${BASE} AS builder 04:01:06 ---> de5737f6191b 04:01:06 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:01:07 ---> Running in e82ddaa90e9b 04:01:07 Removing intermediate container e82ddaa90e9b 04:01:07 ---> d8c2bd99adcb 04:01:07 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 04:01:07 ---> Running in 0332b0a35cb9 04:01:07 Removing intermediate container 0332b0a35cb9 04:01:07 ---> 31b691273293 04:01:07 Step 5/25 : ARG ADD_BUILD_TAGS="" 04:01:07 ---> Running in c40cdf0ca7d4 04:01:07 Removing intermediate container c40cdf0ca7d4 04:01:07 ---> 3831d1f7e974 04:01:07 Step 6/25 : WORKDIR /device-virtual-go 04:01:07 ---> Running in 9747a9044d75 04:01:07 Removing intermediate container 9747a9044d75 04:01:07 ---> 30146eb7369b 04:01:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:01:07 ---> Running in f3f3fae74805 04:01:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:01:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:01:08 OK: 269 MiB in 57 packages 04:01:08 Removing intermediate container f3f3fae74805 04:01:08 ---> 3e701845a5a0 04:01:08 Step 8/25 : COPY go.mod vendor* ./ 04:01:08 ---> 38ea81e40be1 04:01:08 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:01:08 ---> Running in e6c5395e101b 04:01:09 Removing intermediate container e6c5395e101b 04:01:09 ---> 5e5163e445af 04:01:09 Step 10/25 : COPY . . 04:01:10 ---> 5631abbe65ff 04:01:10 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:01:10 ---> Running in 153f1e2b7504 04:01:10 Removing intermediate container 153f1e2b7504 04:01:10 ---> 7cf35f3a11ef 04:01:10 Step 12/25 : RUN $MAKE 04:01:10 ---> Running in e2a38dc24b98 04:01:10 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.29" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 04:01:29 Removing intermediate container e2a38dc24b98 04:01:29 ---> 0877c75c3ba4 04:01:29 Step 13/25 : FROM alpine:3.17 04:01:29 3.17: Pulling from library/alpine 04:01:29 f56be85fc22e: Pulling fs layer 04:01:29 f56be85fc22e: Download complete 04:01:29 f56be85fc22e: Pull complete 04:01:29 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:01:29 Status: Downloaded newer image for alpine:3.17 04:01:29 ---> 9ed4aefc74f6 04:01:29 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 04:01:29 ---> Running in 6cb71ee63d8e 04:01:29 Removing intermediate container 6cb71ee63d8e 04:01:29 ---> 29e3a7ddf447 04:01:29 Step 15/25 : RUN apk add --update --no-cache dumb-init 04:01:29 ---> Running in 7bed0bc7ed9c 04:01:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:01:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:01:29 (1/1) Installing dumb-init (1.2.5-r2) 04:01:29 Executing busybox-1.35.0-r29.trigger 04:01:29 OK: 7 MiB in 16 packages 04:01:29 Removing intermediate container 7bed0bc7ed9c 04:01:29 ---> 36d47419d1a4 04:01:29 Step 16/25 : WORKDIR / 04:01:29 ---> Running in c1abe5c182a3 04:01:29 Removing intermediate container c1abe5c182a3 04:01:29 ---> 8c52190ff46d 04:01:29 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 04:01:30 ---> 42710ccc9b7e 04:01:30 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 04:01:30 ---> 4d19a752c638 04:01:30 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 04:01:31 ---> 65c33c404c4a 04:01:31 Step 20/25 : EXPOSE 59900 04:01:31 ---> Running in d2c344656199 04:01:31 Removing intermediate container d2c344656199 04:01:31 ---> 682ead824ce1 04:01:31 Step 21/25 : ENTRYPOINT ["/device-virtual"] 04:01:31 ---> Running in 6027d4937efd 04:01:31 Removing intermediate container 6027d4937efd 04:01:31 ---> bbfaf37e41a3 04:01:31 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:01:31 ---> Running in 6a9b3badbd98 04:01:31 Removing intermediate container 6a9b3badbd98 04:01:31 ---> cf797f7dac89 04:01:31 Step 23/25 : LABEL arch=amd64 04:01:31 ---> Running in 77cfd4ccc7ff 04:01:31 Removing intermediate container 77cfd4ccc7ff 04:01:31 ---> af4e0b1806e8 04:01:31 Step 24/25 : LABEL git_sha=626db8e9a2222f123adcb85f9e159bc679c0b5f7 04:01:31 ---> Running in f5e3d83305de 04:01:31 Removing intermediate container f5e3d83305de 04:01:31 ---> 65b632586d9e 04:01:31 Step 25/25 : LABEL version=3.0.0-dev.29 04:01:31 ---> Running in ab754fa4fa60 04:01:31 Removing intermediate container ab754fa4fa60 04:01:31 ---> 0acb0b68cbc5 04:01:31 [Warning] One or more build-args [ARCH] were not consumed 04:01:31 Successfully built 0acb0b68cbc5 04:01:31 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:01:31 provisioning config files... 04:01:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13948559178780618218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:31 ---> docker-login.sh 04:01:31 nexus3.edgexfoundry.org:10001 04:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:31 Configure a credential helper to remove this warning. See 04:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:31 04:01:31 Login Succeeded 04:01:31 nexus3.edgexfoundry.org:10002 04:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:31 Configure a credential helper to remove this warning. See 04:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:31 04:01:31 Login Succeeded 04:01:31 nexus3.edgexfoundry.org:10003 04:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:31 Configure a credential helper to remove this warning. See 04:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:31 04:01:31 Login Succeeded 04:01:31 nexus3.edgexfoundry.org:10004 04:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:31 Configure a credential helper to remove this warning. See 04:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:31 04:01:31 Login Succeeded 04:01:31 docker.io 04:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:32 Configure a credential helper to remove this warning. See 04:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:32 04:01:32 Login Succeeded 04:01:32 ---> docker-login.sh ends [Pipeline] } 04:01:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:01:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:01:32 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 04:01:32 626db8e9a2222f123adcb85f9e159bc679c0b5f7 04:01:32 latest 04:01:32 3.0.0-dev.29 04:01:32 626db8e9a2222f123adcb85f9e159bc679c0b5f7-3.0.0-dev.29 04:01:32 main 04:01:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:32 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:626db8e9a2222f123adcb85f9e159bc679c0b5f7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:32 + docker push nexus3.edgexfoundry.org:10004/device-virtual:626db8e9a2222f123adcb85f9e159bc679c0b5f7 04:01:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:01:32 0fc887e86042: Preparing 04:01:32 0a45dd74946e: Preparing 04:01:32 18b6824123c3: Preparing 04:01:32 0e742fdc60bc: Preparing 04:01:32 f1417ff83b31: Preparing 04:01:32 f1417ff83b31: Layer already exists 04:01:32 0a45dd74946e: Pushed 04:01:32 18b6824123c3: Pushed 04:01:32 0e742fdc60bc: Pushed 04:01:35 0fc887e86042: Pushed 04:01:35 626db8e9a2222f123adcb85f9e159bc679c0b5f7: digest: sha256:6b21f6f3db97310a24b9240240e569d47ce6a3f4c1c417c3ad9ef0f3ab1ca7f9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:35 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:36 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 04:01:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:01:36 0fc887e86042: Preparing 04:01:36 0a45dd74946e: Preparing 04:01:36 18b6824123c3: Preparing 04:01:36 0e742fdc60bc: Preparing 04:01:36 f1417ff83b31: Preparing 04:01:36 0a45dd74946e: Layer already exists 04:01:36 0e742fdc60bc: Layer already exists 04:01:36 18b6824123c3: Layer already exists 04:01:36 0fc887e86042: Layer already exists 04:01:36 f1417ff83b31: Layer already exists 04:01:36 latest: digest: sha256:6b21f6f3db97310a24b9240240e569d47ce6a3f4c1c417c3ad9ef0f3ab1ca7f9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:36 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:36 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.29 04:01:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:01:36 0fc887e86042: Preparing 04:01:36 0a45dd74946e: Preparing 04:01:36 18b6824123c3: Preparing 04:01:36 0e742fdc60bc: Preparing 04:01:36 f1417ff83b31: Preparing 04:01:36 0e742fdc60bc: Layer already exists 04:01:36 0a45dd74946e: Layer already exists 04:01:36 f1417ff83b31: Layer already exists 04:01:36 0fc887e86042: Layer already exists 04:01:36 18b6824123c3: Layer already exists 04:01:36 3.0.0-dev.29: digest: sha256:6b21f6f3db97310a24b9240240e569d47ce6a3f4c1c417c3ad9ef0f3ab1ca7f9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:36 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:626db8e9a2222f123adcb85f9e159bc679c0b5f7-3.0.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:37 + docker push nexus3.edgexfoundry.org:10004/device-virtual:626db8e9a2222f123adcb85f9e159bc679c0b5f7-3.0.0-dev.29 04:01:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:01:37 0fc887e86042: Preparing 04:01:37 0a45dd74946e: Preparing 04:01:37 18b6824123c3: Preparing 04:01:37 0e742fdc60bc: Preparing 04:01:37 f1417ff83b31: Preparing 04:01:37 f1417ff83b31: Layer already exists 04:01:37 0fc887e86042: Layer already exists 04:01:37 0a45dd74946e: Layer already exists 04:01:37 18b6824123c3: Layer already exists 04:01:37 0e742fdc60bc: Layer already exists 04:01:37 626db8e9a2222f123adcb85f9e159bc679c0b5f7-3.0.0-dev.29: digest: sha256:6b21f6f3db97310a24b9240240e569d47ce6a3f4c1c417c3ad9ef0f3ab1ca7f9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:37 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:37 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 04:01:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:01:37 0fc887e86042: Preparing 04:01:37 0a45dd74946e: Preparing 04:01:37 18b6824123c3: Preparing 04:01:37 0e742fdc60bc: Preparing 04:01:37 f1417ff83b31: Preparing 04:01:37 0fc887e86042: Layer already exists 04:01:37 0e742fdc60bc: Layer already exists 04:01:37 18b6824123c3: Layer already exists 04:01:37 f1417ff83b31: Layer already exists 04:01:37 0a45dd74946e: Layer already exists 04:01:37 main: digest: sha256:6b21f6f3db97310a24b9240240e569d47ce6a3f4c1c417c3ad9ef0f3ab1ca7f9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:01:37 ===================================================== [Pipeline] echo 04:01:37 taggedImages: 04:01:37 - nexus3.edgexfoundry.org:10004/device-virtual:626db8e9a2222f123adcb85f9e159bc679c0b5f7 04:01:37 - nexus3.edgexfoundry.org:10004/device-virtual:latest 04:01:37 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.29 04:01:37 - nexus3.edgexfoundry.org:10004/device-virtual:626db8e9a2222f123adcb85f9e159bc679c0b5f7-3.0.0-dev.29 04:01:37 - 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 04:01:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:01:38 04:01:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:01:38 latest: Pulling from edgex-lftools-log-publisher 04:01:38 5eb5b503b376: Pulling fs layer 04:01:38 5c69ac0246d0: Pulling fs layer 04:01:38 ec43610c2a17: Pulling fs layer 04:01:38 3a2ae6a8a46f: Pulling fs layer 04:01:38 33b1e0a273af: Pulling fs layer 04:01:38 5d3b04190fa2: Pulling fs layer 04:01:38 2f39f015ded8: Pulling fs layer 04:01:38 33b1e0a273af: Waiting 04:01:38 5d3b04190fa2: Waiting 04:01:38 2f39f015ded8: Waiting 04:01:38 3a2ae6a8a46f: Waiting 04:01:38 5c69ac0246d0: Download complete 04:01:38 3a2ae6a8a46f: Verifying Checksum 04:01:38 3a2ae6a8a46f: Download complete 04:01:38 33b1e0a273af: Verifying Checksum 04:01:38 33b1e0a273af: Download complete 04:01:38 5d3b04190fa2: Verifying Checksum 04:01:38 5d3b04190fa2: Download complete 04:01:38 ec43610c2a17: Verifying Checksum 04:01:38 ec43610c2a17: Download complete 04:01:38 5eb5b503b376: Verifying Checksum 04:01:38 5eb5b503b376: Download complete 04:01:39 2f39f015ded8: Download complete 04:01:40 5eb5b503b376: Pull complete 04:01:40 5c69ac0246d0: Pull complete 04:01:40 ec43610c2a17: Pull complete 04:01:40 3a2ae6a8a46f: Pull complete 04:01:40 33b1e0a273af: Pull complete 04:01:40 5d3b04190fa2: Pull complete 04:01:45 2f39f015ded8: Pull complete 04:01:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:01:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:01:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:01:45 prd-ubuntu20.04-docker-8c-8g-7526 does not seem to be running inside a container 04:01:45 $ 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 04:01:49 $ docker top 43a9455d79fee92f212965cc2941803bd3a98ef97b0e19a9e32a132e39c2eca1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:50 ---> job-cost.sh 04:01:50 lf-activate-venv: SKIPPING 04:01:50 INFO: No Stack... 04:01:50 INFO: Retrieving Pricing Info for: v3-standard-8 04:01:50 INFO: Archiving Costs [Pipeline] sh 04:01:51 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 04:01:51 + cut -d, -f6 [Pipeline] lock 04:01:51 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-101-stack-cost] 04:01:51 Resource [jenkins-edgexfoundry-device-virtual-go-main-101-stack-cost] did not exist. Created. 04:01:51 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-101-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:01:51 + echo total: 0.2199999988079071 [Pipeline] stash 04:01:51 Stashed 1 file(s) [Pipeline] } 04:01:51 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-101-stack-cost] [Pipeline] // lock [Pipeline] } 04:01:51 $ docker stop --time=1 43a9455d79fee92f212965cc2941803bd3a98ef97b0e19a9e32a132e39c2eca1 04:01:52 $ docker rm -f --volumes 43a9455d79fee92f212965cc2941803bd3a98ef97b0e19a9e32a132e39c2eca1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:02:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7529 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 04:02:31 Running in /w/workspace/device-virtual-go/101 [Pipeline] { [Pipeline] checkout 04:02:31 The recommended git tool is: git 04:02:38 using credential edgex-jenkins-ssh 04:02:38 Cloning the remote Git repository 04:02:38 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 04:02:38 > git init /w/workspace/device-virtual-go/101 # timeout=10 04:02:38 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:02:38 > git --version # timeout=10 04:02:38 > git --version # 'git version 2.25.1' 04:02:38 using GIT_SSH to set credentials SSH Credentials for GitHub 04:02:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:02:41 Avoid second fetch 04:02:41 Checking out Revision 626db8e9a2222f123adcb85f9e159bc679c0b5f7 (main) 04:02:40 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:02:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:02:41 > git config core.sparsecheckout # timeout=10 04:02:41 > git checkout -f 626db8e9a2222f123adcb85f9e159bc679c0b5f7 # timeout=10 04:02:42 Commit message: "Merge pull request #376 from weichou1229/interface-change" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:02:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:02:43 % Total % Received % Xferd Average Speed Time Time Time Current 04:02:43 Dload Upload Total Spent Left Speed 04:02:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 239k 0 --:--:-- --:--:-- --:--:-- 244k [Pipeline] sh 04:02:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:02:44 + sudo tee+ sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:02:44 /etc/docker/daemon.new 04:02:44 { 04:02:44 "registry-mirrors": [ 04:02:44 "https://nexus3.edgexfoundry.org:10001" 04:02:44 ], 04:02:44 "bip": "10.250.0.254/24", 04:02:44 "hosts": [ 04:02:44 "tcp://0.0.0.0:5555", 04:02:44 "unix:///var/run/docker.sock" 04:02:44 ], 04:02:44 "mtu": 1458, 04:02:44 "selinux-enabled": true, 04:02:44 "seccomp-profile": "/etc/docker/seccomp.json" 04:02:44 } [Pipeline] sh 04:02:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:02:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:03:02 provisioning config files... 04:03:03 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/101@tmp/config15047213145193123880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:03:03 ---> docker-login.sh 04:03:03 nexus3.edgexfoundry.org:10001 04:03:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:03 Configure a credential helper to remove this warning. See 04:03:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:03 04:03:03 Login Succeeded 04:03:03 nexus3.edgexfoundry.org:10002 04:03:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:04 Configure a credential helper to remove this warning. See 04:03:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:04 04:03:04 Login Succeeded 04:03:04 nexus3.edgexfoundry.org:10003 04:03:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:04 Configure a credential helper to remove this warning. See 04:03:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:04 04:03:04 Login Succeeded 04:03:04 nexus3.edgexfoundry.org:10004 04:03:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:04 Configure a credential helper to remove this warning. See 04:03:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:04 04:03:04 Login Succeeded 04:03:04 docker.io 04:03:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:05 Configure a credential helper to remove this warning. See 04:03:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:05 04:03:05 Login Succeeded 04:03:05 ---> docker-login.sh ends [Pipeline] } 04:03:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:03:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:03:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:03:05 ========================================================= 04:03:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:03:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:06 + 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 . 04:03:06 Sending build context to Docker daemon 11.92MB 04:03:06 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:03:06 Step 2/12 : FROM ${BASE} AS builder 04:03:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:03:06 af6eaf76a39c: Pulling fs layer 04:03:06 55522c791124: Pulling fs layer 04:03:06 ce5c4a1c91eb: Pulling fs layer 04:03:06 169dfbe0d373: Pulling fs layer 04:03:06 e1ff8fa3b103: Pulling fs layer 04:03:06 52ebb69f0ebf: Pulling fs layer 04:03:06 5abe8eddf0d5: Pulling fs layer 04:03:06 e1ff8fa3b103: Waiting 04:03:06 52ebb69f0ebf: Waiting 04:03:06 5abe8eddf0d5: Waiting 04:03:06 169dfbe0d373: Waiting 04:03:06 55522c791124: Verifying Checksum 04:03:06 55522c791124: Download complete 04:03:06 169dfbe0d373: Verifying Checksum 04:03:06 169dfbe0d373: Download complete 04:03:06 e1ff8fa3b103: Verifying Checksum 04:03:06 e1ff8fa3b103: Download complete 04:03:06 af6eaf76a39c: Verifying Checksum 04:03:07 af6eaf76a39c: Pull complete 04:03:07 5abe8eddf0d5: Verifying Checksum 04:03:07 5abe8eddf0d5: Download complete 04:03:08 55522c791124: Pull complete 04:03:09 ce5c4a1c91eb: Download complete 04:03:09 52ebb69f0ebf: Verifying Checksum 04:03:09 52ebb69f0ebf: Download complete 04:03:19 ce5c4a1c91eb: Pull complete 04:03:19 169dfbe0d373: Pull complete 04:03:19 e1ff8fa3b103: Pull complete 04:03:25 52ebb69f0ebf: Pull complete 04:03:26 5abe8eddf0d5: Pull complete 04:03:26 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 04:03:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:03:26 ---> 6cb57ee374ae 04:03:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:03:28 ---> Running in e7be7336b9ec 04:03:28 Removing intermediate container e7be7336b9ec 04:03:28 ---> 4649fb732276 04:03:28 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:03:28 ---> Running in c97b0bdb26c8 04:03:29 Removing intermediate container c97b0bdb26c8 04:03:29 ---> 67a6beec04b8 04:03:29 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:03:29 ---> Running in d3742a826a9c 04:03:29 Removing intermediate container d3742a826a9c 04:03:29 ---> e5a0c5b8167a 04:03:29 Step 6/12 : WORKDIR /device-virtual-go 04:03:29 ---> Running in 8696373a3294 04:03:29 Removing intermediate container 8696373a3294 04:03:29 ---> f9a018e385a5 04:03:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:03:29 ---> Running in bc49aa927128 04:03:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:03:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:03:32 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:03:32 (2/4) Installing libedit (20221030.3.1-r0) 04:03:32 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:03:32 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:03:32 Executing busybox-1.35.0-r29.trigger 04:03:32 OK: 268 MiB in 57 packages 04:03:33 Removing intermediate container bc49aa927128 04:03:33 ---> caf95d21a23d 04:03:33 Step 8/12 : COPY go.mod vendor* ./ 04:03:34 ---> 56e55c6ea024 04:03:34 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:03:34 ---> Running in adc345b4d063 04:04:42 Removing intermediate container adc345b4d063 04:04:42 ---> ac77fcb48b30 04:04:42 Step 10/12 : COPY . . 04:04:42 ---> 3a6b7f85cbc0 04:04:42 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:04:42 ---> Running in ada942bc8993 04:04:42 Removing intermediate container ada942bc8993 04:04:42 ---> d7d3250cf21e 04:04:42 Step 12/12 : RUN $MAKE 04:04:42 ---> Running in 0011a3046d21 04:04:42 noop 04:04:42 Removing intermediate container 0011a3046d21 04:04:42 ---> b06db9a49182 04:04:42 Successfully built b06db9a49182 04:04:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:42 + docker inspect -f . ci-base-image-arm64 04:04:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:43 prd-ubuntu20.04-docker-arm64-4c-16g-7529 does not seem to be running inside a container 04:04:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/101 -v /w/workspace/device-virtual-go/101:/w/workspace/device-virtual-go/101:rw,z -v /w/workspace/device-virtual-go/101@tmp:/w/workspace/device-virtual-go/101@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:04:44 $ docker top e8da7e4b3693234493c0cbbc4c6b1402520b8f899e4fd7a84537362fff23961f -eo pid,comm [Pipeline] { [Pipeline] sh 04:04:45 + go version 04:04:45 go version go1.20.2 linux/arm64 [Pipeline] } 04:04:45 $ docker stop --time=1 e8da7e4b3693234493c0cbbc4c6b1402520b8f899e4fd7a84537362fff23961f 04:04:47 $ docker rm -f --volumes e8da7e4b3693234493c0cbbc4c6b1402520b8f899e4fd7a84537362fff23961f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:47 + docker inspect -f . ci-base-image-arm64 04:04:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:47 prd-ubuntu20.04-docker-arm64-4c-16g-7529 does not seem to be running inside a container 04:04:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/101 -v /w/workspace/device-virtual-go/101:/w/workspace/device-virtual-go/101:rw,z -v /w/workspace/device-virtual-go/101@tmp:/w/workspace/device-virtual-go/101@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:04:49 $ docker top 00ea58b76c838a759019f3922e7be449f15258a77ed2ff3e355f0aab7053bbea -eo pid,comm [Pipeline] { [Pipeline] sh 04:04:49 + git config --global --add safe.directory /w/workspace/device-virtual-go/101 [Pipeline] fileExists [Pipeline] sh 04:04:50 + make test 04:04:50 go test ./... -coverprofile=coverage.out 04:05:29 ? github.com/edgexfoundry/device-virtual-go [no test files] 04:07:36 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 04:07:36 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.094s coverage: 58.5% of statements 04:07:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:07:36 go vet ./... 04:08:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:08:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:08:03 ./bin/test-attribution-txt.sh 04:08:03 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 04:08:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:08:03 $ docker stop --time=1 00ea58b76c838a759019f3922e7be449f15258a77ed2ff3e355f0aab7053bbea 04:08:05 $ docker rm -f --volumes 00ea58b76c838a759019f3922e7be449f15258a77ed2ff3e355f0aab7053bbea [Pipeline] // withDockerContainer [Pipeline] sh 04:08:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:08:07 Warning: overwriting stash ‘coverage-report’ 04:08:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:08:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:08:08 + ls -al . 04:08:08 total 188 04:08:08 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 04:04 . 04:08:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 04:02 .. 04:08:08 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 04:02 .git 04:08:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 04:02 .github 04:08:08 -rw-rw-r-- 1 jenkins jenkins 337 Apr 12 04:02 .gitignore 04:08:08 -rw-rw-r-- 1 jenkins jenkins 41 Apr 12 04:02 .golangci.yml 04:08:08 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 12 04:02 Attribution.txt 04:08:08 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 12 04:02 CHANGELOG.md 04:08:08 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 12 04:02 Dockerfile 04:08:08 -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 04:02 GOVERNANCE.md 04:08:08 -rw-rw-r-- 1 jenkins jenkins 660 Apr 12 04:02 Jenkinsfile 04:08:08 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 12 04:02 LICENSE 04:08:08 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 12 04:02 Makefile 04:08:08 -rw-rw-r-- 1 jenkins jenkins 623 Apr 12 04:02 OWNERS.md 04:08:08 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 12 04:02 README.md 04:08:08 -rw-rw-r-- 1 jenkins jenkins 12 Apr 12 03:59 VERSION 04:08:08 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 04:02 bin 04:08:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 04:02 cmd 04:08:08 -rw-r--r-- 1 jenkins jenkins 42970 Apr 12 04:07 coverage.out 04:08:08 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 12 04:02 go.mod 04:08:08 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 12 04:02 go.sum 04:08:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 04:02 internal 04:08:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 04:02 snap 04:08:08 -rw-rw-r-- 1 jenkins jenkins 235 Apr 12 04:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:08 + 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=626db8e9a2222f123adcb85f9e159bc679c0b5f7 --label arch=arm64 --label version=3.0.0-dev.29 . 04:08:09 Sending build context to Docker daemon 11.96MB 04:08:09 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 04:08:09 Step 2/25 : FROM ${BASE} AS builder 04:08:09 ---> b06db9a49182 04:08:09 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:08:09 ---> Running in 4330624bf96f 04:08:10 Removing intermediate container 4330624bf96f 04:08:10 ---> 44db4888370e 04:08:10 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 04:08:10 ---> Running in aebb8c42ecd6 04:08:11 Removing intermediate container aebb8c42ecd6 04:08:11 ---> fa54ad5fb177 04:08:11 Step 5/25 : ARG ADD_BUILD_TAGS="" 04:08:11 ---> Running in 963b9bddc046 04:08:11 Removing intermediate container 963b9bddc046 04:08:11 ---> 63a281586529 04:08:11 Step 6/25 : WORKDIR /device-virtual-go 04:08:11 ---> Running in 7c926393d09c 04:08:11 Removing intermediate container 7c926393d09c 04:08:11 ---> 2ca71350f8c4 04:08:11 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:08:11 ---> Running in fa25a7e6b9d0 04:08:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:08:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:08:14 OK: 268 MiB in 57 packages 04:08:15 Removing intermediate container fa25a7e6b9d0 04:08:15 ---> e45004be61e8 04:08:15 Step 8/25 : COPY go.mod vendor* ./ 04:08:16 ---> 5f05ef1ae8b5 04:08:16 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:16 ---> Running in 4c59402a4f83 04:08:19 Removing intermediate container 4c59402a4f83 04:08:19 ---> 2fdeba75801e 04:08:19 Step 10/25 : COPY . . 04:08:20 ---> a7740deba089 04:08:20 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:08:20 ---> Running in 1a47c574ecea 04:08:20 Removing intermediate container 1a47c574ecea 04:08:20 ---> e6bbd7519a30 04:08:20 Step 12/25 : RUN $MAKE 04:08:20 ---> Running in 639cb1e0ef75 04:08:21 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.29" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 04:10:43 Removing intermediate container 639cb1e0ef75 04:10:43 ---> 9c24c48df7e2 04:10:43 Step 13/25 : FROM alpine:3.17 04:10:43 3.17: Pulling from library/alpine 04:10:43 c41833b44d91: Pulling fs layer 04:10:44 c41833b44d91: Download complete 04:10:44 c41833b44d91: Pull complete 04:10:44 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:10:44 Status: Downloaded newer image for alpine:3.17 04:10:44 ---> 51e60588ff2c 04:10:44 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 04:10:44 ---> Running in b356b60dfe84 04:10:44 Removing intermediate container b356b60dfe84 04:10:44 ---> c3d96f8e9f8d 04:10:44 Step 15/25 : RUN apk add --update --no-cache dumb-init 04:10:45 ---> Running in 33bd91ae8a72 04:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:10:48 (1/1) Installing dumb-init (1.2.5-r2) 04:10:48 Executing busybox-1.35.0-r29.trigger 04:10:48 OK: 8 MiB in 16 packages 04:10:49 Removing intermediate container 33bd91ae8a72 04:10:49 ---> b73b67d66d12 04:10:49 Step 16/25 : WORKDIR / 04:10:49 ---> Running in f1b89db5b975 04:10:49 Removing intermediate container f1b89db5b975 04:10:49 ---> d5bbe863d841 04:10:49 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 04:10:49 ---> c78873ede430 04:10:49 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 04:10:50 ---> fb58404b6a40 04:10:50 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 04:10:51 ---> fa3a9162a9ba 04:10:51 Step 20/25 : EXPOSE 59900 04:10:52 ---> Running in c745529e175e 04:10:52 Removing intermediate container c745529e175e 04:10:52 ---> f6b05db7f360 04:10:52 Step 21/25 : ENTRYPOINT ["/device-virtual"] 04:10:52 ---> Running in f091a1a4c7e2 04:10:52 Removing intermediate container f091a1a4c7e2 04:10:52 ---> b1bb770c6a57 04:10:52 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:10:53 ---> Running in 21fc4fd75732 04:10:54 Removing intermediate container 21fc4fd75732 04:10:54 ---> e6a718f8a063 04:10:54 Step 23/25 : LABEL arch=arm64 04:10:54 ---> Running in 4cbf6cb7a17e 04:10:54 Removing intermediate container 4cbf6cb7a17e 04:10:54 ---> 6b0f3f2e15bd 04:10:54 Step 24/25 : LABEL git_sha=626db8e9a2222f123adcb85f9e159bc679c0b5f7 04:10:54 ---> Running in 504d536c6b89 04:10:54 Removing intermediate container 504d536c6b89 04:10:54 ---> 994a4b973df4 04:10:54 Step 25/25 : LABEL version=3.0.0-dev.29 04:10:54 ---> Running in aead1fcdf914 04:10:55 Removing intermediate container aead1fcdf914 04:10:55 ---> ef6b31873b2f 04:10:55 [Warning] One or more build-args [ARCH] were not consumed 04:10:55 Successfully built ef6b31873b2f 04:10:55 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 04:10:55 provisioning config files... 04:10:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/101@tmp/config9542857156301464046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:10:55 ---> docker-login.sh 04:10:55 nexus3.edgexfoundry.org:10001 04:10:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:55 Configure a credential helper to remove this warning. See 04:10:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:55 04:10:55 Login Succeeded 04:10:55 nexus3.edgexfoundry.org:10002 04:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:56 Configure a credential helper to remove this warning. See 04:10:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:56 04:10:56 Login Succeeded 04:10:56 nexus3.edgexfoundry.org:10003 04:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:56 Configure a credential helper to remove this warning. See 04:10:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:56 04:10:56 Login Succeeded 04:10:56 nexus3.edgexfoundry.org:10004 04:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:57 Configure a credential helper to remove this warning. See 04:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:57 04:10:57 Login Succeeded 04:10:57 docker.io 04:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:57 Configure a credential helper to remove this warning. See 04:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:57 04:10:57 Login Succeeded 04:10:57 ---> docker-login.sh ends [Pipeline] } 04:10:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:10:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:10:57 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 04:10:57 626db8e9a2222f123adcb85f9e159bc679c0b5f7 04:10:57 latest 04:10:57 3.0.0-dev.29 04:10:57 626db8e9a2222f123adcb85f9e159bc679c0b5f7-3.0.0-dev.29 04:10:57 main 04:10:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:58 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:626db8e9a2222f123adcb85f9e159bc679c0b5f7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:626db8e9a2222f123adcb85f9e159bc679c0b5f7 04:10:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:10:58 f9d8f30a911b: Preparing 04:10:58 c74e06728bf9: Preparing 04:10:58 ee14085d3621: Preparing 04:10:58 98e73d164590: Preparing 04:10:58 26cbea5cba74: Preparing 04:10:58 26cbea5cba74: Layer already exists 04:10:58 c74e06728bf9: Pushed 04:10:58 98e73d164590: Pushed 04:10:58 ee14085d3621: Pushed 04:11:05 f9d8f30a911b: Pushed 04:11:05 626db8e9a2222f123adcb85f9e159bc679c0b5f7: digest: sha256:84b020f1edd7908f95a5c460ea54550aaa191e38c8abf086272ad117a70b0039 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:05 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:05 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 04:11:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:11:05 f9d8f30a911b: Preparing 04:11:05 c74e06728bf9: Preparing 04:11:05 ee14085d3621: Preparing 04:11:05 98e73d164590: Preparing 04:11:05 26cbea5cba74: Preparing 04:11:05 ee14085d3621: Layer already exists 04:11:05 f9d8f30a911b: Layer already exists 04:11:05 26cbea5cba74: Layer already exists 04:11:05 98e73d164590: Layer already exists 04:11:05 c74e06728bf9: Layer already exists 04:11:06 latest: digest: sha256:84b020f1edd7908f95a5c460ea54550aaa191e38c8abf086272ad117a70b0039 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:06 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:06 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.29 04:11:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:11:06 f9d8f30a911b: Preparing 04:11:06 c74e06728bf9: Preparing 04:11:06 ee14085d3621: Preparing 04:11:06 98e73d164590: Preparing 04:11:06 26cbea5cba74: Preparing 04:11:06 26cbea5cba74: Layer already exists 04:11:06 c74e06728bf9: Layer already exists 04:11:06 ee14085d3621: Layer already exists 04:11:06 f9d8f30a911b: Layer already exists 04:11:06 98e73d164590: Layer already exists 04:11:06 3.0.0-dev.29: digest: sha256:84b020f1edd7908f95a5c460ea54550aaa191e38c8abf086272ad117a70b0039 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:07 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:626db8e9a2222f123adcb85f9e159bc679c0b5f7-3.0.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:07 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:626db8e9a2222f123adcb85f9e159bc679c0b5f7-3.0.0-dev.29 04:11:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:11:07 f9d8f30a911b: Preparing 04:11:07 c74e06728bf9: Preparing 04:11:07 ee14085d3621: Preparing 04:11:07 98e73d164590: Preparing 04:11:07 26cbea5cba74: Preparing 04:11:07 98e73d164590: Layer already exists 04:11:07 ee14085d3621: Layer already exists 04:11:07 26cbea5cba74: Layer already exists 04:11:07 f9d8f30a911b: Layer already exists 04:11:07 c74e06728bf9: Layer already exists 04:11:07 626db8e9a2222f123adcb85f9e159bc679c0b5f7-3.0.0-dev.29: digest: sha256:84b020f1edd7908f95a5c460ea54550aaa191e38c8abf086272ad117a70b0039 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:08 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:08 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 04:11:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:11:08 f9d8f30a911b: Preparing 04:11:08 c74e06728bf9: Preparing 04:11:08 ee14085d3621: Preparing 04:11:08 98e73d164590: Preparing 04:11:08 26cbea5cba74: Preparing 04:11:08 26cbea5cba74: Layer already exists 04:11:08 98e73d164590: Layer already exists 04:11:08 ee14085d3621: Layer already exists 04:11:08 c74e06728bf9: Layer already exists 04:11:08 f9d8f30a911b: Layer already exists 04:11:08 main: digest: sha256:84b020f1edd7908f95a5c460ea54550aaa191e38c8abf086272ad117a70b0039 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:11:08 ===================================================== [Pipeline] echo 04:11:08 taggedImages: 04:11:08 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:626db8e9a2222f123adcb85f9e159bc679c0b5f7 04:11:08 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 04:11:08 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.29 04:11:08 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:626db8e9a2222f123adcb85f9e159bc679c0b5f7-3.0.0-dev.29 04:11:08 - 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 04:11:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:11:09 04:11:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:11:09 arm64: Pulling from edgex-lftools-log-publisher 04:11:09 8998bd30e6a1: Pulling fs layer 04:11:09 04944245beec: Pulling fs layer 04:11:09 699f458cf7ca: Pulling fs layer 04:11:09 765212b225bb: Pulling fs layer 04:11:09 f23df028b6ca: Pulling fs layer 04:11:09 d65c8cfc05b1: Pulling fs layer 04:11:09 2437ff75d9bd: Pulling fs layer 04:11:09 765212b225bb: Waiting 04:11:09 f23df028b6ca: Waiting 04:11:09 d65c8cfc05b1: Waiting 04:11:09 2437ff75d9bd: Waiting 04:11:09 04944245beec: Verifying Checksum 04:11:09 04944245beec: Download complete 04:11:09 765212b225bb: Download complete 04:11:09 f23df028b6ca: Download complete 04:11:09 d65c8cfc05b1: Verifying Checksum 04:11:09 d65c8cfc05b1: Download complete 04:11:10 699f458cf7ca: Verifying Checksum 04:11:10 699f458cf7ca: Download complete 04:11:10 8998bd30e6a1: Verifying Checksum 04:11:10 8998bd30e6a1: Download complete 04:11:12 2437ff75d9bd: Verifying Checksum 04:11:12 2437ff75d9bd: Download complete 04:11:14 8998bd30e6a1: Pull complete 04:11:15 04944245beec: Pull complete 04:11:16 699f458cf7ca: Pull complete 04:11:16 765212b225bb: Pull complete 04:11:17 f23df028b6ca: Pull complete 04:11:17 d65c8cfc05b1: Pull complete 04:11:32 2437ff75d9bd: Pull complete 04:11:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:11:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:11:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:32 prd-ubuntu20.04-docker-arm64-4c-16g-7529 does not seem to be running inside a container 04:11:32 $ 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/101 -v /w/workspace/device-virtual-go/101:/w/workspace/device-virtual-go/101:rw,z -v /w/workspace/device-virtual-go/101@tmp:/w/workspace/device-virtual-go/101@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:11:35 $ docker top 6ba9586305ce1560c06459786faf5e67609dd09fb17531043ea9efcc90e04ac7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:11:36 ---> job-cost.sh 04:11:36 lf-activate-venv: SKIPPING 04:11:36 INFO: No Stack... 04:11:36 INFO: Retrieving Pricing Info for: v3-standard-4 04:11:37 INFO: Archiving Costs [Pipeline] sh 04:11:38 + + cat /w/workspace/device-virtual-go/101/archives/cost.csv 04:11:38 cut -d, -f6 [Pipeline] lock 04:11:38 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-101-stack-cost] 04:11:38 Resource [jenkins-edgexfoundry-device-virtual-go-main-101-stack-cost] did not exist. Created. 04:11:38 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-101-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:11:39 /w/workspace/device-virtual-go/101@tmp/durable-db2fad1f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:11:39 + echo total: 0.10999999940395355 [Pipeline] stash 04:11:39 Warning: overwriting stash ‘stack-cost’ 04:11:39 Stashed 1 file(s) [Pipeline] } 04:11:39 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-101-stack-cost] [Pipeline] // lock [Pipeline] } 04:11:39 $ docker stop --time=1 6ba9586305ce1560c06459786faf5e67609dd09fb17531043ea9efcc90e04ac7 04:11:41 $ docker rm -f --volumes 6ba9586305ce1560c06459786faf5e67609dd09fb17531043ea9efcc90e04ac7 [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 04:11:41 provisioning config files... 04:11:41 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config356833971481649618tmp [Pipeline] { [Pipeline] sh 04:11:41 + set +x 04:11:41 + curl -s https://codecov.io/bash 04:11:41 + bash -s -- 04:11:41 04:11:41 _____ _ 04:11:41 / ____| | | 04:11:41 | | ___ __| | ___ ___ _____ __ 04:11:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:11:41 | |___| (_) | (_| | __/ (_| (_) \ V / 04:11:41 \_____\___/ \__,_|\___|\___\___/ \_/ 04:11:41 Bash-1.0.6 04:11:41 04:11:41 04:11:41 ==> git version 2.25.1 found 04:11:41 ==> 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 04:11:41 Release-Date: 2020-01-08 04:11:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:11:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:11:41 ==> Jenkins CI detected. 04:11:41 current dir:  /w/workspace/exfoundry_device-virtual-go_main 04:11:41 project root: . 04:11:41 --> token set from env 04:11:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:11:41 ==> Running gcov in . (disable via -X gcov) 04:11:41 ==> Python coveragepy not found 04:11:41 ==> Searching for coverage reports in: 04:11:41 + . 04:11:41 -> Found 1 reports 04:11:41 ==> Detecting git/mercurial file structure 04:11:42 ==> Reading reports 04:11:42 + ./coverage.out bytes=42970 04:11:42 ==> Appending adjustments 04:11:42 https://docs.codecov.io/docs/fixing-reports 04:11:42 + Found adjustments 04:11:42 ==> Gzipping contents 04:11:42 8.0K /tmp/codecov.bG2e1C.gz 04:11:42 ==> Uploading reports 04:11:42 url: https://codecov.io 04:11:42 query: branch=main&commit=626db8e9a2222f123adcb85f9e159bc679c0b5f7&build=101&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F101%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:11:42 -> Pinging Codecov 04:11:42 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=626db8e9a2222f123adcb85f9e159bc679c0b5f7&build=101&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F101%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:11:42 -> Uploading to 04:11:42 https://storage.googleapis.com/codecov/v4/raw/2023-04-12/5E52B4B073DB2E39498172D8E973AA87/626db8e9a2222f123adcb85f9e159bc679c0b5f7/07c13451-85ee-4356-9bf3-382a8de3eed9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230412T041142Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dd1928f057320f09e9a8396f44df50580ded24890d60d672184aeff1d76139fa 04:11:42 % Total % Received % Xferd Average Speed Time Time Time Current 04:11:42 Dload Upload Total Spent Left Speed 04:11:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5164 0 0 100 5164 0 18846 --:--:-- --:--:-- --:--:-- 18846 04:11:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/626db8e9a2222f123adcb85f9e159bc679c0b5f7 [Pipeline] } 04:11:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:11:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:11:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:11:43 04:11:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:11:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:11:43 df9b9388f04a: Pulling fs layer 04:11:43 52dc419b0ee2: Pulling fs layer 04:11:43 25bc292e5bac: Pulling fs layer 04:11:43 114826534d7a: Pulling fs layer 04:11:43 4657fd5d0bcf: Pulling fs layer 04:11:43 6ad1cebc031e: Pulling fs layer 04:11:43 8a3aa393b2d8: Pulling fs layer 04:11:43 114826534d7a: Waiting 04:11:43 4657fd5d0bcf: Waiting 04:11:43 6ad1cebc031e: Waiting 04:11:43 25bc292e5bac: Verifying Checksum 04:11:43 25bc292e5bac: Download complete 04:11:43 52dc419b0ee2: Download complete 04:11:43 df9b9388f04a: Download complete 04:11:43 6ad1cebc031e: Verifying Checksum 04:11:43 6ad1cebc031e: Download complete 04:11:43 df9b9388f04a: Pull complete 04:11:43 52dc419b0ee2: Pull complete 04:11:43 25bc292e5bac: Pull complete 04:11:44 114826534d7a: Download complete 04:11:44 8a3aa393b2d8: Verifying Checksum 04:11:44 8a3aa393b2d8: Download complete 04:11:47 114826534d7a: Pull complete 04:11:47 4657fd5d0bcf: Pull complete 04:11:47 6ad1cebc031e: Pull complete 04:11:50 8a3aa393b2d8: Pull complete 04:11:50 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:11:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:11:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:50 prd-ubuntu20.04-docker-8c-8g-7526 does not seem to be running inside a container 04:11:50 $ 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 04:11:55 $ docker top 13364942a4ba0097f17e991c1519a32f51b8880d01e1cf2cdcf68693dc5cf72e -eo pid,comm [Pipeline] { [Pipeline] echo 04:11:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 04:11:55 + set -o pipefail 04:11:55 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 04:11:59 04:11:59 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 04:11:59 04:11:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/469c0d71-9977-4f9c-ac45-c4221e38891c 04:11:59 04:11:59 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:11:59 04:11:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:11:59 04:11:59 04:11:59 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:11:59 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:11:59 More details here: https://snyk.co/ue1NS 04:11:59 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 04:11:59 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:11:59 $ docker stop --time=1 13364942a4ba0097f17e991c1519a32f51b8880d01e1cf2cdcf68693dc5cf72e 04:12:02 $ docker rm -f --volumes 13364942a4ba0097f17e991c1519a32f51b8880d01e1cf2cdcf68693dc5cf72e [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 04:12:03 + git log --format=format:%s -1 626db8e9a2222f123adcb85f9e159bc679c0b5f7 [Pipeline] sh 04:12:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:12:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:12:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:04 prd-ubuntu20.04-docker-8c-8g-7526 does not seem to be running inside a container 04:12:04 $ 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 04:12:04 $ docker top 96b5f49741cd63fd8bd6a51253cfc4f73cfc75db44b1a0ca969fd649ea26fe71 -eo pid,comm 04:12:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:12:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:12:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:12:04 [ssh-agent] Looking for ssh-agent implementation... 04:12:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:12:04 $ docker exec 96b5f49741cd63fd8bd6a51253cfc4f73cfc75db44b1a0ca969fd649ea26fe71 ssh-agent 04:12:04 SSH_AUTH_SOCK=/tmp/ssh-JbaQ8aIohXHK/agent.32 04:12:04 SSH_AGENT_PID=38 04:12:04 Running ssh-add (command line suppressed) 04:12:05 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11218954019239171832.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11218954019239171832.key) 04:12:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:12:05 + git semver tag 04:12:05 2023-04-12 04:12:05,548 [run_tag] DEBUG tag force:False 04:12:05 2023-04-12 04:12:05,548 [check_head_tag] DEBUG check head tag 04:12:05 2023-04-12 04:12:05,550 [execute] INFO git cat-file --batch-check 04:12:05 2023-04-12 04:12:05,550 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 04:12:05 2023-04-12 04:12:05,554 [execute] INFO git cat-file --batch 04:12:05 2023-04-12 04:12:05,554 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 04:12:05 2023-04-12 04:12:05,576 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:12:05 2023-04-12 04:12:05,576 [execute] INFO git tag -a v3.0.0-dev.29 -m v3.0.0-dev.29 04:12:05 2023-04-12 04:12:05,577 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.29', '-m', 'v3.0.0-dev.29'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 04:12:05 2023-04-12 04:12:05,581 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:12:05 3.0.0-dev.29 [Pipeline] } 04:12:05 $ docker exec --env ******** --env ******** 96b5f49741cd63fd8bd6a51253cfc4f73cfc75db44b1a0ca969fd649ea26fe71 ssh-agent -k 04:12:05 unset SSH_AUTH_SOCK; 04:12:05 unset SSH_AGENT_PID; 04:12:05 echo Agent pid 38 killed; 04:12:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:12:06 + git semver [Pipeline] } 04:12:06 $ docker stop --time=1 96b5f49741cd63fd8bd6a51253cfc4f73cfc75db44b1a0ca969fd649ea26fe71 04:12:07 $ docker rm -f --volumes 96b5f49741cd63fd8bd6a51253cfc4f73cfc75db44b1a0ca969fd649ea26fe71 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:12:07 04:12:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:12:08 0.23.1-centos7: Pulling from edgex-lftools 04:12:08 ab5ef0e58194: Pulling fs layer 04:12:08 9712f1f96733: Pulling fs layer 04:12:08 63f879dbbcfc: Pulling fs layer 04:12:08 0d9ebad4ef96: Pulling fs layer 04:12:08 e9a5061849ea: Pulling fs layer 04:12:08 d747dcd14b5f: Pulling fs layer 04:12:08 2de7ff778b66: Pulling fs layer 04:12:08 d747dcd14b5f: Waiting 04:12:08 0d9ebad4ef96: Waiting 04:12:08 e9a5061849ea: Waiting 04:12:08 2de7ff778b66: Waiting 04:12:08 9712f1f96733: Verifying Checksum 04:12:08 9712f1f96733: Download complete 04:12:08 63f879dbbcfc: Verifying Checksum 04:12:08 63f879dbbcfc: Download complete 04:12:08 e9a5061849ea: Verifying Checksum 04:12:08 e9a5061849ea: Download complete 04:12:08 d747dcd14b5f: Verifying Checksum 04:12:08 d747dcd14b5f: Download complete 04:12:08 0d9ebad4ef96: Verifying Checksum 04:12:08 0d9ebad4ef96: Download complete 04:12:08 ab5ef0e58194: Verifying Checksum 04:12:08 ab5ef0e58194: Download complete 04:12:08 2de7ff778b66: Verifying Checksum 04:12:08 2de7ff778b66: Download complete 04:12:11 ab5ef0e58194: Pull complete 04:12:11 9712f1f96733: Pull complete 04:12:11 63f879dbbcfc: Pull complete 04:12:15 0d9ebad4ef96: Pull complete 04:12:15 e9a5061849ea: Pull complete 04:12:15 d747dcd14b5f: Pull complete 04:12:16 2de7ff778b66: Pull complete 04:12:16 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:12:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:12:16 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:16 prd-ubuntu20.04-docker-8c-8g-7526 does not seem to be running inside a container 04:12:16 $ 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 04:12:21 $ docker top d5b55af58c88e83dd003c761bd6a7f9a54cba8d87fde0b35ca7d5cd2679c849a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:12:21 provisioning config files... 04:12:21 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11520076269688469857tmp 04:12:21 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13268017978741566439tmp 04:12:21 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2643532886747761796tmp [Pipeline] { [Pipeline] echo 04:12:21 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:12:21 ---> sigul-configuration.sh 04:12:21 gpg: directory `/root/.gnupg' created 04:12:21 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:12:21 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:12:21 gpg: keyring `/root/.gnupg/secring.gpg' created 04:12:21 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:12:21 gpg: CAST5 encrypted data 04:12:21 gpg: encrypted with 1 passphrase 04:12:21 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:12:21 + mkdir /home/jenkins 04:12:21 + mkdir /home/jenkins/sigul [Pipeline] sh 04:12:22 + 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 04:12:22 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:12:22 ---> sigul-install.sh 04:12:22 Sigul already installed; skipping installation. [Pipeline] sh 04:12:22 + git tag --list 04:12:22 v1.0.0 04:12:22 v1.1.0 04:12:22 v1.1.1 04:12:22 v1.2.1 04:12:22 v1.2.2 04:12:22 v1.2.3 04:12:22 v1.3.0 04:12:22 v1.3.1 04:12:22 v2.0.0 04:12:22 v2.1.0 04:12:22 v2.1.1 04:12:22 v2.1.1-dev.1 04:12:22 v2.1.1-dev.2 04:12:22 v2.2.0 04:12:22 v2.2.1-dev.1 04:12:22 v2.2.1-dev.2 04:12:22 v2.2.1-dev.3 04:12:22 v2.2.1-dev.4 04:12:22 v2.2.1-dev.5 04:12:22 v2.2.1-dev.6 04:12:22 v2.2.1-dev.7 04:12:22 v2.2.1-dev.8 04:12:22 v2.3.0 04:12:22 v2.3.0-dev.10 04:12:22 v2.3.0-dev.11 04:12:22 v2.3.0-dev.12 04:12:22 v2.3.0-dev.13 04:12:22 v2.3.0-dev.14 04:12:22 v2.3.0-dev.15 04:12:22 v2.3.0-dev.16 04:12:22 v2.3.0-dev.17 04:12:22 v2.3.0-dev.18 04:12:22 v2.3.0-dev.19 04:12:22 v2.3.0-dev.20 04:12:22 v2.3.0-dev.21 04:12:22 v2.3.0-dev.22 04:12:22 v2.3.0-dev.23 04:12:22 v2.3.0-dev.24 04:12:22 v2.3.0-dev.25 04:12:22 v2.3.0-dev.26 04:12:22 v2.3.0-dev.27 04:12:22 v2.3.0-dev.28 04:12:22 v2.3.0-dev.29 04:12:22 v2.3.0-dev.30 04:12:22 v2.3.0-dev.8 04:12:22 v2.3.0-dev.9 04:12:22 v3.0.0-dev.1 04:12:22 v3.0.0-dev.10 04:12:22 v3.0.0-dev.11 04:12:22 v3.0.0-dev.12 04:12:22 v3.0.0-dev.13 04:12:22 v3.0.0-dev.14 04:12:22 v3.0.0-dev.15 04:12:22 v3.0.0-dev.16 04:12:22 v3.0.0-dev.17 04:12:22 v3.0.0-dev.18 04:12:22 v3.0.0-dev.19 04:12:22 v3.0.0-dev.2 04:12:22 v3.0.0-dev.20 04:12:22 v3.0.0-dev.21 04:12:22 v3.0.0-dev.22 04:12:22 v3.0.0-dev.23 04:12:22 v3.0.0-dev.24 04:12:22 v3.0.0-dev.25 04:12:22 v3.0.0-dev.26 04:12:22 v3.0.0-dev.27 04:12:22 v3.0.0-dev.28 04:12:22 v3.0.0-dev.29 04:12:22 v3.0.0-dev.3 04:12:22 v3.0.0-dev.4 04:12:22 v3.0.0-dev.5 04:12:22 v3.0.0-dev.6 04:12:22 v3.0.0-dev.7 04:12:22 v3.0.0-dev.8 04:12:22 v3.0.0-dev.9 [Pipeline] sh 04:12:22 + lftools sign git-tag v3.0.0-dev.29 04:12:23 Signing Git tag with Sigul... 04:12:23 Signing v3.0.0-dev.29 [Pipeline] echo 04:12:23 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:12:23 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:12:23 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:12:24 $ docker stop --time=1 d5b55af58c88e83dd003c761bd6a7f9a54cba8d87fde0b35ca7d5cd2679c849a 04:12:25 $ docker rm -f --volumes d5b55af58c88e83dd003c761bd6a7f9a54cba8d87fde0b35ca7d5cd2679c849a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:12:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:12:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:12:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:26 prd-ubuntu20.04-docker-8c-8g-7526 does not seem to be running inside a container 04:12:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:12:26 $ docker top 97265318306ffc83964980d2d2a6f7dd319f6860018f0a8d56aef0497db24ff3 -eo pid,comm 04:12:26 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). 04:12:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:12:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:12:26 [ssh-agent] Looking for ssh-agent implementation... 04:12:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:12:26 $ docker exec 97265318306ffc83964980d2d2a6f7dd319f6860018f0a8d56aef0497db24ff3 ssh-agent 04:12:26 SSH_AUTH_SOCK=/tmp/ssh-6xMD7GAdjH5E/agent.32 04:12:26 SSH_AGENT_PID=38 04:12:26 Running ssh-add (command line suppressed) 04:12:26 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8861345023967165875.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8861345023967165875.key) 04:12:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:12:27 + git semver bump pre 04:12:27 2023-04-12 04:12:27,237 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:12:27 2023-04-12 04:12:27,237 [bump_version] DEBUG bumping version:3.0.0-dev.29 on axis:pre with prefix:dev 04:12:27 2023-04-12 04:12:27,237 [bump_version] DEBUG bumped version:3.0.0-dev.30 04:12:27 2023-04-12 04:12:27,237 [write_version] DEBUG write version:3.0.0-dev.30 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 04:12:27 2023-04-12 04:12:27,237 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:12:27 2023-04-12 04:12:27,237 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:12:27 2023-04-12 04:12:27,239 [execute] INFO git cat-file --batch-check 04:12:27 2023-04-12 04:12:27,239 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:12:27 2023-04-12 04:12:27,244 [execute] INFO git cat-file --batch 04:12:27 2023-04-12 04:12:27,245 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:12:27 2023-04-12 04:12:27,250 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:12:27 3.0.0-dev.30 [Pipeline] } 04:12:27 $ docker exec --env ******** --env ******** 97265318306ffc83964980d2d2a6f7dd319f6860018f0a8d56aef0497db24ff3 ssh-agent -k 04:12:27 unset SSH_AUTH_SOCK; 04:12:27 unset SSH_AGENT_PID; 04:12:27 echo Agent pid 38 killed; 04:12:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:12:27 + git semver [Pipeline] } 04:12:28 $ docker stop --time=1 97265318306ffc83964980d2d2a6f7dd319f6860018f0a8d56aef0497db24ff3 04:12:29 $ docker rm -f --volumes 97265318306ffc83964980d2d2a6f7dd319f6860018f0a8d56aef0497db24ff3 [Pipeline] // withDockerContainer [Pipeline] sh 04:12:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:12:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:12:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:29 prd-ubuntu20.04-docker-8c-8g-7526 does not seem to be running inside a container 04:12:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:12:30 $ docker top 1c5628c9ada7c4f4d587eb609a8f75f669fcdd11dfca3f03faa27440935fc1f5 -eo pid,comm 04:12:30 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). 04:12:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:12:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:12:30 [ssh-agent] Looking for ssh-agent implementation... 04:12:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:12:30 $ docker exec 1c5628c9ada7c4f4d587eb609a8f75f669fcdd11dfca3f03faa27440935fc1f5 ssh-agent 04:12:30 SSH_AUTH_SOCK=/tmp/ssh-k4dk0Sjqkdjm/agent.32 04:12:30 SSH_AGENT_PID=38 04:12:30 Running ssh-add (command line suppressed) 04:12:30 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4459718735569484137.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4459718735569484137.key) 04:12:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:12:31 + git semver push 04:12:31 2023-04-12 04:12:31,219 [run_push] DEBUG push 04:12:31 2023-04-12 04:12:31,220 [execute] INFO git cat-file --batch-check 04:12:31 2023-04-12 04:12:31,220 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:12:31 2023-04-12 04:12:31,223 [execute] INFO git rev-list 7b903227e2854056ac1ad963b4accdfb777b64c8 -- 04:12:31 2023-04-12 04:12:31,224 [execute] DEBUG Popen(['git', 'rev-list', '7b903227e2854056ac1ad963b4accdfb777b64c8', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:12:31 2023-04-12 04:12:31,231 [execute] INFO git fetch -v origin 04:12:31 2023-04-12 04:12:31,231 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:12:31 2023-04-12 04:12:31,709 [run_push] DEBUG no remote changes detected 04:12:31 2023-04-12 04:12:31,710 [execute] INFO git push origin semver 04:12:31 2023-04-12 04:12:31,710 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:12:32 2023-04-12 04:12:32,498 [run_push] DEBUG push all version tags 04:12:32 2023-04-12 04:12:32,498 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:12:32 2023-04-12 04:12:32,499 [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) 04:12:33 2023-04-12 04:12:33,195 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:12:33 3.0.0-dev.30 [Pipeline] } 04:12:33 $ docker exec --env ******** --env ******** 1c5628c9ada7c4f4d587eb609a8f75f669fcdd11dfca3f03faa27440935fc1f5 ssh-agent -k 04:12:33 unset SSH_AUTH_SOCK; 04:12:33 unset SSH_AGENT_PID; 04:12:33 echo Agent pid 38 killed; 04:12:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:12:33 + git semver [Pipeline] } 04:12:34 $ docker stop --time=1 1c5628c9ada7c4f4d587eb609a8f75f669fcdd11dfca3f03faa27440935fc1f5 04:12:35 $ docker rm -f --volumes 1c5628c9ada7c4f4d587eb609a8f75f669fcdd11dfca3f03faa27440935fc1f5 [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 04:12:35 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 04:12:35 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 04:12:35 total 16 04:12:35 drwxr-xr-x 3 root root 4096 Apr 12 04:01 . 04:12:35 drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 04:12 .. 04:12:35 drwxr-xr-x 2 root root 4096 Apr 12 04:01 cost 04:12:35 -rw-r--r-- 1 root root 89 Apr 12 04:01 cost.csv 04:12:35 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 04:12:35 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 04:12:35 total 16 04:12:35 drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 04:01 . 04:12:35 drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 04:12 .. 04:12:35 drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 04:01 cost 04:12:35 -rw-r--r-- 1 jenkins jenkins 89 Apr 12 04:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:12:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:12:36 ---> package-listing.sh 04:12:36 ++ tr '[:upper:]' '[:lower:]' 04:12:36 ++ facter osfamily 04:12:37 + OS_FAMILY=debian 04:12:37 + workspace=/w/workspace/exfoundry_device-virtual-go_main 04:12:37 + START_PACKAGES=/tmp/packages_start.txt 04:12:37 + END_PACKAGES=/tmp/packages_end.txt 04:12:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:12:37 + PACKAGES=/tmp/packages_start.txt 04:12:37 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 04:12:37 + PACKAGES=/tmp/packages_end.txt 04:12:37 + case "${OS_FAMILY}" in 04:12:37 + dpkg -l 04:12:37 + grep '^ii' 04:12:37 + '[' -f /tmp/packages_start.txt ']' 04:12:37 + '[' -f /tmp/packages_end.txt ']' 04:12:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:12:37 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 04:12:37 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 04:12:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 04:12:37 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 04:12:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:12:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:38 prd-ubuntu20.04-docker-8c-8g-7526 does not seem to be running inside a container 04:12:38 $ 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 04:12:38 $ docker top 96455a29a91fea396e3d0e8f2f5baca7c4b33a2db332af2145d7533448cb27f0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:38 + touch /tmp/pre-build-complete [Pipeline] sh 04:12:39 + mkdir -p /var/log/sysstat [Pipeline] sh 04:12:39 + ls /var/log/sa-host 04:12:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:12:39 provisioning config files... 04:12:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13294905381895339471tmp [Pipeline] { [Pipeline] echo 04:12:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:12:39 ---> create-netrc.sh [Pipeline] } 04:12:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:12:40 ---> python-tools-install.sh [Pipeline] echo 04:12:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:12:40 ---> sudo-logs.sh 04:12:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:12:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:12:40 ---> job-cost.sh 04:12:40 lf-activate-venv: SKIPPING 04:12:40 DEBUG: total: 0.2199999988079071 04:12:40 INFO: Retrieving Stack Cost... 04:12:41 INFO: Retrieving Pricing Info for: v3-standard-8 04:12:41 INFO: Archiving Costs [Pipeline] echo 04:12:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:12:41 ---> logs-deploy.sh 04:12:41 lf-activate-venv: SKIPPING 04:12:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/101 04:12:41 INFO: archiving workspace using pattern(s): 04:12:42 Archives upload complete. 04:12:42 INFO: archiving logs to Nexus