Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8f55b196a710e15398781abdc7fd66bab52d29c1 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-ssh2980690831945482330.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14336718258186225706.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13024947132733751383.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10351477667632523144.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-ssh10994130760606084013.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16846 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8f55b196a710e15398781abdc7fd66bab52d29c1 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#412)" > git config core.sparsecheckout # timeout=10 > git checkout -f 8f55b196a710e15398781abdc7fd66bab52d29c1 # timeout=10 > git rev-list --no-walk ed3289d750d77ec3b888271c7762159edecc04ed # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:12:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:12:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:12:11 ========================================================= 00:12:11 EdgeX Global Pipelines Version Info 00:12:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:12:12 ------------------- 00:12:12 stable info: 00:12:12 ------------------- 00:12:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:12:12 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:12:12 Message: update stable to v1.0.249 00:12:13 ------------------- 00:12:13 experimental info: 00:12:13 ------------------- 00:12:13 Commited By: **** collab-it+edgex@linuxfoundation.org 00:12:13 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:12:13 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f55b196a710e15398781abdc7fd66bab52d29c1 [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f55b19 [Pipeline] echo 00:12:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:12:14 provisioning config files... 00:12:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4207851646521205701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:14 ---> docker-login.sh 00:12:14 nexus3.edgexfoundry.org:10001 00:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:15 Configure a credential helper to remove this warning. See 00:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:15 00:12:15 Login Succeeded 00:12:15 nexus3.edgexfoundry.org:10002 00:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:15 Configure a credential helper to remove this warning. See 00:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:15 00:12:15 Login Succeeded 00:12:15 nexus3.edgexfoundry.org:10003 00:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:15 Configure a credential helper to remove this warning. See 00:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:15 00:12:15 Login Succeeded 00:12:15 nexus3.edgexfoundry.org:10004 00:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:15 Configure a credential helper to remove this warning. See 00:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:15 00:12:15 Login Succeeded 00:12:15 docker.io 00:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:15 Configure a credential helper to remove this warning. See 00:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:15 00:12:15 Login Succeeded 00:12:15 ---> docker-login.sh ends [Pipeline] } 00:12:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:12:16 + git rev-list -1 --merges 8f55b196a710e15398781abdc7fd66bab52d29c1~1..8f55b196a710e15398781abdc7fd66bab52d29c1 [Pipeline] echo 00:12:16 -----------> git rev-list -1 --merges 8f55b196a710e15398781abdc7fd66bab52d29c1~1..8f55b196a710e15398781abdc7fd66bab52d29c1 8f55b196a710e15398781abdc7fd66bab52d29c1 [false] [Pipeline] sh 00:12:16 + git log --format=format:%s -1 8f55b196a710e15398781abdc7fd66bab52d29c1 [Pipeline] echo 00:12:16 ========================================================= 00:12:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:12:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:12:16 + git log --format=format:%s -1 8f55b196a710e15398781abdc7fd66bab52d29c1 [Pipeline] echo 00:12:16 [semverPrep] GIT_COMMIT: 8f55b196a710e15398781abdc7fd66bab52d29c1, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#412) [Pipeline] echo 00:12:16 [semverPrep] This is not a build commit. [Pipeline] sh 00:12:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:12:17 + grep -v github /etc/ssh/ssh_known_hosts 00:12:17 + [ -e /tmp/ssh_known_hosts ] 00:12:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:12:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:12:17 + sudo tee -a /etc/ssh/ssh_known_hosts 00:12:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:12:17 00:12:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:12:17 0.1.4: Pulling from edgex-devops/py-git-semver 00:12:17 b85a868b505f: Pulling fs layer 00:12:17 e2be974225ed: Pulling fs layer 00:12:17 339a4e72a1f5: Pulling fs layer 00:12:17 988bab9f4d93: Pulling fs layer 00:12:17 1469e6f7b9e6: Pulling fs layer 00:12:17 eaf3925da568: Pulling fs layer 00:12:17 bab4dde63d76: Pulling fs layer 00:12:17 bde34c3a00c8: Pulling fs layer 00:12:17 b352a97aabf1: Pulling fs layer 00:12:17 4872d77fe225: Pulling fs layer 00:12:17 5851b861e8e6: Pulling fs layer 00:12:17 988bab9f4d93: Waiting 00:12:17 b352a97aabf1: Waiting 00:12:17 4872d77fe225: Waiting 00:12:17 1469e6f7b9e6: Waiting 00:12:17 5851b861e8e6: Waiting 00:12:17 bde34c3a00c8: Waiting 00:12:17 eaf3925da568: Waiting 00:12:17 bab4dde63d76: Waiting 00:12:17 e2be974225ed: Verifying Checksum 00:12:17 e2be974225ed: Download complete 00:12:17 988bab9f4d93: Verifying Checksum 00:12:17 988bab9f4d93: Download complete 00:12:18 1469e6f7b9e6: Verifying Checksum 00:12:18 1469e6f7b9e6: Download complete 00:12:18 eaf3925da568: Verifying Checksum 00:12:18 eaf3925da568: Download complete 00:12:18 339a4e72a1f5: Verifying Checksum 00:12:18 339a4e72a1f5: Download complete 00:12:18 bde34c3a00c8: Download complete 00:12:18 b352a97aabf1: Verifying Checksum 00:12:18 b352a97aabf1: Download complete 00:12:18 4872d77fe225: Download complete 00:12:18 5851b861e8e6: Verifying Checksum 00:12:18 5851b861e8e6: Download complete 00:12:18 b85a868b505f: Verifying Checksum 00:12:18 b85a868b505f: Download complete 00:12:18 bab4dde63d76: Verifying Checksum 00:12:18 bab4dde63d76: Download complete 00:12:19 b85a868b505f: Pull complete 00:12:19 e2be974225ed: Pull complete 00:12:20 339a4e72a1f5: Pull complete 00:12:20 988bab9f4d93: Pull complete 00:12:20 1469e6f7b9e6: Pull complete 00:12:20 eaf3925da568: Pull complete 00:12:22 bab4dde63d76: Pull complete 00:12:22 bde34c3a00c8: Pull complete 00:12:22 b352a97aabf1: Pull complete 00:12:22 4872d77fe225: Pull complete 00:12:22 5851b861e8e6: Pull complete 00:12:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:12:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:12:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:22 prd-ubuntu20.04-docker-8c-8g-16846 does not seem to be running inside a container 00:12:22 $ 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 00:12:25 $ docker top 53c117a62b89f10248290092ac699f817d08606510ee32b18fc0a819e924c6ab -eo pid,comm 00:12:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:12:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:12:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:12:25 [ssh-agent] Looking for ssh-agent implementation... 00:12:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:12:25 $ docker exec 53c117a62b89f10248290092ac699f817d08606510ee32b18fc0a819e924c6ab ssh-agent 00:12:25 SSH_AUTH_SOCK=/tmp/ssh-hD7xNuJKw6c9/agent.32 00:12:25 SSH_AGENT_PID=38 00:12:25 Running ssh-add (command line suppressed) 00:12:25 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2062632430652607295.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2062632430652607295.key) 00:12:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:12:26 + git tag --points-at HEAD [Pipeline] } 00:12:26 $ docker exec --env ******** --env ******** 53c117a62b89f10248290092ac699f817d08606510ee32b18fc0a819e924c6ab ssh-agent -k 00:12:26 unset SSH_AUTH_SOCK; 00:12:26 unset SSH_AGENT_PID; 00:12:26 echo Agent pid 38 killed; 00:12:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:12:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:12:26 [ssh-agent] Looking for ssh-agent implementation... 00:12:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:12:26 $ docker exec 53c117a62b89f10248290092ac699f817d08606510ee32b18fc0a819e924c6ab ssh-agent 00:12:26 SSH_AUTH_SOCK=/tmp/ssh-IxvRUAWomBtM/agent.70 00:12:26 SSH_AGENT_PID=76 00:12:26 Running ssh-add (command line suppressed) 00:12:26 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13605037286735021848.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13605037286735021848.key) 00:12:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:12:27 + git semver init 00:12:27 2023-05-25 00:12:27,157 [run_init] DEBUG init version:0.0.0 force:False 00:12:27 2023-05-25 00:12:27,158 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 00:12:27 2023-05-25 00:12:27,158 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 00:12:27 2023-05-25 00:12:27,158 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 00:12:28 2023-05-25 00:12:28,161 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 00:12:28 2023-05-25 00:12:28,161 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 00:12:28 2023-05-25 00:12:28,162 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:12:28 2023-05-25 00:12:28,162 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:12:28 3.0.0-dev.51 [Pipeline] } 00:12:28 $ docker exec --env ******** --env ******** 53c117a62b89f10248290092ac699f817d08606510ee32b18fc0a819e924c6ab ssh-agent -k 00:12:28 unset SSH_AUTH_SOCK; 00:12:28 unset SSH_AGENT_PID; 00:12:28 echo Agent pid 76 killed; 00:12:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:12:28 + git semver [Pipeline] } 00:12:28 $ docker stop --time=1 53c117a62b89f10248290092ac699f817d08606510ee32b18fc0a819e924c6ab 00:12:30 $ docker rm -f --volumes 53c117a62b89f10248290092ac699f817d08606510ee32b18fc0a819e924c6ab [Pipeline] // withDockerContainer [Pipeline] sh 00:12:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:12:30 Stashed 1 file(s) [Pipeline] echo 00:12:30 [edgeXSemver]: initialized semver on version 3.0.0-dev.51 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:12:30 provisioning config files... 00:12:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15114207426692199878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:31 ---> docker-login.sh 00:12:31 nexus3.edgexfoundry.org:10001 00:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:31 Configure a credential helper to remove this warning. See 00:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:31 00:12:31 Login Succeeded 00:12:31 nexus3.edgexfoundry.org:10002 00:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:31 Configure a credential helper to remove this warning. See 00:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:31 00:12:31 Login Succeeded 00:12:31 nexus3.edgexfoundry.org:10003 00:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:31 Configure a credential helper to remove this warning. See 00:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:31 00:12:31 Login Succeeded 00:12:31 nexus3.edgexfoundry.org:10004 00:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:31 Configure a credential helper to remove this warning. See 00:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:31 00:12:31 Login Succeeded 00:12:31 docker.io 00:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:31 Configure a credential helper to remove this warning. See 00:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:31 00:12:31 Login Succeeded 00:12:31 ---> docker-login.sh ends [Pipeline] } 00:12:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:12:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:12:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:12:31 ========================================================= 00:12:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:12:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:12:32 Sending build context to Docker daemon 23.67MB 00:12:32 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:12:32 Step 2/12 : FROM ${BASE} AS builder 00:12:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:12:32 f56be85fc22e: Pulling fs layer 00:12:32 85791d961cd3: Pulling fs layer 00:12:32 d694b5ae8c79: Pulling fs layer 00:12:32 9f32a84ed3da: Pulling fs layer 00:12:32 4d19c01a9841: Pulling fs layer 00:12:32 9325e15d5711: Pulling fs layer 00:12:32 556b6ee489ea: Pulling fs layer 00:12:32 c5a4b2cf53e6: Pulling fs layer 00:12:32 9325e15d5711: Waiting 00:12:32 4d19c01a9841: Waiting 00:12:32 556b6ee489ea: Waiting 00:12:32 c5a4b2cf53e6: Waiting 00:12:32 85791d961cd3: Verifying Checksum 00:12:32 85791d961cd3: Download complete 00:12:32 9f32a84ed3da: Verifying Checksum 00:12:32 9f32a84ed3da: Download complete 00:12:32 4d19c01a9841: Download complete 00:12:32 f56be85fc22e: Verifying Checksum 00:12:32 f56be85fc22e: Download complete 00:12:32 9325e15d5711: Verifying Checksum 00:12:32 9325e15d5711: Download complete 00:12:32 f56be85fc22e: Pull complete 00:12:32 85791d961cd3: Pull complete 00:12:32 c5a4b2cf53e6: Verifying Checksum 00:12:32 c5a4b2cf53e6: Download complete 00:12:32 d694b5ae8c79: Verifying Checksum 00:12:32 d694b5ae8c79: Download complete 00:12:33 556b6ee489ea: Verifying Checksum 00:12:33 556b6ee489ea: Download complete 00:12:36 d694b5ae8c79: Pull complete 00:12:36 9f32a84ed3da: Pull complete 00:12:36 4d19c01a9841: Pull complete 00:12:36 9325e15d5711: Pull complete 00:12:39 556b6ee489ea: Pull complete 00:12:40 c5a4b2cf53e6: Pull complete 00:12:40 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:12:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:12:40 ---> c4be618373d6 00:12:40 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:12:44 ---> Running in 52ff54aa9b21 00:12:44 Removing intermediate container 52ff54aa9b21 00:12:44 ---> 0a043b313515 00:12:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:12:44 ---> Running in 2aa4f54c92ca 00:12:44 Removing intermediate container 2aa4f54c92ca 00:12:44 ---> fd20a023a3f5 00:12:44 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:12:44 ---> Running in 4849d9728067 00:12:44 Removing intermediate container 4849d9728067 00:12:44 ---> aa0be06faf22 00:12:44 Step 6/12 : WORKDIR /device-virtual-go 00:12:44 ---> Running in 8eb32185c411 00:12:44 Removing intermediate container 8eb32185c411 00:12:44 ---> ed82027f0b87 00:12:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:12:44 ---> Running in 6e069f15ae6a 00:12:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:12:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:12:45 (1/4) Installing openssh-keygen (9.1_p1-r3) 00:12:45 (2/4) Installing libedit (20221030.3.1-r0) 00:12:45 (3/4) Installing openssh-client-common (9.1_p1-r3) 00:12:45 (4/4) Installing openssh-client-default (9.1_p1-r3) 00:12:45 Executing busybox-1.35.0-r29.trigger 00:12:45 OK: 269 MiB in 57 packages 00:12:45 Still waiting to schedule task 00:12:45 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:12:46 Removing intermediate container 6e069f15ae6a 00:12:46 ---> 953cd0e57c3e 00:12:46 Step 8/12 : COPY go.mod vendor* ./ 00:12:46 ---> 1002ab5e6130 00:12:46 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:12:46 ---> Running in 5729624d8ba4 00:13:18 Removing intermediate container 5729624d8ba4 00:13:18 ---> df49e67d4edb 00:13:18 Step 10/12 : COPY . . 00:13:18 ---> 0132bebc156c 00:13:18 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:13:18 ---> Running in 86462873cb22 00:13:18 Removing intermediate container 86462873cb22 00:13:18 ---> 433c694ee84f 00:13:18 Step 12/12 : RUN $MAKE 00:13:18 ---> Running in f2cb893f0363 00:13:18 noop 00:13:18 Removing intermediate container f2cb893f0363 00:13:18 ---> 5d04d1d79021 00:13:18 Successfully built 5d04d1d79021 00:13:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:18 + docker inspect -f . ci-base-image-x86_64 00:13:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:19 prd-ubuntu20.04-docker-8c-8g-16846 does not seem to be running inside a container 00:13:19 $ 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 00:13:19 $ docker top acf9e9ab77f5732333f16119213bfb84c3aed8cd13920504fb8cfb715aa7bed6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:19 + go version 00:13:19 go version go1.20.2 linux/amd64 [Pipeline] } 00:13:19 $ docker stop --time=1 acf9e9ab77f5732333f16119213bfb84c3aed8cd13920504fb8cfb715aa7bed6 00:13:21 $ docker rm -f --volumes acf9e9ab77f5732333f16119213bfb84c3aed8cd13920504fb8cfb715aa7bed6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:21 + docker inspect -f . ci-base-image-x86_64 00:13:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:21 prd-ubuntu20.04-docker-8c-8g-16846 does not seem to be running inside a container 00:13:21 $ 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 00:13:22 $ docker top 9b7cc889fc9f8729d111998832df7978dd4764871eb5d603088e2bb5a9e6f15f -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:22 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 00:13:22 + make test 00:13:22 go test ./... -coverprofile=coverage.out 00:13:27 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:13:37 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:13:37 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.016s coverage: 58.6% of statements 00:13:44 go vet ./... 00:13:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:13:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:13:48 ./bin/test-attribution-txt.sh [Pipeline] echo 00:13:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:13:48 $ docker stop --time=1 9b7cc889fc9f8729d111998832df7978dd4764871eb5d603088e2bb5a9e6f15f 00:13:52 $ docker rm -f --volumes 9b7cc889fc9f8729d111998832df7978dd4764871eb5d603088e2bb5a9e6f15f [Pipeline] // withDockerContainer [Pipeline] sh 00:13:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:13:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:13:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:13:53 + ls -al . 00:13:53 total 192 00:13:53 drwxrwxr-x 9 jenkins jenkins 4096 May 25 00:13 . 00:13:53 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:12 .. 00:13:53 drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:12 .git 00:13:53 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:12 .github 00:13:53 -rw-rw-r-- 1 jenkins jenkins 337 May 25 00:12 .gitignore 00:13:53 -rw-rw-r-- 1 jenkins jenkins 41 May 25 00:12 .golangci.yml 00:13:53 drwxr-xr-x 3 jenkins jenkins 4096 May 25 00:12 .semver 00:13:53 -rw-rw-r-- 1 jenkins jenkins 8652 May 25 00:12 Attribution.txt 00:13:53 -rw-rw-r-- 1 jenkins jenkins 11367 May 25 00:12 CHANGELOG.md 00:13:53 -rw-rw-r-- 1 jenkins jenkins 1646 May 25 00:12 Dockerfile 00:13:53 -rw-rw-r-- 1 jenkins jenkins 677 May 25 00:12 GOVERNANCE.md 00:13:53 -rw-rw-r-- 1 jenkins jenkins 660 May 25 00:12 Jenkinsfile 00:13:53 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 00:12 LICENSE 00:13:53 -rw-rw-r-- 1 jenkins jenkins 1696 May 25 00:12 Makefile 00:13:53 -rw-rw-r-- 1 jenkins jenkins 623 May 25 00:12 OWNERS.md 00:13:53 -rw-rw-r-- 1 jenkins jenkins 4087 May 25 00:12 README.md 00:13:53 -rw-rw-r-- 1 jenkins jenkins 12 May 25 00:12 VERSION 00:13:53 drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:12 bin 00:13:53 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:12 cmd 00:13:53 -rw-r--r-- 1 jenkins jenkins 43063 May 25 00:13 coverage.out 00:13:53 -rw-rw-r-- 1 jenkins jenkins 3161 May 25 00:12 go.mod 00:13:53 -rw-rw-r-- 1 jenkins jenkins 30898 May 25 00:12 go.sum 00:13:53 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:12 internal 00:13:53 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:12 snap 00:13:53 -rw-rw-r-- 1 jenkins jenkins 235 May 25 00:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:53 + 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=8f55b196a710e15398781abdc7fd66bab52d29c1 --label arch=amd64 --label version=3.0.0-dev.51 . 00:13:53 Sending build context to Docker daemon 23.71MB 00:13:53 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 00:13:53 Step 2/25 : FROM ${BASE} AS builder 00:13:53 ---> 5d04d1d79021 00:13:53 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:13:54 ---> Running in 2de229c1e8ba 00:13:54 Removing intermediate container 2de229c1e8ba 00:13:54 ---> 37f2ca589bdb 00:13:54 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:13:54 ---> Running in bf9622212737 00:13:54 Removing intermediate container bf9622212737 00:13:54 ---> a3829f4ea06a 00:13:54 Step 5/25 : ARG ADD_BUILD_TAGS="" 00:13:54 ---> Running in 1415f0a841f4 00:13:54 Removing intermediate container 1415f0a841f4 00:13:54 ---> b48c99b81eef 00:13:54 Step 6/25 : WORKDIR /device-virtual-go 00:13:54 ---> Running in 5037153b856d 00:13:54 Removing intermediate container 5037153b856d 00:13:54 ---> 107fc0a6feba 00:13:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:13:54 ---> Running in f09e8bfba6f1 00:13:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:13:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:13:55 OK: 269 MiB in 57 packages 00:13:55 Removing intermediate container f09e8bfba6f1 00:13:55 ---> 2c25c8d84230 00:13:55 Step 8/25 : COPY go.mod vendor* ./ 00:13:55 ---> 4abf4b383921 00:13:55 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:13:55 ---> Running in 983c64769ade 00:13:56 Removing intermediate container 983c64769ade 00:13:56 ---> 30996ca30e41 00:13:56 Step 10/25 : COPY . . 00:13:57 ---> a8b30e77f02f 00:13:57 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:13:57 ---> Running in f7235eefb3ef 00:13:57 Removing intermediate container f7235eefb3ef 00:13:57 ---> da7a0e08e92f 00:13:57 Step 12/25 : RUN $MAKE 00:13:57 ---> Running in d9ea9de1856d 00:13:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.51" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 00:14:19 Removing intermediate container d9ea9de1856d 00:14:19 ---> 49e62e009da0 00:14:19 Step 13/25 : FROM alpine:3.17 00:14:19 3.17: Pulling from library/alpine 00:14:19 f56be85fc22e: Already exists 00:14:19 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:14:19 Status: Downloaded newer image for alpine:3.17 00:14:19 ---> 9ed4aefc74f6 00:14:19 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 00:14:19 ---> Running in a5da07a81376 00:14:19 Removing intermediate container a5da07a81376 00:14:19 ---> f31aa358651c 00:14:19 Step 15/25 : RUN apk add --update --no-cache dumb-init 00:14:19 ---> Running in b9dd936b0342 00:14:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:14:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:14:19 (1/1) Installing dumb-init (1.2.5-r2) 00:14:19 Executing busybox-1.35.0-r29.trigger 00:14:19 OK: 7 MiB in 16 packages 00:14:19 Removing intermediate container b9dd936b0342 00:14:19 ---> 91eafea03482 00:14:19 Step 16/25 : WORKDIR / 00:14:19 ---> Running in 979a37f0171c 00:14:19 Removing intermediate container 979a37f0171c 00:14:19 ---> 1f757ce8cfd5 00:14:19 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 00:14:19 ---> b0b22482b313 00:14:19 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 00:14:19 ---> d4391f9d2701 00:14:19 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 00:14:19 ---> fbb6200eb26c 00:14:19 Step 20/25 : EXPOSE 59900 00:14:19 ---> Running in 4f88b743fe35 00:14:19 Removing intermediate container 4f88b743fe35 00:14:19 ---> b0b62074cfa7 00:14:19 Step 21/25 : ENTRYPOINT ["/device-virtual"] 00:14:19 ---> Running in 122b83f28acc 00:14:19 Removing intermediate container 122b83f28acc 00:14:19 ---> 503e138019c6 00:14:19 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:14:19 ---> Running in 5d83b6f9b20f 00:14:19 Removing intermediate container 5d83b6f9b20f 00:14:19 ---> 25b37f0e23fd 00:14:19 Step 23/25 : LABEL arch=amd64 00:14:19 ---> Running in aa0cc0ce0cca 00:14:19 Removing intermediate container aa0cc0ce0cca 00:14:19 ---> b14782ce83a4 00:14:19 Step 24/25 : LABEL git_sha=8f55b196a710e15398781abdc7fd66bab52d29c1 00:14:19 ---> Running in 25f64fdb0d4a 00:14:19 Removing intermediate container 25f64fdb0d4a 00:14:19 ---> 28f1e79e6c2a 00:14:19 Step 25/25 : LABEL version=3.0.0-dev.51 00:14:19 ---> Running in 0d5dbc065eb5 00:14:19 Removing intermediate container 0d5dbc065eb5 00:14:19 ---> af32e9dfac07 00:14:19 [Warning] One or more build-args [ARCH] were not consumed 00:14:19 Successfully built af32e9dfac07 00:14:19 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:14:20 provisioning config files... 00:14:20 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14295526493207442885tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:20 ---> docker-login.sh 00:14:20 nexus3.edgexfoundry.org:10001 00:14:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:20 Configure a credential helper to remove this warning. See 00:14:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:20 00:14:20 Login Succeeded 00:14:20 nexus3.edgexfoundry.org:10002 00:14:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:20 Configure a credential helper to remove this warning. See 00:14:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:20 00:14:20 Login Succeeded 00:14:20 nexus3.edgexfoundry.org:10003 00:14:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:20 Configure a credential helper to remove this warning. See 00:14:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:20 00:14:20 Login Succeeded 00:14:20 nexus3.edgexfoundry.org:10004 00:14:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:20 Configure a credential helper to remove this warning. See 00:14:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:20 00:14:20 Login Succeeded 00:14:20 docker.io 00:14:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:20 Configure a credential helper to remove this warning. See 00:14:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:20 00:14:20 Login Succeeded 00:14:20 ---> docker-login.sh ends [Pipeline] } 00:14:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:14:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:14:20 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 00:14:20 8f55b196a710e15398781abdc7fd66bab52d29c1 00:14:20 latest 00:14:20 3.0.0-dev.51 00:14:20 8f55b196a710e15398781abdc7fd66bab52d29c1-3.0.0-dev.51 00:14:20 main 00:14:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:21 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:8f55b196a710e15398781abdc7fd66bab52d29c1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual:8f55b196a710e15398781abdc7fd66bab52d29c1 00:14:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 00:14:21 f624c3249446: Preparing 00:14:21 229f330260ae: Preparing 00:14:21 94a11054545e: Preparing 00:14:21 340ec624a116: Preparing 00:14:21 f1417ff83b31: Preparing 00:14:21 f1417ff83b31: Layer already exists 00:14:21 229f330260ae: Pushed 00:14:21 340ec624a116: Pushed 00:14:21 94a11054545e: Pushed 00:14:24 f624c3249446: Pushed 00:14:24 8f55b196a710e15398781abdc7fd66bab52d29c1: digest: sha256:9156b834d948e64fcc0823b42f712bb3e9372acf84376efc89feccb6a23aa0de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:25 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 00:14:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 00:14:25 f624c3249446: Preparing 00:14:25 229f330260ae: Preparing 00:14:25 94a11054545e: Preparing 00:14:25 340ec624a116: Preparing 00:14:25 f1417ff83b31: Preparing 00:14:25 340ec624a116: Layer already exists 00:14:25 f1417ff83b31: Layer already exists 00:14:25 94a11054545e: Layer already exists 00:14:25 f624c3249446: Layer already exists 00:14:25 229f330260ae: Layer already exists 00:14:25 latest: digest: sha256:9156b834d948e64fcc0823b42f712bb3e9372acf84376efc89feccb6a23aa0de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:25 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.51 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.51 00:14:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 00:14:26 f624c3249446: Preparing 00:14:26 229f330260ae: Preparing 00:14:26 94a11054545e: Preparing 00:14:26 340ec624a116: Preparing 00:14:26 f1417ff83b31: Preparing 00:14:26 340ec624a116: Layer already exists 00:14:26 229f330260ae: Layer already exists 00:14:26 94a11054545e: Layer already exists 00:14:26 f1417ff83b31: Layer already exists 00:14:26 f624c3249446: Layer already exists 00:14:26 3.0.0-dev.51: digest: sha256:9156b834d948e64fcc0823b42f712bb3e9372acf84376efc89feccb6a23aa0de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:26 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:8f55b196a710e15398781abdc7fd66bab52d29c1-3.0.0-dev.51 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual:8f55b196a710e15398781abdc7fd66bab52d29c1-3.0.0-dev.51 00:14:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 00:14:26 f624c3249446: Preparing 00:14:26 229f330260ae: Preparing 00:14:26 94a11054545e: Preparing 00:14:26 340ec624a116: Preparing 00:14:26 f1417ff83b31: Preparing 00:14:26 229f330260ae: Layer already exists 00:14:26 f1417ff83b31: Layer already exists 00:14:26 f624c3249446: Layer already exists 00:14:26 340ec624a116: Layer already exists 00:14:26 94a11054545e: Layer already exists 00:14:26 8f55b196a710e15398781abdc7fd66bab52d29c1-3.0.0-dev.51: digest: sha256:9156b834d948e64fcc0823b42f712bb3e9372acf84376efc89feccb6a23aa0de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:27 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 00:14:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 00:14:27 f624c3249446: Preparing 00:14:27 229f330260ae: Preparing 00:14:27 94a11054545e: Preparing 00:14:27 340ec624a116: Preparing 00:14:27 f1417ff83b31: Preparing 00:14:27 f624c3249446: Layer already exists 00:14:27 94a11054545e: Layer already exists 00:14:27 229f330260ae: Layer already exists 00:14:27 340ec624a116: Layer already exists 00:14:27 f1417ff83b31: Layer already exists 00:14:27 main: digest: sha256:9156b834d948e64fcc0823b42f712bb3e9372acf84376efc89feccb6a23aa0de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:14:27 ===================================================== [Pipeline] echo 00:14:27 taggedImages: 00:14:27 - nexus3.edgexfoundry.org:10004/device-virtual:8f55b196a710e15398781abdc7fd66bab52d29c1 00:14:27 - nexus3.edgexfoundry.org:10004/device-virtual:latest 00:14:27 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.51 00:14:27 - nexus3.edgexfoundry.org:10004/device-virtual:8f55b196a710e15398781abdc7fd66bab52d29c1-3.0.0-dev.51 00:14:27 - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:27 00:14:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:28 latest: Pulling from edgex-lftools-log-publisher 00:14:28 5eb5b503b376: Pulling fs layer 00:14:28 5c69ac0246d0: Pulling fs layer 00:14:28 ec43610c2a17: Pulling fs layer 00:14:28 3a2ae6a8a46f: Pulling fs layer 00:14:28 33b1e0a273af: Pulling fs layer 00:14:28 5d3b04190fa2: Pulling fs layer 00:14:28 2f39f015ded8: Pulling fs layer 00:14:28 5d3b04190fa2: Waiting 00:14:28 3a2ae6a8a46f: Waiting 00:14:28 33b1e0a273af: Waiting 00:14:28 5c69ac0246d0: Verifying Checksum 00:14:28 5c69ac0246d0: Download complete 00:14:28 3a2ae6a8a46f: Verifying Checksum 00:14:28 3a2ae6a8a46f: Download complete 00:14:28 33b1e0a273af: Verifying Checksum 00:14:28 33b1e0a273af: Download complete 00:14:28 5d3b04190fa2: Verifying Checksum 00:14:28 5d3b04190fa2: Download complete 00:14:28 ec43610c2a17: Verifying Checksum 00:14:28 ec43610c2a17: Download complete 00:14:28 5eb5b503b376: Verifying Checksum 00:14:28 5eb5b503b376: Download complete 00:14:28 2f39f015ded8: Download complete 00:14:29 5eb5b503b376: Pull complete 00:14:29 5c69ac0246d0: Pull complete 00:14:30 ec43610c2a17: Pull complete 00:14:30 3a2ae6a8a46f: Pull complete 00:14:30 33b1e0a273af: Pull complete 00:14:30 5d3b04190fa2: Pull complete 00:14:34 2f39f015ded8: Pull complete 00:14:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:14:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:34 prd-ubuntu20.04-docker-8c-8g-16846 does not seem to be running inside a container 00:14:34 $ 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 00:14:38 $ docker top fbb18d533e31a5ddd7579aaaf28ec35477f67af9f421fbc327ab738969e24587 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:39 ---> job-cost.sh 00:14:39 lf-activate-venv: SKIPPING 00:14:39 INFO: No Stack... 00:14:39 INFO: Retrieving Pricing Info for: v3-standard-8 00:14:39 INFO: Archiving Costs [Pipeline] sh 00:14:40 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 00:14:40 + cut -d, -f6 [Pipeline] lock 00:14:40 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-123-stack-cost] 00:14:40 Resource [jenkins-edgexfoundry-device-virtual-go-main-123-stack-cost] did not exist. Created. 00:14:40 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-123-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:14:40 + echo total: 0.2199999988079071 [Pipeline] stash 00:14:40 Stashed 1 file(s) [Pipeline] } 00:14:40 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-123-stack-cost] [Pipeline] // lock [Pipeline] } 00:14:40 $ docker stop --time=1 fbb18d533e31a5ddd7579aaaf28ec35477f67af9f421fbc327ab738969e24587 00:14:41 $ docker rm -f --volumes fbb18d533e31a5ddd7579aaaf28ec35477f67af9f421fbc327ab738969e24587 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:15:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16854 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 00:15:13 Running in /w/workspace/device-virtual-go/123 [Pipeline] { [Pipeline] checkout 00:15:13 The recommended git tool is: git 00:15:20 using credential edgex-jenkins-ssh 00:15:20 Cloning the remote Git repository 00:15:20 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:15:20 > git init /w/workspace/device-virtual-go/123 # timeout=10 00:15:20 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:15:20 > git --version # timeout=10 00:15:20 > git --version # 'git version 2.25.1' 00:15:20 using GIT_SSH to set credentials SSH Credentials for GitHub 00:15:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:15:23 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:15:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:15:24 Avoid second fetch 00:15:24 Checking out Revision 8f55b196a710e15398781abdc7fd66bab52d29c1 (main) 00:15:25 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#412)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:15:24 > git config core.sparsecheckout # timeout=10 00:15:24 > git checkout -f 8f55b196a710e15398781abdc7fd66bab52d29c1 # timeout=10 00:15:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:15:25 % Total % Received % Xferd Average Speed Time Time Time Current 00:15:25 Dload Upload Total Spent Left Speed 00:15:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 64415 0 --:--:-- --:--:-- --:--:-- 64415 100 12751 100 12751 0 0 74133 0 --:--:-- --:--:-- --:--:-- 73705 [Pipeline] sh 00:15:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:15:26 + sudo tee /etc/docker/daemon.new 00:15:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:15:26 { 00:15:26 "registry-mirrors": [ 00:15:26 "https://nexus3.edgexfoundry.org:10001" 00:15:26 ], 00:15:26 "bip": "10.250.0.254/24", 00:15:26 "hosts": [ 00:15:26 "tcp://0.0.0.0:5555", 00:15:26 "unix:///var/run/docker.sock" 00:15:26 ], 00:15:26 "mtu": 1458, 00:15:26 "selinux-enabled": true, 00:15:26 "seccomp-profile": "/etc/docker/seccomp.json" 00:15:26 } [Pipeline] sh 00:15:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:15:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:15:45 provisioning config files... 00:15:45 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/123@tmp/config1764319904081985190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:15:46 ---> docker-login.sh 00:15:46 nexus3.edgexfoundry.org:10001 00:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:46 Configure a credential helper to remove this warning. See 00:15:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:46 00:15:46 Login Succeeded 00:15:46 nexus3.edgexfoundry.org:10002 00:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:47 Configure a credential helper to remove this warning. See 00:15:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:47 00:15:47 Login Succeeded 00:15:47 nexus3.edgexfoundry.org:10003 00:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:47 Configure a credential helper to remove this warning. See 00:15:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:47 00:15:47 Login Succeeded 00:15:47 nexus3.edgexfoundry.org:10004 00:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:47 Configure a credential helper to remove this warning. See 00:15:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:47 00:15:47 Login Succeeded 00:15:47 docker.io 00:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:48 Configure a credential helper to remove this warning. See 00:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:48 00:15:48 Login Succeeded 00:15:48 ---> docker-login.sh ends [Pipeline] } 00:15:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:15:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:15:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:15:48 ========================================================= 00:15:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:15:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:49 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:15:49 Sending build context to Docker daemon 12MB 00:15:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:15:49 Step 2/12 : FROM ${BASE} AS builder 00:15:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:15:49 c41833b44d91: Pulling fs layer 00:15:49 ed15518f5707: Pulling fs layer 00:15:49 feae8fd75edb: Pulling fs layer 00:15:49 242c74f7c9fa: Pulling fs layer 00:15:49 3cdef696dda3: Pulling fs layer 00:15:49 2ced38df9373: Pulling fs layer 00:15:49 58f1dce35555: Pulling fs layer 00:15:49 3cdef696dda3: Waiting 00:15:49 2ced38df9373: Waiting 00:15:49 242c74f7c9fa: Waiting 00:15:49 58f1dce35555: Waiting 00:15:49 ed15518f5707: Verifying Checksum 00:15:49 ed15518f5707: Download complete 00:15:49 242c74f7c9fa: Verifying Checksum 00:15:49 242c74f7c9fa: Download complete 00:15:49 3cdef696dda3: Verifying Checksum 00:15:49 3cdef696dda3: Download complete 00:15:49 c41833b44d91: Verifying Checksum 00:15:49 c41833b44d91: Download complete 00:15:50 c41833b44d91: Pull complete 00:15:51 ed15518f5707: Pull complete 00:15:51 58f1dce35555: Verifying Checksum 00:15:51 58f1dce35555: Download complete 00:15:52 feae8fd75edb: Verifying Checksum 00:15:52 feae8fd75edb: Download complete 00:15:52 2ced38df9373: Verifying Checksum 00:15:52 2ced38df9373: Download complete 00:16:04 feae8fd75edb: Pull complete 00:16:04 242c74f7c9fa: Pull complete 00:16:04 3cdef696dda3: Pull complete 00:16:10 2ced38df9373: Pull complete 00:16:12 58f1dce35555: Pull complete 00:16:12 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:16:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:16:12 ---> fadd8f120f05 00:16:12 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:16:14 ---> Running in 832bb1aae7d1 00:16:14 Removing intermediate container 832bb1aae7d1 00:16:14 ---> dd282270cfba 00:16:14 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:16:15 ---> Running in b7b4605d6a0c 00:16:15 Removing intermediate container b7b4605d6a0c 00:16:15 ---> 685797680f68 00:16:15 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:16:15 ---> Running in 31aa8b444654 00:16:15 Removing intermediate container 31aa8b444654 00:16:15 ---> a372ab5669dc 00:16:15 Step 6/12 : WORKDIR /device-virtual-go 00:16:16 ---> Running in 5db0c59bd4f5 00:16:16 Removing intermediate container 5db0c59bd4f5 00:16:16 ---> 88d7e7979629 00:16:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:16:16 ---> Running in 954a9d47df40 00:16:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:16:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:16:19 (1/4) Installing openssh-keygen (9.1_p1-r3) 00:16:19 (2/4) Installing libedit (20221030.3.1-r0) 00:16:19 (3/4) Installing openssh-client-common (9.1_p1-r3) 00:16:19 (4/4) Installing openssh-client-default (9.1_p1-r3) 00:16:19 Executing busybox-1.35.0-r29.trigger 00:16:19 OK: 268 MiB in 57 packages 00:16:21 Removing intermediate container 954a9d47df40 00:16:21 ---> a8693761cb48 00:16:21 Step 8/12 : COPY go.mod vendor* ./ 00:16:21 ---> fa084241c793 00:16:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:16:21 ---> Running in eace35332c6e 00:17:29 Removing intermediate container eace35332c6e 00:17:29 ---> 623f79f9ea05 00:17:29 Step 10/12 : COPY . . 00:17:29 ---> b0d4afc8164a 00:17:29 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:17:29 ---> Running in 520f22ff6124 00:17:29 Removing intermediate container 520f22ff6124 00:17:29 ---> 1bfc8f52e0bc 00:17:29 Step 12/12 : RUN $MAKE 00:17:29 ---> Running in aec313b46b21 00:17:29 noop 00:17:29 Removing intermediate container aec313b46b21 00:17:29 ---> 566fc3ac9d93 00:17:29 Successfully built 566fc3ac9d93 00:17:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:29 + docker inspect -f . ci-base-image-arm64 00:17:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:17:29 prd-ubuntu20.04-docker-arm64-4c-16g-16854 does not seem to be running inside a container 00:17:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/123 -v /w/workspace/device-virtual-go/123:/w/workspace/device-virtual-go/123:rw,z -v /w/workspace/device-virtual-go/123@tmp:/w/workspace/device-virtual-go/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:17:31 $ docker top c08f7c6529a05480f846cb50c57dc415f5dd94783e5890062ea829f510b89aeb -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:32 + go version 00:17:32 go version go1.20.2 linux/arm64 [Pipeline] } 00:17:32 $ docker stop --time=1 c08f7c6529a05480f846cb50c57dc415f5dd94783e5890062ea829f510b89aeb 00:17:33 $ docker rm -f --volumes c08f7c6529a05480f846cb50c57dc415f5dd94783e5890062ea829f510b89aeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:34 + docker inspect -f . ci-base-image-arm64 00:17:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:17:34 prd-ubuntu20.04-docker-arm64-4c-16g-16854 does not seem to be running inside a container 00:17:34 $ 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/123 -v /w/workspace/device-virtual-go/123:/w/workspace/device-virtual-go/123:rw,z -v /w/workspace/device-virtual-go/123@tmp:/w/workspace/device-virtual-go/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:17:36 $ docker top 1d0008be4424d0092d47d1a73d48c26c7986f4bfb3f13526135ef7870de6118a -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:37 + git config --global --add safe.directory /w/workspace/device-virtual-go/123 [Pipeline] fileExists [Pipeline] sh 00:17:37 + make test 00:17:37 go test ./... -coverprofile=coverage.out 00:18:16 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:20:53 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:20:53 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.131s coverage: 58.4% of statements 00:20:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:20:53 go vet ./... 00:21:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:21:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:21:32 ./bin/test-attribution-txt.sh [Pipeline] echo 00:21:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:21:32 $ docker stop --time=1 1d0008be4424d0092d47d1a73d48c26c7986f4bfb3f13526135ef7870de6118a 00:21:34 $ docker rm -f --volumes 1d0008be4424d0092d47d1a73d48c26c7986f4bfb3f13526135ef7870de6118a [Pipeline] // withDockerContainer [Pipeline] sh 00:21:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:21:35 Warning: overwriting stash ‘coverage-report’ 00:21:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:21:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:21:37 + ls -al . 00:21:37 total 188 00:21:37 drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:17 . 00:21:37 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:15 .. 00:21:37 drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:15 .git 00:21:37 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:15 .github 00:21:37 -rw-rw-r-- 1 jenkins jenkins 337 May 25 00:15 .gitignore 00:21:37 -rw-rw-r-- 1 jenkins jenkins 41 May 25 00:15 .golangci.yml 00:21:37 -rw-rw-r-- 1 jenkins jenkins 8652 May 25 00:15 Attribution.txt 00:21:37 -rw-rw-r-- 1 jenkins jenkins 11367 May 25 00:15 CHANGELOG.md 00:21:37 -rw-rw-r-- 1 jenkins jenkins 1646 May 25 00:15 Dockerfile 00:21:37 -rw-rw-r-- 1 jenkins jenkins 677 May 25 00:15 GOVERNANCE.md 00:21:37 -rw-rw-r-- 1 jenkins jenkins 660 May 25 00:15 Jenkinsfile 00:21:37 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 00:15 LICENSE 00:21:37 -rw-rw-r-- 1 jenkins jenkins 1696 May 25 00:15 Makefile 00:21:37 -rw-rw-r-- 1 jenkins jenkins 623 May 25 00:15 OWNERS.md 00:21:37 -rw-rw-r-- 1 jenkins jenkins 4087 May 25 00:15 README.md 00:21:37 -rw-rw-r-- 1 jenkins jenkins 12 May 25 00:12 VERSION 00:21:37 drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:15 bin 00:21:37 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:15 cmd 00:21:37 -rw-r--r-- 1 jenkins jenkins 43063 May 25 00:20 coverage.out 00:21:37 -rw-rw-r-- 1 jenkins jenkins 3161 May 25 00:15 go.mod 00:21:37 -rw-rw-r-- 1 jenkins jenkins 30898 May 25 00:15 go.sum 00:21:37 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:15 internal 00:21:37 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:15 snap 00:21:37 -rw-rw-r-- 1 jenkins jenkins 235 May 25 00:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:37 + 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=8f55b196a710e15398781abdc7fd66bab52d29c1 --label arch=arm64 --label version=3.0.0-dev.51 . 00:21:38 Sending build context to Docker daemon 12.05MB 00:21:38 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 00:21:38 Step 2/25 : FROM ${BASE} AS builder 00:21:38 ---> 566fc3ac9d93 00:21:38 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:21:38 ---> Running in 1faf593c689e 00:21:38 Removing intermediate container 1faf593c689e 00:21:38 ---> a05963f2e0ae 00:21:38 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:21:38 ---> Running in 9f6f3e6fae4a 00:21:39 Removing intermediate container 9f6f3e6fae4a 00:21:39 ---> fc8d55575cf0 00:21:39 Step 5/25 : ARG ADD_BUILD_TAGS="" 00:21:39 ---> Running in 355873ff5147 00:21:39 Removing intermediate container 355873ff5147 00:21:39 ---> c87b55116abb 00:21:39 Step 6/25 : WORKDIR /device-virtual-go 00:21:39 ---> Running in f5107060204c 00:21:40 Removing intermediate container f5107060204c 00:21:40 ---> 93f398c6e058 00:21:40 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:21:40 ---> Running in fcc59aae88a8 00:21:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:21:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:21:43 OK: 268 MiB in 57 packages 00:21:44 Removing intermediate container fcc59aae88a8 00:21:44 ---> 2181eb0d2d62 00:21:44 Step 8/25 : COPY go.mod vendor* ./ 00:21:45 ---> ce8d847e3607 00:21:45 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:21:45 ---> Running in b6974ab2c172 00:21:49 Removing intermediate container b6974ab2c172 00:21:49 ---> cd5c70d49123 00:21:49 Step 10/25 : COPY . . 00:21:50 ---> 562b32a474a9 00:21:50 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:21:50 ---> Running in f40b7292f37a 00:21:50 Removing intermediate container f40b7292f37a 00:21:50 ---> 884b62d08c8a 00:21:50 Step 12/25 : RUN $MAKE 00:21:51 ---> Running in 7d70c5f4a56f 00:21:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.51" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 00:24:43 Removing intermediate container 7d70c5f4a56f 00:24:43 ---> 01c4feaca66e 00:24:43 Step 13/25 : FROM alpine:3.17 00:24:43 3.17: Pulling from library/alpine 00:24:43 c41833b44d91: Already exists 00:24:43 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:24:43 Status: Downloaded newer image for alpine:3.17 00:24:43 ---> 51e60588ff2c 00:24:43 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 00:24:43 ---> Running in 3957b3cd0f95 00:24:43 Removing intermediate container 3957b3cd0f95 00:24:43 ---> 89d8695d2d4c 00:24:43 Step 15/25 : RUN apk add --update --no-cache dumb-init 00:24:43 ---> Running in a55c68bc47b8 00:24:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:24:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:24:44 (1/1) Installing dumb-init (1.2.5-r2) 00:24:44 Executing busybox-1.35.0-r29.trigger 00:24:44 OK: 8 MiB in 16 packages 00:24:45 Removing intermediate container a55c68bc47b8 00:24:45 ---> c4067dd45150 00:24:45 Step 16/25 : WORKDIR / 00:24:45 ---> Running in 2f611695fce5 00:24:45 Removing intermediate container 2f611695fce5 00:24:45 ---> f6adb380f135 00:24:45 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 00:24:45 ---> 32154a5be7ca 00:24:45 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 00:24:46 ---> abe49bcf04e5 00:24:46 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 00:24:48 ---> e28afdf2590d 00:24:48 Step 20/25 : EXPOSE 59900 00:24:48 ---> Running in ebbb2be7a018 00:24:48 Removing intermediate container ebbb2be7a018 00:24:48 ---> 2b7523ab5af1 00:24:48 Step 21/25 : ENTRYPOINT ["/device-virtual"] 00:24:48 ---> Running in 112da48011f3 00:24:49 Removing intermediate container 112da48011f3 00:24:49 ---> d21c98440e56 00:24:49 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:24:49 ---> Running in c76e30fe3768 00:24:49 Removing intermediate container c76e30fe3768 00:24:49 ---> 67e212a341e4 00:24:49 Step 23/25 : LABEL arch=arm64 00:24:49 ---> Running in 2f3ebc3725f3 00:24:49 Removing intermediate container 2f3ebc3725f3 00:24:49 ---> 2b58e266f2ac 00:24:49 Step 24/25 : LABEL git_sha=8f55b196a710e15398781abdc7fd66bab52d29c1 00:24:49 ---> Running in 149b6dc95dc9 00:24:50 Removing intermediate container 149b6dc95dc9 00:24:50 ---> 93c183155bf5 00:24:50 Step 25/25 : LABEL version=3.0.0-dev.51 00:24:50 ---> Running in a907bd015f4f 00:24:50 Removing intermediate container a907bd015f4f 00:24:50 ---> cf33ac15a7c0 00:24:50 [Warning] One or more build-args [ARCH] were not consumed 00:24:50 Successfully built cf33ac15a7c0 00:24:50 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:24:50 provisioning config files... 00:24:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/123@tmp/config1957125383982016681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:24:51 ---> docker-login.sh 00:24:51 nexus3.edgexfoundry.org:10001 00:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:51 Configure a credential helper to remove this warning. See 00:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:51 00:24:51 Login Succeeded 00:24:51 nexus3.edgexfoundry.org:10002 00:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:52 Configure a credential helper to remove this warning. See 00:24:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:52 00:24:52 Login Succeeded 00:24:52 nexus3.edgexfoundry.org:10003 00:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:52 Configure a credential helper to remove this warning. See 00:24:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:52 00:24:52 Login Succeeded 00:24:52 nexus3.edgexfoundry.org:10004 00:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:52 Configure a credential helper to remove this warning. See 00:24:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:52 00:24:52 Login Succeeded 00:24:52 docker.io 00:24:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:53 Configure a credential helper to remove this warning. See 00:24:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:53 00:24:53 Login Succeeded 00:24:53 ---> docker-login.sh ends [Pipeline] } 00:24:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:24:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:24:53 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 00:24:53 8f55b196a710e15398781abdc7fd66bab52d29c1 00:24:53 latest 00:24:53 3.0.0-dev.51 00:24:53 8f55b196a710e15398781abdc7fd66bab52d29c1-3.0.0-dev.51 00:24:53 main 00:24:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:54 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:8f55b196a710e15398781abdc7fd66bab52d29c1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:54 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:8f55b196a710e15398781abdc7fd66bab52d29c1 00:24:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:24:54 e8462690fa2e: Preparing 00:24:54 5d4ab3fc7413: Preparing 00:24:54 f4e20c29a98d: Preparing 00:24:54 becd9410cfb2: Preparing 00:24:54 26cbea5cba74: Preparing 00:24:54 26cbea5cba74: Layer already exists 00:24:54 f4e20c29a98d: Pushed 00:24:54 5d4ab3fc7413: Pushed 00:24:54 becd9410cfb2: Pushed 00:25:01 e8462690fa2e: Pushed 00:25:01 8f55b196a710e15398781abdc7fd66bab52d29c1: digest: sha256:94f13ab9d1d5992b0b4e673739935e6f0b0ed01cefccfa58938506f85741daab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:01 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:02 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 00:25:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:25:02 e8462690fa2e: Preparing 00:25:02 5d4ab3fc7413: Preparing 00:25:02 f4e20c29a98d: Preparing 00:25:02 becd9410cfb2: Preparing 00:25:02 26cbea5cba74: Preparing 00:25:02 f4e20c29a98d: Layer already exists 00:25:02 becd9410cfb2: Layer already exists 00:25:02 26cbea5cba74: Layer already exists 00:25:02 e8462690fa2e: Layer already exists 00:25:02 5d4ab3fc7413: Layer already exists 00:25:02 latest: digest: sha256:94f13ab9d1d5992b0b4e673739935e6f0b0ed01cefccfa58938506f85741daab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:02 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.51 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:03 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.51 00:25:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:25:03 e8462690fa2e: Preparing 00:25:03 5d4ab3fc7413: Preparing 00:25:03 f4e20c29a98d: Preparing 00:25:03 becd9410cfb2: Preparing 00:25:03 26cbea5cba74: Preparing 00:25:03 f4e20c29a98d: Layer already exists 00:25:03 becd9410cfb2: Layer already exists 00:25:03 5d4ab3fc7413: Layer already exists 00:25:03 26cbea5cba74: Layer already exists 00:25:03 e8462690fa2e: Layer already exists 00:25:03 3.0.0-dev.51: digest: sha256:94f13ab9d1d5992b0b4e673739935e6f0b0ed01cefccfa58938506f85741daab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:03 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:8f55b196a710e15398781abdc7fd66bab52d29c1-3.0.0-dev.51 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:04 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:8f55b196a710e15398781abdc7fd66bab52d29c1-3.0.0-dev.51 00:25:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:25:04 e8462690fa2e: Preparing 00:25:04 5d4ab3fc7413: Preparing 00:25:04 f4e20c29a98d: Preparing 00:25:04 becd9410cfb2: Preparing 00:25:04 26cbea5cba74: Preparing 00:25:04 5d4ab3fc7413: Layer already exists 00:25:04 e8462690fa2e: Layer already exists 00:25:04 becd9410cfb2: Layer already exists 00:25:04 26cbea5cba74: Layer already exists 00:25:04 f4e20c29a98d: Layer already exists 00:25:04 8f55b196a710e15398781abdc7fd66bab52d29c1-3.0.0-dev.51: digest: sha256:94f13ab9d1d5992b0b4e673739935e6f0b0ed01cefccfa58938506f85741daab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:04 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:05 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 00:25:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:25:05 e8462690fa2e: Preparing 00:25:05 5d4ab3fc7413: Preparing 00:25:05 f4e20c29a98d: Preparing 00:25:05 becd9410cfb2: Preparing 00:25:05 26cbea5cba74: Preparing 00:25:05 26cbea5cba74: Layer already exists 00:25:05 e8462690fa2e: Layer already exists 00:25:05 5d4ab3fc7413: Layer already exists 00:25:05 becd9410cfb2: Layer already exists 00:25:05 f4e20c29a98d: Layer already exists 00:25:05 main: digest: sha256:94f13ab9d1d5992b0b4e673739935e6f0b0ed01cefccfa58938506f85741daab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:25:05 ===================================================== [Pipeline] echo 00:25:05 taggedImages: 00:25:05 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:8f55b196a710e15398781abdc7fd66bab52d29c1 00:25:05 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 00:25:05 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.51 00:25:05 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:8f55b196a710e15398781abdc7fd66bab52d29c1-3.0.0-dev.51 00:25:05 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:25:05 00:25:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:25:06 arm64: Pulling from edgex-lftools-log-publisher 00:25:06 8998bd30e6a1: Pulling fs layer 00:25:06 04944245beec: Pulling fs layer 00:25:06 699f458cf7ca: Pulling fs layer 00:25:06 765212b225bb: Pulling fs layer 00:25:06 f23df028b6ca: Pulling fs layer 00:25:06 d65c8cfc05b1: Pulling fs layer 00:25:06 2437ff75d9bd: Pulling fs layer 00:25:06 765212b225bb: Waiting 00:25:06 f23df028b6ca: Waiting 00:25:06 d65c8cfc05b1: Waiting 00:25:06 2437ff75d9bd: Waiting 00:25:06 04944245beec: Verifying Checksum 00:25:06 04944245beec: Download complete 00:25:06 765212b225bb: Verifying Checksum 00:25:06 765212b225bb: Download complete 00:25:06 f23df028b6ca: Verifying Checksum 00:25:06 f23df028b6ca: Download complete 00:25:06 d65c8cfc05b1: Verifying Checksum 00:25:06 d65c8cfc05b1: Download complete 00:25:06 699f458cf7ca: Verifying Checksum 00:25:06 699f458cf7ca: Download complete 00:25:06 8998bd30e6a1: Verifying Checksum 00:25:06 8998bd30e6a1: Download complete 00:25:09 2437ff75d9bd: Verifying Checksum 00:25:09 2437ff75d9bd: Download complete 00:25:10 8998bd30e6a1: Pull complete 00:25:14 04944245beec: Pull complete 00:25:15 699f458cf7ca: Pull complete 00:25:15 765212b225bb: Pull complete 00:25:16 f23df028b6ca: Pull complete 00:25:16 d65c8cfc05b1: Pull complete 00:25:31 2437ff75d9bd: Pull complete 00:25:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:25:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:25:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:25:31 prd-ubuntu20.04-docker-arm64-4c-16g-16854 does not seem to be running inside a container 00:25:31 $ 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/123 -v /w/workspace/device-virtual-go/123:/w/workspace/device-virtual-go/123:rw,z -v /w/workspace/device-virtual-go/123@tmp:/w/workspace/device-virtual-go/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:25:34 $ docker top d34413fbdca8bd9e46d681d88d74c91f868be72a1eee348c16b88ed531df6a62 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:25:35 ---> job-cost.sh 00:25:35 lf-activate-venv: SKIPPING 00:25:35 INFO: No Stack... 00:25:36 INFO: Retrieving Pricing Info for: v3-standard-4 00:25:37 INFO: Archiving Costs [Pipeline] sh 00:25:37 + cat /w/workspace/device-virtual-go/123/archives/cost.csv+ 00:25:37 cut -d, -f6 [Pipeline] lock 00:25:38 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-123-stack-cost] 00:25:38 Resource [jenkins-edgexfoundry-device-virtual-go-main-123-stack-cost] did not exist. Created. 00:25:38 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-123-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:25:38 /w/workspace/device-virtual-go/123@tmp/durable-96275673/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:25:39 + echo total: 0.10999999940395355 [Pipeline] stash 00:25:39 Warning: overwriting stash ‘stack-cost’ 00:25:39 Stashed 1 file(s) [Pipeline] } 00:25:39 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-123-stack-cost] [Pipeline] // lock [Pipeline] } 00:25:39 $ docker stop --time=1 d34413fbdca8bd9e46d681d88d74c91f868be72a1eee348c16b88ed531df6a62 00:25:41 $ docker rm -f --volumes d34413fbdca8bd9e46d681d88d74c91f868be72a1eee348c16b88ed531df6a62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:25:41 provisioning config files... 00:25:41 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1125931370462171837tmp [Pipeline] { [Pipeline] sh 00:25:41 + set +x 00:25:41 + + curl -s https://codecov.io/bashbash 00:25:41 -s -- 00:25:41 00:25:41 _____ _ 00:25:41 / ____| | | 00:25:41 | | ___ __| | ___ ___ _____ __ 00:25:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:25:41 | |___| (_) | (_| | __/ (_| (_) \ V / 00:25:41 \_____\___/ \__,_|\___|\___\___/ \_/ 00:25:41 Bash-1.0.6 00:25:41 00:25:41 00:25:41 ==> git version 2.25.1 found 00:25: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 00:25:41 Release-Date: 2020-01-08 00:25: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 00:25:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:25:41 ==> Jenkins CI detected. 00:25:41 current dir:  /w/workspace/exfoundry_device-virtual-go_main 00:25:41 project root: . 00:25:41 --> token set from env 00:25:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:25:41 ==> Running gcov in . (disable via -X gcov) 00:25:41 ==> Python coveragepy not found 00:25:41 ==> Searching for coverage reports in: 00:25:41 + . 00:25:41 -> Found 1 reports 00:25:41 ==> Detecting git/mercurial file structure 00:25:41 ==> Reading reports 00:25:41 + ./coverage.out bytes=43063 00:25:41 ==> Appending adjustments 00:25:41 https://docs.codecov.io/docs/fixing-reports 00:25:42 + Found adjustments 00:25:42 ==> Gzipping contents 00:25:42 8.0K /tmp/codecov.9bJxYL.gz 00:25:42 ==> Uploading reports 00:25:42 url: https://codecov.io 00:25:42 query: branch=main&commit=8f55b196a710e15398781abdc7fd66bab52d29c1&build=123&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F123%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:25:42 -> Pinging Codecov 00:25: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=8f55b196a710e15398781abdc7fd66bab52d29c1&build=123&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F123%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:25:42 -> Uploading to 00:25:42 https://storage.googleapis.com/codecov/v4/raw/2023-05-25/5E52B4B073DB2E39498172D8E973AA87/8f55b196a710e15398781abdc7fd66bab52d29c1/4023dc49-accf-44fe-9dd5-d7be430c1bbb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230525T002542Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5701dd2d4e10fabbf2d7ba2a9a41c2be3e55149b46923c24d24a5639e8224280 00:25:42 % Total % Received % Xferd Average Speed Time Time Time Current 00:25:42 Dload Upload Total Spent Left Speed 00:25:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 21245 --:--:-- --:--:-- --:--:-- 21245 00:25:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/8f55b196a710e15398781abdc7fd66bab52d29c1 [Pipeline] } 00:25:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:25:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:25:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:25:43 00:25:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:25:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:25:43 df9b9388f04a: Pulling fs layer 00:25:43 52dc419b0ee2: Pulling fs layer 00:25:43 25bc292e5bac: Pulling fs layer 00:25:43 114826534d7a: Pulling fs layer 00:25:43 4657fd5d0bcf: Pulling fs layer 00:25:43 6ad1cebc031e: Pulling fs layer 00:25:43 8a3aa393b2d8: Pulling fs layer 00:25:43 114826534d7a: Waiting 00:25:43 4657fd5d0bcf: Waiting 00:25:43 6ad1cebc031e: Waiting 00:25:43 25bc292e5bac: Verifying Checksum 00:25:43 25bc292e5bac: Download complete 00:25:43 52dc419b0ee2: Download complete 00:25:43 4657fd5d0bcf: Verifying Checksum 00:25:43 4657fd5d0bcf: Download complete 00:25:43 df9b9388f04a: Download complete 00:25:43 df9b9388f04a: Pull complete 00:25:43 6ad1cebc031e: Verifying Checksum 00:25:43 6ad1cebc031e: Download complete 00:25:43 52dc419b0ee2: Pull complete 00:25:43 25bc292e5bac: Pull complete 00:25:44 114826534d7a: Download complete 00:25:44 8a3aa393b2d8: Verifying Checksum 00:25:44 8a3aa393b2d8: Download complete 00:25:47 114826534d7a: Pull complete 00:25:47 4657fd5d0bcf: Pull complete 00:25:47 6ad1cebc031e: Pull complete 00:25:50 8a3aa393b2d8: Pull complete 00:25:50 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:25:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:25:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:25:50 prd-ubuntu20.04-docker-8c-8g-16846 does not seem to be running inside a container 00:25: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 00:25:54 $ docker top 2171f70b3757168ef3e40ca88d2f3bccf08c4c57c32057609a83acc2d8863f66 -eo pid,comm [Pipeline] { [Pipeline] echo 00:25:54 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 00:25:55 + set -o pipefail 00:25:55 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 00:26:01 00:26:01 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 00:26:01 00:26:01 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/ef3a73cb-8981-4c9d-af80-f239e715fc0b 00:26:01 00:26:01 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:26:01 00:26:01 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:26:01 00:26:02 00:26:02 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:26:02 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:26:02 More details here: https://snyk.co/ue1NS [Pipeline] } 00:26:02 $ docker stop --time=1 2171f70b3757168ef3e40ca88d2f3bccf08c4c57c32057609a83acc2d8863f66 00:26:05 $ docker rm -f --volumes 2171f70b3757168ef3e40ca88d2f3bccf08c4c57c32057609a83acc2d8863f66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:26:06 + git log --format=format:%s -1 8f55b196a710e15398781abdc7fd66bab52d29c1 [Pipeline] sh 00:26:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:26:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:26:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:26:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:26:06 prd-ubuntu20.04-docker-8c-8g-16846 does not seem to be running inside a container 00:26:06 $ 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 00:26:07 $ docker top 89ee6d800ebb414049d18cf6cb99bf8fcafa12feaa65c41648d9b33ddab7f170 -eo pid,comm 00:26:07 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:26:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:26:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:26:07 [ssh-agent] Looking for ssh-agent implementation... 00:26:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:26:07 $ docker exec 89ee6d800ebb414049d18cf6cb99bf8fcafa12feaa65c41648d9b33ddab7f170 ssh-agent 00:26:07 SSH_AUTH_SOCK=/tmp/ssh-3YWgstdJ9ZHD/agent.32 00:26:07 SSH_AGENT_PID=38 00:26:07 Running ssh-add (command line suppressed) 00:26:07 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2214064327401297504.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2214064327401297504.key) 00:26:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:26:07 + git semver tag 00:26:08 2023-05-25 00:26:08,070 [run_tag] DEBUG tag force:False 00:26:08 2023-05-25 00:26:08,070 [check_head_tag] DEBUG check head tag 00:26:08 2023-05-25 00:26:08,072 [execute] INFO git cat-file --batch-check 00:26:08 2023-05-25 00:26:08,072 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 00:26:08 2023-05-25 00:26:08,076 [execute] INFO git cat-file --batch 00:26:08 2023-05-25 00:26:08,076 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 00:26:08 2023-05-25 00:26:08,103 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:26:08 2023-05-25 00:26:08,103 [execute] INFO git tag -a v3.0.0-dev.51 -m v3.0.0-dev.51 00:26:08 2023-05-25 00:26:08,103 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.51', '-m', 'v3.0.0-dev.51'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 00:26:08 2023-05-25 00:26:08,108 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:26:08 3.0.0-dev.51 [Pipeline] } 00:26:08 $ docker exec --env ******** --env ******** 89ee6d800ebb414049d18cf6cb99bf8fcafa12feaa65c41648d9b33ddab7f170 ssh-agent -k 00:26:08 unset SSH_AUTH_SOCK; 00:26:08 unset SSH_AGENT_PID; 00:26:08 echo Agent pid 38 killed; 00:26:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:26:08 + git semver [Pipeline] } 00:26:08 $ docker stop --time=1 89ee6d800ebb414049d18cf6cb99bf8fcafa12feaa65c41648d9b33ddab7f170 00:26:10 $ docker rm -f --volumes 89ee6d800ebb414049d18cf6cb99bf8fcafa12feaa65c41648d9b33ddab7f170 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:26:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:26:10 00:26:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:26:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:26:10 0.23.1-centos7: Pulling from edgex-lftools 00:26:10 ab5ef0e58194: Pulling fs layer 00:26:10 9712f1f96733: Pulling fs layer 00:26:10 63f879dbbcfc: Pulling fs layer 00:26:10 0d9ebad4ef96: Pulling fs layer 00:26:10 e9a5061849ea: Pulling fs layer 00:26:10 d747dcd14b5f: Pulling fs layer 00:26:10 2de7ff778b66: Pulling fs layer 00:26:10 0d9ebad4ef96: Waiting 00:26:10 d747dcd14b5f: Waiting 00:26:10 e9a5061849ea: Waiting 00:26:10 2de7ff778b66: Waiting 00:26:10 9712f1f96733: Verifying Checksum 00:26:10 9712f1f96733: Download complete 00:26:11 63f879dbbcfc: Verifying Checksum 00:26:11 63f879dbbcfc: Download complete 00:26:11 0d9ebad4ef96: Verifying Checksum 00:26:11 0d9ebad4ef96: Download complete 00:26:11 d747dcd14b5f: Verifying Checksum 00:26:11 d747dcd14b5f: Download complete 00:26:11 e9a5061849ea: Verifying Checksum 00:26:11 e9a5061849ea: Download complete 00:26:11 ab5ef0e58194: Verifying Checksum 00:26:11 ab5ef0e58194: Download complete 00:26:11 2de7ff778b66: Verifying Checksum 00:26:11 2de7ff778b66: Download complete 00:26:13 ab5ef0e58194: Pull complete 00:26:13 9712f1f96733: Pull complete 00:26:14 63f879dbbcfc: Pull complete 00:26:17 0d9ebad4ef96: Pull complete 00:26:18 e9a5061849ea: Pull complete 00:26:18 d747dcd14b5f: Pull complete 00:26:19 2de7ff778b66: Pull complete 00:26:19 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:26:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:26:19 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:26:19 prd-ubuntu20.04-docker-8c-8g-16846 does not seem to be running inside a container 00:26:19 $ 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 00:26:24 $ docker top 1a0844d3e7923376ed912c3d032c8d1e4cbfb72b2bf7fbe377dd333908ad79e6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:26:24 provisioning config files... 00:26:24 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7190674026231906149tmp 00:26:24 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11333486055163957408tmp 00:26:24 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15806368368562330804tmp [Pipeline] { [Pipeline] echo 00:26:24 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:26:25 ---> sigul-configuration.sh 00:26:25 gpg: directory `/root/.gnupg' created 00:26:25 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:26:25 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:26:25 gpg: keyring `/root/.gnupg/secring.gpg' created 00:26:25 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:26:25 gpg: CAST5 encrypted data 00:26:25 gpg: encrypted with 1 passphrase 00:26:25 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:26:25 + mkdir /home/jenkins 00:26:25 + mkdir /home/jenkins/sigul [Pipeline] sh 00:26:25 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 00:26:25 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:26:26 ---> sigul-install.sh 00:26:26 Sigul already installed; skipping installation. [Pipeline] sh 00:26:26 + git tag --list 00:26:26 v1.0.0 00:26:26 v1.1.0 00:26:26 v1.1.1 00:26:26 v1.2.1 00:26:26 v1.2.2 00:26:26 v1.2.3 00:26:26 v1.3.0 00:26:26 v1.3.1 00:26:26 v2.0.0 00:26:26 v2.1.0 00:26:26 v2.1.1 00:26:26 v2.1.1-dev.1 00:26:26 v2.1.1-dev.2 00:26:26 v2.2.0 00:26:26 v2.2.1-dev.1 00:26:26 v2.2.1-dev.2 00:26:26 v2.2.1-dev.3 00:26:26 v2.2.1-dev.4 00:26:26 v2.2.1-dev.5 00:26:26 v2.2.1-dev.6 00:26:26 v2.2.1-dev.7 00:26:26 v2.2.1-dev.8 00:26:26 v2.3.0 00:26:26 v2.3.0-dev.10 00:26:26 v2.3.0-dev.11 00:26:26 v2.3.0-dev.12 00:26:26 v2.3.0-dev.13 00:26:26 v2.3.0-dev.14 00:26:26 v2.3.0-dev.15 00:26:26 v2.3.0-dev.16 00:26:26 v2.3.0-dev.17 00:26:26 v2.3.0-dev.18 00:26:26 v2.3.0-dev.19 00:26:26 v2.3.0-dev.20 00:26:26 v2.3.0-dev.21 00:26:26 v2.3.0-dev.22 00:26:26 v2.3.0-dev.23 00:26:26 v2.3.0-dev.24 00:26:26 v2.3.0-dev.25 00:26:26 v2.3.0-dev.26 00:26:26 v2.3.0-dev.27 00:26:26 v2.3.0-dev.28 00:26:26 v2.3.0-dev.29 00:26:26 v2.3.0-dev.30 00:26:26 v2.3.0-dev.8 00:26:26 v2.3.0-dev.9 00:26:26 v3.0.0-dev.1 00:26:26 v3.0.0-dev.10 00:26:26 v3.0.0-dev.11 00:26:26 v3.0.0-dev.12 00:26:26 v3.0.0-dev.13 00:26:26 v3.0.0-dev.14 00:26:26 v3.0.0-dev.15 00:26:26 v3.0.0-dev.16 00:26:26 v3.0.0-dev.17 00:26:26 v3.0.0-dev.18 00:26:26 v3.0.0-dev.19 00:26:26 v3.0.0-dev.2 00:26:26 v3.0.0-dev.20 00:26:26 v3.0.0-dev.21 00:26:26 v3.0.0-dev.22 00:26:26 v3.0.0-dev.23 00:26:26 v3.0.0-dev.24 00:26:26 v3.0.0-dev.25 00:26:26 v3.0.0-dev.26 00:26:26 v3.0.0-dev.27 00:26:26 v3.0.0-dev.28 00:26:26 v3.0.0-dev.29 00:26:26 v3.0.0-dev.3 00:26:26 v3.0.0-dev.30 00:26:26 v3.0.0-dev.31 00:26:26 v3.0.0-dev.32 00:26:26 v3.0.0-dev.33 00:26:26 v3.0.0-dev.34 00:26:26 v3.0.0-dev.35 00:26:26 v3.0.0-dev.36 00:26:26 v3.0.0-dev.37 00:26:26 v3.0.0-dev.38 00:26:26 v3.0.0-dev.39 00:26:26 v3.0.0-dev.4 00:26:26 v3.0.0-dev.40 00:26:26 v3.0.0-dev.41 00:26:26 v3.0.0-dev.42 00:26:26 v3.0.0-dev.43 00:26:26 v3.0.0-dev.44 00:26:26 v3.0.0-dev.45 00:26:26 v3.0.0-dev.46 00:26:26 v3.0.0-dev.47 00:26:26 v3.0.0-dev.48 00:26:26 v3.0.0-dev.49 00:26:26 v3.0.0-dev.5 00:26:26 v3.0.0-dev.50 00:26:26 v3.0.0-dev.51 00:26:26 v3.0.0-dev.6 00:26:26 v3.0.0-dev.7 00:26:26 v3.0.0-dev.8 00:26:26 v3.0.0-dev.9 [Pipeline] sh 00:26:26 + lftools sign git-tag v3.0.0-dev.51 00:26:27 Signing Git tag with Sigul... 00:26:27 Signing v3.0.0-dev.51 [Pipeline] echo 00:26:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:26:27 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:26:27 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:26:27 $ docker stop --time=1 1a0844d3e7923376ed912c3d032c8d1e4cbfb72b2bf7fbe377dd333908ad79e6 00:26:29 $ docker rm -f --volumes 1a0844d3e7923376ed912c3d032c8d1e4cbfb72b2bf7fbe377dd333908ad79e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:26:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:26:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:26:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:26:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:26:29 prd-ubuntu20.04-docker-8c-8g-16846 does not seem to be running inside a container 00:26: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 00:26:30 $ docker top 525ce25201f2c8eaac55c89d05f1cf5577bd3f3233b33529865bc33b55536c5b -eo pid,comm 00:26: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). 00:26:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:26:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:26:30 [ssh-agent] Looking for ssh-agent implementation... 00:26:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:26:30 $ docker exec 525ce25201f2c8eaac55c89d05f1cf5577bd3f3233b33529865bc33b55536c5b ssh-agent 00:26:30 SSH_AUTH_SOCK=/tmp/ssh-EwwzUMx8uEeI/agent.33 00:26:30 SSH_AGENT_PID=39 00:26:30 Running ssh-add (command line suppressed) 00:26:30 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3344455080327115967.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3344455080327115967.key) 00:26:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:26:30 + git semver bump pre 00:26:31 2023-05-25 00:26:31,010 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:26:31 2023-05-25 00:26:31,010 [bump_version] DEBUG bumping version:3.0.0-dev.51 on axis:pre with prefix:dev 00:26:31 2023-05-25 00:26:31,011 [bump_version] DEBUG bumped version:3.0.0-dev.52 00:26:31 2023-05-25 00:26:31,011 [write_version] DEBUG write version:3.0.0-dev.52 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 00:26:31 2023-05-25 00:26:31,011 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:26:31 2023-05-25 00:26:31,011 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:26:31 2023-05-25 00:26:31,013 [execute] INFO git cat-file --batch-check 00:26:31 2023-05-25 00:26:31,013 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:26:31 2023-05-25 00:26:31,018 [execute] INFO git cat-file --batch 00:26:31 2023-05-25 00:26:31,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:26:31 2023-05-25 00:26:31,022 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:26:31 3.0.0-dev.52 [Pipeline] } 00:26:31 $ docker exec --env ******** --env ******** 525ce25201f2c8eaac55c89d05f1cf5577bd3f3233b33529865bc33b55536c5b ssh-agent -k 00:26:31 unset SSH_AUTH_SOCK; 00:26:31 unset SSH_AGENT_PID; 00:26:31 echo Agent pid 39 killed; 00:26:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:26:31 + git semver [Pipeline] } 00:26:31 $ docker stop --time=1 525ce25201f2c8eaac55c89d05f1cf5577bd3f3233b33529865bc33b55536c5b 00:26:33 $ docker rm -f --volumes 525ce25201f2c8eaac55c89d05f1cf5577bd3f3233b33529865bc33b55536c5b [Pipeline] // withDockerContainer [Pipeline] sh 00:26:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:26:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:26:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:26:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:26:33 prd-ubuntu20.04-docker-8c-8g-16846 does not seem to be running inside a container 00:26:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:26:34 $ docker top bdf5d08389e33d63c5179753bcc400a14e21f8c867386714480af1f2f558af50 -eo pid,comm 00:26:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:26:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:26:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:26:34 [ssh-agent] Looking for ssh-agent implementation... 00:26:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:26:34 $ docker exec bdf5d08389e33d63c5179753bcc400a14e21f8c867386714480af1f2f558af50 ssh-agent 00:26:34 SSH_AUTH_SOCK=/tmp/ssh-lbYnOwRGz5de/agent.31 00:26:34 SSH_AGENT_PID=37 00:26:34 Running ssh-add (command line suppressed) 00:26:34 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7169848353764324517.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7169848353764324517.key) 00:26:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:26:34 + git semver push 00:26:35 2023-05-25 00:26:34,989 [run_push] DEBUG push 00:26:35 2023-05-25 00:26:34,990 [execute] INFO git cat-file --batch-check 00:26:35 2023-05-25 00:26:34,990 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:26:35 2023-05-25 00:26:34,993 [execute] INFO git rev-list dd12fc32c9a17a1311090b2e6003b9b8aba6e750 -- 00:26:35 2023-05-25 00:26:34,994 [execute] DEBUG Popen(['git', 'rev-list', 'dd12fc32c9a17a1311090b2e6003b9b8aba6e750', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:26:35 2023-05-25 00:26:35,002 [execute] INFO git fetch -v origin 00:26:35 2023-05-25 00:26:35,003 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:26:35 2023-05-25 00:26:35,482 [run_push] DEBUG no remote changes detected 00:26:35 2023-05-25 00:26:35,483 [execute] INFO git push origin semver 00:26:35 2023-05-25 00:26:35,483 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:26:36 2023-05-25 00:26:36,265 [run_push] DEBUG push all version tags 00:26:36 2023-05-25 00:26:36,266 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:26:36 2023-05-25 00:26:36,266 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 00:26:37 2023-05-25 00:26:37,014 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:26:37 3.0.0-dev.52 [Pipeline] } 00:26:38 $ docker exec --env ******** --env ******** bdf5d08389e33d63c5179753bcc400a14e21f8c867386714480af1f2f558af50 ssh-agent -k 00:26:38 unset SSH_AUTH_SOCK; 00:26:38 unset SSH_AGENT_PID; 00:26:38 echo Agent pid 37 killed; 00:26:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:26:38 + git semver [Pipeline] } 00:26:38 $ docker stop --time=1 bdf5d08389e33d63c5179753bcc400a14e21f8c867386714480af1f2f558af50 00:26:40 $ docker rm -f --volumes bdf5d08389e33d63c5179753bcc400a14e21f8c867386714480af1f2f558af50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:26:40 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 00:26:40 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 00:26:40 total 16 00:26:40 drwxr-xr-x 3 root root 4096 May 25 00:14 . 00:26:40 drwxrwxr-x 10 jenkins jenkins 4096 May 25 00:26 .. 00:26:40 drwxr-xr-x 2 root root 4096 May 25 00:14 cost 00:26:40 -rw-r--r-- 1 root root 89 May 25 00:14 cost.csv 00:26:40 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 00:26:40 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 00:26:40 total 16 00:26:40 drwxr-xr-x 3 jenkins jenkins 4096 May 25 00:14 . 00:26:40 drwxrwxr-x 10 jenkins jenkins 4096 May 25 00:26 .. 00:26:40 drwxr-xr-x 2 jenkins jenkins 4096 May 25 00:14 cost 00:26:40 -rw-r--r-- 1 jenkins jenkins 89 May 25 00:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:26:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:26:41 ---> package-listing.sh 00:26:41 ++ facter osfamily 00:26:41 ++ tr '[:upper:]' '[:lower:]' 00:26:42 + OS_FAMILY=debian 00:26:42 + workspace=/w/workspace/exfoundry_device-virtual-go_main 00:26:42 + START_PACKAGES=/tmp/packages_start.txt 00:26:42 + END_PACKAGES=/tmp/packages_end.txt 00:26:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:26:42 + PACKAGES=/tmp/packages_start.txt 00:26:42 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 00:26:42 + PACKAGES=/tmp/packages_end.txt 00:26:42 + case "${OS_FAMILY}" in 00:26:42 + dpkg -l 00:26:42 + grep '^ii' 00:26:42 + '[' -f /tmp/packages_start.txt ']' 00:26:42 + '[' -f /tmp/packages_end.txt ']' 00:26:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:26:42 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 00:26:42 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 00:26:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 00:26:42 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:26:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:26:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:26:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:26:43 prd-ubuntu20.04-docker-8c-8g-16846 does not seem to be running inside a container 00:26:43 $ 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 00:26:43 $ docker top 70f2b4ee363fa69cc590cfa905573c3deddaba9b373c226bb2a0232e030a6b69 -eo pid,comm [Pipeline] { [Pipeline] sh 00:26:43 + touch /tmp/pre-build-complete [Pipeline] sh 00:26:43 + mkdir -p /var/log/sysstat [Pipeline] sh 00:26:44 + ls /var/log/sa-host 00:26:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:26:44 provisioning config files... 00:26:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4045481670437921149tmp [Pipeline] { [Pipeline] echo 00:26:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:26:44 ---> create-netrc.sh [Pipeline] } 00:26:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:26:45 ---> python-tools-install.sh [Pipeline] echo 00:26:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:26:45 ---> sudo-logs.sh 00:26:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:26:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:26:45 ---> job-cost.sh 00:26:45 lf-activate-venv: SKIPPING 00:26:45 DEBUG: total: 0.2199999988079071 00:26:45 INFO: Retrieving Stack Cost... 00:26:45 INFO: Retrieving Pricing Info for: v3-standard-8 00:26:46 INFO: Archiving Costs [Pipeline] echo 00:26:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:26:46 ---> logs-deploy.sh 00:26:46 lf-activate-venv: SKIPPING 00:26:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/123 00:26:46 INFO: archiving workspace using pattern(s): 00:26:47 Archives upload complete. 00:26:47 INFO: archiving logs to Nexus