Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 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-ssh5571347707025507846.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh14536088050428567940.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh11361850173444587385.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh1115590269989782190.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-ssh17456799124852598888.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2214’ Running on prd-ubuntu20.04-docker-8c-8g-2217 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 # timeout=10 Commit message: "refactor(snap): Refactor and upgrade to edgex-snap-hooks v3 (#328)" > git rev-list --no-walk ca0733bb9736aa55b8583960b75f1e287344907e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:35:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:35:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:35:59 ========================================================= 15:35:59 EdgeX Global Pipelines Version Info 15:35:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:36:00 ------------------- 15:36:00 stable info: 15:36:00 ------------------- 15:36:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:36:00 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:36:00 Message: update stable to v1.0.244 15:36:00 ------------------- 15:36:00 experimental info: 15:36:00 ------------------- 15:36:00 Commited By: **** collab-it+edgex@linuxfoundation.org 15:36:00 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:36:00 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ade53ff [Pipeline] echo 15:36:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:36:01 provisioning config files... 15:36:01 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12102144722957472241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:36:01 ---> docker-login.sh 15:36:01 nexus3.edgexfoundry.org:10001 15:36:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:01 Configure a credential helper to remove this warning. See 15:36:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:01 15:36:01 Login Succeeded 15:36:01 nexus3.edgexfoundry.org:10002 15:36:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:02 Configure a credential helper to remove this warning. See 15:36:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:02 15:36:02 Login Succeeded 15:36:02 nexus3.edgexfoundry.org:10003 15:36:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:02 Configure a credential helper to remove this warning. See 15:36:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:02 15:36:02 Login Succeeded 15:36:02 nexus3.edgexfoundry.org:10004 15:36:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:02 Configure a credential helper to remove this warning. See 15:36:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:02 15:36:02 Login Succeeded 15:36:02 docker.io 15:36:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:02 Configure a credential helper to remove this warning. See 15:36:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:02 15:36:02 Login Succeeded 15:36:02 ---> docker-login.sh ends [Pipeline] } 15:36:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:36:03 + git rev-list -1 --merges ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80~1..ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [Pipeline] echo 15:36:03 -----------> git rev-list -1 --merges ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80~1..ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [false] [Pipeline] sh 15:36:03 + git log --format=format:%s -1 ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [Pipeline] echo 15:36:03 ========================================================= 15:36:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:36:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:36:03 + git log --format=format:%s -1 ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [Pipeline] echo 15:36:03 [semverPrep] GIT_COMMIT: ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80, Commit Message: refactor(snap): Refactor and upgrade to edgex-snap-hooks v3 (#328) [Pipeline] echo 15:36:03 [semverPrep] This is not a build commit. [Pipeline] sh 15:36:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:36:04 + grep -v github /etc/ssh/ssh_known_hosts 15:36:04 + [ -e /tmp/ssh_known_hosts ] 15:36:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:36:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:36:04 + sudo tee -a /etc/ssh/ssh_known_hosts 15:36:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:36:04 15:36:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:36:05 0.1.4: Pulling from edgex-devops/py-git-semver 15:36:05 b85a868b505f: Pulling fs layer 15:36:05 e2be974225ed: Pulling fs layer 15:36:05 339a4e72a1f5: Pulling fs layer 15:36:05 988bab9f4d93: Pulling fs layer 15:36:05 1469e6f7b9e6: Pulling fs layer 15:36:05 eaf3925da568: Pulling fs layer 15:36:05 bab4dde63d76: Pulling fs layer 15:36:05 bde34c3a00c8: Pulling fs layer 15:36:05 b352a97aabf1: Pulling fs layer 15:36:05 4872d77fe225: Pulling fs layer 15:36:05 5851b861e8e6: Pulling fs layer 15:36:05 988bab9f4d93: Waiting 15:36:05 1469e6f7b9e6: Waiting 15:36:05 eaf3925da568: Waiting 15:36:05 bab4dde63d76: Waiting 15:36:05 bde34c3a00c8: Waiting 15:36:05 b352a97aabf1: Waiting 15:36:05 4872d77fe225: Waiting 15:36:05 5851b861e8e6: Waiting 15:36:05 e2be974225ed: Download complete 15:36:05 988bab9f4d93: Verifying Checksum 15:36:05 988bab9f4d93: Download complete 15:36:05 1469e6f7b9e6: Verifying Checksum 15:36:05 1469e6f7b9e6: Download complete 15:36:05 eaf3925da568: Verifying Checksum 15:36:05 eaf3925da568: Download complete 15:36:05 339a4e72a1f5: Verifying Checksum 15:36:05 339a4e72a1f5: Download complete 15:36:05 bde34c3a00c8: Verifying Checksum 15:36:05 bde34c3a00c8: Download complete 15:36:05 b352a97aabf1: Verifying Checksum 15:36:05 b352a97aabf1: Download complete 15:36:05 4872d77fe225: Verifying Checksum 15:36:05 4872d77fe225: Download complete 15:36:05 5851b861e8e6: Verifying Checksum 15:36:05 5851b861e8e6: Download complete 15:36:05 b85a868b505f: Download complete 15:36:05 bab4dde63d76: Verifying Checksum 15:36:05 bab4dde63d76: Download complete 15:36:06 b85a868b505f: Pull complete 15:36:06 e2be974225ed: Pull complete 15:36:07 339a4e72a1f5: Pull complete 15:36:07 988bab9f4d93: Pull complete 15:36:07 1469e6f7b9e6: Pull complete 15:36:07 eaf3925da568: Pull complete 15:36:09 bab4dde63d76: Pull complete 15:36:09 bde34c3a00c8: Pull complete 15:36:09 b352a97aabf1: Pull complete 15:36:09 4872d77fe225: Pull complete 15:36:09 5851b861e8e6: Pull complete 15:36:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:36:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:36:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:36:09 prd-ubuntu20.04-docker-8c-8g-2217 does not seem to be running inside a container 15:36:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:36:12 $ docker top 5f63c5c21b893d619fda704530348b43fd55e8b483b4d7b6b4224743f1db6adb -eo pid,comm 15:36:12 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). 15:36:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:36:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:36:12 [ssh-agent] Looking for ssh-agent implementation... 15:36:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:36:12 $ docker exec 5f63c5c21b893d619fda704530348b43fd55e8b483b4d7b6b4224743f1db6adb ssh-agent 15:36:13 SSH_AUTH_SOCK=/tmp/ssh-4zCPXdIzWhtE/agent.32 15:36:13 SSH_AGENT_PID=38 15:36:13 Running ssh-add (command line suppressed) 15:36:13 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6771524004149701883.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6771524004149701883.key) 15:36:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:36:13 + git tag --points-at HEAD [Pipeline] } 15:36:13 $ docker exec --env ******** --env ******** 5f63c5c21b893d619fda704530348b43fd55e8b483b4d7b6b4224743f1db6adb ssh-agent -k 15:36:13 unset SSH_AUTH_SOCK; 15:36:13 unset SSH_AGENT_PID; 15:36:13 echo Agent pid 38 killed; 15:36:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:36:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:36:13 [ssh-agent] Looking for ssh-agent implementation... 15:36:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:36:13 $ docker exec 5f63c5c21b893d619fda704530348b43fd55e8b483b4d7b6b4224743f1db6adb ssh-agent 15:36:13 SSH_AUTH_SOCK=/tmp/ssh-u77oMRo8lPZT/agent.70 15:36:13 SSH_AGENT_PID=76 15:36:13 Running ssh-add (command line suppressed) 15:36:13 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4267925660523059415.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4267925660523059415.key) 15:36:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:36:14 + git semver init 15:36:14 2023-01-13 15:36:14,440 [run_init] DEBUG init version:0.0.0 force:False 15:36:14 2023-01-13 15:36:14,441 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 15:36:14 2023-01-13 15:36:14,441 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 15:36:14 2023-01-13 15:36:14,442 [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) 15:36:15 2023-01-13 15:36:15,614 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 15:36:15 2023-01-13 15:36:15,614 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 15:36:15 2023-01-13 15:36:15,614 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:36:15 2023-01-13 15:36:15,615 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:36:15 3.0.0-dev.5 [Pipeline] } 15:36:15 $ docker exec --env ******** --env ******** 5f63c5c21b893d619fda704530348b43fd55e8b483b4d7b6b4224743f1db6adb ssh-agent -k 15:36:16 unset SSH_AUTH_SOCK; 15:36:16 unset SSH_AGENT_PID; 15:36:16 echo Agent pid 76 killed; 15:36:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:36:16 + git semver [Pipeline] } 15:36:16 $ docker stop --time=1 5f63c5c21b893d619fda704530348b43fd55e8b483b4d7b6b4224743f1db6adb 15:36:17 $ docker rm -f --volumes 5f63c5c21b893d619fda704530348b43fd55e8b483b4d7b6b4224743f1db6adb [Pipeline] // withDockerContainer [Pipeline] sh 15:36:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:36:18 Stashed 1 file(s) [Pipeline] echo 15:36:18 [edgeXSemver]: initialized semver on version 3.0.0-dev.5 [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 15:36:18 provisioning config files... 15:36:18 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14828042814880145950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:36:18 ---> docker-login.sh 15:36:18 nexus3.edgexfoundry.org:10001 15:36:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:18 Configure a credential helper to remove this warning. See 15:36:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:18 15:36:18 Login Succeeded 15:36:18 nexus3.edgexfoundry.org:10002 15:36:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:18 Configure a credential helper to remove this warning. See 15:36:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:18 15:36:18 Login Succeeded 15:36:18 nexus3.edgexfoundry.org:10003 15:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:19 Configure a credential helper to remove this warning. See 15:36:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:19 15:36:19 Login Succeeded 15:36:19 nexus3.edgexfoundry.org:10004 15:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:19 Configure a credential helper to remove this warning. See 15:36:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:19 15:36:19 Login Succeeded 15:36:19 docker.io 15:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:19 Configure a credential helper to remove this warning. See 15:36:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:19 15:36:19 Login Succeeded 15:36:19 ---> docker-login.sh ends [Pipeline] } 15:36:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:36:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:36:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:36:19 ========================================================= 15:36:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:36:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 15:36:20 Sending build context to Docker daemon 23.33MB 15:36:20 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 15:36:20 Step 2/12 : FROM ${BASE} AS builder 15:36:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:36:20 213ec9aee27d: Pulling fs layer 15:36:20 4583459ba037: Pulling fs layer 15:36:20 93c1e223e6f2: Pulling fs layer 15:36:20 53926ce57604: Pulling fs layer 15:36:20 21b2b0c7a3f4: Pulling fs layer 15:36:20 22ff95d597cd: Pulling fs layer 15:36:20 12d6caf4c0d1: Pulling fs layer 15:36:20 96b7cbca73a9: Pulling fs layer 15:36:20 a7acece74701: Pulling fs layer 15:36:20 12d6caf4c0d1: Waiting 15:36:20 96b7cbca73a9: Waiting 15:36:20 a7acece74701: Waiting 15:36:20 53926ce57604: Waiting 15:36:20 21b2b0c7a3f4: Waiting 15:36:20 22ff95d597cd: Waiting 15:36:20 93c1e223e6f2: Verifying Checksum 15:36:20 93c1e223e6f2: Download complete 15:36:20 4583459ba037: Download complete 15:36:20 21b2b0c7a3f4: Verifying Checksum 15:36:20 21b2b0c7a3f4: Download complete 15:36:20 22ff95d597cd: Verifying Checksum 15:36:20 22ff95d597cd: Download complete 15:36:20 213ec9aee27d: Download complete 15:36:20 12d6caf4c0d1: Download complete 15:36:20 213ec9aee27d: Pull complete 15:36:21 a7acece74701: Verifying Checksum 15:36:21 a7acece74701: Download complete 15:36:21 4583459ba037: Pull complete 15:36:21 93c1e223e6f2: Pull complete 15:36:21 53926ce57604: Verifying Checksum 15:36:21 53926ce57604: Download complete 15:36:21 96b7cbca73a9: Verifying Checksum 15:36:25 53926ce57604: Pull complete 15:36:25 21b2b0c7a3f4: Pull complete 15:36:25 22ff95d597cd: Pull complete 15:36:25 12d6caf4c0d1: Pull complete 15:36:27 96b7cbca73a9: Pull complete 15:36:28 a7acece74701: Pull complete 15:36:28 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:36:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:36:28 ---> db6d94c90886 15:36:28 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:36:33 Still waiting to schedule task 15:36:33 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2215’ 15:36:34 ---> Running in fa34e3f8da66 15:36:35 Removing intermediate container fa34e3f8da66 15:36:35 ---> 7106c5adc29e 15:36:35 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:36:35 ---> Running in 0b9fa5830392 15:36:35 Removing intermediate container 0b9fa5830392 15:36:35 ---> ee4465ba54bf 15:36:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:36:35 ---> Running in 3e4b965c3c69 15:36:35 Removing intermediate container 3e4b965c3c69 15:36:35 ---> 3e3a1b3acb45 15:36:35 Step 6/12 : WORKDIR /device-virtual-go 15:36:36 ---> Running in b875e0e3170a 15:36:36 Removing intermediate container b875e0e3170a 15:36:36 ---> dc7eb7b7b855 15:36:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:36:36 ---> Running in 7c31b6906b5c 15:36:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:36:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:36:36 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:36:36 (2/4) Installing libedit (20210910.3.1-r0) 15:36:36 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:36:36 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:36:36 Executing busybox-1.35.0-r17.trigger 15:36:36 OK: 216 MiB in 55 packages 15:36:38 Removing intermediate container 7c31b6906b5c 15:36:38 ---> 83a51d3c1d7b 15:36:38 Step 8/12 : COPY go.mod vendor* ./ 15:36:38 ---> 1c2360a4b4f0 15:36:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:36:38 ---> Running in f6dc9e5896f5 15:37:10 Removing intermediate container f6dc9e5896f5 15:37:10 ---> 93319f3e865b 15:37:10 Step 10/12 : COPY . . 15:37:10 ---> ae781d7626c1 15:37:10 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:37:10 ---> Running in a9ad5ce81e3f 15:37:10 Removing intermediate container a9ad5ce81e3f 15:37:10 ---> c129db4b95b3 15:37:10 Step 12/12 : RUN $MAKE 15:37:10 ---> Running in 6d2ff7de196d 15:37:10 noop 15:37:10 Removing intermediate container 6d2ff7de196d 15:37:10 ---> 926dac7e70f8 15:37:10 Successfully built 926dac7e70f8 15:37:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:37:11 + docker inspect -f . ci-base-image-x86_64 15:37:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:37:11 prd-ubuntu20.04-docker-8c-8g-2217 does not seem to be running inside a container 15:37:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:37:11 $ docker top 7abbd5ba76421e625310890743ac45992a31d6a6d0f6c6d3b50f9a05dd1fe5c2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:37:12 + go version 15:37:12 go version go1.18.7 linux/amd64 [Pipeline] } 15:37:12 $ docker stop --time=1 7abbd5ba76421e625310890743ac45992a31d6a6d0f6c6d3b50f9a05dd1fe5c2 15:37:13 $ docker rm -f --volumes 7abbd5ba76421e625310890743ac45992a31d6a6d0f6c6d3b50f9a05dd1fe5c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:37:13 + docker inspect -f . ci-base-image-x86_64 15:37:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:37:13 prd-ubuntu20.04-docker-8c-8g-2217 does not seem to be running inside a container 15:37:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:37:14 $ docker top 0d5bb7f7e5a7529022805818973637ec32f23412510a9ee8e48dc886eb04a2cc -eo pid,comm [Pipeline] { [Pipeline] sh 15:37:14 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 15:37:14 + make test 15:37:14 go test ./... -coverprofile=coverage.out 15:37:15 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:37:25 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:37:25 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.033s coverage: 65.7% of statements 15:37:31 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 15:37:31 go vet ./... 15:37:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:37:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:37:35 ./bin/test-attribution-txt.sh [Pipeline] echo 15:37:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:37:35 $ docker stop --time=1 0d5bb7f7e5a7529022805818973637ec32f23412510a9ee8e48dc886eb04a2cc 15:37:37 $ docker rm -f --volumes 0d5bb7f7e5a7529022805818973637ec32f23412510a9ee8e48dc886eb04a2cc [Pipeline] // withDockerContainer [Pipeline] sh 15:37:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:37:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:37:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:37:39 + ls -al . 15:37:39 total 204 15:37:39 drwxrwxr-x 9 jenkins jenkins 4096 Jan 13 15:37 . 15:37:39 drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 15:35 .. 15:37:39 drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 15:37 .git 15:37:39 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 15:35 .github 15:37:39 -rw-rw-r-- 1 jenkins jenkins 337 Jan 13 15:35 .gitignore 15:37:39 -rw-rw-r-- 1 jenkins jenkins 41 Jan 13 15:35 .golangci.yml 15:37:39 drwxr-xr-x 3 jenkins jenkins 4096 Jan 13 15:36 .semver 15:37:39 -rw-rw-r-- 1 jenkins jenkins 8423 Jan 13 15:35 Attribution.txt 15:37:39 -rw-rw-r-- 1 jenkins jenkins 11367 Jan 13 15:35 CHANGELOG.md 15:37:39 -rw-rw-r-- 1 jenkins jenkins 1646 Jan 13 15:35 Dockerfile 15:37:39 -rw-rw-r-- 1 jenkins jenkins 677 Jan 13 15:35 GOVERNANCE.md 15:37:39 -rw-rw-r-- 1 jenkins jenkins 660 Jan 13 15:35 Jenkinsfile 15:37:39 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 13 15:35 LICENSE 15:37:39 -rw-rw-r-- 1 jenkins jenkins 1661 Jan 13 15:35 Makefile 15:37:39 -rw-rw-r-- 1 jenkins jenkins 623 Jan 13 15:35 OWNERS.md 15:37:39 -rw-rw-r-- 1 jenkins jenkins 3578 Jan 13 15:35 README.md 15:37:39 -rw-rw-r-- 1 jenkins jenkins 11 Jan 13 15:36 VERSION 15:37:39 drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 15:35 bin 15:37:39 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 15:35 cmd 15:37:39 -rw-r--r-- 1 jenkins jenkins 44128 Jan 13 15:37 coverage.out 15:37:39 -rw-rw-r-- 1 jenkins jenkins 3340 Jan 13 15:35 go.mod 15:37:39 -rw-rw-r-- 1 jenkins jenkins 44412 Jan 13 15:35 go.sum 15:37:39 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 15:35 internal 15:37:39 drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 15:35 snap 15:37:39 -rw-rw-r-- 1 jenkins jenkins 235 Jan 13 15:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:37:39 + 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=ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 --label arch=amd64 --label version=3.0.0-dev.5 . 15:37:39 Sending build context to Docker daemon 23.38MB 15:37:39 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 15:37:39 Step 2/25 : FROM ${BASE} AS builder 15:37:39 ---> 926dac7e70f8 15:37:39 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:37:39 ---> Running in bb14ee82c926 15:37:39 Removing intermediate container bb14ee82c926 15:37:39 ---> 0e20ba23b5c4 15:37:39 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:37:39 ---> Running in bb2bd94893b0 15:37:39 Removing intermediate container bb2bd94893b0 15:37:39 ---> 4b8756fca9fb 15:37:39 Step 5/25 : ARG ADD_BUILD_TAGS="" 15:37:39 ---> Running in 198586d9f76e 15:37:39 Removing intermediate container 198586d9f76e 15:37:39 ---> f29c2d55c51c 15:37:39 Step 6/25 : WORKDIR /device-virtual-go 15:37:39 ---> Running in 92a1dd9cf953 15:37:39 Removing intermediate container 92a1dd9cf953 15:37:39 ---> d275ee8f90b1 15:37:39 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:37:40 ---> Running in ec49550b438b 15:37:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:37:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:37:40 OK: 216 MiB in 55 packages 15:37:41 Removing intermediate container ec49550b438b 15:37:41 ---> 2180d9b6cfea 15:37:41 Step 8/25 : COPY go.mod vendor* ./ 15:37:41 ---> 449b5cbfd255 15:37:41 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:37:41 ---> Running in 0674512306e5 15:37:41 Removing intermediate container 0674512306e5 15:37:41 ---> 25d08126b283 15:37:41 Step 10/25 : COPY . . 15:37:42 ---> 606ba8eb09cb 15:37:42 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:37:42 ---> Running in ac3c58f03fc5 15:37:42 Removing intermediate container ac3c58f03fc5 15:37:42 ---> a31b63aa3b9c 15:37:42 Step 12/25 : RUN $MAKE 15:37:42 ---> Running in 2112231ac83f 15:37:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.5" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 15:38:04 Removing intermediate container 2112231ac83f 15:38:04 ---> 0140ee143f2d 15:38:04 Step 13/25 : FROM alpine:3.16 15:38:04 3.16: Pulling from library/alpine 15:38:04 ca7dd9ec2225: Pulling fs layer 15:38:04 ca7dd9ec2225: Download complete 15:38:04 ca7dd9ec2225: Pull complete 15:38:04 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 15:38:04 Status: Downloaded newer image for alpine:3.16 15:38:04 ---> bfe296a52501 15:38:04 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 15:38:04 ---> Running in 3bc0b2a5f29f 15:38:04 Removing intermediate container 3bc0b2a5f29f 15:38:04 ---> 37d800bc5270 15:38:04 Step 15/25 : RUN apk add --update --no-cache dumb-init 15:38:04 ---> Running in 1aab389adf63 15:38:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:38:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:38:05 (1/1) Installing dumb-init (1.2.5-r1) 15:38:05 Executing busybox-1.35.0-r17.trigger 15:38:05 OK: 6 MiB in 15 packages 15:38:06 Removing intermediate container 1aab389adf63 15:38:06 ---> 576eadfd6cc7 15:38:06 Step 16/25 : WORKDIR / 15:38:06 ---> Running in 9de713bd13ed 15:38:06 Removing intermediate container 9de713bd13ed 15:38:06 ---> 3de23b6c7e46 15:38:06 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 15:38:06 ---> 23c1d3410c36 15:38:06 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 15:38:06 ---> 0a4fb0e5808a 15:38:06 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 15:38:07 ---> a659cd0084a9 15:38:07 Step 20/25 : EXPOSE 59900 15:38:07 ---> Running in 9d428cdf978a 15:38:07 Removing intermediate container 9d428cdf978a 15:38:07 ---> 981a840e0fc9 15:38:07 Step 21/25 : ENTRYPOINT ["/device-virtual"] 15:38:07 ---> Running in 2aca0186d244 15:38:07 Removing intermediate container 2aca0186d244 15:38:07 ---> 49ca68809b6c 15:38:07 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:38:07 ---> Running in 302a37af0629 15:38:07 Removing intermediate container 302a37af0629 15:38:07 ---> 695dd50dddcd 15:38:07 Step 23/25 : LABEL arch=amd64 15:38:07 ---> Running in 2330f7e80521 15:38:07 Removing intermediate container 2330f7e80521 15:38:07 ---> b190b3902c37 15:38:07 Step 24/25 : LABEL git_sha=ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 15:38:07 ---> Running in ba4814d01766 15:38:07 Removing intermediate container ba4814d01766 15:38:07 ---> 27eb18ebded8 15:38:07 Step 25/25 : LABEL version=3.0.0-dev.5 15:38:07 ---> Running in 15812da79d62 15:38:07 Removing intermediate container 15812da79d62 15:38:07 ---> 2aeb33caf965 15:38:07 [Warning] One or more build-args [ARCH] were not consumed 15:38:07 Successfully built 2aeb33caf965 15:38:07 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:38:07 provisioning config files... 15:38:07 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14842092521176171282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:38:08 ---> docker-login.sh 15:38:08 nexus3.edgexfoundry.org:10001 15:38:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:08 Configure a credential helper to remove this warning. See 15:38:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:08 15:38:08 Login Succeeded 15:38:08 nexus3.edgexfoundry.org:10002 15:38:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:08 Configure a credential helper to remove this warning. See 15:38:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:08 15:38:08 Login Succeeded 15:38:08 nexus3.edgexfoundry.org:10003 15:38:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:08 Configure a credential helper to remove this warning. See 15:38:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:08 15:38:08 Login Succeeded 15:38:08 nexus3.edgexfoundry.org:10004 15:38:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:08 Configure a credential helper to remove this warning. See 15:38:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:08 15:38:08 Login Succeeded 15:38:08 docker.io 15:38:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:09 Configure a credential helper to remove this warning. See 15:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:09 15:38:09 Login Succeeded 15:38:09 ---> docker-login.sh ends [Pipeline] } 15:38:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:38:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:38:09 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 15:38:09 ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 15:38:09 latest 15:38:09 3.0.0-dev.5 15:38:09 ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80-3.0.0-dev.5 15:38:09 main 15:38:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:09 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 15:38:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 15:38:09 cef61ca3d792: Preparing 15:38:09 b145dcc96e9a: Preparing 15:38:09 e6c88776a5b7: Preparing 15:38:09 10669df9db24: Preparing 15:38:09 e5e13b0c77cb: Preparing 15:38:09 e5e13b0c77cb: Layer already exists 15:38:09 10669df9db24: Pushed 15:38:09 e6c88776a5b7: Pushed 15:38:09 b145dcc96e9a: Pushed 15:38:12 cef61ca3d792: Pushed 15:38:12 ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80: digest: sha256:61336b4ab7e9239fb48116f9dbd1b63e7f7a2da29eace8a056cdf1483e746af5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:12 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:13 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 15:38:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 15:38:13 cef61ca3d792: Preparing 15:38:13 b145dcc96e9a: Preparing 15:38:13 e6c88776a5b7: Preparing 15:38:13 10669df9db24: Preparing 15:38:13 e5e13b0c77cb: Preparing 15:38:13 e5e13b0c77cb: Layer already exists 15:38:13 cef61ca3d792: Layer already exists 15:38:13 e6c88776a5b7: Layer already exists 15:38:13 b145dcc96e9a: Layer already exists 15:38:13 10669df9db24: Layer already exists 15:38:13 latest: digest: sha256:61336b4ab7e9239fb48116f9dbd1b63e7f7a2da29eace8a056cdf1483e746af5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:14 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.5 15:38:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 15:38:14 cef61ca3d792: Preparing 15:38:14 b145dcc96e9a: Preparing 15:38:14 e6c88776a5b7: Preparing 15:38:14 10669df9db24: Preparing 15:38:14 e5e13b0c77cb: Preparing 15:38:14 b145dcc96e9a: Layer already exists 15:38:14 e5e13b0c77cb: Layer already exists 15:38:14 10669df9db24: Layer already exists 15:38:14 cef61ca3d792: Layer already exists 15:38:14 e6c88776a5b7: Layer already exists 15:38:14 3.0.0-dev.5: digest: sha256:61336b4ab7e9239fb48116f9dbd1b63e7f7a2da29eace8a056cdf1483e746af5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:14 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80-3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:15 + docker push nexus3.edgexfoundry.org:10004/device-virtual:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80-3.0.0-dev.5 15:38:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 15:38:15 cef61ca3d792: Preparing 15:38:15 b145dcc96e9a: Preparing 15:38:15 e6c88776a5b7: Preparing 15:38:15 10669df9db24: Preparing 15:38:15 e5e13b0c77cb: Preparing 15:38:15 cef61ca3d792: Layer already exists 15:38:15 e6c88776a5b7: Layer already exists 15:38:15 b145dcc96e9a: Layer already exists 15:38:15 e5e13b0c77cb: Layer already exists 15:38:15 10669df9db24: Layer already exists 15:38:15 ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80-3.0.0-dev.5: digest: sha256:61336b4ab7e9239fb48116f9dbd1b63e7f7a2da29eace8a056cdf1483e746af5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:15 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:15 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 15:38:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 15:38:15 cef61ca3d792: Preparing 15:38:15 b145dcc96e9a: Preparing 15:38:15 e6c88776a5b7: Preparing 15:38:15 10669df9db24: Preparing 15:38:15 e5e13b0c77cb: Preparing 15:38:15 e6c88776a5b7: Layer already exists 15:38:15 b145dcc96e9a: Layer already exists 15:38:15 cef61ca3d792: Layer already exists 15:38:15 10669df9db24: Layer already exists 15:38:15 e5e13b0c77cb: Layer already exists 15:38:15 main: digest: sha256:61336b4ab7e9239fb48116f9dbd1b63e7f7a2da29eace8a056cdf1483e746af5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:38:16 ===================================================== [Pipeline] echo 15:38:16 taggedImages: 15:38:16 - nexus3.edgexfoundry.org:10004/device-virtual:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 15:38:16 - nexus3.edgexfoundry.org:10004/device-virtual:latest 15:38:16 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.5 15:38:16 - nexus3.edgexfoundry.org:10004/device-virtual:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80-3.0.0-dev.5 15:38:16 - 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 15:38:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:38:16 15:38:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:38:17 latest: Pulling from edgex-lftools-log-publisher 15:38:17 5eb5b503b376: Pulling fs layer 15:38:17 5c69ac0246d0: Pulling fs layer 15:38:17 ec43610c2a17: Pulling fs layer 15:38:17 3a2ae6a8a46f: Pulling fs layer 15:38:17 33b1e0a273af: Pulling fs layer 15:38:17 3a2ae6a8a46f: Waiting 15:38:17 5d3b04190fa2: Pulling fs layer 15:38:17 33b1e0a273af: Waiting 15:38:17 2f39f015ded8: Pulling fs layer 15:38:17 5d3b04190fa2: Waiting 15:38:17 2f39f015ded8: Waiting 15:38:17 5c69ac0246d0: Verifying Checksum 15:38:17 5c69ac0246d0: Download complete 15:38:17 3a2ae6a8a46f: Download complete 15:38:17 ec43610c2a17: Verifying Checksum 15:38:17 ec43610c2a17: Download complete 15:38:17 5d3b04190fa2: Verifying Checksum 15:38:17 5d3b04190fa2: Download complete 15:38:17 33b1e0a273af: Verifying Checksum 15:38:17 33b1e0a273af: Download complete 15:38:17 5eb5b503b376: Verifying Checksum 15:38:17 5eb5b503b376: Download complete 15:38:18 2f39f015ded8: Download complete 15:38:19 5eb5b503b376: Pull complete 15:38:19 5c69ac0246d0: Pull complete 15:38:19 ec43610c2a17: Pull complete 15:38:19 3a2ae6a8a46f: Pull complete 15:38:19 33b1e0a273af: Pull complete 15:38:20 5d3b04190fa2: Pull complete 15:38:25 2f39f015ded8: Pull complete 15:38:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:38:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:38:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:38:25 prd-ubuntu20.04-docker-8c-8g-2217 does not seem to be running inside a container 15:38:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:38:30 $ docker top 3ed9800bf5f3ee4c4ffe144f516245fc2b00520c5ba6295fe944257df4ef37ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:38:31 ---> job-cost.sh 15:38:31 lf-activate-venv: SKIPPING 15:38:31 INFO: No Stack... 15:38:31 INFO: Retrieving Pricing Info for: v3-standard-8 15:38:31 INFO: Archiving Costs [Pipeline] sh 15:38:32 + cut -d, -f6 15:38:32 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [Pipeline] lock 15:38:32 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-76-stack-cost] 15:38:32 Resource [jenkins-edgexfoundry-device-virtual-go-main-76-stack-cost] did not exist. Created. 15:38:32 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:38:32 + echo total: 0.2199999988079071 [Pipeline] stash 15:38:32 Stashed 1 file(s) [Pipeline] } 15:38:32 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-76-stack-cost] [Pipeline] // lock [Pipeline] } 15:38:32 $ docker stop --time=1 3ed9800bf5f3ee4c4ffe144f516245fc2b00520c5ba6295fe944257df4ef37ed 15:38:33 $ docker rm -f --volumes 3ed9800bf5f3ee4c4ffe144f516245fc2b00520c5ba6295fe944257df4ef37ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:39:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2220 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 15:39:37 Running in /w/workspace/device-virtual-go/76 [Pipeline] { [Pipeline] checkout 15:39:37 The recommended git tool is: git 15:39:43 using credential edgex-jenkins-ssh 15:39:43 Cloning the remote Git repository 15:39:44 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 15:39:44 > git init /w/workspace/device-virtual-go/76 # timeout=10 15:39:44 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:39:44 > git --version # timeout=10 15:39:44 > git --version # 'git version 2.25.1' 15:39:44 using GIT_SSH to set credentials SSH Credentials for GitHub 15:39:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:39:46 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:39:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:39:47 Avoid second fetch 15:39:47 Checking out Revision ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 (main) 15:39:47 > git config core.sparsecheckout # timeout=10 15:39:47 > git checkout -f ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 # timeout=10 15:39:48 Commit message: "refactor(snap): Refactor and upgrade to edgex-snap-hooks v3 (#328)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:39:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:39:49 % Total % Received % Xferd Average Speed Time Time Time Current 15:39:49 Dload Upload Total Spent Left Speed 15:39:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 15:39:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:39:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:39:50 + sudo tee /etc/docker/daemon.new 15:39:50 { 15:39:50 "registry-mirrors": [ 15:39:50 "https://nexus3.edgexfoundry.org:10001" 15:39:50 ], 15:39:50 "bip": "10.250.0.254/24", 15:39:50 "hosts": [ 15:39:50 "tcp://0.0.0.0:5555", 15:39:50 "unix:///var/run/docker.sock" 15:39:50 ], 15:39:50 "mtu": 1458, 15:39:50 "selinux-enabled": true, 15:39:50 "seccomp-profile": "/etc/docker/seccomp.json" 15:39:50 } [Pipeline] sh 15:39:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:39:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:40:09 provisioning config files... 15:40:09 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/76@tmp/config5878370056699670245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:40:09 ---> docker-login.sh 15:40:09 nexus3.edgexfoundry.org:10001 15:40:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:10 Configure a credential helper to remove this warning. See 15:40:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:10 15:40:10 Login Succeeded 15:40:10 nexus3.edgexfoundry.org:10002 15:40:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:10 Configure a credential helper to remove this warning. See 15:40:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:10 15:40:10 Login Succeeded 15:40:10 nexus3.edgexfoundry.org:10003 15:40:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:11 Configure a credential helper to remove this warning. See 15:40:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:11 15:40:11 Login Succeeded 15:40:11 nexus3.edgexfoundry.org:10004 15:40:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:11 Configure a credential helper to remove this warning. See 15:40:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:11 15:40:11 Login Succeeded 15:40:11 docker.io 15:40:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:11 Configure a credential helper to remove this warning. See 15:40:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:11 15:40:11 Login Succeeded 15:40:11 ---> docker-login.sh ends [Pipeline] } 15:40:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:40:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:40:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:40:12 ========================================================= 15:40:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:40:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:40:12 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 15:40:12 Sending build context to Docker daemon 11.82MB 15:40:13 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 15:40:13 Step 2/12 : FROM ${BASE} AS builder 15:40:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:40:13 9b18e9b68314: Pulling fs layer 15:40:13 35d82f9e3411: Pulling fs layer 15:40:13 e16973657156: Pulling fs layer 15:40:13 fc693d55d65f: Pulling fs layer 15:40:13 7e9fc2657dce: Pulling fs layer 15:40:13 dda99020689f: Pulling fs layer 15:40:13 db1c61fa0a46: Pulling fs layer 15:40:13 891c053d2c06: Pulling fs layer 15:40:13 dda99020689f: Waiting 15:40:13 db1c61fa0a46: Waiting 15:40:13 891c053d2c06: Waiting 15:40:13 fc693d55d65f: Waiting 15:40:13 e16973657156: Verifying Checksum 15:40:13 e16973657156: Download complete 15:40:13 35d82f9e3411: Verifying Checksum 15:40:13 35d82f9e3411: Download complete 15:40:13 7e9fc2657dce: Download complete 15:40:13 dda99020689f: Verifying Checksum 15:40:13 dda99020689f: Download complete 15:40:13 9b18e9b68314: Download complete 15:40:14 9b18e9b68314: Pull complete 15:40:14 891c053d2c06: Verifying Checksum 15:40:14 891c053d2c06: Download complete 15:40:14 35d82f9e3411: Pull complete 15:40:15 e16973657156: Pull complete 15:40:15 db1c61fa0a46: Verifying Checksum 15:40:15 db1c61fa0a46: Download complete 15:40:16 fc693d55d65f: Verifying Checksum 15:40:16 fc693d55d65f: Download complete 15:40:28 fc693d55d65f: Pull complete 15:40:28 7e9fc2657dce: Pull complete 15:40:29 dda99020689f: Pull complete 15:40:35 db1c61fa0a46: Pull complete 15:40:37 891c053d2c06: Pull complete 15:40:37 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 15:40:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:40:37 ---> f96f9c87975a 15:40:37 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:40:39 ---> Running in 8eb783f48ec2 15:40:39 Removing intermediate container 8eb783f48ec2 15:40:39 ---> 01e679f1d410 15:40:39 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:40:39 ---> Running in 94e1126fd277 15:40:40 Removing intermediate container 94e1126fd277 15:40:40 ---> ee22c3fa4006 15:40:40 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:40:40 ---> Running in fe3d488ba6ef 15:40:40 Removing intermediate container fe3d488ba6ef 15:40:40 ---> 0ac03c6cdf1f 15:40:40 Step 6/12 : WORKDIR /device-virtual-go 15:40:40 ---> Running in 8a292fba636d 15:40:41 Removing intermediate container 8a292fba636d 15:40:41 ---> ec0ef84e1b49 15:40:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:40:41 ---> Running in 8f9fd5fb13ad 15:40:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:40:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:40:43 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:40:43 (2/4) Installing libedit (20210910.3.1-r0) 15:40:43 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:40:44 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:40:44 Executing busybox-1.35.0-r17.trigger 15:40:44 OK: 226 MiB in 55 packages 15:40:45 Removing intermediate container 8f9fd5fb13ad 15:40:45 ---> bbc1fefb1682 15:40:45 Step 8/12 : COPY go.mod vendor* ./ 15:40:45 ---> 6485ae7b6123 15:40:45 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:40:45 ---> Running in 8f43ba72b8de 15:41:42 Removing intermediate container 8f43ba72b8de 15:41:42 ---> e8035e2ba4b1 15:41:42 Step 10/12 : COPY . . 15:41:42 ---> 3e0ba2704c77 15:41:42 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:41:42 ---> Running in 33b50b743f38 15:41:42 Removing intermediate container 33b50b743f38 15:41:42 ---> ea051dd91934 15:41:42 Step 12/12 : RUN $MAKE 15:41:42 ---> Running in adad8f4c19ae 15:41:42 noop 15:41:44 Removing intermediate container adad8f4c19ae 15:41:44 ---> c3af3fb7a39a 15:41:44 Successfully built c3af3fb7a39a 15:41:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:45 + docker inspect -f . ci-base-image-arm64 15:41:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:41:45 prd-ubuntu20.04-docker-arm64-4c-16g-2220 does not seem to be running inside a container 15:41:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/76 -v /w/workspace/device-virtual-go/76:/w/workspace/device-virtual-go/76:rw,z -v /w/workspace/device-virtual-go/76@tmp:/w/workspace/device-virtual-go/76@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 15:41:46 $ docker top afb272a9f4941454398573d14117f98469d9c7780bdfa23880ae386b8fec50a3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:41:47 + go version 15:41:47 go version go1.18.7 linux/arm64 [Pipeline] } 15:41:47 $ docker stop --time=1 afb272a9f4941454398573d14117f98469d9c7780bdfa23880ae386b8fec50a3 15:41:49 $ docker rm -f --volumes afb272a9f4941454398573d14117f98469d9c7780bdfa23880ae386b8fec50a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:49 + docker inspect -f . ci-base-image-arm64 15:41:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:41:50 prd-ubuntu20.04-docker-arm64-4c-16g-2220 does not seem to be running inside a container 15:41:50 $ 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/76 -v /w/workspace/device-virtual-go/76:/w/workspace/device-virtual-go/76:rw,z -v /w/workspace/device-virtual-go/76@tmp:/w/workspace/device-virtual-go/76@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 15:41:51 $ docker top 91d5361031d06b7bc3739893b034eec6b9f9dd9d52d295b0526aed7ba2d78a96 -eo pid,comm [Pipeline] { [Pipeline] sh 15:41:52 + git config --global --add safe.directory /w/workspace/device-virtual-go/76 [Pipeline] fileExists [Pipeline] sh 15:41:52 + make test 15:41:52 go test ./... -coverprofile=coverage.out 15:41:54 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:43:31 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:43:31 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.137s coverage: 65.7% of statements 15:43:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:43:31 go vet ./... 15:43:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:43:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:43:46 ./bin/test-attribution-txt.sh [Pipeline] echo 15:43:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:43:47 $ docker stop --time=1 91d5361031d06b7bc3739893b034eec6b9f9dd9d52d295b0526aed7ba2d78a96 15:43:49 $ docker rm -f --volumes 91d5361031d06b7bc3739893b034eec6b9f9dd9d52d295b0526aed7ba2d78a96 [Pipeline] // withDockerContainer [Pipeline] sh 15:43:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:43:50 Warning: overwriting stash ‘coverage-report’ 15:43:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:43:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:43:51 + ls -al . 15:43:51 total 200 15:43:51 drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 15:41 . 15:43:51 drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 15:39 .. 15:43:51 drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 15:39 .git 15:43:51 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 15:39 .github 15:43:51 -rw-rw-r-- 1 jenkins jenkins 337 Jan 13 15:39 .gitignore 15:43:51 -rw-rw-r-- 1 jenkins jenkins 41 Jan 13 15:39 .golangci.yml 15:43:51 -rw-rw-r-- 1 jenkins jenkins 8423 Jan 13 15:39 Attribution.txt 15:43:51 -rw-rw-r-- 1 jenkins jenkins 11367 Jan 13 15:39 CHANGELOG.md 15:43:51 -rw-rw-r-- 1 jenkins jenkins 1646 Jan 13 15:39 Dockerfile 15:43:51 -rw-rw-r-- 1 jenkins jenkins 677 Jan 13 15:39 GOVERNANCE.md 15:43:51 -rw-rw-r-- 1 jenkins jenkins 660 Jan 13 15:39 Jenkinsfile 15:43:51 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 13 15:39 LICENSE 15:43:51 -rw-rw-r-- 1 jenkins jenkins 1661 Jan 13 15:39 Makefile 15:43:51 -rw-rw-r-- 1 jenkins jenkins 623 Jan 13 15:39 OWNERS.md 15:43:51 -rw-rw-r-- 1 jenkins jenkins 3578 Jan 13 15:39 README.md 15:43:51 -rw-rw-r-- 1 jenkins jenkins 11 Jan 13 15:36 VERSION 15:43:51 drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 15:39 bin 15:43:51 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 15:39 cmd 15:43:51 -rw-r--r-- 1 jenkins jenkins 44128 Jan 13 15:43 coverage.out 15:43:51 -rw-rw-r-- 1 jenkins jenkins 3340 Jan 13 15:39 go.mod 15:43:51 -rw-rw-r-- 1 jenkins jenkins 44412 Jan 13 15:39 go.sum 15:43:51 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 15:39 internal 15:43:51 drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 15:39 snap 15:43:51 -rw-rw-r-- 1 jenkins jenkins 235 Jan 13 15:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:51 + 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=ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 --label arch=arm64 --label version=3.0.0-dev.5 . 15:43:52 Sending build context to Docker daemon 11.87MB 15:43:52 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 15:43:52 Step 2/25 : FROM ${BASE} AS builder 15:43:52 ---> c3af3fb7a39a 15:43:52 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:43:52 ---> Running in fcc42107636c 15:43:52 Removing intermediate container fcc42107636c 15:43:52 ---> 824ef7a69e12 15:43:52 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:43:52 ---> Running in d17d6508e686 15:43:53 Removing intermediate container d17d6508e686 15:43:53 ---> 2e408f782c7e 15:43:53 Step 5/25 : ARG ADD_BUILD_TAGS="" 15:43:53 ---> Running in ae8ad9424d84 15:43:53 Removing intermediate container ae8ad9424d84 15:43:53 ---> 6bffea51a36e 15:43:53 Step 6/25 : WORKDIR /device-virtual-go 15:43:53 ---> Running in d60ce0bef8f4 15:43:55 Removing intermediate container d60ce0bef8f4 15:43:55 ---> 0af5aa912b2e 15:43:55 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:43:55 ---> Running in 5916f2b5c447 15:43:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:43:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:43:58 OK: 226 MiB in 55 packages 15:43:59 Removing intermediate container 5916f2b5c447 15:43:59 ---> f19350d52b41 15:43:59 Step 8/25 : COPY go.mod vendor* ./ 15:43:59 ---> f505debeeaaa 15:43:59 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:43:59 ---> Running in bfcc13fb15e8 15:44:02 Removing intermediate container bfcc13fb15e8 15:44:02 ---> c5fb69e94cd4 15:44:02 Step 10/25 : COPY . . 15:44:03 ---> 32c327e5ee95 15:44:03 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:44:03 ---> Running in d24ff602986f 15:44:03 Removing intermediate container d24ff602986f 15:44:03 ---> 42fd22d204fd 15:44:03 Step 12/25 : RUN $MAKE 15:44:03 ---> Running in 77f2325bd593 15:44:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.5" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 15:46:26 Removing intermediate container 77f2325bd593 15:46:26 ---> 1ba8fbba58f3 15:46:26 Step 13/25 : FROM alpine:3.16 15:46:26 3.16: Pulling from library/alpine 15:46:26 6875df1f5354: Pulling fs layer 15:46:26 6875df1f5354: Verifying Checksum 15:46:26 6875df1f5354: Download complete 15:46:26 6875df1f5354: Pull complete 15:46:26 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 15:46:26 Status: Downloaded newer image for alpine:3.16 15:46:26 ---> 2b4661558fb8 15:46:26 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 15:46:26 ---> Running in b34612520f30 15:46:26 Removing intermediate container b34612520f30 15:46:26 ---> 50fc1ab41a56 15:46:26 Step 15/25 : RUN apk add --update --no-cache dumb-init 15:46:26 ---> Running in 723124c43a3b 15:46:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:46:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:46:26 (1/1) Installing dumb-init (1.2.5-r1) 15:46:26 Executing busybox-1.35.0-r17.trigger 15:46:26 OK: 5 MiB in 15 packages 15:46:27 Removing intermediate container 723124c43a3b 15:46:27 ---> a8ae46a21a9b 15:46:27 Step 16/25 : WORKDIR / 15:46:27 ---> Running in c8d0913802b7 15:46:28 Removing intermediate container c8d0913802b7 15:46:28 ---> 0a25cf72d42a 15:46:28 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 15:46:28 ---> 804081dc3e4c 15:46:28 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 15:46:29 ---> f4fa371a419c 15:46:29 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 15:46:30 ---> 17731b1ad7fe 15:46:30 Step 20/25 : EXPOSE 59900 15:46:30 ---> Running in 988635ad5744 15:46:30 Removing intermediate container 988635ad5744 15:46:30 ---> 0359b72dfaf9 15:46:30 Step 21/25 : ENTRYPOINT ["/device-virtual"] 15:46:30 ---> Running in 774b853819c4 15:46:31 Removing intermediate container 774b853819c4 15:46:31 ---> 03339ca94b74 15:46:31 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:46:31 ---> Running in 24662a9886d4 15:46:31 Removing intermediate container 24662a9886d4 15:46:31 ---> be238c87425d 15:46:31 Step 23/25 : LABEL arch=arm64 15:46:31 ---> Running in 355b19fd7c85 15:46:32 Removing intermediate container 355b19fd7c85 15:46:32 ---> b857c385e103 15:46:32 Step 24/25 : LABEL git_sha=ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 15:46:32 ---> Running in d4da2a2ec708 15:46:32 Removing intermediate container d4da2a2ec708 15:46:32 ---> 862760d7daa7 15:46:32 Step 25/25 : LABEL version=3.0.0-dev.5 15:46:32 ---> Running in d94743731c8f 15:46:32 Removing intermediate container d94743731c8f 15:46:32 ---> 3a95f057b483 15:46:32 [Warning] One or more build-args [ARCH] were not consumed 15:46:32 Successfully built 3a95f057b483 15:46:32 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:46:32 provisioning config files... 15:46:32 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/76@tmp/config13630367997429266972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:46:33 ---> docker-login.sh 15:46:33 nexus3.edgexfoundry.org:10001 15:46:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:33 Configure a credential helper to remove this warning. See 15:46:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:33 15:46:33 Login Succeeded 15:46:33 nexus3.edgexfoundry.org:10002 15:46:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:33 Configure a credential helper to remove this warning. See 15:46:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:33 15:46:33 Login Succeeded 15:46:33 nexus3.edgexfoundry.org:10003 15:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:34 Configure a credential helper to remove this warning. See 15:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:34 15:46:34 Login Succeeded 15:46:34 nexus3.edgexfoundry.org:10004 15:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:34 Configure a credential helper to remove this warning. See 15:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:34 15:46:34 Login Succeeded 15:46:34 docker.io 15:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:35 Configure a credential helper to remove this warning. See 15:46:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:35 15:46:35 Login Succeeded 15:46:35 ---> docker-login.sh ends [Pipeline] } 15:46:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:46:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:46:35 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 15:46:35 ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 15:46:35 latest 15:46:35 3.0.0-dev.5 15:46:35 ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80-3.0.0-dev.5 15:46:35 main 15:46:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:35 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:35 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 15:46:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:46:35 56109bc4990a: Preparing 15:46:35 6deca1c55fe4: Preparing 15:46:35 36e4a099de3b: Preparing 15:46:35 da1062e26f58: Preparing 15:46:35 17bec77d7fdc: Preparing 15:46:35 17bec77d7fdc: Layer already exists 15:46:36 6deca1c55fe4: Pushed 15:46:36 36e4a099de3b: Pushed 15:46:36 da1062e26f58: Pushed 15:46:40 56109bc4990a: Pushed 15:46:40 ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80: digest: sha256:06c5851e0f58ddc434a0eb00611d7f02da367210b41bb5bcd517e7ca9f335904 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:41 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 15:46:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:46:41 56109bc4990a: Preparing 15:46:41 6deca1c55fe4: Preparing 15:46:41 36e4a099de3b: Preparing 15:46:41 da1062e26f58: Preparing 15:46:41 17bec77d7fdc: Preparing 15:46:41 da1062e26f58: Layer already exists 15:46:41 36e4a099de3b: Layer already exists 15:46:41 56109bc4990a: Layer already exists 15:46:41 17bec77d7fdc: Layer already exists 15:46:41 6deca1c55fe4: Layer already exists 15:46:41 latest: digest: sha256:06c5851e0f58ddc434a0eb00611d7f02da367210b41bb5bcd517e7ca9f335904 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:41 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.5 15:46:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:46:42 56109bc4990a: Preparing 15:46:42 6deca1c55fe4: Preparing 15:46:42 36e4a099de3b: Preparing 15:46:42 da1062e26f58: Preparing 15:46:42 17bec77d7fdc: Preparing 15:46:42 36e4a099de3b: Layer already exists 15:46:42 17bec77d7fdc: Layer already exists 15:46:42 da1062e26f58: Layer already exists 15:46:42 6deca1c55fe4: Layer already exists 15:46:42 56109bc4990a: Layer already exists 15:46:42 3.0.0-dev.5: digest: sha256:06c5851e0f58ddc434a0eb00611d7f02da367210b41bb5bcd517e7ca9f335904 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:42 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80-3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80-3.0.0-dev.5 15:46:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:46:42 56109bc4990a: Preparing 15:46:42 6deca1c55fe4: Preparing 15:46:42 36e4a099de3b: Preparing 15:46:42 da1062e26f58: Preparing 15:46:42 17bec77d7fdc: Preparing 15:46:42 36e4a099de3b: Layer already exists 15:46:42 6deca1c55fe4: Layer already exists 15:46:42 da1062e26f58: Layer already exists 15:46:42 17bec77d7fdc: Layer already exists 15:46:42 56109bc4990a: Layer already exists 15:46:42 ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80-3.0.0-dev.5: digest: sha256:06c5851e0f58ddc434a0eb00611d7f02da367210b41bb5bcd517e7ca9f335904 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:43 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 15:46:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:46:43 56109bc4990a: Preparing 15:46:43 6deca1c55fe4: Preparing 15:46:43 36e4a099de3b: Preparing 15:46:43 da1062e26f58: Preparing 15:46:43 17bec77d7fdc: Preparing 15:46:43 6deca1c55fe4: Layer already exists 15:46:43 56109bc4990a: Layer already exists 15:46:43 17bec77d7fdc: Layer already exists 15:46:43 36e4a099de3b: Layer already exists 15:46:43 da1062e26f58: Layer already exists 15:46:44 main: digest: sha256:06c5851e0f58ddc434a0eb00611d7f02da367210b41bb5bcd517e7ca9f335904 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:46:44 ===================================================== [Pipeline] echo 15:46:44 taggedImages: 15:46:44 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 15:46:44 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 15:46:44 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.5 15:46:44 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80-3.0.0-dev.5 15:46:44 - 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 15:46:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:46:44 15:46:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:46:44 arm64: Pulling from edgex-lftools-log-publisher 15:46:44 8998bd30e6a1: Pulling fs layer 15:46:44 04944245beec: Pulling fs layer 15:46:44 699f458cf7ca: Pulling fs layer 15:46:44 765212b225bb: Pulling fs layer 15:46:44 f23df028b6ca: Pulling fs layer 15:46:44 d65c8cfc05b1: Pulling fs layer 15:46:44 2437ff75d9bd: Pulling fs layer 15:46:44 f23df028b6ca: Waiting 15:46:44 d65c8cfc05b1: Waiting 15:46:44 2437ff75d9bd: Waiting 15:46:44 765212b225bb: Waiting 15:46:45 04944245beec: Verifying Checksum 15:46:45 04944245beec: Download complete 15:46:45 765212b225bb: Verifying Checksum 15:46:45 765212b225bb: Download complete 15:46:45 f23df028b6ca: Verifying Checksum 15:46:45 f23df028b6ca: Download complete 15:46:45 d65c8cfc05b1: Verifying Checksum 15:46:45 d65c8cfc05b1: Download complete 15:46:45 699f458cf7ca: Verifying Checksum 15:46:45 699f458cf7ca: Download complete 15:46:45 8998bd30e6a1: Verifying Checksum 15:46:45 8998bd30e6a1: Download complete 15:46:48 2437ff75d9bd: Verifying Checksum 15:46:48 2437ff75d9bd: Download complete 15:46:49 8998bd30e6a1: Pull complete 15:46:49 04944245beec: Pull complete 15:46:51 699f458cf7ca: Pull complete 15:46:51 765212b225bb: Pull complete 15:46:52 f23df028b6ca: Pull complete 15:46:52 d65c8cfc05b1: Pull complete 15:47:07 2437ff75d9bd: Pull complete 15:47:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:47:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:47:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:07 prd-ubuntu20.04-docker-arm64-4c-16g-2220 does not seem to be running inside a container 15:47:07 $ 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/76 -v /w/workspace/device-virtual-go/76:/w/workspace/device-virtual-go/76:rw,z -v /w/workspace/device-virtual-go/76@tmp:/w/workspace/device-virtual-go/76@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 15:47:10 $ docker top 6dc0587eb59a6f7a15c15b6df318a6df96c0b5461ba71b181ddb534a269b5239 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:47:11 ---> job-cost.sh 15:47:11 lf-activate-venv: SKIPPING 15:47:11 INFO: No Stack... 15:47:12 INFO: Retrieving Pricing Info for: v3-standard-4 15:47:12 INFO: Archiving Costs [Pipeline] sh 15:47:13 + cat /w/workspace/device-virtual-go/76/archives/cost.csv 15:47:13 + cut -d, -f6 [Pipeline] lock 15:47:13 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-76-stack-cost] 15:47:13 Resource [jenkins-edgexfoundry-device-virtual-go-main-76-stack-cost] did not exist. Created. 15:47:13 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:47:14 /w/workspace/device-virtual-go/76@tmp/durable-bf79de3a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:47:14 + echo total: 0.10999999940395355 [Pipeline] stash 15:47:14 Warning: overwriting stash ‘stack-cost’ 15:47:14 Stashed 1 file(s) [Pipeline] } 15:47:14 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-76-stack-cost] [Pipeline] // lock [Pipeline] } 15:47:14 $ docker stop --time=1 6dc0587eb59a6f7a15c15b6df318a6df96c0b5461ba71b181ddb534a269b5239 15:47:16 $ docker rm -f --volumes 6dc0587eb59a6f7a15c15b6df318a6df96c0b5461ba71b181ddb534a269b5239 [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 15:47:16 provisioning config files... 15:47:16 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5128849447365988163tmp [Pipeline] { [Pipeline] sh 15:47:17 + set +x 15:47:17 + + curl -s https://codecov.io/bash 15:47:17 bash -s -- 15:47:17 15:47:17 _____ _ 15:47:17 / ____| | | 15:47:17 | | ___ __| | ___ ___ _____ __ 15:47:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:47:17 | |___| (_) | (_| | __/ (_| (_) \ V / 15:47:17 \_____\___/ \__,_|\___|\___\___/ \_/ 15:47:17 Bash-1.0.6 15:47:17 15:47:17 15:47:17 ==> git version 2.25.1 found 15:47:17 ==> 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 15:47:17 Release-Date: 2020-01-08 15:47:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:47:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:47:17 ==> Jenkins CI detected. 15:47:17 current dir:  /w/workspace/exfoundry_device-virtual-go_main 15:47:17 project root: . 15:47:17 --> token set from env 15:47:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:47:17 ==> Running gcov in . (disable via -X gcov) 15:47:17 ==> Python coveragepy not found 15:47:17 ==> Searching for coverage reports in: 15:47:17 + . 15:47:17 -> Found 1 reports 15:47:17 ==> Detecting git/mercurial file structure 15:47:17 ==> Reading reports 15:47:17 + ./coverage.out bytes=44128 15:47:17 ==> Appending adjustments 15:47:17 https://docs.codecov.io/docs/fixing-reports 15:47:17 + Found adjustments 15:47:17 ==> Gzipping contents 15:47:17 8.0K /tmp/codecov.EoOpXp.gz 15:47:17 ==> Uploading reports 15:47:17 url: https://codecov.io 15:47:17 query: branch=main&commit=ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:47:17 -> Pinging Codecov 15:47:17 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=ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:47:18 -> Uploading to 15:47:18 https://storage.googleapis.com/codecov/v4/raw/2023-01-13/5E52B4B073DB2E39498172D8E973AA87/ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80/f76cbf06-6324-4b05-b2be-8f08ca9da825.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230113%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230113T154717Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=070495e196e272398bfe887a70f61203bbe93f5ebe796dd0e0d35a2ae41f4b10 15:47:18 % Total % Received % Xferd Average Speed Time Time Time Current 15:47:18 Dload Upload Total Spent Left Speed 15:47:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5491 0 0 100 5491 0 22879 --:--:-- --:--:-- --:--:-- 22879 15:47:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [Pipeline] } 15:47:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:47:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:47:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:47:18 15:47:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:47:18 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:47:18 df9b9388f04a: Pulling fs layer 15:47:18 52dc419b0ee2: Pulling fs layer 15:47:18 25bc292e5bac: Pulling fs layer 15:47:18 114826534d7a: Pulling fs layer 15:47:18 4657fd5d0bcf: Pulling fs layer 15:47:18 6ad1cebc031e: Pulling fs layer 15:47:18 8a3aa393b2d8: Pulling fs layer 15:47:18 114826534d7a: Waiting 15:47:18 4657fd5d0bcf: Waiting 15:47:18 6ad1cebc031e: Waiting 15:47:18 8a3aa393b2d8: Waiting 15:47:18 25bc292e5bac: Verifying Checksum 15:47:18 25bc292e5bac: Download complete 15:47:18 52dc419b0ee2: Download complete 15:47:18 4657fd5d0bcf: Verifying Checksum 15:47:18 4657fd5d0bcf: Download complete 15:47:18 df9b9388f04a: Verifying Checksum 15:47:18 df9b9388f04a: Download complete 15:47:19 6ad1cebc031e: Verifying Checksum 15:47:19 6ad1cebc031e: Download complete 15:47:19 df9b9388f04a: Pull complete 15:47:19 52dc419b0ee2: Pull complete 15:47:19 25bc292e5bac: Pull complete 15:47:19 114826534d7a: Verifying Checksum 15:47:19 114826534d7a: Download complete 15:47:20 8a3aa393b2d8: Download complete 15:47:23 114826534d7a: Pull complete 15:47:23 4657fd5d0bcf: Pull complete 15:47:23 6ad1cebc031e: Pull complete 15:47:26 8a3aa393b2d8: Pull complete 15:47:26 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:47:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:47:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:26 prd-ubuntu20.04-docker-8c-8g-2217 does not seem to be running inside a container 15:47:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:47:28 $ docker top 2dda646b1fbc5a8b3e1126f2c798503a73452ca78682e3fecf1bd5fb1d181d8e -eo pid,comm [Pipeline] { [Pipeline] echo 15:47:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 15:47:28 + set -o pipefail 15:47:28 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 15:47:35 15:47:35 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 15:47:35 15:47:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/bb16b898-b839-4449-a047-13700d3e80f5 15:47:35 15:47:35 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:47:35 15:47:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:47:35 15:47:35 15:47:35 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:47:35 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:47:35 More details here: https://snyk.co/ue1NS [Pipeline] } 15:47:35 $ docker stop --time=1 2dda646b1fbc5a8b3e1126f2c798503a73452ca78682e3fecf1bd5fb1d181d8e 15:47:37 $ docker rm -f --volumes 2dda646b1fbc5a8b3e1126f2c798503a73452ca78682e3fecf1bd5fb1d181d8e [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 15:47:37 + git log --format=format:%s -1 ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [Pipeline] sh 15:47:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:47:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:47:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:38 prd-ubuntu20.04-docker-8c-8g-2217 does not seem to be running inside a container 15:47:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:47:38 $ docker top e6384222a0c329f2850ee005304ce0d4d742f6739ba48b430a2a09e5ff7ccac3 -eo pid,comm 15:47:38 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). 15:47:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:47:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:47:38 [ssh-agent] Looking for ssh-agent implementation... 15:47:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:47:38 $ docker exec e6384222a0c329f2850ee005304ce0d4d742f6739ba48b430a2a09e5ff7ccac3 ssh-agent 15:47:39 SSH_AUTH_SOCK=/tmp/ssh-nWtdUxzMCU1M/agent.32 15:47:39 SSH_AGENT_PID=38 15:47:39 Running ssh-add (command line suppressed) 15:47:39 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3151985222299728821.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3151985222299728821.key) 15:47:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:47:39 + git semver tag 15:47:39 2023-01-13 15:47:39,603 [run_tag] DEBUG tag force:False 15:47:39 2023-01-13 15:47:39,603 [check_head_tag] DEBUG check head tag 15:47:39 2023-01-13 15:47:39,604 [execute] INFO git cat-file --batch-check 15:47:39 2023-01-13 15:47:39,604 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 15:47:39 2023-01-13 15:47:39,608 [execute] INFO git cat-file --batch 15:47:39 2023-01-13 15:47:39,608 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 15:47:39 2023-01-13 15:47:39,625 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:47:39 2023-01-13 15:47:39,626 [execute] INFO git tag -a v3.0.0-dev.5 -m v3.0.0-dev.5 15:47:39 2023-01-13 15:47:39,626 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.5', '-m', 'v3.0.0-dev.5'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 15:47:39 2023-01-13 15:47:39,630 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:47:39 3.0.0-dev.5 [Pipeline] } 15:47:39 $ docker exec --env ******** --env ******** e6384222a0c329f2850ee005304ce0d4d742f6739ba48b430a2a09e5ff7ccac3 ssh-agent -k 15:47:39 unset SSH_AUTH_SOCK; 15:47:39 unset SSH_AGENT_PID; 15:47:39 echo Agent pid 38 killed; 15:47:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:47:40 + git semver [Pipeline] } 15:47:40 $ docker stop --time=1 e6384222a0c329f2850ee005304ce0d4d742f6739ba48b430a2a09e5ff7ccac3 15:47:41 $ docker rm -f --volumes e6384222a0c329f2850ee005304ce0d4d742f6739ba48b430a2a09e5ff7ccac3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:47:42 15:47:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:47:42 0.23.1-centos7: Pulling from edgex-lftools 15:47:42 ab5ef0e58194: Pulling fs layer 15:47:42 9712f1f96733: Pulling fs layer 15:47:42 63f879dbbcfc: Pulling fs layer 15:47:42 0d9ebad4ef96: Pulling fs layer 15:47:42 e9a5061849ea: Pulling fs layer 15:47:42 d747dcd14b5f: Pulling fs layer 15:47:42 2de7ff778b66: Pulling fs layer 15:47:42 d747dcd14b5f: Waiting 15:47:42 0d9ebad4ef96: Waiting 15:47:42 e9a5061849ea: Waiting 15:47:42 2de7ff778b66: Waiting 15:47:42 9712f1f96733: Verifying Checksum 15:47:42 9712f1f96733: Download complete 15:47:43 63f879dbbcfc: Verifying Checksum 15:47:43 63f879dbbcfc: Download complete 15:47:43 e9a5061849ea: Verifying Checksum 15:47:43 e9a5061849ea: Download complete 15:47:43 ab5ef0e58194: Verifying Checksum 15:47:43 ab5ef0e58194: Download complete 15:47:43 d747dcd14b5f: Verifying Checksum 15:47:43 d747dcd14b5f: Download complete 15:47:43 0d9ebad4ef96: Verifying Checksum 15:47:43 0d9ebad4ef96: Download complete 15:47:43 2de7ff778b66: Verifying Checksum 15:47:43 2de7ff778b66: Download complete 15:47:46 ab5ef0e58194: Pull complete 15:47:46 9712f1f96733: Pull complete 15:47:46 63f879dbbcfc: Pull complete 15:47:49 0d9ebad4ef96: Pull complete 15:47:49 e9a5061849ea: Pull complete 15:47:49 d747dcd14b5f: Pull complete 15:47:50 2de7ff778b66: Pull complete 15:47:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:47:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:47:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:50 prd-ubuntu20.04-docker-8c-8g-2217 does not seem to be running inside a container 15:47:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:47:53 $ docker top 3eeaf08f2e42e0888371151910dac85efc12a3751560513010c25f2cb9107055 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:47:53 provisioning config files... 15:47:53 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7712050734152713656tmp 15:47:53 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5623016146455678907tmp 15:47:53 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16644730126247742856tmp [Pipeline] { [Pipeline] echo 15:47:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:47:53 ---> sigul-configuration.sh 15:47:53 gpg: directory `/root/.gnupg' created 15:47:53 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:47:53 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:47:53 gpg: keyring `/root/.gnupg/secring.gpg' created 15:47:53 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:47:53 gpg: CAST5 encrypted data 15:47:53 gpg: encrypted with 1 passphrase 15:47:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:47:53 + mkdir /home/jenkins 15:47:53 + mkdir /home/jenkins/sigul [Pipeline] sh 15:47:54 + 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 15:47:54 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:47:54 ---> sigul-install.sh 15:47:54 Sigul already installed; skipping installation. [Pipeline] sh 15:47:54 + git tag --list 15:47:54 v1.0.0 15:47:54 v1.1.0 15:47:54 v1.1.1 15:47:54 v1.2.1 15:47:54 v1.2.2 15:47:54 v1.2.3 15:47:54 v1.3.0 15:47:54 v1.3.1 15:47:54 v2.0.0 15:47:54 v2.1.0 15:47:54 v2.1.1 15:47:54 v2.1.1-dev.1 15:47:54 v2.1.1-dev.2 15:47:54 v2.2.0 15:47:54 v2.2.1-dev.1 15:47:54 v2.2.1-dev.2 15:47:54 v2.2.1-dev.3 15:47:54 v2.2.1-dev.4 15:47:54 v2.2.1-dev.5 15:47:54 v2.2.1-dev.6 15:47:54 v2.2.1-dev.7 15:47:54 v2.2.1-dev.8 15:47:54 v2.3.0 15:47:54 v2.3.0-dev.10 15:47:54 v2.3.0-dev.11 15:47:54 v2.3.0-dev.12 15:47:54 v2.3.0-dev.13 15:47:54 v2.3.0-dev.14 15:47:54 v2.3.0-dev.15 15:47:54 v2.3.0-dev.16 15:47:54 v2.3.0-dev.17 15:47:54 v2.3.0-dev.18 15:47:54 v2.3.0-dev.19 15:47:54 v2.3.0-dev.20 15:47:54 v2.3.0-dev.21 15:47:54 v2.3.0-dev.22 15:47:54 v2.3.0-dev.23 15:47:54 v2.3.0-dev.24 15:47:54 v2.3.0-dev.25 15:47:54 v2.3.0-dev.26 15:47:54 v2.3.0-dev.27 15:47:54 v2.3.0-dev.28 15:47:54 v2.3.0-dev.29 15:47:54 v2.3.0-dev.30 15:47:54 v2.3.0-dev.8 15:47:54 v2.3.0-dev.9 15:47:54 v3.0.0-dev.1 15:47:54 v3.0.0-dev.2 15:47:54 v3.0.0-dev.3 15:47:54 v3.0.0-dev.4 15:47:54 v3.0.0-dev.5 [Pipeline] sh 15:47:54 + lftools sign git-tag v3.0.0-dev.5 15:47:55 Signing Git tag with Sigul... 15:47:55 Signing v3.0.0-dev.5 [Pipeline] echo 15:47:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:47:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:47:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:47:56 $ docker stop --time=1 3eeaf08f2e42e0888371151910dac85efc12a3751560513010c25f2cb9107055 15:47:57 $ docker rm -f --volumes 3eeaf08f2e42e0888371151910dac85efc12a3751560513010c25f2cb9107055 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:47:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:47:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:47:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:58 prd-ubuntu20.04-docker-8c-8g-2217 does not seem to be running inside a container 15:47:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:47:58 $ docker top 92d9988e12bf9bebab75ba75710483748f43d81d1bd0ffe346d9501835fc3d98 -eo pid,comm 15:47:58 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:47:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:47:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:47:58 [ssh-agent] Looking for ssh-agent implementation... 15:47:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:47:58 $ docker exec 92d9988e12bf9bebab75ba75710483748f43d81d1bd0ffe346d9501835fc3d98 ssh-agent 15:47:58 SSH_AUTH_SOCK=/tmp/ssh-enNInwNa6pUl/agent.31 15:47:58 SSH_AGENT_PID=37 15:47:58 Running ssh-add (command line suppressed) 15:47:58 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5114646665099359104.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5114646665099359104.key) 15:47:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:47:59 + git semver bump pre 15:47:59 2023-01-13 15:47:59,431 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:47:59 2023-01-13 15:47:59,431 [bump_version] DEBUG bumping version:3.0.0-dev.5 on axis:pre with prefix:dev 15:47:59 2023-01-13 15:47:59,431 [bump_version] DEBUG bumped version:3.0.0-dev.6 15:47:59 2023-01-13 15:47:59,431 [write_version] DEBUG write version:3.0.0-dev.6 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 15:47:59 2023-01-13 15:47:59,432 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:47:59 2023-01-13 15:47:59,432 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:47:59 2023-01-13 15:47:59,433 [execute] INFO git cat-file --batch-check 15:47:59 2023-01-13 15:47:59,433 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:47:59 2023-01-13 15:47:59,438 [execute] INFO git cat-file --batch 15:47:59 2023-01-13 15:47:59,438 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:47:59 2023-01-13 15:47:59,443 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:47:59 3.0.0-dev.6 [Pipeline] } 15:47:59 $ docker exec --env ******** --env ******** 92d9988e12bf9bebab75ba75710483748f43d81d1bd0ffe346d9501835fc3d98 ssh-agent -k 15:47:59 unset SSH_AUTH_SOCK; 15:47:59 unset SSH_AGENT_PID; 15:47:59 echo Agent pid 37 killed; 15:47:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:47:59 + git semver [Pipeline] } 15:48:00 $ docker stop --time=1 92d9988e12bf9bebab75ba75710483748f43d81d1bd0ffe346d9501835fc3d98 15:48:01 $ docker rm -f --volumes 92d9988e12bf9bebab75ba75710483748f43d81d1bd0ffe346d9501835fc3d98 [Pipeline] // withDockerContainer [Pipeline] sh 15:48:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:48:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:48:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:02 prd-ubuntu20.04-docker-8c-8g-2217 does not seem to be running inside a container 15:48:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:48:02 $ docker top 3f2197a740d832f9356ed2ec953ccc09e2bd70b30556cb8ba2198be9069cb52f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:48:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:48:02 [ssh-agent] Looking for ssh-agent implementation... 15:48:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:48:02 $ docker exec 3f2197a740d832f9356ed2ec953ccc09e2bd70b30556cb8ba2198be9069cb52f ssh-agent 15:48:02 SSH_AUTH_SOCK=/tmp/ssh-TtH9yCjRVZkW/agent.31 15:48:02 SSH_AGENT_PID=37 15:48:02 Running ssh-add (command line suppressed) 15:48:02 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12340408392738787490.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12340408392738787490.key) 15:48:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:48:03 + git semver push 15:48:03 2023-01-13 15:48:03,465 [run_push] DEBUG push 15:48:03 2023-01-13 15:48:03,466 [execute] INFO git cat-file --batch-check 15:48:03 2023-01-13 15:48:03,466 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:48:03 2023-01-13 15:48:03,469 [execute] INFO git rev-list b28662ce65714000a608dbcf2dcd0603bf53011c -- 15:48:03 2023-01-13 15:48:03,469 [execute] DEBUG Popen(['git', 'rev-list', 'b28662ce65714000a608dbcf2dcd0603bf53011c', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:48:03 2023-01-13 15:48:03,478 [execute] INFO git fetch -v origin 15:48:03 2023-01-13 15:48:03,478 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:48:05 2023-01-13 15:48:05,365 [run_push] DEBUG no remote changes detected 15:48:05 2023-01-13 15:48:05,365 [execute] INFO git push origin semver 15:48:05 2023-01-13 15:48:05,366 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:48:06 2023-01-13 15:48:06,278 [run_push] DEBUG push all version tags 15:48:06 2023-01-13 15:48:06,279 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:48:06 2023-01-13 15:48:06,279 [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) 15:48:07 2023-01-13 15:48:07,104 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:48:07 3.0.0-dev.6 [Pipeline] } 15:48:07 $ docker exec --env ******** --env ******** 3f2197a740d832f9356ed2ec953ccc09e2bd70b30556cb8ba2198be9069cb52f ssh-agent -k 15:48:07 unset SSH_AUTH_SOCK; 15:48:07 unset SSH_AGENT_PID; 15:48:07 echo Agent pid 37 killed; 15:48:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:48:07 + git semver [Pipeline] } 15:48:08 $ docker stop --time=1 3f2197a740d832f9356ed2ec953ccc09e2bd70b30556cb8ba2198be9069cb52f 15:48:09 $ docker rm -f --volumes 3f2197a740d832f9356ed2ec953ccc09e2bd70b30556cb8ba2198be9069cb52f [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 15:48:09 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 15:48:09 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 15:48:09 total 16 15:48:09 drwxr-xr-x 3 root root 4096 Jan 13 15:38 . 15:48:09 drwxrwxr-x 10 jenkins jenkins 4096 Jan 13 15:47 .. 15:48:09 drwxr-xr-x 2 root root 4096 Jan 13 15:38 cost 15:48:09 -rw-r--r-- 1 root root 88 Jan 13 15:38 cost.csv 15:48:09 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 15:48:09 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 15:48:09 total 16 15:48:09 drwxr-xr-x 3 jenkins jenkins 4096 Jan 13 15:38 . 15:48:09 drwxrwxr-x 10 jenkins jenkins 4096 Jan 13 15:47 .. 15:48:09 drwxr-xr-x 2 jenkins jenkins 4096 Jan 13 15:38 cost 15:48:09 -rw-r--r-- 1 jenkins jenkins 88 Jan 13 15:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:48:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:48:10 ---> package-listing.sh 15:48:10 ++ facter osfamily 15:48:10 ++ tr '[:upper:]' '[:lower:]' 15:48:11 + OS_FAMILY=debian 15:48:11 + workspace=/w/workspace/exfoundry_device-virtual-go_main 15:48:11 + START_PACKAGES=/tmp/packages_start.txt 15:48:11 + END_PACKAGES=/tmp/packages_end.txt 15:48:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:48:11 + PACKAGES=/tmp/packages_start.txt 15:48:11 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 15:48:11 + PACKAGES=/tmp/packages_end.txt 15:48:11 + case "${OS_FAMILY}" in 15:48:11 + dpkg -l 15:48:11 + grep '^ii' 15:48:11 + '[' -f /tmp/packages_start.txt ']' 15:48:11 + '[' -f /tmp/packages_end.txt ']' 15:48:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:48:11 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 15:48:11 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 15:48:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 15:48:11 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 15:48:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:48:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:11 prd-ubuntu20.04-docker-8c-8g-2217 does not seem to be running inside a container 15:48:11 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:48:12 $ docker top a906f9797cae99740de3e813c262c51f3292967511289d97b81b1b4eaf33f54b -eo pid,comm [Pipeline] { [Pipeline] sh 15:48:12 + touch /tmp/pre-build-complete [Pipeline] sh 15:48:12 + mkdir -p /var/log/sysstat [Pipeline] sh 15:48:13 + ls /var/log/sa-host 15:48:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:48:13 provisioning config files... 15:48:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3060471436455977876tmp [Pipeline] { [Pipeline] echo 15:48:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:48:13 ---> create-netrc.sh [Pipeline] } 15:48:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:48:13 ---> python-tools-install.sh [Pipeline] echo 15:48:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:48:14 ---> sudo-logs.sh 15:48:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:48:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:48:14 ---> job-cost.sh 15:48:14 lf-activate-venv: SKIPPING 15:48:14 DEBUG: total: 0.2199999988079071 15:48:14 INFO: Retrieving Stack Cost... 15:48:15 INFO: Retrieving Pricing Info for: v3-standard-8 15:48:15 INFO: Archiving Costs [Pipeline] echo 15:48:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:48:15 ---> logs-deploy.sh 15:48:15 lf-activate-venv: SKIPPING 15:48:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/76 15:48:15 INFO: archiving workspace using pattern(s): 15:48:16 Archives upload complete. 15:48:16 INFO: archiving logs to Nexus