Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 809182d388b7784ea0303513e5a82decca2f34a7 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-ssh14389715868732182981.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-ssh18057392442765029718.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-ssh12660995648679161044.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-ssh12719054920005857445.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-ssh2495770191139356466.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6730 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 809182d388b7784ea0303513e5a82decca2f34a7 (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 809182d388b7784ea0303513e5a82decca2f34a7 # timeout=10 Commit message: "Merge pull request #343 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.34" > git rev-list --no-walk e5cd6c2866e9da13f1580177b0e11085f8902a5a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:12:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:12:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:12:57 ========================================================= 12:12:57 EdgeX Global Pipelines Version Info 12:12:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:12:58 ------------------- 12:12:58 stable info: 12:12:58 ------------------- 12:12:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:12:58 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:12:58 Message: update stable to v1.0.244 12:12:58 ------------------- 12:12:58 experimental info: 12:12:58 ------------------- 12:12:58 Commited By: **** collab-it+edgex@linuxfoundation.org 12:12:58 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:12:58 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:12:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 12:12:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 12:12:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:12:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:12:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:12:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 12:12:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 12:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:12:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:12:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:12:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:12:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:12:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:12:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:12:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:12:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:12:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:12:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:12:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:12:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:12:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:12:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 12:12:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 12:12:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 12:12:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 809182d388b7784ea0303513e5a82decca2f34a7 [Pipeline] echo 12:12:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 809182d [Pipeline] echo 12:12:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:12:59 provisioning config files... 12:12:59 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config18064104658738104182tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:12:59 ---> docker-login.sh 12:12:59 nexus3.edgexfoundry.org:10001 12:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:00 Configure a credential helper to remove this warning. See 12:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:00 12:13:00 Login Succeeded 12:13:00 nexus3.edgexfoundry.org:10002 12:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:00 Configure a credential helper to remove this warning. See 12:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:00 12:13:00 Login Succeeded 12:13:00 nexus3.edgexfoundry.org:10003 12:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:00 Configure a credential helper to remove this warning. See 12:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:00 12:13:00 Login Succeeded 12:13:00 nexus3.edgexfoundry.org:10004 12:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:00 Configure a credential helper to remove this warning. See 12:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:00 12:13:00 Login Succeeded 12:13:00 docker.io 12:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:00 Configure a credential helper to remove this warning. See 12:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:00 12:13:00 Login Succeeded 12:13:00 ---> docker-login.sh ends [Pipeline] } 12:13:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:13:01 + git rev-list -1 --merges 809182d388b7784ea0303513e5a82decca2f34a7~1..809182d388b7784ea0303513e5a82decca2f34a7 [Pipeline] echo 12:13:01 -----------> git rev-list -1 --merges 809182d388b7784ea0303513e5a82decca2f34a7~1..809182d388b7784ea0303513e5a82decca2f34a7 809182d388b7784ea0303513e5a82decca2f34a7 12:13:01 809182d388b7784ea0303513e5a82decca2f34a7 [false] [Pipeline] sh 12:13:01 + git log --format=format:%s -1 809182d388b7784ea0303513e5a82decca2f34a7 [Pipeline] echo 12:13:01 ========================================================= 12:13:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:13:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:13:01 + git log --format=format:%s -1 809182d388b7784ea0303513e5a82decca2f34a7 [Pipeline] echo 12:13:01 [semverPrep] GIT_COMMIT: 809182d388b7784ea0303513e5a82decca2f34a7, Commit Message: Merge pull request #343 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.34 [Pipeline] echo 12:13:01 [semverPrep] This is not a build commit. [Pipeline] sh 12:13:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:13:02 + grep -v github /etc/ssh/ssh_known_hosts 12:13:02 + [ -e /tmp/ssh_known_hosts ] 12:13:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:13:02 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:13:02 sudo tee -a /etc/ssh/ssh_known_hosts 12:13:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:13:02 12:13:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:13:02 0.1.4: Pulling from edgex-devops/py-git-semver 12:13:02 b85a868b505f: Pulling fs layer 12:13:02 e2be974225ed: Pulling fs layer 12:13:02 339a4e72a1f5: Pulling fs layer 12:13:02 988bab9f4d93: Pulling fs layer 12:13:02 1469e6f7b9e6: Pulling fs layer 12:13:02 eaf3925da568: Pulling fs layer 12:13:02 bab4dde63d76: Pulling fs layer 12:13:02 bde34c3a00c8: Pulling fs layer 12:13:02 988bab9f4d93: Waiting 12:13:02 b352a97aabf1: Pulling fs layer 12:13:02 1469e6f7b9e6: Waiting 12:13:02 4872d77fe225: Pulling fs layer 12:13:02 5851b861e8e6: Pulling fs layer 12:13:02 eaf3925da568: Waiting 12:13:02 bab4dde63d76: Waiting 12:13:02 b352a97aabf1: Waiting 12:13:02 4872d77fe225: Waiting 12:13:02 5851b861e8e6: Waiting 12:13:02 bde34c3a00c8: Waiting 12:13:02 e2be974225ed: Verifying Checksum 12:13:02 e2be974225ed: Download complete 12:13:02 988bab9f4d93: Download complete 12:13:03 1469e6f7b9e6: Verifying Checksum 12:13:03 1469e6f7b9e6: Download complete 12:13:03 eaf3925da568: Verifying Checksum 12:13:03 eaf3925da568: Download complete 12:13:03 339a4e72a1f5: Verifying Checksum 12:13:03 339a4e72a1f5: Download complete 12:13:03 bde34c3a00c8: Verifying Checksum 12:13:03 bde34c3a00c8: Download complete 12:13:03 b352a97aabf1: Download complete 12:13:03 4872d77fe225: Verifying Checksum 12:13:03 4872d77fe225: Download complete 12:13:03 5851b861e8e6: Download complete 12:13:03 b85a868b505f: Download complete 12:13:03 bab4dde63d76: Verifying Checksum 12:13:03 bab4dde63d76: Download complete 12:13:04 b85a868b505f: Pull complete 12:13:04 e2be974225ed: Pull complete 12:13:05 339a4e72a1f5: Pull complete 12:13:05 988bab9f4d93: Pull complete 12:13:05 1469e6f7b9e6: Pull complete 12:13:05 eaf3925da568: Pull complete 12:13:07 bab4dde63d76: Pull complete 12:13:07 bde34c3a00c8: Pull complete 12:13:07 b352a97aabf1: Pull complete 12:13:07 4872d77fe225: Pull complete 12:13:07 5851b861e8e6: Pull complete 12:13:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:13:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:13:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:13:07 prd-ubuntu20.04-docker-8c-8g-6730 does not seem to be running inside a container 12:13:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:13:09 $ docker top 175da120f61afa9c3f0e180a050a9b3b9527214a1f37954ebf59bff4bc1de15b -eo pid,comm 12:13:09 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). 12:13:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:13:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:13:09 [ssh-agent] Looking for ssh-agent implementation... 12:13:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:13:09 $ docker exec 175da120f61afa9c3f0e180a050a9b3b9527214a1f37954ebf59bff4bc1de15b ssh-agent 12:13:09 SSH_AUTH_SOCK=/tmp/ssh-76gOQM3h9FHM/agent.31 12:13:09 SSH_AGENT_PID=37 12:13:09 Running ssh-add (command line suppressed) 12:13:09 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14738062245197190689.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14738062245197190689.key) 12:13:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:13:09 + git tag --points-at HEAD [Pipeline] } 12:13:09 $ docker exec --env ******** --env ******** 175da120f61afa9c3f0e180a050a9b3b9527214a1f37954ebf59bff4bc1de15b ssh-agent -k 12:13:10 unset SSH_AUTH_SOCK; 12:13:10 unset SSH_AGENT_PID; 12:13:10 echo Agent pid 37 killed; 12:13:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:13:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:13:10 [ssh-agent] Looking for ssh-agent implementation... 12:13:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:13:10 $ docker exec 175da120f61afa9c3f0e180a050a9b3b9527214a1f37954ebf59bff4bc1de15b ssh-agent 12:13:10 SSH_AUTH_SOCK=/tmp/ssh-FARVoaIq1xVY/agent.69 12:13:10 SSH_AGENT_PID=75 12:13:10 Running ssh-add (command line suppressed) 12:13:10 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10056278829151844069.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10056278829151844069.key) 12:13:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:13:10 + git semver init 12:13:10 2023-02-20 12:13:10,930 [run_init] DEBUG init version:0.0.0 force:False 12:13:10 2023-02-20 12:13:10,931 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 12:13:10 2023-02-20 12:13:10,931 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 12:13:10 2023-02-20 12:13:10,931 [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) 12:13:12 2023-02-20 12:13:12,130 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 12:13:12 2023-02-20 12:13:12,132 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 12:13:12 2023-02-20 12:13:12,132 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:13:12 2023-02-20 12:13:12,132 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:13:12 3.0.0-dev.14 [Pipeline] } 12:13:12 $ docker exec --env ******** --env ******** 175da120f61afa9c3f0e180a050a9b3b9527214a1f37954ebf59bff4bc1de15b ssh-agent -k 12:13:12 unset SSH_AUTH_SOCK; 12:13:12 unset SSH_AGENT_PID; 12:13:12 echo Agent pid 75 killed; 12:13:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:13:12 + git semver [Pipeline] } 12:13:13 $ docker stop --time=1 175da120f61afa9c3f0e180a050a9b3b9527214a1f37954ebf59bff4bc1de15b 12:13:14 $ docker rm -f --volumes 175da120f61afa9c3f0e180a050a9b3b9527214a1f37954ebf59bff4bc1de15b [Pipeline] // withDockerContainer [Pipeline] sh 12:13:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:13:14 Stashed 1 file(s) [Pipeline] echo 12:13:15 [edgeXSemver]: initialized semver on version 3.0.0-dev.14 [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 12:13:15 provisioning config files... 12:13:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13644867506291028742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:13:15 ---> docker-login.sh 12:13:15 nexus3.edgexfoundry.org:10001 12:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:15 Configure a credential helper to remove this warning. See 12:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:15 12:13:15 Login Succeeded 12:13:15 nexus3.edgexfoundry.org:10002 12:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:15 Configure a credential helper to remove this warning. See 12:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:15 12:13:15 Login Succeeded 12:13:15 nexus3.edgexfoundry.org:10003 12:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:15 Configure a credential helper to remove this warning. See 12:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:15 12:13:15 Login Succeeded 12:13:15 nexus3.edgexfoundry.org:10004 12:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:15 Configure a credential helper to remove this warning. See 12:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:15 12:13:15 Login Succeeded 12:13:15 docker.io 12:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:15 Configure a credential helper to remove this warning. See 12:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:15 12:13:15 Login Succeeded 12:13:15 ---> docker-login.sh ends [Pipeline] } 12:13:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:13:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:13:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:13:16 ========================================================= 12:13:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 12:13:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:16 + 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 . 12:13:16 Sending build context to Docker daemon 23.39MB 12:13:16 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:13:16 Step 2/12 : FROM ${BASE} AS builder 12:13:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 12:13:16 213ec9aee27d: Pulling fs layer 12:13:16 4583459ba037: Pulling fs layer 12:13:16 93c1e223e6f2: Pulling fs layer 12:13:16 53926ce57604: Pulling fs layer 12:13:16 21b2b0c7a3f4: Pulling fs layer 12:13:16 22ff95d597cd: Pulling fs layer 12:13:16 12d6caf4c0d1: Pulling fs layer 12:13:16 96b7cbca73a9: Pulling fs layer 12:13:16 a7acece74701: Pulling fs layer 12:13:16 12d6caf4c0d1: Waiting 12:13:16 22ff95d597cd: Waiting 12:13:16 21b2b0c7a3f4: Waiting 12:13:16 53926ce57604: Waiting 12:13:16 96b7cbca73a9: Waiting 12:13:16 a7acece74701: Waiting 12:13:16 93c1e223e6f2: Verifying Checksum 12:13:16 93c1e223e6f2: Download complete 12:13:16 4583459ba037: Download complete 12:13:16 21b2b0c7a3f4: Verifying Checksum 12:13:16 21b2b0c7a3f4: Download complete 12:13:16 22ff95d597cd: Verifying Checksum 12:13:16 22ff95d597cd: Download complete 12:13:16 213ec9aee27d: Verifying Checksum 12:13:16 213ec9aee27d: Download complete 12:13:16 12d6caf4c0d1: Verifying Checksum 12:13:16 12d6caf4c0d1: Download complete 12:13:16 213ec9aee27d: Pull complete 12:13:16 4583459ba037: Pull complete 12:13:16 93c1e223e6f2: Pull complete 12:13:17 a7acece74701: Verifying Checksum 12:13:17 a7acece74701: Download complete 12:13:17 96b7cbca73a9: Verifying Checksum 12:13:17 96b7cbca73a9: Download complete 12:13:17 53926ce57604: Verifying Checksum 12:13:17 53926ce57604: Download complete 12:13:21 53926ce57604: Pull complete 12:13:21 21b2b0c7a3f4: Pull complete 12:13:21 22ff95d597cd: Pull complete 12:13:21 12d6caf4c0d1: Pull complete 12:13:23 96b7cbca73a9: Pull complete 12:13:23 a7acece74701: Pull complete 12:13:23 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 12:13:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 12:13:23 ---> db6d94c90886 12:13:23 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:13:25 ---> Running in 3e201a3ff031 12:13:26 Removing intermediate container 3e201a3ff031 12:13:26 ---> 0fa695c33c20 12:13:26 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:13:26 ---> Running in aeb5bc97e139 12:13:26 Removing intermediate container aeb5bc97e139 12:13:26 ---> 5b24012aded0 12:13:26 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:13:26 ---> Running in d6ed599816ee 12:13:26 Removing intermediate container d6ed599816ee 12:13:26 ---> 8cd2dc06d956 12:13:26 Step 6/12 : WORKDIR /device-virtual-go 12:13:26 ---> Running in 8fa70381b53c 12:13:26 Removing intermediate container 8fa70381b53c 12:13:26 ---> ef68f04fe3bb 12:13:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:13:26 ---> Running in 8cd6db895c35 12:13:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:13:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:13:27 (1/4) Installing openssh-keygen (9.0_p1-r2) 12:13:27 (2/4) Installing libedit (20210910.3.1-r0) 12:13:27 (3/4) Installing openssh-client-common (9.0_p1-r2) 12:13:27 (4/4) Installing openssh-client-default (9.0_p1-r2) 12:13:27 Executing busybox-1.35.0-r17.trigger 12:13:27 OK: 216 MiB in 55 packages 12:13:27 Removing intermediate container 8cd6db895c35 12:13:27 ---> cf6fbd444bb1 12:13:27 Step 8/12 : COPY go.mod vendor* ./ 12:13:28 ---> 355d722388fc 12:13:28 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:13:28 ---> Running in fa000e0c6460 12:13:30 Still waiting to schedule task 12:13:30 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:13:54 Removing intermediate container fa000e0c6460 12:13:54 ---> c713a6dbda8a 12:13:54 Step 10/12 : COPY . . 12:13:54 ---> 5fe866c07c6c 12:13:54 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:13:54 ---> Running in 293f6369ca2a 12:13:54 Removing intermediate container 293f6369ca2a 12:13:54 ---> ab8b2024e2cd 12:13:54 Step 12/12 : RUN $MAKE 12:13:54 ---> Running in 2f6c4ef1e486 12:13:54 noop 12:13:54 Removing intermediate container 2f6c4ef1e486 12:13:54 ---> 40dd7ba1765a 12:13:54 Successfully built 40dd7ba1765a 12:13:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:54 + docker inspect -f . ci-base-image-x86_64 12:13:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:13:54 prd-ubuntu20.04-docker-8c-8g-6730 does not seem to be running inside a container 12:13:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:13:55 $ docker top ecbe4bcb71a6391e91437f6d1af2d335bf762575b3d0f31867b130382c032ad5 -eo pid,comm [Pipeline] { [Pipeline] sh 12:13:55 + go version 12:13:55 go version go1.18.7 linux/amd64 [Pipeline] } 12:13:55 $ docker stop --time=1 ecbe4bcb71a6391e91437f6d1af2d335bf762575b3d0f31867b130382c032ad5 12:13:56 $ docker rm -f --volumes ecbe4bcb71a6391e91437f6d1af2d335bf762575b3d0f31867b130382c032ad5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:57 + docker inspect -f . ci-base-image-x86_64 12:13:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:13:57 prd-ubuntu20.04-docker-8c-8g-6730 does not seem to be running inside a container 12:13:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:13:57 $ docker top 12f2a88d3f2379b34d55d1f28665badbe1c96999300c9646c5d7cb73c6a86c1e -eo pid,comm [Pipeline] { [Pipeline] sh 12:13:58 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 12:13:58 + make test 12:13:58 go test ./... -coverprofile=coverage.out 12:13:58 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:14:06 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 12:14:07 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements 12:14:13 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." 12:14:13 go vet ./... 12:14:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:14:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:14:16 ./bin/test-attribution-txt.sh [Pipeline] echo 12:14:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:14:16 $ docker stop --time=1 12f2a88d3f2379b34d55d1f28665badbe1c96999300c9646c5d7cb73c6a86c1e 12:14:18 $ docker rm -f --volumes 12f2a88d3f2379b34d55d1f28665badbe1c96999300c9646c5d7cb73c6a86c1e [Pipeline] // withDockerContainer [Pipeline] sh 12:14:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:14:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:14:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:14:19 + ls -al . 12:14:19 total 192 12:14:19 drwxrwxr-x 9 jenkins jenkins 4096 Feb 20 12:13 . 12:14:19 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 12:12 .. 12:14:19 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 12:14 .git 12:14:19 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 12:12 .github 12:14:19 -rw-rw-r-- 1 jenkins jenkins 337 Feb 20 12:12 .gitignore 12:14:19 -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 12:12 .golangci.yml 12:14:19 drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 12:13 .semver 12:14:19 -rw-rw-r-- 1 jenkins jenkins 8641 Feb 20 12:12 Attribution.txt 12:14:19 -rw-rw-r-- 1 jenkins jenkins 11367 Feb 20 12:12 CHANGELOG.md 12:14:19 -rw-rw-r-- 1 jenkins jenkins 1646 Feb 20 12:12 Dockerfile 12:14:19 -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 12:12 GOVERNANCE.md 12:14:19 -rw-rw-r-- 1 jenkins jenkins 660 Feb 20 12:12 Jenkinsfile 12:14:19 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 12:12 LICENSE 12:14:19 -rw-rw-r-- 1 jenkins jenkins 1661 Feb 20 12:12 Makefile 12:14:19 -rw-rw-r-- 1 jenkins jenkins 623 Feb 20 12:12 OWNERS.md 12:14:19 -rw-rw-r-- 1 jenkins jenkins 3578 Feb 20 12:12 README.md 12:14:19 -rw-rw-r-- 1 jenkins jenkins 12 Feb 20 12:13 VERSION 12:14:19 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 12:12 bin 12:14:19 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 12:12 cmd 12:14:19 -rw-r--r-- 1 jenkins jenkins 44128 Feb 20 12:14 coverage.out 12:14:19 -rw-rw-r-- 1 jenkins jenkins 3252 Feb 20 12:12 go.mod 12:14:19 -rw-rw-r-- 1 jenkins jenkins 32588 Feb 20 12:12 go.sum 12:14:19 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 12:12 internal 12:14:19 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 12:12 snap 12:14:19 -rw-rw-r-- 1 jenkins jenkins 235 Feb 20 12:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:20 + 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=809182d388b7784ea0303513e5a82decca2f34a7 --label arch=amd64 --label version=3.0.0-dev.14 . 12:14:20 Sending build context to Docker daemon 23.43MB 12:14:20 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 12:14:20 Step 2/25 : FROM ${BASE} AS builder 12:14:20 ---> 40dd7ba1765a 12:14:20 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:14:20 ---> Running in 7033c860fd7d 12:14:20 Removing intermediate container 7033c860fd7d 12:14:20 ---> ebdf4c58b349 12:14:20 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 12:14:20 ---> Running in 00ebeaea380d 12:14:20 Removing intermediate container 00ebeaea380d 12:14:20 ---> 36b0a65e329e 12:14:20 Step 5/25 : ARG ADD_BUILD_TAGS="" 12:14:20 ---> Running in d65cfe1eebd0 12:14:20 Removing intermediate container d65cfe1eebd0 12:14:20 ---> 9df55290c2ef 12:14:20 Step 6/25 : WORKDIR /device-virtual-go 12:14:20 ---> Running in 92b3121d74ea 12:14:20 Removing intermediate container 92b3121d74ea 12:14:20 ---> 4bd2255b53d1 12:14:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:14:20 ---> Running in a08625818545 12:14:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:14:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:14:21 OK: 216 MiB in 55 packages 12:14:21 Removing intermediate container a08625818545 12:14:21 ---> 27fe48447ac0 12:14:21 Step 8/25 : COPY go.mod vendor* ./ 12:14:22 ---> 859e799145f4 12:14:22 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:14:22 ---> Running in 9962b2bcb107 12:14:23 Removing intermediate container 9962b2bcb107 12:14:23 ---> 9830c45f167f 12:14:23 Step 10/25 : COPY . . 12:14:23 ---> ee110077e3ad 12:14:23 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:14:23 ---> Running in b446af3436d3 12:14:23 Removing intermediate container b446af3436d3 12:14:23 ---> 13d05f76ea5a 12:14:23 Step 12/25 : RUN $MAKE 12:14:23 ---> Running in 9f62e50e2e11 12:14:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.14" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:14:41 Removing intermediate container 9f62e50e2e11 12:14:41 ---> 0baecf94b3c8 12:14:41 Step 13/25 : FROM alpine:3.16 12:14:41 3.16: Pulling from library/alpine 12:14:41 ef5531b6e74e: Pulling fs layer 12:14:41 ef5531b6e74e: Verifying Checksum 12:14:41 ef5531b6e74e: Download complete 12:14:41 ef5531b6e74e: Pull complete 12:14:41 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 12:14:41 Status: Downloaded newer image for alpine:3.16 12:14:41 ---> dfd21b5a31f5 12:14:41 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:14:41 ---> Running in 5cfa942f20c7 12:14:41 Removing intermediate container 5cfa942f20c7 12:14:41 ---> 1829386a2308 12:14:41 Step 15/25 : RUN apk add --update --no-cache dumb-init 12:14:41 ---> Running in 3fcae52b32a9 12:14:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:14:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:14:42 (1/1) Installing dumb-init (1.2.5-r1) 12:14:42 Executing busybox-1.35.0-r17.trigger 12:14:42 OK: 6 MiB in 15 packages 12:14:43 Removing intermediate container 3fcae52b32a9 12:14:43 ---> 16ce29bff818 12:14:43 Step 16/25 : WORKDIR / 12:14:43 ---> Running in 1398af377056 12:14:43 Removing intermediate container 1398af377056 12:14:43 ---> 07d26cdb2527 12:14:43 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:14:43 ---> c07221d0c0e4 12:14:43 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 12:14:43 ---> 11913a63b8b6 12:14:43 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 12:14:44 ---> d3fed7b40f0d 12:14:44 Step 20/25 : EXPOSE 59900 12:14:44 ---> Running in d4ac2eb34977 12:14:44 Removing intermediate container d4ac2eb34977 12:14:44 ---> 167eb3482d3a 12:14:44 Step 21/25 : ENTRYPOINT ["/device-virtual"] 12:14:44 ---> Running in 0ddaf0fd3cf7 12:14:44 Removing intermediate container 0ddaf0fd3cf7 12:14:44 ---> 7d19b8afb8f0 12:14:44 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:14:44 ---> Running in 8eaf06965152 12:14:44 Removing intermediate container 8eaf06965152 12:14:44 ---> bd05d375343e 12:14:44 Step 23/25 : LABEL arch=amd64 12:14:44 ---> Running in c3b02caad49b 12:14:44 Removing intermediate container c3b02caad49b 12:14:44 ---> 5f93188bd112 12:14:44 Step 24/25 : LABEL git_sha=809182d388b7784ea0303513e5a82decca2f34a7 12:14:44 ---> Running in 3176626495ee 12:14:44 Removing intermediate container 3176626495ee 12:14:44 ---> aaa2af4ecd5b 12:14:44 Step 25/25 : LABEL version=3.0.0-dev.14 12:14:44 ---> Running in b8ebd0f43b02 12:14:44 Removing intermediate container b8ebd0f43b02 12:14:44 ---> cc2e67c9b3ff 12:14:44 [Warning] One or more build-args [ARCH] were not consumed 12:14:44 Successfully built cc2e67c9b3ff 12:14:44 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:14:44 provisioning config files... 12:14:44 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10544454945431764429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:14:45 ---> docker-login.sh 12:14:45 nexus3.edgexfoundry.org:10001 12:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:45 Configure a credential helper to remove this warning. See 12:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:45 12:14:45 Login Succeeded 12:14:45 nexus3.edgexfoundry.org:10002 12:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:45 Configure a credential helper to remove this warning. See 12:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:45 12:14:45 Login Succeeded 12:14:45 nexus3.edgexfoundry.org:10003 12:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:45 Configure a credential helper to remove this warning. See 12:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:45 12:14:45 Login Succeeded 12:14:45 nexus3.edgexfoundry.org:10004 12:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:45 Configure a credential helper to remove this warning. See 12:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:45 12:14:45 Login Succeeded 12:14:45 docker.io 12:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:45 Configure a credential helper to remove this warning. See 12:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:45 12:14:45 Login Succeeded 12:14:45 ---> docker-login.sh ends [Pipeline] } 12:14:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:14:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:14:45 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 12:14:45 809182d388b7784ea0303513e5a82decca2f34a7 12:14:45 latest 12:14:45 3.0.0-dev.14 12:14:45 809182d388b7784ea0303513e5a82decca2f34a7-3.0.0-dev.14 12:14:45 main 12:14:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:46 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:809182d388b7784ea0303513e5a82decca2f34a7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual:809182d388b7784ea0303513e5a82decca2f34a7 12:14:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:14:46 f29996075408: Preparing 12:14:46 628f7853ba32: Preparing 12:14:46 9504b131ba85: Preparing 12:14:46 ee80ca924d7a: Preparing 12:14:46 aa5968d388b8: Preparing 12:14:46 aa5968d388b8: Layer already exists 12:14:46 ee80ca924d7a: Pushed 12:14:46 9504b131ba85: Pushed 12:14:46 628f7853ba32: Pushed 12:14:49 f29996075408: Pushed 12:14:49 809182d388b7784ea0303513e5a82decca2f34a7: digest: sha256:47a764213794308309e5c87cb90fd1128daa9738231d7cc36cf0ef74e648178c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:49 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:49 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 12:14:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:14:49 f29996075408: Preparing 12:14:49 628f7853ba32: Preparing 12:14:49 9504b131ba85: Preparing 12:14:49 ee80ca924d7a: Preparing 12:14:49 aa5968d388b8: Preparing 12:14:49 9504b131ba85: Layer already exists 12:14:49 f29996075408: Layer already exists 12:14:49 ee80ca924d7a: Layer already exists 12:14:49 aa5968d388b8: Layer already exists 12:14:49 628f7853ba32: Layer already exists 12:14:49 latest: digest: sha256:47a764213794308309e5c87cb90fd1128daa9738231d7cc36cf0ef74e648178c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:50 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:50 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.14 12:14:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:14:50 f29996075408: Preparing 12:14:50 628f7853ba32: Preparing 12:14:50 9504b131ba85: Preparing 12:14:50 ee80ca924d7a: Preparing 12:14:50 aa5968d388b8: Preparing 12:14:50 9504b131ba85: Layer already exists 12:14:50 aa5968d388b8: Layer already exists 12:14:50 f29996075408: Layer already exists 12:14:50 628f7853ba32: Layer already exists 12:14:50 ee80ca924d7a: Layer already exists 12:14:50 3.0.0-dev.14: digest: sha256:47a764213794308309e5c87cb90fd1128daa9738231d7cc36cf0ef74e648178c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:50 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:809182d388b7784ea0303513e5a82decca2f34a7-3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual:809182d388b7784ea0303513e5a82decca2f34a7-3.0.0-dev.14 12:14:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:14:51 f29996075408: Preparing 12:14:51 628f7853ba32: Preparing 12:14:51 9504b131ba85: Preparing 12:14:51 ee80ca924d7a: Preparing 12:14:51 aa5968d388b8: Preparing 12:14:51 aa5968d388b8: Layer already exists 12:14:51 ee80ca924d7a: Layer already exists 12:14:51 628f7853ba32: Layer already exists 12:14:51 f29996075408: Layer already exists 12:14:51 9504b131ba85: Layer already exists 12:14:51 809182d388b7784ea0303513e5a82decca2f34a7-3.0.0-dev.14: digest: sha256:47a764213794308309e5c87cb90fd1128daa9738231d7cc36cf0ef74e648178c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:51 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 12:14:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:14:51 f29996075408: Preparing 12:14:51 628f7853ba32: Preparing 12:14:51 9504b131ba85: Preparing 12:14:51 ee80ca924d7a: Preparing 12:14:51 aa5968d388b8: Preparing 12:14:51 9504b131ba85: Layer already exists 12:14:51 f29996075408: Layer already exists 12:14:51 ee80ca924d7a: Layer already exists 12:14:51 628f7853ba32: Layer already exists 12:14:51 aa5968d388b8: Layer already exists 12:14:51 main: digest: sha256:47a764213794308309e5c87cb90fd1128daa9738231d7cc36cf0ef74e648178c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:14:51 ===================================================== [Pipeline] echo 12:14:51 taggedImages: 12:14:51 - nexus3.edgexfoundry.org:10004/device-virtual:809182d388b7784ea0303513e5a82decca2f34a7 12:14:51 - nexus3.edgexfoundry.org:10004/device-virtual:latest 12:14:51 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.14 12:14:51 - nexus3.edgexfoundry.org:10004/device-virtual:809182d388b7784ea0303513e5a82decca2f34a7-3.0.0-dev.14 12:14:51 - 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 12:14:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:14:52 12:14:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:14:52 latest: Pulling from edgex-lftools-log-publisher 12:14:52 5eb5b503b376: Pulling fs layer 12:14:52 5c69ac0246d0: Pulling fs layer 12:14:52 ec43610c2a17: Pulling fs layer 12:14:52 3a2ae6a8a46f: Pulling fs layer 12:14:52 33b1e0a273af: Pulling fs layer 12:14:52 5d3b04190fa2: Pulling fs layer 12:14:52 2f39f015ded8: Pulling fs layer 12:14:52 3a2ae6a8a46f: Waiting 12:14:52 5d3b04190fa2: Waiting 12:14:52 33b1e0a273af: Waiting 12:14:52 2f39f015ded8: Waiting 12:14:52 5c69ac0246d0: Verifying Checksum 12:14:52 5c69ac0246d0: Download complete 12:14:52 3a2ae6a8a46f: Verifying Checksum 12:14:52 3a2ae6a8a46f: Download complete 12:14:52 33b1e0a273af: Verifying Checksum 12:14:52 33b1e0a273af: Download complete 12:14:52 ec43610c2a17: Verifying Checksum 12:14:52 ec43610c2a17: Download complete 12:14:52 5d3b04190fa2: Download complete 12:14:52 5eb5b503b376: Verifying Checksum 12:14:52 5eb5b503b376: Download complete 12:14:53 2f39f015ded8: Download complete 12:14:53 5eb5b503b376: Pull complete 12:14:53 5c69ac0246d0: Pull complete 12:14:54 ec43610c2a17: Pull complete 12:14:54 3a2ae6a8a46f: Pull complete 12:14:54 33b1e0a273af: Pull complete 12:14:54 5d3b04190fa2: Pull complete 12:14:58 2f39f015ded8: Pull complete 12:14:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:14:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:14:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:14:58 prd-ubuntu20.04-docker-8c-8g-6730 does not seem to be running inside a container 12:14:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:15:01 $ docker top 590c1e14df75dd113cd7deaf62c1cb52a3835226e2f58caeab00290906d25af6 -eo pid,comm 12:15:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6731 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 12:15:01 Running in /w/workspace/device-virtual-go/85 [Pipeline] { [Pipeline] checkout 12:15:01 The recommended git tool is: git 12:15:01 ---> job-cost.sh 12:15:01 lf-activate-venv: SKIPPING 12:15:01 INFO: No Stack... 12:15:01 INFO: Retrieving Pricing Info for: v3-standard-8 12:15:02 INFO: Archiving Costs [Pipeline] sh 12:15:02 + cut -d, -f6 12:15:02 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [Pipeline] lock 12:15:02 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-85-stack-cost] 12:15:02 Resource [jenkins-edgexfoundry-device-virtual-go-main-85-stack-cost] did not exist. Created. 12:15:02 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-85-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:15:02 + echo total: 0.2199999988079071 [Pipeline] stash 12:15:02 Stashed 1 file(s) [Pipeline] } 12:15:02 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-85-stack-cost] [Pipeline] // lock [Pipeline] } 12:15:02 $ docker stop --time=1 590c1e14df75dd113cd7deaf62c1cb52a3835226e2f58caeab00290906d25af6 12:15:03 $ docker rm -f --volumes 590c1e14df75dd113cd7deaf62c1cb52a3835226e2f58caeab00290906d25af6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:15:06 using credential edgex-jenkins-ssh 12:15:06 Cloning the remote Git repository 12:15:06 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 12:15:06 > git init /w/workspace/device-virtual-go/85 # timeout=10 12:15:06 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 12:15:06 > git --version # timeout=10 12:15:06 > git --version # 'git version 2.25.1' 12:15:06 using GIT_SSH to set credentials SSH Credentials for GitHub 12:15:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:15:09 Avoid second fetch 12:15:09 Checking out Revision 809182d388b7784ea0303513e5a82decca2f34a7 (main) 12:15:08 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 12:15:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:15:09 > git config core.sparsecheckout # timeout=10 12:15:09 > git checkout -f 809182d388b7784ea0303513e5a82decca2f34a7 # timeout=10 12:15:10 Commit message: "Merge pull request #343 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.34" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:15:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:15:11 % Total % Received % Xferd Average Speed Time Time Time Current 12:15:11 Dload Upload Total Spent Left Speed 12:15:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh 12:15:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:15:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:15:12 + sudo tee /etc/docker/daemon.new 12:15:12 { 12:15:12 "registry-mirrors": [ 12:15:12 "https://nexus3.edgexfoundry.org:10001" 12:15:12 ], 12:15:12 "bip": "10.250.0.254/24", 12:15:12 "hosts": [ 12:15:12 "tcp://0.0.0.0:5555", 12:15:12 "unix:///var/run/docker.sock" 12:15:12 ], 12:15:12 "mtu": 1458, 12:15:12 "selinux-enabled": true, 12:15:12 "seccomp-profile": "/etc/docker/seccomp.json" 12:15:12 } [Pipeline] sh 12:15:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:15:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:15:31 provisioning config files... 12:15:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/85@tmp/config14216451290078408408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:15:31 ---> docker-login.sh 12:15:31 nexus3.edgexfoundry.org:10001 12:15:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:32 Configure a credential helper to remove this warning. See 12:15:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:32 12:15:32 Login Succeeded 12:15:32 nexus3.edgexfoundry.org:10002 12:15:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:32 Configure a credential helper to remove this warning. See 12:15:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:32 12:15:32 Login Succeeded 12:15:32 nexus3.edgexfoundry.org:10003 12:15:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:32 Configure a credential helper to remove this warning. See 12:15:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:32 12:15:32 Login Succeeded 12:15:32 nexus3.edgexfoundry.org:10004 12:15:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:33 Configure a credential helper to remove this warning. See 12:15:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:33 12:15:33 Login Succeeded 12:15:33 docker.io 12:15:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:33 Configure a credential helper to remove this warning. See 12:15:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:33 12:15:33 Login Succeeded 12:15:33 ---> docker-login.sh ends [Pipeline] } 12:15:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:15:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:15:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:15:33 ========================================================= 12:15:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 12:15:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:34 + 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 . 12:15:34 Sending build context to Docker daemon 11.84MB 12:15:34 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:15:34 Step 2/12 : FROM ${BASE} AS builder 12:15:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:15:34 9b18e9b68314: Pulling fs layer 12:15:34 35d82f9e3411: Pulling fs layer 12:15:34 e16973657156: Pulling fs layer 12:15:34 fc693d55d65f: Pulling fs layer 12:15:34 7e9fc2657dce: Pulling fs layer 12:15:34 dda99020689f: Pulling fs layer 12:15:34 db1c61fa0a46: Pulling fs layer 12:15:34 891c053d2c06: Pulling fs layer 12:15:34 7e9fc2657dce: Waiting 12:15:34 dda99020689f: Waiting 12:15:34 fc693d55d65f: Waiting 12:15:34 891c053d2c06: Waiting 12:15:34 db1c61fa0a46: Waiting 12:15:34 e16973657156: Verifying Checksum 12:15:34 e16973657156: Download complete 12:15:34 35d82f9e3411: Verifying Checksum 12:15:34 35d82f9e3411: Download complete 12:15:34 7e9fc2657dce: Download complete 12:15:34 dda99020689f: Verifying Checksum 12:15:34 dda99020689f: Download complete 12:15:34 9b18e9b68314: Verifying Checksum 12:15:34 9b18e9b68314: Download complete 12:15:35 9b18e9b68314: Pull complete 12:15:35 891c053d2c06: Verifying Checksum 12:15:35 891c053d2c06: Download complete 12:15:36 35d82f9e3411: Pull complete 12:15:36 e16973657156: Pull complete 12:15:37 db1c61fa0a46: Verifying Checksum 12:15:37 db1c61fa0a46: Download complete 12:15:37 fc693d55d65f: Verifying Checksum 12:15:49 fc693d55d65f: Pull complete 12:15:49 7e9fc2657dce: Pull complete 12:15:49 dda99020689f: Pull complete 12:15:56 db1c61fa0a46: Pull complete 12:15:57 891c053d2c06: Pull complete 12:15:57 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 12:15:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 12:15:57 ---> f96f9c87975a 12:15:57 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:15:59 ---> Running in 3fa48bb7c5f5 12:15:59 Removing intermediate container 3fa48bb7c5f5 12:15:59 ---> 54e50cfebb1f 12:15:59 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:15:59 ---> Running in a743ba490dcb 12:16:00 Removing intermediate container a743ba490dcb 12:16:00 ---> 74489db98bf2 12:16:00 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:16:00 ---> Running in 0935b6ef6f54 12:16:00 Removing intermediate container 0935b6ef6f54 12:16:00 ---> 72d9c228b73e 12:16:00 Step 6/12 : WORKDIR /device-virtual-go 12:16:00 ---> Running in 2bafeecd3222 12:16:01 Removing intermediate container 2bafeecd3222 12:16:01 ---> 02443055422c 12:16:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:16:01 ---> Running in a759b9186d4a 12:16:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:16:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:16:03 (1/4) Installing openssh-keygen (9.0_p1-r2) 12:16:03 (2/4) Installing libedit (20210910.3.1-r0) 12:16:03 (3/4) Installing openssh-client-common (9.0_p1-r2) 12:16:03 (4/4) Installing openssh-client-default (9.0_p1-r2) 12:16:03 Executing busybox-1.35.0-r17.trigger 12:16:03 OK: 226 MiB in 55 packages 12:16:05 Removing intermediate container a759b9186d4a 12:16:05 ---> ae2a86d38dc1 12:16:05 Step 8/12 : COPY go.mod vendor* ./ 12:16:05 ---> 9f50c0390db6 12:16:05 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:16:05 ---> Running in a3d1d02e90ee 12:17:14 Removing intermediate container a3d1d02e90ee 12:17:14 ---> 6b1a7fa9afe4 12:17:14 Step 10/12 : COPY . . 12:17:14 ---> 1b45674eaf9a 12:17:14 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:17:14 ---> Running in 2d0bc1fb1153 12:17:14 Removing intermediate container 2d0bc1fb1153 12:17:14 ---> cb2ec6d15c78 12:17:14 Step 12/12 : RUN $MAKE 12:17:14 ---> Running in 25925d2e5ee1 12:17:14 noop 12:17:14 Removing intermediate container 25925d2e5ee1 12:17:14 ---> e72f66aec8d2 12:17:14 Successfully built e72f66aec8d2 12:17:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:17:14 + docker inspect -f . ci-base-image-arm64 12:17:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:17:14 prd-ubuntu20.04-docker-arm64-4c-16g-6731 does not seem to be running inside a container 12:17:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/85 -v /w/workspace/device-virtual-go/85:/w/workspace/device-virtual-go/85:rw,z -v /w/workspace/device-virtual-go/85@tmp:/w/workspace/device-virtual-go/85@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 12:17:15 $ docker top cf21066c06962de19a5e2ea4436c283ce8c86307715b76cf356a5306aeba439a -eo pid,comm [Pipeline] { [Pipeline] sh 12:17:16 + go version 12:17:16 go version go1.18.7 linux/arm64 [Pipeline] } 12:17:16 $ docker stop --time=1 cf21066c06962de19a5e2ea4436c283ce8c86307715b76cf356a5306aeba439a 12:17:18 $ docker rm -f --volumes cf21066c06962de19a5e2ea4436c283ce8c86307715b76cf356a5306aeba439a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:17:18 + docker inspect -f . ci-base-image-arm64 12:17:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:17:19 prd-ubuntu20.04-docker-arm64-4c-16g-6731 does not seem to be running inside a container 12:17:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/85 -v /w/workspace/device-virtual-go/85:/w/workspace/device-virtual-go/85:rw,z -v /w/workspace/device-virtual-go/85@tmp:/w/workspace/device-virtual-go/85@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 12:17:20 $ docker top 669c162f862897366d1cdc0c6a7b9790be2a592392fdb29fa0498c77a1bf4fec -eo pid,comm [Pipeline] { [Pipeline] sh 12:17:20 + git config --global --add safe.directory /w/workspace/device-virtual-go/85 [Pipeline] fileExists [Pipeline] sh 12:17:21 + make test 12:17:21 go test ./... -coverprofile=coverage.out 12:17:22 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:18:44 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 12:18:44 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.122s coverage: 65.7% of statements 12:18:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:18:44 go vet ./... 12:18:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:18:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:18:56 ./bin/test-attribution-txt.sh [Pipeline] echo 12:18:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:18:56 $ docker stop --time=1 669c162f862897366d1cdc0c6a7b9790be2a592392fdb29fa0498c77a1bf4fec 12:18:58 $ docker rm -f --volumes 669c162f862897366d1cdc0c6a7b9790be2a592392fdb29fa0498c77a1bf4fec [Pipeline] // withDockerContainer [Pipeline] sh 12:18:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:18:59 Warning: overwriting stash ‘coverage-report’ 12:18:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:19:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:19:00 + ls -al . 12:19:00 total 188 12:19:00 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 12:17 . 12:19:00 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 12:15 .. 12:19:00 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 12:15 .git 12:19:00 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 12:15 .github 12:19:00 -rw-rw-r-- 1 jenkins jenkins 337 Feb 20 12:15 .gitignore 12:19:00 -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 12:15 .golangci.yml 12:19:00 -rw-rw-r-- 1 jenkins jenkins 8641 Feb 20 12:15 Attribution.txt 12:19:00 -rw-rw-r-- 1 jenkins jenkins 11367 Feb 20 12:15 CHANGELOG.md 12:19:00 -rw-rw-r-- 1 jenkins jenkins 1646 Feb 20 12:15 Dockerfile 12:19:00 -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 12:15 GOVERNANCE.md 12:19:00 -rw-rw-r-- 1 jenkins jenkins 660 Feb 20 12:15 Jenkinsfile 12:19:00 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 12:15 LICENSE 12:19:00 -rw-rw-r-- 1 jenkins jenkins 1661 Feb 20 12:15 Makefile 12:19:00 -rw-rw-r-- 1 jenkins jenkins 623 Feb 20 12:15 OWNERS.md 12:19:00 -rw-rw-r-- 1 jenkins jenkins 3578 Feb 20 12:15 README.md 12:19:00 -rw-rw-r-- 1 jenkins jenkins 12 Feb 20 12:13 VERSION 12:19:00 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 12:15 bin 12:19:00 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 12:15 cmd 12:19:00 -rw-r--r-- 1 jenkins jenkins 44128 Feb 20 12:18 coverage.out 12:19:00 -rw-rw-r-- 1 jenkins jenkins 3252 Feb 20 12:15 go.mod 12:19:00 -rw-rw-r-- 1 jenkins jenkins 32588 Feb 20 12:15 go.sum 12:19:00 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 12:15 internal 12:19:00 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 12:15 snap 12:19:00 -rw-rw-r-- 1 jenkins jenkins 235 Feb 20 12:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:19:01 + 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=809182d388b7784ea0303513e5a82decca2f34a7 --label arch=arm64 --label version=3.0.0-dev.14 . 12:19:01 Sending build context to Docker daemon 11.89MB 12:19:01 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 12:19:01 Step 2/25 : FROM ${BASE} AS builder 12:19:01 ---> e72f66aec8d2 12:19:01 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:19:01 ---> Running in 5d362b5d02e2 12:19:01 Removing intermediate container 5d362b5d02e2 12:19:01 ---> c83cde58681e 12:19:01 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 12:19:01 ---> Running in 2778e226284b 12:19:02 Removing intermediate container 2778e226284b 12:19:02 ---> e21edd0dc9c1 12:19:02 Step 5/25 : ARG ADD_BUILD_TAGS="" 12:19:02 ---> Running in f9ede4bb5b1a 12:19:02 Removing intermediate container f9ede4bb5b1a 12:19:02 ---> a25b03aa0baf 12:19:02 Step 6/25 : WORKDIR /device-virtual-go 12:19:02 ---> Running in 3a5772b90bc6 12:19:02 Removing intermediate container 3a5772b90bc6 12:19:02 ---> fca913425eb0 12:19:02 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:19:02 ---> Running in d1d58e3fc0e0 12:19:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:19:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:19:05 OK: 226 MiB in 55 packages 12:19:06 Removing intermediate container d1d58e3fc0e0 12:19:06 ---> bdec943a74df 12:19:06 Step 8/25 : COPY go.mod vendor* ./ 12:19:06 ---> b1607884eac7 12:19:06 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:19:06 ---> Running in 1344376d9f89 12:19:09 Removing intermediate container 1344376d9f89 12:19:09 ---> cadd0c9832a6 12:19:09 Step 10/25 : COPY . . 12:19:10 ---> 16acd1a43421 12:19:10 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:19:10 ---> Running in 6a321b9045cd 12:19:10 Removing intermediate container 6a321b9045cd 12:19:10 ---> c9a71eb04f57 12:19:10 Step 12/25 : RUN $MAKE 12:19:10 ---> Running in 6c5d8a6ca918 12:19:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.14" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:21:33 Removing intermediate container 6c5d8a6ca918 12:21:33 ---> 389d296c81d3 12:21:33 Step 13/25 : FROM alpine:3.16 12:21:33 3.16: Pulling from library/alpine 12:21:33 3760b48202b3: Pulling fs layer 12:21:33 3760b48202b3: Verifying Checksum 12:21:33 3760b48202b3: Download complete 12:21:33 3760b48202b3: Pull complete 12:21:33 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 12:21:33 Status: Downloaded newer image for alpine:3.16 12:21:33 ---> 4c81e5bf8899 12:21:33 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:21:33 ---> Running in 6c1adbf89a13 12:21:33 Removing intermediate container 6c1adbf89a13 12:21:33 ---> 87ea6a0f3a28 12:21:33 Step 15/25 : RUN apk add --update --no-cache dumb-init 12:21:33 ---> Running in 87d6aa51b469 12:21:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:21:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:21:34 (1/1) Installing dumb-init (1.2.5-r1) 12:21:34 Executing busybox-1.35.0-r17.trigger 12:21:34 OK: 5 MiB in 15 packages 12:21:35 Removing intermediate container 87d6aa51b469 12:21:35 ---> 9e563a298a71 12:21:35 Step 16/25 : WORKDIR / 12:21:35 ---> Running in d76cabc04b25 12:21:35 Removing intermediate container d76cabc04b25 12:21:35 ---> b21228c0407a 12:21:35 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:21:35 ---> 462a29210e4e 12:21:35 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 12:21:37 ---> 699ecf682b25 12:21:37 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 12:21:38 ---> 90eb75bf94af 12:21:38 Step 20/25 : EXPOSE 59900 12:21:38 ---> Running in 5ec8c8bbf17c 12:21:38 Removing intermediate container 5ec8c8bbf17c 12:21:38 ---> c931fa0bc1a1 12:21:38 Step 21/25 : ENTRYPOINT ["/device-virtual"] 12:21:39 ---> Running in 38cf433ac5eb 12:21:39 Removing intermediate container 38cf433ac5eb 12:21:39 ---> d28571baa81d 12:21:39 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:21:39 ---> Running in f96e915e1914 12:21:39 Removing intermediate container f96e915e1914 12:21:39 ---> 12f3097ffe0e 12:21:39 Step 23/25 : LABEL arch=arm64 12:21:39 ---> Running in f03c2b3a224b 12:21:39 Removing intermediate container f03c2b3a224b 12:21:39 ---> 32a4519c6cfb 12:21:39 Step 24/25 : LABEL git_sha=809182d388b7784ea0303513e5a82decca2f34a7 12:21:39 ---> Running in 41b3645cb286 12:21:40 Removing intermediate container 41b3645cb286 12:21:40 ---> 2579541cf488 12:21:40 Step 25/25 : LABEL version=3.0.0-dev.14 12:21:40 ---> Running in 456c7b1cb523 12:21:40 Removing intermediate container 456c7b1cb523 12:21:40 ---> a4c7135a46a6 12:21:40 [Warning] One or more build-args [ARCH] were not consumed 12:21:40 Successfully built a4c7135a46a6 12:21:40 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 12:21:40 provisioning config files... 12:21:40 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/85@tmp/config13189769644807204028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:21:41 ---> docker-login.sh 12:21:41 nexus3.edgexfoundry.org:10001 12:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:21:41 Configure a credential helper to remove this warning. See 12:21:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:21:41 12:21:41 Login Succeeded 12:21:41 nexus3.edgexfoundry.org:10002 12:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:21:41 Configure a credential helper to remove this warning. See 12:21:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:21:41 12:21:41 Login Succeeded 12:21:41 nexus3.edgexfoundry.org:10003 12:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:21:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:21:42 Configure a credential helper to remove this warning. See 12:21:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:21:42 12:21:42 Login Succeeded 12:21:42 nexus3.edgexfoundry.org:10004 12:21:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:21:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:21:42 Configure a credential helper to remove this warning. See 12:21:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:21:42 12:21:42 Login Succeeded 12:21:42 docker.io 12:21:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:21:43 Configure a credential helper to remove this warning. See 12:21:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:21:43 12:21:43 Login Succeeded 12:21:43 ---> docker-login.sh ends [Pipeline] } 12:21:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:21:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:21:43 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 12:21:43 809182d388b7784ea0303513e5a82decca2f34a7 12:21:43 latest 12:21:43 3.0.0-dev.14 12:21:43 809182d388b7784ea0303513e5a82decca2f34a7-3.0.0-dev.14 12:21:43 main 12:21:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:43 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:809182d388b7784ea0303513e5a82decca2f34a7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:809182d388b7784ea0303513e5a82decca2f34a7 12:21:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:21:43 d12236cd7038: Preparing 12:21:43 b47471b3baa9: Preparing 12:21:43 3d5ca2e79cd8: Preparing 12:21:43 56329a4a6da0: Preparing 12:21:43 f70ee36035b9: Preparing 12:21:43 f70ee36035b9: Layer already exists 12:21:44 b47471b3baa9: Pushed 12:21:44 3d5ca2e79cd8: Pushed 12:21:44 56329a4a6da0: Pushed 12:21:49 d12236cd7038: Pushed 12:21:49 809182d388b7784ea0303513e5a82decca2f34a7: digest: sha256:bcec8f732521feae13d6a78f5e6a41470fd3cbffb86ee02c11cd1c38a740261f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:49 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:50 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 12:21:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:21:50 d12236cd7038: Preparing 12:21:50 b47471b3baa9: Preparing 12:21:50 3d5ca2e79cd8: Preparing 12:21:50 56329a4a6da0: Preparing 12:21:50 f70ee36035b9: Preparing 12:21:50 d12236cd7038: Layer already exists 12:21:50 f70ee36035b9: Layer already exists 12:21:50 3d5ca2e79cd8: Layer already exists 12:21:50 b47471b3baa9: Layer already exists 12:21:50 56329a4a6da0: Layer already exists 12:21:50 latest: digest: sha256:bcec8f732521feae13d6a78f5e6a41470fd3cbffb86ee02c11cd1c38a740261f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:50 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:50 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.14 12:21:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:21:50 d12236cd7038: Preparing 12:21:50 b47471b3baa9: Preparing 12:21:50 3d5ca2e79cd8: Preparing 12:21:50 56329a4a6da0: Preparing 12:21:50 f70ee36035b9: Preparing 12:21:50 56329a4a6da0: Layer already exists 12:21:50 b47471b3baa9: Layer already exists 12:21:50 d12236cd7038: Layer already exists 12:21:50 3d5ca2e79cd8: Layer already exists 12:21:50 f70ee36035b9: Layer already exists 12:21:50 3.0.0-dev.14: digest: sha256:bcec8f732521feae13d6a78f5e6a41470fd3cbffb86ee02c11cd1c38a740261f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:51 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:809182d388b7784ea0303513e5a82decca2f34a7-3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:809182d388b7784ea0303513e5a82decca2f34a7-3.0.0-dev.14 12:21:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:21:51 d12236cd7038: Preparing 12:21:51 b47471b3baa9: Preparing 12:21:51 3d5ca2e79cd8: Preparing 12:21:51 56329a4a6da0: Preparing 12:21:51 f70ee36035b9: Preparing 12:21:51 3d5ca2e79cd8: Layer already exists 12:21:51 b47471b3baa9: Layer already exists 12:21:51 56329a4a6da0: Layer already exists 12:21:51 f70ee36035b9: Layer already exists 12:21:51 d12236cd7038: Layer already exists 12:21:51 809182d388b7784ea0303513e5a82decca2f34a7-3.0.0-dev.14: digest: sha256:bcec8f732521feae13d6a78f5e6a41470fd3cbffb86ee02c11cd1c38a740261f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:51 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:52 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 12:21:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:21:52 d12236cd7038: Preparing 12:21:52 b47471b3baa9: Preparing 12:21:52 3d5ca2e79cd8: Preparing 12:21:52 56329a4a6da0: Preparing 12:21:52 f70ee36035b9: Preparing 12:21:52 b47471b3baa9: Layer already exists 12:21:52 d12236cd7038: Layer already exists 12:21:52 f70ee36035b9: Layer already exists 12:21:52 3d5ca2e79cd8: Layer already exists 12:21:52 56329a4a6da0: Layer already exists 12:21:52 main: digest: sha256:bcec8f732521feae13d6a78f5e6a41470fd3cbffb86ee02c11cd1c38a740261f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:21:52 ===================================================== [Pipeline] echo 12:21:52 taggedImages: 12:21:52 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:809182d388b7784ea0303513e5a82decca2f34a7 12:21:52 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 12:21:52 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.14 12:21:52 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:809182d388b7784ea0303513e5a82decca2f34a7-3.0.0-dev.14 12:21:52 - 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 12:21:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:21:52 12:21:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:21:52 arm64: Pulling from edgex-lftools-log-publisher 12:21:52 8998bd30e6a1: Pulling fs layer 12:21:52 04944245beec: Pulling fs layer 12:21:52 699f458cf7ca: Pulling fs layer 12:21:52 765212b225bb: Pulling fs layer 12:21:52 f23df028b6ca: Pulling fs layer 12:21:52 d65c8cfc05b1: Pulling fs layer 12:21:52 2437ff75d9bd: Pulling fs layer 12:21:52 f23df028b6ca: Waiting 12:21:52 d65c8cfc05b1: Waiting 12:21:52 2437ff75d9bd: Waiting 12:21:52 765212b225bb: Waiting 12:21:53 04944245beec: Verifying Checksum 12:21:53 04944245beec: Download complete 12:21:53 765212b225bb: Download complete 12:21:53 f23df028b6ca: Verifying Checksum 12:21:53 f23df028b6ca: Download complete 12:21:53 d65c8cfc05b1: Download complete 12:21:53 699f458cf7ca: Verifying Checksum 12:21:53 699f458cf7ca: Download complete 12:21:53 8998bd30e6a1: Verifying Checksum 12:21:53 8998bd30e6a1: Download complete 12:21:55 2437ff75d9bd: Verifying Checksum 12:21:55 2437ff75d9bd: Download complete 12:21:57 8998bd30e6a1: Pull complete 12:21:57 04944245beec: Pull complete 12:21:59 699f458cf7ca: Pull complete 12:21:59 765212b225bb: Pull complete 12:21:59 f23df028b6ca: Pull complete 12:22:00 d65c8cfc05b1: Pull complete 12:22:15 2437ff75d9bd: Pull complete 12:22:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:22:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:22:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:22:15 prd-ubuntu20.04-docker-arm64-4c-16g-6731 does not seem to be running inside a container 12:22:15 $ 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/85 -v /w/workspace/device-virtual-go/85:/w/workspace/device-virtual-go/85:rw,z -v /w/workspace/device-virtual-go/85@tmp:/w/workspace/device-virtual-go/85@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 12:22:17 $ docker top 93aa68f477187d65e6f9e8da5ea2f0a0ded4bb800947e1ea66c3efbb32a537eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:22:18 ---> job-cost.sh 12:22:18 lf-activate-venv: SKIPPING 12:22:18 INFO: No Stack... 12:22:18 INFO: Retrieving Pricing Info for: v3-standard-4 12:22:19 INFO: Archiving Costs [Pipeline] sh 12:22:20 + cat /w/workspace/device-virtual-go/85/archives/cost.csv 12:22:20 + cut -d, -f6 [Pipeline] lock 12:22:20 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-85-stack-cost] 12:22:20 Resource [jenkins-edgexfoundry-device-virtual-go-main-85-stack-cost] did not exist. Created. 12:22:20 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-85-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:22:20 /w/workspace/device-virtual-go/85@tmp/durable-e96f8a7e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:22:21 + echo total: 0.10999999940395355 [Pipeline] stash 12:22:21 Warning: overwriting stash ‘stack-cost’ 12:22:21 Stashed 1 file(s) [Pipeline] } 12:22:21 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-85-stack-cost] [Pipeline] // lock [Pipeline] } 12:22:21 $ docker stop --time=1 93aa68f477187d65e6f9e8da5ea2f0a0ded4bb800947e1ea66c3efbb32a537eb 12:22:23 $ docker rm -f --volumes 93aa68f477187d65e6f9e8da5ea2f0a0ded4bb800947e1ea66c3efbb32a537eb [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 12:22:23 provisioning config files... 12:22:23 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3359313926480987850tmp [Pipeline] { [Pipeline] sh 12:22:23 + set +x 12:22:23 + curl -s https://codecov.io/bash 12:22:23 + bash -s -- 12:22:23 12:22:23 _____ _ 12:22:23 / ____| | | 12:22:23 | | ___ __| | ___ ___ _____ __ 12:22:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:22:23 | |___| (_) | (_| | __/ (_| (_) \ V / 12:22:23 \_____\___/ \__,_|\___|\___\___/ \_/ 12:22:23 Bash-1.0.6 12:22:23 12:22:23 12:22:23 ==> git version 2.25.1 found 12:22:23 ==> 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 12:22:23 Release-Date: 2020-01-08 12:22:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:22:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:22:23 ==> Jenkins CI detected. 12:22:23 current dir:  /w/workspace/exfoundry_device-virtual-go_main 12:22:23 project root: . 12:22:23 --> token set from env 12:22:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:22:23 ==> Running gcov in . (disable via -X gcov) 12:22:23 ==> Python coveragepy not found 12:22:23 ==> Searching for coverage reports in: 12:22:23 + . 12:22:23 -> Found 1 reports 12:22:23 ==> Detecting git/mercurial file structure 12:22:24 ==> Reading reports 12:22:24 + ./coverage.out bytes=44128 12:22:24 ==> Appending adjustments 12:22:24 https://docs.codecov.io/docs/fixing-reports 12:22:24 + Found adjustments 12:22:24 ==> Gzipping contents 12:22:24 8.0K /tmp/codecov.HAZfKQ.gz 12:22:24 ==> Uploading reports 12:22:24 url: https://codecov.io 12:22:24 query: branch=main&commit=809182d388b7784ea0303513e5a82decca2f34a7&build=85&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F85%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:22:24 -> Pinging Codecov 12:22:24 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=809182d388b7784ea0303513e5a82decca2f34a7&build=85&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F85%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:22:24 -> Uploading to 12:22:24 https://storage.googleapis.com/codecov/v4/raw/2023-02-20/5E52B4B073DB2E39498172D8E973AA87/809182d388b7784ea0303513e5a82decca2f34a7/c61c984c-f000-4940-9f62-9dae4c24b06e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230220%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230220T122224Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4a468caed87becf3472d1f3b8c300c07d184bd89da6324f45f438855daa53e88 12:22:24 % Total % Received % Xferd Average Speed Time Time Time Current 12:22:24 Dload Upload Total Spent Left Speed 12:22:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5479 0 0 100 5479 0 24791 --:--:-- --:--:-- --:--:-- 24680 100 5479 0 0 100 5479 0 17015 --:--:-- --:--:-- --:--:-- 16962 12:22:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/809182d388b7784ea0303513e5a82decca2f34a7 [Pipeline] } 12:22:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 12:22:24 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 12:22:24 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:22:25 12:22:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:22:25 1.410.4: Pulling from edgex-devops/edgex-snyk-go 12:22:25 df9b9388f04a: Pulling fs layer 12:22:25 52dc419b0ee2: Pulling fs layer 12:22:25 25bc292e5bac: Pulling fs layer 12:22:25 114826534d7a: Pulling fs layer 12:22:25 4657fd5d0bcf: Pulling fs layer 12:22:25 6ad1cebc031e: Pulling fs layer 12:22:25 8a3aa393b2d8: Pulling fs layer 12:22:25 4657fd5d0bcf: Waiting 12:22:25 6ad1cebc031e: Waiting 12:22:25 8a3aa393b2d8: Waiting 12:22:25 114826534d7a: Waiting 12:22:25 25bc292e5bac: Download complete 12:22:25 52dc419b0ee2: Download complete 12:22:25 4657fd5d0bcf: Verifying Checksum 12:22:25 4657fd5d0bcf: Download complete 12:22:25 df9b9388f04a: Verifying Checksum 12:22:25 df9b9388f04a: Download complete 12:22:25 df9b9388f04a: Pull complete 12:22:25 52dc419b0ee2: Pull complete 12:22:25 25bc292e5bac: Pull complete 12:22:25 6ad1cebc031e: Verifying Checksum 12:22:25 6ad1cebc031e: Download complete 12:22:26 114826534d7a: Verifying Checksum 12:22:26 114826534d7a: Download complete 12:22:26 8a3aa393b2d8: Download complete 12:22:29 114826534d7a: Pull complete 12:22:29 4657fd5d0bcf: Pull complete 12:22:29 6ad1cebc031e: Pull complete 12:22:32 8a3aa393b2d8: Pull complete 12:22:32 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 12:22:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:22:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:22:32 prd-ubuntu20.04-docker-8c-8g-6730 does not seem to be running inside a container 12:22:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 12:22:34 $ docker top 537abe94e9c98c13ccbd98b39f291665620dd4edaf13f05a7c417c3f4854e4d9 -eo pid,comm [Pipeline] { [Pipeline] echo 12:22:34 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 12:22:34 + set -o pipefail 12:22:34 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 12:22:39 12:22:39 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 12:22:39 12:22:39 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/74992930-cd24-4fc7-bf56-56ea0af4d935 12:22:39 12:22:39 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 12:22:39 12:22:39 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 12:22:39 12:22:40 12:22:40 A medium severity vulnerability was found in the Snyk CLI versions you are using. 12:22:40 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 12:22:40 More details here: https://snyk.co/ue1NS [Pipeline] } 12:22:40 $ docker stop --time=1 537abe94e9c98c13ccbd98b39f291665620dd4edaf13f05a7c417c3f4854e4d9 12:22:41 $ docker rm -f --volumes 537abe94e9c98c13ccbd98b39f291665620dd4edaf13f05a7c417c3f4854e4d9 [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 12:22:42 + git log --format=format:%s -1 809182d388b7784ea0303513e5a82decca2f34a7 [Pipeline] sh 12:22:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:22:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:22:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:22:43 prd-ubuntu20.04-docker-8c-8g-6730 does not seem to be running inside a container 12:22:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:22:43 $ docker top 74038f03738a9e99c1d68352018ae826368a6c64e06870945513098b5adba556 -eo pid,comm 12:22:43 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). 12:22:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:22:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:22:43 [ssh-agent] Looking for ssh-agent implementation... 12:22:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:22:43 $ docker exec 74038f03738a9e99c1d68352018ae826368a6c64e06870945513098b5adba556 ssh-agent 12:22:44 SSH_AUTH_SOCK=/tmp/ssh-wDtiQ0Y0sN7t/agent.33 12:22:44 SSH_AGENT_PID=39 12:22:44 Running ssh-add (command line suppressed) 12:22:44 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5360523589492734754.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5360523589492734754.key) 12:22:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:22:44 + git semver tag 12:22:44 2023-02-20 12:22:44,682 [run_tag] DEBUG tag force:False 12:22:44 2023-02-20 12:22:44,682 [check_head_tag] DEBUG check head tag 12:22:44 2023-02-20 12:22:44,683 [execute] INFO git cat-file --batch-check 12:22:44 2023-02-20 12:22:44,683 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 12:22:44 2023-02-20 12:22:44,686 [execute] INFO git cat-file --batch 12:22:44 2023-02-20 12:22:44,686 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 12:22:44 2023-02-20 12:22:44,707 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:22:44 2023-02-20 12:22:44,708 [execute] INFO git tag -a v3.0.0-dev.14 -m v3.0.0-dev.14 12:22:44 2023-02-20 12:22:44,708 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.14', '-m', 'v3.0.0-dev.14'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 12:22:44 2023-02-20 12:22:44,713 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:22:44 3.0.0-dev.14 [Pipeline] } 12:22:44 $ docker exec --env ******** --env ******** 74038f03738a9e99c1d68352018ae826368a6c64e06870945513098b5adba556 ssh-agent -k 12:22:44 unset SSH_AUTH_SOCK; 12:22:44 unset SSH_AGENT_PID; 12:22:44 echo Agent pid 39 killed; 12:22:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:22:45 + git semver [Pipeline] } 12:22:45 $ docker stop --time=1 74038f03738a9e99c1d68352018ae826368a6c64e06870945513098b5adba556 12:22:46 $ docker rm -f --volumes 74038f03738a9e99c1d68352018ae826368a6c64e06870945513098b5adba556 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:22:47 12:22:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:22:47 0.23.1-centos7: Pulling from edgex-lftools 12:22:47 ab5ef0e58194: Pulling fs layer 12:22:47 9712f1f96733: Pulling fs layer 12:22:47 63f879dbbcfc: Pulling fs layer 12:22:47 0d9ebad4ef96: Pulling fs layer 12:22:47 e9a5061849ea: Pulling fs layer 12:22:47 d747dcd14b5f: Pulling fs layer 12:22:47 2de7ff778b66: Pulling fs layer 12:22:47 e9a5061849ea: Waiting 12:22:47 0d9ebad4ef96: Waiting 12:22:47 d747dcd14b5f: Waiting 12:22:47 2de7ff778b66: Waiting 12:22:47 9712f1f96733: Verifying Checksum 12:22:47 9712f1f96733: Download complete 12:22:48 63f879dbbcfc: Verifying Checksum 12:22:48 63f879dbbcfc: Download complete 12:22:48 0d9ebad4ef96: Verifying Checksum 12:22:48 0d9ebad4ef96: Download complete 12:22:48 e9a5061849ea: Verifying Checksum 12:22:48 e9a5061849ea: Download complete 12:22:48 d747dcd14b5f: Verifying Checksum 12:22:48 d747dcd14b5f: Download complete 12:22:48 ab5ef0e58194: Verifying Checksum 12:22:48 ab5ef0e58194: Download complete 12:22:48 2de7ff778b66: Verifying Checksum 12:22:48 2de7ff778b66: Download complete 12:22:50 ab5ef0e58194: Pull complete 12:22:50 9712f1f96733: Pull complete 12:22:51 63f879dbbcfc: Pull complete 12:22:54 0d9ebad4ef96: Pull complete 12:22:54 e9a5061849ea: Pull complete 12:22:55 d747dcd14b5f: Pull complete 12:22:56 2de7ff778b66: Pull complete 12:22:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 12:22:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:22:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:22:56 prd-ubuntu20.04-docker-8c-8g-6730 does not seem to be running inside a container 12:22:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 12:22:58 $ docker top 64667090ab26bd94d32cf2b941f36402a69f3aa460a99b8e456b3c5ac07089b3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 12:22:58 provisioning config files... 12:22:58 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15503523904236886889tmp 12:22:58 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15123669955416830752tmp 12:22:58 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config995407135189776256tmp [Pipeline] { [Pipeline] echo 12:22:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 12:22:58 ---> sigul-configuration.sh 12:22:58 gpg: directory `/root/.gnupg' created 12:22:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 12:22:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 12:22:58 gpg: keyring `/root/.gnupg/secring.gpg' created 12:22:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 12:22:58 gpg: CAST5 encrypted data 12:22:58 gpg: encrypted with 1 passphrase 12:22:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 12:22:59 + mkdir /home/jenkins 12:22:59 + mkdir /home/jenkins/sigul [Pipeline] sh 12:22:59 + 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 12:22:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 12:22:59 ---> sigul-install.sh 12:22:59 Sigul already installed; skipping installation. [Pipeline] sh 12:22:59 + git tag --list 12:22:59 v1.0.0 12:22:59 v1.1.0 12:22:59 v1.1.1 12:22:59 v1.2.1 12:22:59 v1.2.2 12:22:59 v1.2.3 12:22:59 v1.3.0 12:22:59 v1.3.1 12:22:59 v2.0.0 12:22:59 v2.1.0 12:22:59 v2.1.1 12:22:59 v2.1.1-dev.1 12:22:59 v2.1.1-dev.2 12:22:59 v2.2.0 12:22:59 v2.2.1-dev.1 12:22:59 v2.2.1-dev.2 12:22:59 v2.2.1-dev.3 12:22:59 v2.2.1-dev.4 12:22:59 v2.2.1-dev.5 12:22:59 v2.2.1-dev.6 12:22:59 v2.2.1-dev.7 12:22:59 v2.2.1-dev.8 12:22:59 v2.3.0 12:22:59 v2.3.0-dev.10 12:22:59 v2.3.0-dev.11 12:22:59 v2.3.0-dev.12 12:22:59 v2.3.0-dev.13 12:22:59 v2.3.0-dev.14 12:22:59 v2.3.0-dev.15 12:22:59 v2.3.0-dev.16 12:22:59 v2.3.0-dev.17 12:22:59 v2.3.0-dev.18 12:22:59 v2.3.0-dev.19 12:22:59 v2.3.0-dev.20 12:22:59 v2.3.0-dev.21 12:22:59 v2.3.0-dev.22 12:22:59 v2.3.0-dev.23 12:22:59 v2.3.0-dev.24 12:22:59 v2.3.0-dev.25 12:22:59 v2.3.0-dev.26 12:22:59 v2.3.0-dev.27 12:22:59 v2.3.0-dev.28 12:22:59 v2.3.0-dev.29 12:22:59 v2.3.0-dev.30 12:22:59 v2.3.0-dev.8 12:22:59 v2.3.0-dev.9 12:22:59 v3.0.0-dev.1 12:22:59 v3.0.0-dev.10 12:22:59 v3.0.0-dev.11 12:22:59 v3.0.0-dev.12 12:22:59 v3.0.0-dev.13 12:22:59 v3.0.0-dev.14 12:22:59 v3.0.0-dev.2 12:22:59 v3.0.0-dev.3 12:22:59 v3.0.0-dev.4 12:22:59 v3.0.0-dev.5 12:22:59 v3.0.0-dev.6 12:22:59 v3.0.0-dev.7 12:22:59 v3.0.0-dev.8 12:22:59 v3.0.0-dev.9 [Pipeline] sh 12:23:00 + lftools sign git-tag v3.0.0-dev.14 12:23:00 Signing Git tag with Sigul... 12:23:00 Signing v3.0.0-dev.14 [Pipeline] echo 12:23:01 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 12:23:01 ---> sigul-configuration-cleanup.sh [Pipeline] } 12:23:01 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 12:23:01 $ docker stop --time=1 64667090ab26bd94d32cf2b941f36402a69f3aa460a99b8e456b3c5ac07089b3 12:23:03 $ docker rm -f --volumes 64667090ab26bd94d32cf2b941f36402a69f3aa460a99b8e456b3c5ac07089b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 12:23:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:23:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:23:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:23:03 prd-ubuntu20.04-docker-8c-8g-6730 does not seem to be running inside a container 12:23:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:23:04 $ docker top 7eb8f5bffcd1df2db394d2369be4558a9e7e4556aaa466514c47d3cc67c7ce15 -eo pid,comm 12:23:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:23:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:23:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:23:04 [ssh-agent] Looking for ssh-agent implementation... 12:23:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:23:04 $ docker exec 7eb8f5bffcd1df2db394d2369be4558a9e7e4556aaa466514c47d3cc67c7ce15 ssh-agent 12:23:04 SSH_AUTH_SOCK=/tmp/ssh-6U7z0xhxl52Z/agent.32 12:23:04 SSH_AGENT_PID=38 12:23:04 Running ssh-add (command line suppressed) 12:23:04 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8365265439225772290.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8365265439225772290.key) 12:23:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:23:04 + git semver bump pre 12:23:05 2023-02-20 12:23:05,147 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:23:05 2023-02-20 12:23:05,147 [bump_version] DEBUG bumping version:3.0.0-dev.14 on axis:pre with prefix:dev 12:23:05 2023-02-20 12:23:05,147 [bump_version] DEBUG bumped version:3.0.0-dev.15 12:23:05 2023-02-20 12:23:05,147 [write_version] DEBUG write version:3.0.0-dev.15 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 12:23:05 2023-02-20 12:23:05,147 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:23:05 2023-02-20 12:23:05,148 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:23:05 2023-02-20 12:23:05,150 [execute] INFO git cat-file --batch-check 12:23:05 2023-02-20 12:23:05,150 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:23:05 2023-02-20 12:23:05,155 [execute] INFO git cat-file --batch 12:23:05 2023-02-20 12:23:05,155 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:23:05 2023-02-20 12:23:05,160 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:23:05 3.0.0-dev.15 [Pipeline] } 12:23:05 $ docker exec --env ******** --env ******** 7eb8f5bffcd1df2db394d2369be4558a9e7e4556aaa466514c47d3cc67c7ce15 ssh-agent -k 12:23:05 unset SSH_AUTH_SOCK; 12:23:05 unset SSH_AGENT_PID; 12:23:05 echo Agent pid 38 killed; 12:23:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:23:05 + git semver [Pipeline] } 12:23:05 $ docker stop --time=1 7eb8f5bffcd1df2db394d2369be4558a9e7e4556aaa466514c47d3cc67c7ce15 12:23:07 $ docker rm -f --volumes 7eb8f5bffcd1df2db394d2369be4558a9e7e4556aaa466514c47d3cc67c7ce15 [Pipeline] // withDockerContainer [Pipeline] sh 12:23:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:23:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:23:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:23:07 prd-ubuntu20.04-docker-8c-8g-6730 does not seem to be running inside a container 12:23:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:23:08 $ docker top 02e4f2513c1f9f4708796c580af6a59d2224338e3fe928d7e435a3c098a4918d -eo pid,comm 12:23:08 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). 12:23:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:23:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:23:08 [ssh-agent] Looking for ssh-agent implementation... 12:23:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:23:08 $ docker exec 02e4f2513c1f9f4708796c580af6a59d2224338e3fe928d7e435a3c098a4918d ssh-agent 12:23:08 SSH_AUTH_SOCK=/tmp/ssh-tCHWVu85kzCd/agent.33 12:23:08 SSH_AGENT_PID=39 12:23:08 Running ssh-add (command line suppressed) 12:23:08 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_454060093905246485.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_454060093905246485.key) 12:23:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:23:09 + git semver push 12:23:09 2023-02-20 12:23:09,318 [run_push] DEBUG push 12:23:09 2023-02-20 12:23:09,319 [execute] INFO git cat-file --batch-check 12:23:09 2023-02-20 12:23:09,319 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:23:09 2023-02-20 12:23:09,323 [execute] INFO git rev-list e3b5d7611d65f29fba9400c58c117ce476a19955 -- 12:23:09 2023-02-20 12:23:09,323 [execute] DEBUG Popen(['git', 'rev-list', 'e3b5d7611d65f29fba9400c58c117ce476a19955', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:23:09 2023-02-20 12:23:09,333 [execute] INFO git fetch -v origin 12:23:09 2023-02-20 12:23:09,333 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 12:23:10 2023-02-20 12:23:09,954 [run_push] DEBUG no remote changes detected 12:23:10 2023-02-20 12:23:09,955 [execute] INFO git push origin semver 12:23:10 2023-02-20 12:23:09,955 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:23:10 2023-02-20 12:23:10,804 [run_push] DEBUG push all version tags 12:23:10 2023-02-20 12:23:10,804 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 12:23:10 2023-02-20 12:23:10,805 [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) 12:23:11 2023-02-20 12:23:11,662 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:23:11 3.0.0-dev.15 [Pipeline] } 12:23:11 $ docker exec --env ******** --env ******** 02e4f2513c1f9f4708796c580af6a59d2224338e3fe928d7e435a3c098a4918d ssh-agent -k 12:23:11 unset SSH_AUTH_SOCK; 12:23:11 unset SSH_AGENT_PID; 12:23:11 echo Agent pid 39 killed; 12:23:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:23:12 + git semver [Pipeline] } 12:23:12 $ docker stop --time=1 02e4f2513c1f9f4708796c580af6a59d2224338e3fe928d7e435a3c098a4918d 12:23:13 $ docker rm -f --volumes 02e4f2513c1f9f4708796c580af6a59d2224338e3fe928d7e435a3c098a4918d [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 12:23:14 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 12:23:14 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 12:23:14 total 16 12:23:14 drwxr-xr-x 3 root root 4096 Feb 20 12:15 . 12:23:14 drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 12:22 .. 12:23:14 drwxr-xr-x 2 root root 4096 Feb 20 12:15 cost 12:23:14 -rw-r--r-- 1 root root 88 Feb 20 12:15 cost.csv 12:23:14 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 12:23:14 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 12:23:14 total 16 12:23:14 drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 12:15 . 12:23:14 drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 12:22 .. 12:23:14 drwxr-xr-x 2 jenkins jenkins 4096 Feb 20 12:15 cost 12:23:14 -rw-r--r-- 1 jenkins jenkins 88 Feb 20 12:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:23:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:23:15 ---> package-listing.sh 12:23:15 ++ facter osfamily 12:23:15 ++ tr '[:upper:]' '[:lower:]' 12:23:15 + OS_FAMILY=debian 12:23:15 + workspace=/w/workspace/exfoundry_device-virtual-go_main 12:23:15 + START_PACKAGES=/tmp/packages_start.txt 12:23:15 + END_PACKAGES=/tmp/packages_end.txt 12:23:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:23:15 + PACKAGES=/tmp/packages_start.txt 12:23:15 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 12:23:15 + PACKAGES=/tmp/packages_end.txt 12:23:15 + case "${OS_FAMILY}" in 12:23:15 + dpkg -l 12:23:15 + grep '^ii' 12:23:15 + '[' -f /tmp/packages_start.txt ']' 12:23:15 + '[' -f /tmp/packages_end.txt ']' 12:23:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:23:15 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 12:23:15 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 12:23:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 12:23:15 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 12:23:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:23:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:23:16 prd-ubuntu20.04-docker-8c-8g-6730 does not seem to be running inside a container 12:23:16 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:23:17 $ docker top a182bd917adcbc637157ddcd0c1f388e1468783999d82d509c3c473becc42bf4 -eo pid,comm [Pipeline] { [Pipeline] sh 12:23:17 + touch /tmp/pre-build-complete [Pipeline] sh 12:23:18 + mkdir -p /var/log/sysstat [Pipeline] sh 12:23:18 + ls /var/log/sa-host 12:23:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:23:18 provisioning config files... 12:23:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4708282934964407268tmp [Pipeline] { [Pipeline] echo 12:23:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:23:18 ---> create-netrc.sh [Pipeline] } 12:23:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:23:19 ---> python-tools-install.sh [Pipeline] echo 12:23:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:23:19 ---> sudo-logs.sh 12:23:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:23:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:23:19 ---> job-cost.sh 12:23:19 lf-activate-venv: SKIPPING 12:23:19 DEBUG: total: 0.2199999988079071 12:23:19 INFO: Retrieving Stack Cost... 12:23:20 INFO: Retrieving Pricing Info for: v3-standard-8 12:23:20 INFO: Archiving Costs [Pipeline] echo 12:23:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:23:20 ---> logs-deploy.sh 12:23:20 lf-activate-venv: SKIPPING 12:23:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/85 12:23:20 INFO: archiving workspace using pattern(s): 12:23:21 Archives upload complete. 12:23:21 INFO: archiving logs to Nexus