Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 60ff2485dd83c77f5ba0416b635da515e23b6c8b 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-ssh4749046868481513672.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2588804686587181264.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14968776924892561136.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16583846124913326304.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-ssh11393180921100852079.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-11902 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 60ff2485dd83c77f5ba0416b635da515e23b6c8b (main) Commit message: "Merge pull request #392 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.77" > git config core.sparsecheckout # timeout=10 > git checkout -f 60ff2485dd83c77f5ba0416b635da515e23b6c8b # timeout=10 > git rev-list --no-walk d6abde5a20369131a3e211cd4d79273744ab24ab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:34:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:34:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:34:14 ========================================================= 14:34:14 EdgeX Global Pipelines Version Info 14:34:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:34:15 ------------------- 14:34:15 stable info: 14:34:15 ------------------- 14:34:15 Commited By: Bill Mahoney bill.mahoney@intel.com 14:34:15 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 14:34:15 Message: update stable to v1.0.248 14:34:15 ------------------- 14:34:15 experimental info: 14:34:15 ------------------- 14:34:15 Commited By: **** collab-it+edgex@linuxfoundation.org 14:34:15 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 14:34:15 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 60ff2485dd83c77f5ba0416b635da515e23b6c8b [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 60ff248 [Pipeline] echo 14:34:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:34:16 provisioning config files... 14:34:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15423402152585898398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:34:16 ---> docker-login.sh 14:34:16 nexus3.edgexfoundry.org:10001 14:34:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:17 Configure a credential helper to remove this warning. See 14:34:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:17 14:34:17 Login Succeeded 14:34:17 nexus3.edgexfoundry.org:10002 14:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:17 Configure a credential helper to remove this warning. See 14:34:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:17 14:34:17 Login Succeeded 14:34:17 nexus3.edgexfoundry.org:10003 14:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:17 Configure a credential helper to remove this warning. See 14:34:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:17 14:34:17 Login Succeeded 14:34:17 nexus3.edgexfoundry.org:10004 14:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:17 Configure a credential helper to remove this warning. See 14:34:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:17 14:34:17 Login Succeeded 14:34:17 docker.io 14:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:17 Configure a credential helper to remove this warning. See 14:34:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:17 14:34:17 Login Succeeded 14:34:17 ---> docker-login.sh ends [Pipeline] } 14:34:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:34:18 + git rev-list -1 --merges 60ff2485dd83c77f5ba0416b635da515e23b6c8b~1..60ff2485dd83c77f5ba0416b635da515e23b6c8b [Pipeline] echo 14:34:18 -----------> git rev-list -1 --merges 60ff2485dd83c77f5ba0416b635da515e23b6c8b~1..60ff2485dd83c77f5ba0416b635da515e23b6c8b 60ff2485dd83c77f5ba0416b635da515e23b6c8b 14:34:18 60ff2485dd83c77f5ba0416b635da515e23b6c8b [false] [Pipeline] sh 14:34:18 + git log --format=format:%s -1 60ff2485dd83c77f5ba0416b635da515e23b6c8b [Pipeline] echo 14:34:18 ========================================================= 14:34:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:34:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:34:18 + git log --format=format:%s -1 60ff2485dd83c77f5ba0416b635da515e23b6c8b [Pipeline] echo 14:34:18 [semverPrep] GIT_COMMIT: 60ff2485dd83c77f5ba0416b635da515e23b6c8b, Commit Message: Merge pull request #392 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.77 [Pipeline] echo 14:34:18 [semverPrep] This is not a build commit. [Pipeline] sh 14:34:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:34:19 + grep -v github /etc/ssh/ssh_known_hosts 14:34:19 + [ -e /tmp/ssh_known_hosts ] 14:34:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:34:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:34:19 + sudo tee -a /etc/ssh/ssh_known_hosts 14:34:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:34:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:34:19 14:34:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:34:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:34:20 0.1.4: Pulling from edgex-devops/py-git-semver 14:34:20 b85a868b505f: Pulling fs layer 14:34:20 e2be974225ed: Pulling fs layer 14:34:20 339a4e72a1f5: Pulling fs layer 14:34:20 988bab9f4d93: Pulling fs layer 14:34:20 1469e6f7b9e6: Pulling fs layer 14:34:20 eaf3925da568: Pulling fs layer 14:34:20 bab4dde63d76: Pulling fs layer 14:34:20 bde34c3a00c8: Pulling fs layer 14:34:20 b352a97aabf1: Pulling fs layer 14:34:20 4872d77fe225: Pulling fs layer 14:34:20 5851b861e8e6: Pulling fs layer 14:34:20 988bab9f4d93: Waiting 14:34:20 1469e6f7b9e6: Waiting 14:34:20 eaf3925da568: Waiting 14:34:20 bab4dde63d76: Waiting 14:34:20 bde34c3a00c8: Waiting 14:34:20 b352a97aabf1: Waiting 14:34:20 4872d77fe225: Waiting 14:34:20 5851b861e8e6: Waiting 14:34:20 e2be974225ed: Verifying Checksum 14:34:20 e2be974225ed: Download complete 14:34:20 988bab9f4d93: Verifying Checksum 14:34:20 988bab9f4d93: Download complete 14:34:20 1469e6f7b9e6: Verifying Checksum 14:34:20 1469e6f7b9e6: Download complete 14:34:20 339a4e72a1f5: Verifying Checksum 14:34:20 339a4e72a1f5: Download complete 14:34:20 eaf3925da568: Verifying Checksum 14:34:20 eaf3925da568: Download complete 14:34:20 bde34c3a00c8: Verifying Checksum 14:34:20 bde34c3a00c8: Download complete 14:34:20 b352a97aabf1: Download complete 14:34:20 4872d77fe225: Verifying Checksum 14:34:20 4872d77fe225: Download complete 14:34:20 5851b861e8e6: Verifying Checksum 14:34:20 5851b861e8e6: Download complete 14:34:20 b85a868b505f: Verifying Checksum 14:34:20 b85a868b505f: Download complete 14:34:20 bab4dde63d76: Verifying Checksum 14:34:21 b85a868b505f: Pull complete 14:34:21 e2be974225ed: Pull complete 14:34:22 339a4e72a1f5: Pull complete 14:34:22 988bab9f4d93: Pull complete 14:34:22 1469e6f7b9e6: Pull complete 14:34:22 eaf3925da568: Pull complete 14:34:24 bab4dde63d76: Pull complete 14:34:24 bde34c3a00c8: Pull complete 14:34:24 b352a97aabf1: Pull complete 14:34:24 4872d77fe225: Pull complete 14:34:24 5851b861e8e6: Pull complete 14:34:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:34:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:34:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:34:24 prd-ubuntu20.04-docker-8c-8g-11902 does not seem to be running inside a container 14:34:24 $ 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 14:34:25 $ docker top ee883a1509e9a2ebfdf177dcc7837099a193f3623a73f03f80320ca5e2a9bc04 -eo pid,comm 14:34:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:34:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:34:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:34:25 [ssh-agent] Looking for ssh-agent implementation... 14:34:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:34:26 $ docker exec ee883a1509e9a2ebfdf177dcc7837099a193f3623a73f03f80320ca5e2a9bc04 ssh-agent 14:34:26 SSH_AUTH_SOCK=/tmp/ssh-OiBKxhUAx34V/agent.32 14:34:26 SSH_AGENT_PID=38 14:34:26 Running ssh-add (command line suppressed) 14:34:26 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11166052048194200307.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11166052048194200307.key) 14:34:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:34:26 + git tag --points-at HEAD [Pipeline] } 14:34:26 $ docker exec --env ******** --env ******** ee883a1509e9a2ebfdf177dcc7837099a193f3623a73f03f80320ca5e2a9bc04 ssh-agent -k 14:34:26 unset SSH_AUTH_SOCK; 14:34:26 unset SSH_AGENT_PID; 14:34:26 echo Agent pid 38 killed; 14:34:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:34:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:34:26 [ssh-agent] Looking for ssh-agent implementation... 14:34:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:34:26 $ docker exec ee883a1509e9a2ebfdf177dcc7837099a193f3623a73f03f80320ca5e2a9bc04 ssh-agent 14:34:26 SSH_AUTH_SOCK=/tmp/ssh-UHlJbFJfoSbi/agent.70 14:34:26 SSH_AGENT_PID=76 14:34:26 Running ssh-add (command line suppressed) 14:34:27 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6553617480511633024.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6553617480511633024.key) 14:34:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:34:27 + git semver init 14:34:27 2023-04-27 14:34:27,724 [run_init] DEBUG init version:0.0.0 force:False 14:34:27 2023-04-27 14:34:27,725 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 14:34:27 2023-04-27 14:34:27,726 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 14:34:27 2023-04-27 14:34:27,726 [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) 14:34:28 2023-04-27 14:34:28,688 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 14:34:28 2023-04-27 14:34:28,689 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 14:34:28 2023-04-27 14:34:28,689 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:34:28 2023-04-27 14:34:28,689 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:34:28 3.0.0-dev.36 [Pipeline] } 14:34:28 $ docker exec --env ******** --env ******** ee883a1509e9a2ebfdf177dcc7837099a193f3623a73f03f80320ca5e2a9bc04 ssh-agent -k 14:34:28 unset SSH_AUTH_SOCK; 14:34:28 unset SSH_AGENT_PID; 14:34:28 echo Agent pid 76 killed; 14:34:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:34:29 + git semver [Pipeline] } 14:34:29 $ docker stop --time=1 ee883a1509e9a2ebfdf177dcc7837099a193f3623a73f03f80320ca5e2a9bc04 14:34:30 $ docker rm -f --volumes ee883a1509e9a2ebfdf177dcc7837099a193f3623a73f03f80320ca5e2a9bc04 [Pipeline] // withDockerContainer [Pipeline] sh 14:34:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:34:31 Stashed 1 file(s) [Pipeline] echo 14:34:31 [edgeXSemver]: initialized semver on version 3.0.0-dev.36 [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 14:34:31 provisioning config files... 14:34:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config18440532020493272806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:34:31 ---> docker-login.sh 14:34:31 nexus3.edgexfoundry.org:10001 14:34:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:31 Configure a credential helper to remove this warning. See 14:34:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:31 14:34:31 Login Succeeded 14:34:31 nexus3.edgexfoundry.org:10002 14:34:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:31 Configure a credential helper to remove this warning. See 14:34:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:31 14:34:31 Login Succeeded 14:34:31 nexus3.edgexfoundry.org:10003 14:34:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:32 Configure a credential helper to remove this warning. See 14:34:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:32 14:34:32 Login Succeeded 14:34:32 nexus3.edgexfoundry.org:10004 14:34:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:32 Configure a credential helper to remove this warning. See 14:34:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:32 14:34:32 Login Succeeded 14:34:32 docker.io 14:34:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:32 Configure a credential helper to remove this warning. See 14:34:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:32 14:34:32 Login Succeeded 14:34:32 ---> docker-login.sh ends [Pipeline] } 14:34:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:34:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:34:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:34:32 ========================================================= 14:34:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 14:34:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:34:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 14:34:32 Sending build context to Docker daemon 23.58MB 14:34:32 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 14:34:32 Step 2/12 : FROM ${BASE} AS builder 14:34:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 14:34:32 f56be85fc22e: Pulling fs layer 14:34:32 85791d961cd3: Pulling fs layer 14:34:32 d694b5ae8c79: Pulling fs layer 14:34:32 9f32a84ed3da: Pulling fs layer 14:34:32 4d19c01a9841: Pulling fs layer 14:34:32 9325e15d5711: Pulling fs layer 14:34:32 556b6ee489ea: Pulling fs layer 14:34:32 c5a4b2cf53e6: Pulling fs layer 14:34:32 9325e15d5711: Waiting 14:34:32 9f32a84ed3da: Waiting 14:34:32 556b6ee489ea: Waiting 14:34:32 c5a4b2cf53e6: Waiting 14:34:32 85791d961cd3: Verifying Checksum 14:34:32 85791d961cd3: Download complete 14:34:32 9f32a84ed3da: Verifying Checksum 14:34:32 9f32a84ed3da: Download complete 14:34:32 4d19c01a9841: Verifying Checksum 14:34:32 4d19c01a9841: Download complete 14:34:32 f56be85fc22e: Verifying Checksum 14:34:32 f56be85fc22e: Download complete 14:34:32 9325e15d5711: Verifying Checksum 14:34:32 9325e15d5711: Download complete 14:34:32 f56be85fc22e: Pull complete 14:34:33 85791d961cd3: Pull complete 14:34:33 c5a4b2cf53e6: Verifying Checksum 14:34:33 c5a4b2cf53e6: Download complete 14:34:33 d694b5ae8c79: Verifying Checksum 14:34:33 d694b5ae8c79: Download complete 14:34:33 556b6ee489ea: Verifying Checksum 14:34:33 556b6ee489ea: Download complete 14:34:37 d694b5ae8c79: Pull complete 14:34:37 9f32a84ed3da: Pull complete 14:34:37 4d19c01a9841: Pull complete 14:34:37 9325e15d5711: Pull complete 14:34:39 556b6ee489ea: Pull complete 14:34:40 c5a4b2cf53e6: Pull complete 14:34:40 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 14:34:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 14:34:40 ---> c4be618373d6 14:34:40 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:34:41 ---> Running in 7f1654c1902b 14:34:41 Removing intermediate container 7f1654c1902b 14:34:41 ---> 108b10dedb6a 14:34:41 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:34:41 ---> Running in 555fbfecb98d 14:34:41 Removing intermediate container 555fbfecb98d 14:34:41 ---> 865563017511 14:34:41 Step 5/12 : ARG ADD_BUILD_TAGS="" 14:34:41 ---> Running in e57176d8dcbd 14:34:42 Removing intermediate container e57176d8dcbd 14:34:42 ---> 1787c45cdc56 14:34:42 Step 6/12 : WORKDIR /device-virtual-go 14:34:42 ---> Running in c99b9208b95a 14:34:42 Removing intermediate container c99b9208b95a 14:34:42 ---> c85167d37e03 14:34:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:34:42 ---> Running in 36b63bfa676e 14:34:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:34:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:34:42 (1/4) Installing openssh-keygen (9.1_p1-r2) 14:34:42 (2/4) Installing libedit (20221030.3.1-r0) 14:34:42 (3/4) Installing openssh-client-common (9.1_p1-r2) 14:34:42 (4/4) Installing openssh-client-default (9.1_p1-r2) 14:34:42 Executing busybox-1.35.0-r29.trigger 14:34:42 OK: 269 MiB in 57 packages 14:34:43 Removing intermediate container 36b63bfa676e 14:34:43 ---> d217923042d5 14:34:43 Step 8/12 : COPY go.mod vendor* ./ 14:34:43 ---> 2976b82eded0 14:34:43 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:34:43 ---> Running in b7665ae3b414 14:34:46 Still waiting to schedule task 14:34:46 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:35:10 Removing intermediate container b7665ae3b414 14:35:10 ---> 8db5d04f79dd 14:35:10 Step 10/12 : COPY . . 14:35:10 ---> 72491cb0d775 14:35:10 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:35:10 ---> Running in c55a284e2074 14:35:10 Removing intermediate container c55a284e2074 14:35:10 ---> 9603be34fef0 14:35:10 Step 12/12 : RUN $MAKE 14:35:10 ---> Running in c116f7235fc1 14:35:10 noop 14:35:10 Removing intermediate container c116f7235fc1 14:35:10 ---> 6af4fef4938e 14:35:10 Successfully built 6af4fef4938e 14:35:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:10 + docker inspect -f . ci-base-image-x86_64 14:35:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:35:10 prd-ubuntu20.04-docker-8c-8g-11902 does not seem to be running inside a container 14:35:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:35:10 $ docker top 510e6c38dd9d4c2140fc75bfe342c9e1ab6ce77368d9344ce754212cb0ce5e04 -eo pid,comm [Pipeline] { [Pipeline] sh 14:35:11 + go version 14:35:11 go version go1.20.2 linux/amd64 [Pipeline] } 14:35:11 $ docker stop --time=1 510e6c38dd9d4c2140fc75bfe342c9e1ab6ce77368d9344ce754212cb0ce5e04 14:35:12 $ docker rm -f --volumes 510e6c38dd9d4c2140fc75bfe342c9e1ab6ce77368d9344ce754212cb0ce5e04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:12 + docker inspect -f . ci-base-image-x86_64 14:35:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:35:12 prd-ubuntu20.04-docker-8c-8g-11902 does not seem to be running inside a container 14:35:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:35:13 $ docker top 880a35e610d7185c79356120c6290bb97c224709e791664fa4ae15d99afeafff -eo pid,comm [Pipeline] { [Pipeline] sh 14:35:13 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 14:35:13 + make test 14:35:13 go test ./... -coverprofile=coverage.out 14:35:19 ? github.com/edgexfoundry/device-virtual-go [no test files] 14:35:31 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 14:35:31 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.016s coverage: 58.6% of statements 14:35:35 go vet ./... 14:35:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:35:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:35:38 ./bin/test-attribution-txt.sh [Pipeline] echo 14:35:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:35:38 $ docker stop --time=1 880a35e610d7185c79356120c6290bb97c224709e791664fa4ae15d99afeafff 14:35:40 $ docker rm -f --volumes 880a35e610d7185c79356120c6290bb97c224709e791664fa4ae15d99afeafff [Pipeline] // withDockerContainer [Pipeline] sh 14:35:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:35:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:35:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:35:41 + ls -al . 14:35:41 total 192 14:35:41 drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 14:35 . 14:35:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 14:34 .. 14:35:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 14:34 .git 14:35:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 14:34 .github 14:35:41 -rw-rw-r-- 1 jenkins jenkins 337 Apr 27 14:34 .gitignore 14:35:41 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 14:34 .golangci.yml 14:35:41 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 14:34 .semver 14:35:41 -rw-rw-r-- 1 jenkins jenkins 8652 Apr 27 14:34 Attribution.txt 14:35:41 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 27 14:34 CHANGELOG.md 14:35:41 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 27 14:34 Dockerfile 14:35:41 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 14:34 GOVERNANCE.md 14:35:41 -rw-rw-r-- 1 jenkins jenkins 660 Apr 27 14:34 Jenkinsfile 14:35:41 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 14:34 LICENSE 14:35:41 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 27 14:34 Makefile 14:35:41 -rw-rw-r-- 1 jenkins jenkins 623 Apr 27 14:34 OWNERS.md 14:35:41 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 27 14:34 README.md 14:35:41 -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 14:34 VERSION 14:35:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 14:34 bin 14:35:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 14:34 cmd 14:35:41 -rw-r--r-- 1 jenkins jenkins 43063 Apr 27 14:35 coverage.out 14:35:41 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 27 14:34 go.mod 14:35:41 -rw-rw-r-- 1 jenkins jenkins 31109 Apr 27 14:34 go.sum 14:35:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 14:34 internal 14:35:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 14:34 snap 14:35:41 -rw-rw-r-- 1 jenkins jenkins 235 Apr 27 14:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:42 + 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=60ff2485dd83c77f5ba0416b635da515e23b6c8b --label arch=amd64 --label version=3.0.0-dev.36 . 14:35:42 Sending build context to Docker daemon 23.62MB 14:35:42 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 14:35:42 Step 2/25 : FROM ${BASE} AS builder 14:35:42 ---> 6af4fef4938e 14:35:42 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:35:42 ---> Running in f024f10035e3 14:35:42 Removing intermediate container f024f10035e3 14:35:42 ---> 2ac58663c0c9 14:35:42 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 14:35:42 ---> Running in b4c3808826cb 14:35:42 Removing intermediate container b4c3808826cb 14:35:42 ---> a2d786301163 14:35:42 Step 5/25 : ARG ADD_BUILD_TAGS="" 14:35:42 ---> Running in 444c067d94d7 14:35:42 Removing intermediate container 444c067d94d7 14:35:42 ---> cbeb89574551 14:35:42 Step 6/25 : WORKDIR /device-virtual-go 14:35:42 ---> Running in f1f85d12b9ec 14:35:42 Removing intermediate container f1f85d12b9ec 14:35:42 ---> 45d31d4def7b 14:35:42 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:35:42 ---> Running in 0c64cf611e09 14:35:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:35:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:35:43 OK: 269 MiB in 57 packages 14:35:43 Removing intermediate container 0c64cf611e09 14:35:43 ---> 13abf8134492 14:35:43 Step 8/25 : COPY go.mod vendor* ./ 14:35:43 ---> a660443780a2 14:35:43 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:35:43 ---> Running in 8a0d3ef431e8 14:35:44 Removing intermediate container 8a0d3ef431e8 14:35:44 ---> a5fc2b4014de 14:35:44 Step 10/25 : COPY . . 14:35:45 ---> 3f5f9fa93702 14:35:45 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:35:45 ---> Running in 3f1d6c7483dc 14:35:45 Removing intermediate container 3f1d6c7483dc 14:35:45 ---> afe9d349fd15 14:35:45 Step 12/25 : RUN $MAKE 14:35:45 ---> Running in 6eeea95ac060 14:35:45 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.36" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 14:36:03 Removing intermediate container 6eeea95ac060 14:36:03 ---> 0647ae5ce0cb 14:36:03 Step 13/25 : FROM alpine:3.17 14:36:03 3.17: Pulling from library/alpine 14:36:03 f56be85fc22e: Already exists 14:36:03 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 14:36:03 Status: Downloaded newer image for alpine:3.17 14:36:03 ---> 9ed4aefc74f6 14:36:03 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 14:36:03 ---> Running in 9c12ec330252 14:36:03 Removing intermediate container 9c12ec330252 14:36:03 ---> 660130db2f9b 14:36:03 Step 15/25 : RUN apk add --update --no-cache dumb-init 14:36:03 ---> Running in a0b1d2b9cf70 14:36:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:36:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:36:03 (1/1) Installing dumb-init (1.2.5-r2) 14:36:03 Executing busybox-1.35.0-r29.trigger 14:36:03 OK: 7 MiB in 16 packages 14:36:03 Removing intermediate container a0b1d2b9cf70 14:36:03 ---> 787152010d88 14:36:03 Step 16/25 : WORKDIR / 14:36:03 ---> Running in 35035c4515d4 14:36:03 Removing intermediate container 35035c4515d4 14:36:03 ---> 0a0a9efec697 14:36:03 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 14:36:03 ---> 39a17f11a25e 14:36:03 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 14:36:03 ---> aa14def07b63 14:36:03 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 14:36:04 ---> c8c40e609a3a 14:36:04 Step 20/25 : EXPOSE 59900 14:36:04 ---> Running in 7713c0667ab6 14:36:04 Removing intermediate container 7713c0667ab6 14:36:04 ---> 1a0a2c7bf891 14:36:04 Step 21/25 : ENTRYPOINT ["/device-virtual"] 14:36:04 ---> Running in c120bb6c4593 14:36:04 Removing intermediate container c120bb6c4593 14:36:04 ---> 7cb075217b5c 14:36:04 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 14:36:04 ---> Running in f8714d50c885 14:36:04 Removing intermediate container f8714d50c885 14:36:04 ---> bc40da0103ec 14:36:04 Step 23/25 : LABEL arch=amd64 14:36:04 ---> Running in 7a8f17329b71 14:36:04 Removing intermediate container 7a8f17329b71 14:36:04 ---> 5350a403998b 14:36:04 Step 24/25 : LABEL git_sha=60ff2485dd83c77f5ba0416b635da515e23b6c8b 14:36:04 ---> Running in ca03c5152780 14:36:05 Removing intermediate container ca03c5152780 14:36:05 ---> a3a3e348ba1d 14:36:05 Step 25/25 : LABEL version=3.0.0-dev.36 14:36:05 ---> Running in cd524c3735f1 14:36:05 Removing intermediate container cd524c3735f1 14:36:05 ---> 6e31672d11f6 14:36:05 [Warning] One or more build-args [ARCH] were not consumed 14:36:05 Successfully built 6e31672d11f6 14:36:05 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:36:05 provisioning config files... 14:36:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17503707409006698488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:36:05 ---> docker-login.sh 14:36:05 nexus3.edgexfoundry.org:10001 14:36:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:05 Configure a credential helper to remove this warning. See 14:36:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:05 14:36:05 Login Succeeded 14:36:05 nexus3.edgexfoundry.org:10002 14:36:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:05 Configure a credential helper to remove this warning. See 14:36:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:05 14:36:05 Login Succeeded 14:36:05 nexus3.edgexfoundry.org:10003 14:36:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:05 Configure a credential helper to remove this warning. See 14:36:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:05 14:36:05 Login Succeeded 14:36:05 nexus3.edgexfoundry.org:10004 14:36:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:05 Configure a credential helper to remove this warning. See 14:36:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:05 14:36:05 Login Succeeded 14:36:05 docker.io 14:36:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:05 Configure a credential helper to remove this warning. See 14:36:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:05 14:36:05 Login Succeeded 14:36:05 ---> docker-login.sh ends [Pipeline] } 14:36:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:36:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:36:05 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 14:36:05 60ff2485dd83c77f5ba0416b635da515e23b6c8b 14:36:05 latest 14:36:05 3.0.0-dev.36 14:36:05 60ff2485dd83c77f5ba0416b635da515e23b6c8b-3.0.0-dev.36 14:36:05 main 14:36:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:06 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:60ff2485dd83c77f5ba0416b635da515e23b6c8b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:06 + docker push nexus3.edgexfoundry.org:10004/device-virtual:60ff2485dd83c77f5ba0416b635da515e23b6c8b 14:36:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:36:06 2c826f29d0e7: Preparing 14:36:06 98a6e21c561c: Preparing 14:36:06 e0e3c0b4205e: Preparing 14:36:06 e40007dc1a87: Preparing 14:36:06 f1417ff83b31: Preparing 14:36:06 f1417ff83b31: Layer already exists 14:36:06 e0e3c0b4205e: Pushed 14:36:06 e40007dc1a87: Pushed 14:36:06 98a6e21c561c: Pushed 14:36:09 2c826f29d0e7: Pushed 14:36:09 60ff2485dd83c77f5ba0416b635da515e23b6c8b: digest: sha256:0bd34f2124af233cb0d21eada32c9b4daae1b79fb856d0f802528104d105f926 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:09 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 14:36:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:36:09 2c826f29d0e7: Preparing 14:36:09 98a6e21c561c: Preparing 14:36:09 e0e3c0b4205e: Preparing 14:36:09 e40007dc1a87: Preparing 14:36:09 f1417ff83b31: Preparing 14:36:09 f1417ff83b31: Layer already exists 14:36:09 2c826f29d0e7: Layer already exists 14:36:09 98a6e21c561c: Layer already exists 14:36:09 e0e3c0b4205e: Layer already exists 14:36:09 e40007dc1a87: Layer already exists 14:36:09 latest: digest: sha256:0bd34f2124af233cb0d21eada32c9b4daae1b79fb856d0f802528104d105f926 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:10 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.36 14:36:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:36:10 2c826f29d0e7: Preparing 14:36:10 98a6e21c561c: Preparing 14:36:10 e0e3c0b4205e: Preparing 14:36:10 e40007dc1a87: Preparing 14:36:10 f1417ff83b31: Preparing 14:36:10 2c826f29d0e7: Layer already exists 14:36:10 e40007dc1a87: Layer already exists 14:36:10 e0e3c0b4205e: Layer already exists 14:36:10 98a6e21c561c: Layer already exists 14:36:10 f1417ff83b31: Layer already exists 14:36:10 3.0.0-dev.36: digest: sha256:0bd34f2124af233cb0d21eada32c9b4daae1b79fb856d0f802528104d105f926 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:10 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:60ff2485dd83c77f5ba0416b635da515e23b6c8b-3.0.0-dev.36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual:60ff2485dd83c77f5ba0416b635da515e23b6c8b-3.0.0-dev.36 14:36:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:36:10 2c826f29d0e7: Preparing 14:36:10 98a6e21c561c: Preparing 14:36:10 e0e3c0b4205e: Preparing 14:36:10 e40007dc1a87: Preparing 14:36:10 f1417ff83b31: Preparing 14:36:10 2c826f29d0e7: Layer already exists 14:36:10 e40007dc1a87: Layer already exists 14:36:10 e0e3c0b4205e: Layer already exists 14:36:10 98a6e21c561c: Layer already exists 14:36:10 f1417ff83b31: Layer already exists 14:36:10 60ff2485dd83c77f5ba0416b635da515e23b6c8b-3.0.0-dev.36: digest: sha256:0bd34f2124af233cb0d21eada32c9b4daae1b79fb856d0f802528104d105f926 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:11 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:11 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 14:36:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:36:11 2c826f29d0e7: Preparing 14:36:11 98a6e21c561c: Preparing 14:36:11 e0e3c0b4205e: Preparing 14:36:11 e40007dc1a87: Preparing 14:36:11 f1417ff83b31: Preparing 14:36:11 e0e3c0b4205e: Layer already exists 14:36:11 98a6e21c561c: Layer already exists 14:36:11 e40007dc1a87: Layer already exists 14:36:11 f1417ff83b31: Layer already exists 14:36:11 2c826f29d0e7: Layer already exists 14:36:11 main: digest: sha256:0bd34f2124af233cb0d21eada32c9b4daae1b79fb856d0f802528104d105f926 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:36:11 ===================================================== [Pipeline] echo 14:36:11 taggedImages: 14:36:11 - nexus3.edgexfoundry.org:10004/device-virtual:60ff2485dd83c77f5ba0416b635da515e23b6c8b 14:36:11 - nexus3.edgexfoundry.org:10004/device-virtual:latest 14:36:11 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.36 14:36:11 - nexus3.edgexfoundry.org:10004/device-virtual:60ff2485dd83c77f5ba0416b635da515e23b6c8b-3.0.0-dev.36 14:36:11 - 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 14:36:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:36:11 14:36:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:36:12 latest: Pulling from edgex-lftools-log-publisher 14:36:12 5eb5b503b376: Pulling fs layer 14:36:12 5c69ac0246d0: Pulling fs layer 14:36:12 ec43610c2a17: Pulling fs layer 14:36:12 3a2ae6a8a46f: Pulling fs layer 14:36:12 33b1e0a273af: Pulling fs layer 14:36:12 5d3b04190fa2: Pulling fs layer 14:36:12 2f39f015ded8: Pulling fs layer 14:36:12 33b1e0a273af: Waiting 14:36:12 3a2ae6a8a46f: Waiting 14:36:12 5d3b04190fa2: Waiting 14:36:12 2f39f015ded8: Waiting 14:36:12 5c69ac0246d0: Download complete 14:36:12 3a2ae6a8a46f: Download complete 14:36:12 33b1e0a273af: Verifying Checksum 14:36:12 33b1e0a273af: Download complete 14:36:12 5d3b04190fa2: Verifying Checksum 14:36:12 5d3b04190fa2: Download complete 14:36:12 ec43610c2a17: Verifying Checksum 14:36:12 ec43610c2a17: Download complete 14:36:12 5eb5b503b376: Verifying Checksum 14:36:12 5eb5b503b376: Download complete 14:36:13 2f39f015ded8: Download complete 14:36:13 5eb5b503b376: Pull complete 14:36:13 5c69ac0246d0: Pull complete 14:36:14 ec43610c2a17: Pull complete 14:36:14 3a2ae6a8a46f: Pull complete 14:36:14 33b1e0a273af: Pull complete 14:36:14 5d3b04190fa2: Pull complete 14:36:18 2f39f015ded8: Pull complete 14:36:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:36:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:36:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:36:18 prd-ubuntu20.04-docker-8c-8g-11902 does not seem to be running inside a container 14:36:18 $ 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 14:36:19 $ docker top 0176e8def7cd6718bfd31300512bac158506987a53c9ec89b4de680ffd0cb134 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:36:20 ---> job-cost.sh 14:36:20 lf-activate-venv: SKIPPING 14:36:20 INFO: No Stack... 14:36:20 INFO: Retrieving Pricing Info for: v3-standard-8 14:36:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11903 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 14:36:20 Running in /w/workspace/device-virtual-go/108 [Pipeline] { [Pipeline] checkout 14:36:20 The recommended git tool is: git 14:36:21 INFO: Archiving Costs [Pipeline] sh 14:36:21 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 14:36:21 + cut -d, -f6 [Pipeline] lock 14:36:21 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-108-stack-cost] 14:36:21 Resource [jenkins-edgexfoundry-device-virtual-go-main-108-stack-cost] did not exist. Created. 14:36:21 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-108-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:36:21 + echo total: 0.2199999988079071 [Pipeline] stash 14:36:21 Stashed 1 file(s) [Pipeline] } 14:36:21 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-108-stack-cost] [Pipeline] // lock [Pipeline] } 14:36:21 $ docker stop --time=1 0176e8def7cd6718bfd31300512bac158506987a53c9ec89b4de680ffd0cb134 14:36:22 $ docker rm -f --volumes 0176e8def7cd6718bfd31300512bac158506987a53c9ec89b4de680ffd0cb134 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:36:28 using credential edgex-jenkins-ssh 14:36:28 Cloning the remote Git repository 14:36:28 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 14:36:28 > git init /w/workspace/device-virtual-go/108 # timeout=10 14:36:28 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 14:36:28 > git --version # timeout=10 14:36:28 > git --version # 'git version 2.25.1' 14:36:28 using GIT_SSH to set credentials SSH Credentials for GitHub 14:36:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:36:31 Avoid second fetch 14:36:31 Checking out Revision 60ff2485dd83c77f5ba0416b635da515e23b6c8b (main) 14:36:30 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 14:36:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:36:31 > git config core.sparsecheckout # timeout=10 14:36:31 > git checkout -f 60ff2485dd83c77f5ba0416b635da515e23b6c8b # timeout=10 14:36:32 Commit message: "Merge pull request #392 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.77" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:36:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:36:33 % Total % Received % Xferd Average Speed Time Time Time Current 14:36:33 Dload Upload Total Spent Left Speed 14:36:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 81216 [Pipeline] sh 14:36:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:36:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:36:34 + sudo tee /etc/docker/daemon.new 14:36:34 { 14:36:34 "registry-mirrors": [ 14:36:34 "https://nexus3.edgexfoundry.org:10001" 14:36:34 ], 14:36:34 "bip": "10.250.0.254/24", 14:36:34 "hosts": [ 14:36:34 "tcp://0.0.0.0:5555", 14:36:34 "unix:///var/run/docker.sock" 14:36:34 ], 14:36:34 "mtu": 1458, 14:36:34 "selinux-enabled": true, 14:36:34 "seccomp-profile": "/etc/docker/seccomp.json" 14:36:34 } [Pipeline] sh 14:36:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:36:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:36:53 provisioning config files... 14:36:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/108@tmp/config3932429896306855759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:36:53 ---> docker-login.sh 14:36:53 nexus3.edgexfoundry.org:10001 14:36:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:53 Configure a credential helper to remove this warning. See 14:36:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:53 14:36:53 Login Succeeded 14:36:53 nexus3.edgexfoundry.org:10002 14:36:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:54 Configure a credential helper to remove this warning. See 14:36:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:54 14:36:54 Login Succeeded 14:36:54 nexus3.edgexfoundry.org:10003 14:36:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:54 Configure a credential helper to remove this warning. See 14:36:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:54 14:36:54 Login Succeeded 14:36:54 nexus3.edgexfoundry.org:10004 14:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:55 Configure a credential helper to remove this warning. See 14:36:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:55 14:36:55 Login Succeeded 14:36:55 docker.io 14:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:55 Configure a credential helper to remove this warning. See 14:36:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:55 14:36:55 Login Succeeded 14:36:55 ---> docker-login.sh ends [Pipeline] } 14:36:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:36:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:36:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:36:56 ========================================================= 14:36:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 14:36:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 14:36:56 Sending build context to Docker daemon 11.95MB 14:36:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 14:36:56 Step 2/12 : FROM ${BASE} AS builder 14:36:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:36:57 c41833b44d91: Pulling fs layer 14:36:57 ed15518f5707: Pulling fs layer 14:36:57 feae8fd75edb: Pulling fs layer 14:36:57 242c74f7c9fa: Pulling fs layer 14:36:57 3cdef696dda3: Pulling fs layer 14:36:57 242c74f7c9fa: Waiting 14:36:57 2ced38df9373: Pulling fs layer 14:36:57 3cdef696dda3: Waiting 14:36:57 58f1dce35555: Pulling fs layer 14:36:57 2ced38df9373: Waiting 14:36:57 58f1dce35555: Waiting 14:36:57 ed15518f5707: Verifying Checksum 14:36:57 ed15518f5707: Download complete 14:36:57 242c74f7c9fa: Verifying Checksum 14:36:57 242c74f7c9fa: Download complete 14:36:57 3cdef696dda3: Verifying Checksum 14:36:57 3cdef696dda3: Download complete 14:36:57 c41833b44d91: Verifying Checksum 14:36:57 c41833b44d91: Download complete 14:36:58 c41833b44d91: Pull complete 14:36:58 58f1dce35555: Verifying Checksum 14:36:58 58f1dce35555: Download complete 14:36:58 ed15518f5707: Pull complete 14:36:59 feae8fd75edb: Verifying Checksum 14:36:59 feae8fd75edb: Download complete 14:36:59 2ced38df9373: Verifying Checksum 14:36:59 2ced38df9373: Download complete 14:37:11 feae8fd75edb: Pull complete 14:37:11 242c74f7c9fa: Pull complete 14:37:11 3cdef696dda3: Pull complete 14:37:17 2ced38df9373: Pull complete 14:37:20 58f1dce35555: Pull complete 14:37:20 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 14:37:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 14:37:20 ---> fadd8f120f05 14:37:20 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:37:22 ---> Running in e43128a114a4 14:37:22 Removing intermediate container e43128a114a4 14:37:22 ---> 8948a9c0aa0e 14:37:22 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:37:22 ---> Running in 116a3964d91a 14:37:22 Removing intermediate container 116a3964d91a 14:37:22 ---> 1e1c73e72b7c 14:37:22 Step 5/12 : ARG ADD_BUILD_TAGS="" 14:37:23 ---> Running in 9727a02d678a 14:37:23 Removing intermediate container 9727a02d678a 14:37:23 ---> fbe688c8f91e 14:37:23 Step 6/12 : WORKDIR /device-virtual-go 14:37:23 ---> Running in 32bfdd893f6f 14:37:23 Removing intermediate container 32bfdd893f6f 14:37:23 ---> f30bcf8af873 14:37:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:37:23 ---> Running in d0c3a629a5ec 14:37:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:37:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:37:26 (1/4) Installing openssh-keygen (9.1_p1-r2) 14:37:26 (2/4) Installing libedit (20221030.3.1-r0) 14:37:26 (3/4) Installing openssh-client-common (9.1_p1-r2) 14:37:26 (4/4) Installing openssh-client-default (9.1_p1-r2) 14:37:26 Executing busybox-1.35.0-r29.trigger 14:37:26 OK: 268 MiB in 57 packages 14:37:27 Removing intermediate container d0c3a629a5ec 14:37:27 ---> bc8486808574 14:37:27 Step 8/12 : COPY go.mod vendor* ./ 14:37:28 ---> 581d57d6ba3e 14:37:28 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:37:28 ---> Running in a32c46574b9c 14:38:36 Removing intermediate container a32c46574b9c 14:38:36 ---> 1a707255cac3 14:38:36 Step 10/12 : COPY . . 14:38:36 ---> 6d922d46e218 14:38:36 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:38:36 ---> Running in de36031669b9 14:38:36 Removing intermediate container de36031669b9 14:38:36 ---> b080e4066ab0 14:38:36 Step 12/12 : RUN $MAKE 14:38:36 ---> Running in 0517ff8cba0b 14:38:36 noop 14:38:36 Removing intermediate container 0517ff8cba0b 14:38:36 ---> 41fc885deac0 14:38:36 Successfully built 41fc885deac0 14:38:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:38:36 + docker inspect -f . ci-base-image-arm64 14:38:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:38:36 prd-ubuntu20.04-docker-arm64-4c-16g-11903 does not seem to be running inside a container 14:38:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/108 -v /w/workspace/device-virtual-go/108:/w/workspace/device-virtual-go/108:rw,z -v /w/workspace/device-virtual-go/108@tmp:/w/workspace/device-virtual-go/108@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 14:38:38 $ docker top f4b753e67e6ed437f90d686c866365f0d8b158f0b6b3f0fe6123b8bcd3ff4da6 -eo pid,comm [Pipeline] { [Pipeline] sh 14:38:39 + go version 14:38:39 go version go1.20.2 linux/arm64 [Pipeline] } 14:38:39 $ docker stop --time=1 f4b753e67e6ed437f90d686c866365f0d8b158f0b6b3f0fe6123b8bcd3ff4da6 14:38:40 $ docker rm -f --volumes f4b753e67e6ed437f90d686c866365f0d8b158f0b6b3f0fe6123b8bcd3ff4da6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:38:41 + docker inspect -f . ci-base-image-arm64 14:38:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:38:41 prd-ubuntu20.04-docker-arm64-4c-16g-11903 does not seem to be running inside a container 14:38:41 $ 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/108 -v /w/workspace/device-virtual-go/108:/w/workspace/device-virtual-go/108:rw,z -v /w/workspace/device-virtual-go/108@tmp:/w/workspace/device-virtual-go/108@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 14:38:42 $ docker top 077e64b67dd5c35074407be9ffdd2ece5e18b2289fefd0a6b60f5747f8e8d081 -eo pid,comm [Pipeline] { [Pipeline] sh 14:38:43 + git config --global --add safe.directory /w/workspace/device-virtual-go/108 [Pipeline] fileExists [Pipeline] sh 14:38:44 + make test 14:38:44 go test ./... -coverprofile=coverage.out 14:39:16 ? github.com/edgexfoundry/device-virtual-go [no test files] 14:41:08 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 14:41:08 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.086s coverage: 58.4% of statements 14:41:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:41:08 go vet ./... 14:41:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:41:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:41:23 ./bin/test-attribution-txt.sh [Pipeline] echo 14:41:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:41:23 $ docker stop --time=1 077e64b67dd5c35074407be9ffdd2ece5e18b2289fefd0a6b60f5747f8e8d081 14:41:25 $ docker rm -f --volumes 077e64b67dd5c35074407be9ffdd2ece5e18b2289fefd0a6b60f5747f8e8d081 [Pipeline] // withDockerContainer [Pipeline] sh 14:41:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:41:26 Warning: overwriting stash ‘coverage-report’ 14:41:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:41:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:41:27 + ls -al . 14:41:27 total 188 14:41:27 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 14:38 . 14:41:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 14:36 .. 14:41:27 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 14:36 .git 14:41:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 14:36 .github 14:41:27 -rw-rw-r-- 1 jenkins jenkins 337 Apr 27 14:36 .gitignore 14:41:27 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 14:36 .golangci.yml 14:41:27 -rw-rw-r-- 1 jenkins jenkins 8652 Apr 27 14:36 Attribution.txt 14:41:27 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 27 14:36 CHANGELOG.md 14:41:27 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 27 14:36 Dockerfile 14:41:27 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 14:36 GOVERNANCE.md 14:41:27 -rw-rw-r-- 1 jenkins jenkins 660 Apr 27 14:36 Jenkinsfile 14:41:27 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 14:36 LICENSE 14:41:27 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 27 14:36 Makefile 14:41:27 -rw-rw-r-- 1 jenkins jenkins 623 Apr 27 14:36 OWNERS.md 14:41:27 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 27 14:36 README.md 14:41:27 -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 14:34 VERSION 14:41:27 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 14:36 bin 14:41:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 14:36 cmd 14:41:27 -rw-r--r-- 1 jenkins jenkins 43063 Apr 27 14:40 coverage.out 14:41:27 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 27 14:36 go.mod 14:41:27 -rw-rw-r-- 1 jenkins jenkins 31109 Apr 27 14:36 go.sum 14:41:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 14:36 internal 14:41:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 14:36 snap 14:41:27 -rw-rw-r-- 1 jenkins jenkins 235 Apr 27 14:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:41:27 + 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=60ff2485dd83c77f5ba0416b635da515e23b6c8b --label arch=arm64 --label version=3.0.0-dev.36 . 14:41:28 Sending build context to Docker daemon 11.99MB 14:41:28 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 14:41:28 Step 2/25 : FROM ${BASE} AS builder 14:41:28 ---> 41fc885deac0 14:41:28 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:41:29 ---> Running in c2288104ea44 14:41:29 Removing intermediate container c2288104ea44 14:41:29 ---> cd60e3a04114 14:41:29 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 14:41:29 ---> Running in a19dfd63f123 14:41:29 Removing intermediate container a19dfd63f123 14:41:29 ---> 2792fac21e30 14:41:29 Step 5/25 : ARG ADD_BUILD_TAGS="" 14:41:30 ---> Running in ea335ab5c35e 14:41:30 Removing intermediate container ea335ab5c35e 14:41:30 ---> 3582f76efed9 14:41:30 Step 6/25 : WORKDIR /device-virtual-go 14:41:30 ---> Running in c5f471784612 14:41:30 Removing intermediate container c5f471784612 14:41:30 ---> aecd980346f6 14:41:30 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:41:30 ---> Running in ad2d2f729c88 14:41:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:41:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:41:33 OK: 268 MiB in 57 packages 14:41:34 Removing intermediate container ad2d2f729c88 14:41:34 ---> 6b1a75b3b3df 14:41:34 Step 8/25 : COPY go.mod vendor* ./ 14:41:34 ---> f6185ee130d5 14:41:34 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:41:34 ---> Running in a4bbdfd247a9 14:41:37 Removing intermediate container a4bbdfd247a9 14:41:37 ---> 1b94e05ba991 14:41:37 Step 10/25 : COPY . . 14:41:38 ---> 36a9b949b53c 14:41:38 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:41:38 ---> Running in 14ca5ecf84a7 14:41:38 Removing intermediate container 14ca5ecf84a7 14:41:38 ---> 8ce5a8b8057f 14:41:38 Step 12/25 : RUN $MAKE 14:41:38 ---> Running in f663533eaa5e 14:41:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.36" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 14:43:46 Removing intermediate container f663533eaa5e 14:43:46 ---> 5446d8656d85 14:43:46 Step 13/25 : FROM alpine:3.17 14:43:46 3.17: Pulling from library/alpine 14:43:46 c41833b44d91: Already exists 14:43:46 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 14:43:46 Status: Downloaded newer image for alpine:3.17 14:43:46 ---> 51e60588ff2c 14:43:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 14:43:46 ---> Running in 267ebe601a55 14:43:46 Removing intermediate container 267ebe601a55 14:43:46 ---> c5be78947221 14:43:46 Step 15/25 : RUN apk add --update --no-cache dumb-init 14:43:46 ---> Running in ee348369f980 14:43:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:43:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:43:47 (1/1) Installing dumb-init (1.2.5-r2) 14:43:47 Executing busybox-1.35.0-r29.trigger 14:43:47 OK: 8 MiB in 16 packages 14:43:48 Removing intermediate container ee348369f980 14:43:48 ---> 7cbbbe2f09af 14:43:48 Step 16/25 : WORKDIR / 14:43:48 ---> Running in fa10a199321a 14:43:48 Removing intermediate container fa10a199321a 14:43:48 ---> e39a5cf9f5e3 14:43:48 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 14:43:49 ---> 3d6f271f279d 14:43:49 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 14:43:49 ---> a66b06a691cb 14:43:49 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 14:43:54 ---> 98a79d7848c9 14:43:54 Step 20/25 : EXPOSE 59900 14:43:54 ---> Running in 37671a448f2e 14:43:54 Removing intermediate container 37671a448f2e 14:43:54 ---> bbbebfcc64f6 14:43:54 Step 21/25 : ENTRYPOINT ["/device-virtual"] 14:43:54 ---> Running in 2e93bd77e40d 14:43:54 Removing intermediate container 2e93bd77e40d 14:43:54 ---> f662b19890c7 14:43:54 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 14:43:54 ---> Running in 2292d6ba8dbb 14:43:54 Removing intermediate container 2292d6ba8dbb 14:43:54 ---> 7117572a5da7 14:43:54 Step 23/25 : LABEL arch=arm64 14:43:54 ---> Running in 4177cf36bf80 14:43:54 Removing intermediate container 4177cf36bf80 14:43:54 ---> b5a8a48f7c75 14:43:54 Step 24/25 : LABEL git_sha=60ff2485dd83c77f5ba0416b635da515e23b6c8b 14:43:55 ---> Running in 5ee454506873 14:43:55 Removing intermediate container 5ee454506873 14:43:55 ---> d4266faf2856 14:43:55 Step 25/25 : LABEL version=3.0.0-dev.36 14:43:55 ---> Running in 3d5291e889c1 14:43:55 Removing intermediate container 3d5291e889c1 14:43:55 ---> 11dfba5e38f1 14:43:55 [Warning] One or more build-args [ARCH] were not consumed 14:43:55 Successfully built 11dfba5e38f1 14:43:55 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:43:55 provisioning config files... 14:43:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/108@tmp/config14473670947128607805tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:43:56 ---> docker-login.sh 14:43:56 nexus3.edgexfoundry.org:10001 14:43:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:43:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:43:56 Configure a credential helper to remove this warning. See 14:43:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:43:56 14:43:56 Login Succeeded 14:43:56 nexus3.edgexfoundry.org:10002 14:43:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:43:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:43:56 Configure a credential helper to remove this warning. See 14:43:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:43:56 14:43:56 Login Succeeded 14:43:56 nexus3.edgexfoundry.org:10003 14:43:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:43:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:43:56 Configure a credential helper to remove this warning. See 14:43:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:43:56 14:43:56 Login Succeeded 14:43:56 nexus3.edgexfoundry.org:10004 14:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:43:57 Configure a credential helper to remove this warning. See 14:43:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:43:57 14:43:57 Login Succeeded 14:43:57 docker.io 14:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:43:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:43:58 Configure a credential helper to remove this warning. See 14:43:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:43:58 14:43:58 Login Succeeded 14:43:58 ---> docker-login.sh ends [Pipeline] } 14:43:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:43:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:43:58 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 14:43:58 60ff2485dd83c77f5ba0416b635da515e23b6c8b 14:43:58 latest 14:43:58 3.0.0-dev.36 14:43:58 60ff2485dd83c77f5ba0416b635da515e23b6c8b-3.0.0-dev.36 14:43:58 main 14:43:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:43:58 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:60ff2485dd83c77f5ba0416b635da515e23b6c8b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:43:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:60ff2485dd83c77f5ba0416b635da515e23b6c8b 14:43:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:43:58 6cd96dd1bad7: Preparing 14:43:58 a2cf78c210ea: Preparing 14:43:58 8abe46c923fa: Preparing 14:43:58 7ad0cea4136d: Preparing 14:43:58 26cbea5cba74: Preparing 14:43:59 26cbea5cba74: Layer already exists 14:43:59 a2cf78c210ea: Pushed 14:43:59 7ad0cea4136d: Pushed 14:43:59 8abe46c923fa: Pushed 14:44:04 6cd96dd1bad7: Pushed 14:44:04 60ff2485dd83c77f5ba0416b635da515e23b6c8b: digest: sha256:eaa81c8fe167e1aa695fedcd6d57d91c9f46f89e941639a77207e86bc8d4fc07 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:44:04 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:44:05 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 14:44:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:44:05 6cd96dd1bad7: Preparing 14:44:05 a2cf78c210ea: Preparing 14:44:05 8abe46c923fa: Preparing 14:44:05 7ad0cea4136d: Preparing 14:44:05 26cbea5cba74: Preparing 14:44:05 7ad0cea4136d: Layer already exists 14:44:05 a2cf78c210ea: Layer already exists 14:44:05 8abe46c923fa: Layer already exists 14:44:05 26cbea5cba74: Layer already exists 14:44:05 6cd96dd1bad7: Layer already exists 14:44:05 latest: digest: sha256:eaa81c8fe167e1aa695fedcd6d57d91c9f46f89e941639a77207e86bc8d4fc07 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:44:05 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:44:06 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.36 14:44:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:44:06 6cd96dd1bad7: Preparing 14:44:06 a2cf78c210ea: Preparing 14:44:06 8abe46c923fa: Preparing 14:44:06 7ad0cea4136d: Preparing 14:44:06 26cbea5cba74: Preparing 14:44:06 26cbea5cba74: Layer already exists 14:44:06 6cd96dd1bad7: Layer already exists 14:44:06 8abe46c923fa: Layer already exists 14:44:06 7ad0cea4136d: Layer already exists 14:44:06 a2cf78c210ea: Layer already exists 14:44:06 3.0.0-dev.36: digest: sha256:eaa81c8fe167e1aa695fedcd6d57d91c9f46f89e941639a77207e86bc8d4fc07 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:44:06 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:60ff2485dd83c77f5ba0416b635da515e23b6c8b-3.0.0-dev.36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:44:07 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:60ff2485dd83c77f5ba0416b635da515e23b6c8b-3.0.0-dev.36 14:44:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:44:07 6cd96dd1bad7: Preparing 14:44:07 a2cf78c210ea: Preparing 14:44:07 8abe46c923fa: Preparing 14:44:07 7ad0cea4136d: Preparing 14:44:07 26cbea5cba74: Preparing 14:44:07 a2cf78c210ea: Layer already exists 14:44:07 7ad0cea4136d: Layer already exists 14:44:07 26cbea5cba74: Layer already exists 14:44:07 6cd96dd1bad7: Layer already exists 14:44:07 8abe46c923fa: Layer already exists 14:44:07 60ff2485dd83c77f5ba0416b635da515e23b6c8b-3.0.0-dev.36: digest: sha256:eaa81c8fe167e1aa695fedcd6d57d91c9f46f89e941639a77207e86bc8d4fc07 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:44:07 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:44:07 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 14:44:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:44:07 6cd96dd1bad7: Preparing 14:44:07 a2cf78c210ea: Preparing 14:44:07 8abe46c923fa: Preparing 14:44:07 7ad0cea4136d: Preparing 14:44:07 26cbea5cba74: Preparing 14:44:07 26cbea5cba74: Layer already exists 14:44:07 6cd96dd1bad7: Layer already exists 14:44:07 a2cf78c210ea: Layer already exists 14:44:07 8abe46c923fa: Layer already exists 14:44:07 7ad0cea4136d: Layer already exists 14:44:08 main: digest: sha256:eaa81c8fe167e1aa695fedcd6d57d91c9f46f89e941639a77207e86bc8d4fc07 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:44:08 ===================================================== [Pipeline] echo 14:44:08 taggedImages: 14:44:08 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:60ff2485dd83c77f5ba0416b635da515e23b6c8b 14:44:08 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 14:44:08 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.36 14:44:08 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:60ff2485dd83c77f5ba0416b635da515e23b6c8b-3.0.0-dev.36 14:44:08 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:44:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:44:08 14:44:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:44:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:44:09 arm64: Pulling from edgex-lftools-log-publisher 14:44:09 8998bd30e6a1: Pulling fs layer 14:44:09 04944245beec: Pulling fs layer 14:44:09 699f458cf7ca: Pulling fs layer 14:44:09 765212b225bb: Pulling fs layer 14:44:09 f23df028b6ca: Pulling fs layer 14:44:09 d65c8cfc05b1: Pulling fs layer 14:44:09 2437ff75d9bd: Pulling fs layer 14:44:09 d65c8cfc05b1: Waiting 14:44:09 765212b225bb: Waiting 14:44:09 2437ff75d9bd: Waiting 14:44:09 f23df028b6ca: Waiting 14:44:09 04944245beec: Verifying Checksum 14:44:09 04944245beec: Download complete 14:44:09 765212b225bb: Verifying Checksum 14:44:09 765212b225bb: Download complete 14:44:09 f23df028b6ca: Verifying Checksum 14:44:09 f23df028b6ca: Download complete 14:44:09 d65c8cfc05b1: Verifying Checksum 14:44:09 d65c8cfc05b1: Download complete 14:44:10 699f458cf7ca: Verifying Checksum 14:44:10 699f458cf7ca: Download complete 14:44:10 8998bd30e6a1: Verifying Checksum 14:44:10 8998bd30e6a1: Download complete 14:44:13 2437ff75d9bd: Verifying Checksum 14:44:13 2437ff75d9bd: Download complete 14:44:16 8998bd30e6a1: Pull complete 14:44:16 04944245beec: Pull complete 14:44:17 699f458cf7ca: Pull complete 14:44:18 765212b225bb: Pull complete 14:44:19 f23df028b6ca: Pull complete 14:44:19 d65c8cfc05b1: Pull complete 14:44:34 2437ff75d9bd: Pull complete 14:44:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:44:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:44:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:44:34 prd-ubuntu20.04-docker-arm64-4c-16g-11903 does not seem to be running inside a container 14:44:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/108 -v /w/workspace/device-virtual-go/108:/w/workspace/device-virtual-go/108:rw,z -v /w/workspace/device-virtual-go/108@tmp:/w/workspace/device-virtual-go/108@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 14:44:37 $ docker top 5c35aa893fb8ca5fa4614e187f0ec752700a80248dd22eb1b8a6bca3fba5bbc7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:44:37 ---> job-cost.sh 14:44:37 lf-activate-venv: SKIPPING 14:44:37 INFO: No Stack... 14:44:38 INFO: Retrieving Pricing Info for: v3-standard-4 14:44:39 INFO: Archiving Costs [Pipeline] sh 14:44:39 + cat /w/workspace/device-virtual-go/108/archives/cost.csv 14:44:39 + cut -d, -f6 [Pipeline] lock 14:44:39 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-108-stack-cost] 14:44:39 Resource [jenkins-edgexfoundry-device-virtual-go-main-108-stack-cost] did not exist. Created. 14:44:39 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-108-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:44:40 /w/workspace/device-virtual-go/108@tmp/durable-760ffef9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:44:40 + echo total: 0.10999999940395355 [Pipeline] stash 14:44:40 Warning: overwriting stash ‘stack-cost’ 14:44:40 Stashed 1 file(s) [Pipeline] } 14:44:40 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-108-stack-cost] [Pipeline] // lock [Pipeline] } 14:44:40 $ docker stop --time=1 5c35aa893fb8ca5fa4614e187f0ec752700a80248dd22eb1b8a6bca3fba5bbc7 14:44:41 $ docker rm -f --volumes 5c35aa893fb8ca5fa4614e187f0ec752700a80248dd22eb1b8a6bca3fba5bbc7 [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 14:44:42 provisioning config files... 14:44:42 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15784887541341162718tmp [Pipeline] { [Pipeline] sh 14:44:42 + set +x 14:44:42 + curl -s https://codecov.io/bash 14:44:42 + bash -s -- 14:44:42 14:44:42 _____ _ 14:44:42 / ____| | | 14:44:42 | | ___ __| | ___ ___ _____ __ 14:44:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:44:42 | |___| (_) | (_| | __/ (_| (_) \ V / 14:44:42 \_____\___/ \__,_|\___|\___\___/ \_/ 14:44:42 Bash-1.0.6 14:44:42 14:44:42 14:44:42 ==> git version 2.25.1 found 14:44:42 ==> 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 14:44:42 Release-Date: 2020-01-08 14:44:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:44:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:44:42 ==> Jenkins CI detected. 14:44:42 current dir:  /w/workspace/exfoundry_device-virtual-go_main 14:44:42 project root: . 14:44:42 --> token set from env 14:44:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:44:42 ==> Running gcov in . (disable via -X gcov) 14:44:42 ==> Python coveragepy not found 14:44:42 ==> Searching for coverage reports in: 14:44:42 + . 14:44:42 -> Found 1 reports 14:44:42 ==> Detecting git/mercurial file structure 14:44:42 ==> Reading reports 14:44:42 + ./coverage.out bytes=43063 14:44:42 ==> Appending adjustments 14:44:42 https://docs.codecov.io/docs/fixing-reports 14:44:42 + Found adjustments 14:44:42 ==> Gzipping contents 14:44:42 8.0K /tmp/codecov.VD7KMQ.gz 14:44:42 ==> Uploading reports 14:44:42 url: https://codecov.io 14:44:42 query: branch=main&commit=60ff2485dd83c77f5ba0416b635da515e23b6c8b&build=108&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F108%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:44:42 -> Pinging Codecov 14:44:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=main&commit=60ff2485dd83c77f5ba0416b635da515e23b6c8b&build=108&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F108%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:44:43 -> Uploading to 14:44:43 https://storage.googleapis.com/codecov/v4/raw/2023-04-27/5E52B4B073DB2E39498172D8E973AA87/60ff2485dd83c77f5ba0416b635da515e23b6c8b/aaecefd2-03d7-4775-8a50-c9bbd888e4a4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230427T144442Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df2ecf0a3ca8aec743c393308a59d60ab888c878908222b6f2a016f2332eec81 14:44:43 % Total % Received % Xferd Average Speed Time Time Time Current 14:44:43 Dload Upload Total Spent Left Speed 14:44:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 23351 --:--:-- --:--:-- --:--:-- 23351 14:44:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/60ff2485dd83c77f5ba0416b635da515e23b6c8b [Pipeline] } 14:44:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:44:43 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:44:43 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:44:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:44:43 14:44:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:44:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:44:44 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:44:44 df9b9388f04a: Pulling fs layer 14:44:44 52dc419b0ee2: Pulling fs layer 14:44:44 25bc292e5bac: Pulling fs layer 14:44:44 114826534d7a: Pulling fs layer 14:44:44 4657fd5d0bcf: Pulling fs layer 14:44:44 6ad1cebc031e: Pulling fs layer 14:44:44 8a3aa393b2d8: Pulling fs layer 14:44:44 114826534d7a: Waiting 14:44:44 4657fd5d0bcf: Waiting 14:44:44 6ad1cebc031e: Waiting 14:44:44 8a3aa393b2d8: Waiting 14:44:44 25bc292e5bac: Verifying Checksum 14:44:44 25bc292e5bac: Download complete 14:44:44 52dc419b0ee2: Verifying Checksum 14:44:44 52dc419b0ee2: Download complete 14:44:44 4657fd5d0bcf: Download complete 14:44:44 df9b9388f04a: Download complete 14:44:44 6ad1cebc031e: Verifying Checksum 14:44:44 6ad1cebc031e: Download complete 14:44:44 df9b9388f04a: Pull complete 14:44:44 52dc419b0ee2: Pull complete 14:44:44 25bc292e5bac: Pull complete 14:44:44 114826534d7a: Verifying Checksum 14:44:44 114826534d7a: Download complete 14:44:44 8a3aa393b2d8: Verifying Checksum 14:44:44 8a3aa393b2d8: Download complete 14:44:49 114826534d7a: Pull complete 14:44:49 4657fd5d0bcf: Pull complete 14:44:49 6ad1cebc031e: Pull complete 14:44:52 8a3aa393b2d8: Pull complete 14:44:52 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 14:44:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:44:52 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:44:52 prd-ubuntu20.04-docker-8c-8g-11902 does not seem to be running inside a container 14:44:52 $ 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 14:44:53 $ docker top f90449eaa1fe3765ac93d960ea90b44c0aed173ff63bd21b0775b4bd622a2324 -eo pid,comm [Pipeline] { [Pipeline] echo 14:44:53 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 14:44:53 + set -o pipefail 14:44:53 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 14:44:59 14:44:59 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 14:44:59 14:44:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/386a3f93-2e1c-4923-9b2a-397aeef2351d 14:44:59 14:44:59 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 14:44:59 14:44:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:44:59 14:44:59 14:44:59 A medium severity vulnerability was found in the Snyk CLI versions you are using. 14:44:59 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 14:44:59 More details here: https://snyk.co/ue1NS [Pipeline] } 14:44:59 $ docker stop --time=1 f90449eaa1fe3765ac93d960ea90b44c0aed173ff63bd21b0775b4bd622a2324 14:45:01 $ docker rm -f --volumes f90449eaa1fe3765ac93d960ea90b44c0aed173ff63bd21b0775b4bd622a2324 [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 14:45:02 + git log --format=format:%s -1 60ff2485dd83c77f5ba0416b635da515e23b6c8b [Pipeline] sh 14:45:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:45:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:45:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:45:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:45:02 prd-ubuntu20.04-docker-8c-8g-11902 does not seem to be running inside a container 14:45:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:45:03 $ docker top 5de18f3b6b88d602389a537e5e03a8a2666a83909b9eeb159ca80b0e158812c6 -eo pid,comm 14:45:03 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). 14:45:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:45:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:45:03 [ssh-agent] Looking for ssh-agent implementation... 14:45:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:45:03 $ docker exec 5de18f3b6b88d602389a537e5e03a8a2666a83909b9eeb159ca80b0e158812c6 ssh-agent 14:45:03 SSH_AUTH_SOCK=/tmp/ssh-yrl8FGygZ5co/agent.31 14:45:03 SSH_AGENT_PID=37 14:45:03 Running ssh-add (command line suppressed) 14:45:03 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1815943220176281679.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1815943220176281679.key) 14:45:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:45:03 + git semver tag 14:45:04 2023-04-27 14:45:03,988 [run_tag] DEBUG tag force:False 14:45:04 2023-04-27 14:45:03,988 [check_head_tag] DEBUG check head tag 14:45:04 2023-04-27 14:45:03,989 [execute] INFO git cat-file --batch-check 14:45:04 2023-04-27 14:45:03,990 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 14:45:04 2023-04-27 14:45:03,993 [execute] INFO git cat-file --batch 14:45:04 2023-04-27 14:45:03,994 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 14:45:04 2023-04-27 14:45:04,017 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:45:04 2023-04-27 14:45:04,017 [execute] INFO git tag -a v3.0.0-dev.36 -m v3.0.0-dev.36 14:45:04 2023-04-27 14:45:04,017 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.36', '-m', 'v3.0.0-dev.36'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 14:45:04 2023-04-27 14:45:04,020 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:45:04 3.0.0-dev.36 [Pipeline] } 14:45:04 $ docker exec --env ******** --env ******** 5de18f3b6b88d602389a537e5e03a8a2666a83909b9eeb159ca80b0e158812c6 ssh-agent -k 14:45:04 unset SSH_AUTH_SOCK; 14:45:04 unset SSH_AGENT_PID; 14:45:04 echo Agent pid 37 killed; 14:45:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:45:04 + git semver [Pipeline] } 14:45:04 $ docker stop --time=1 5de18f3b6b88d602389a537e5e03a8a2666a83909b9eeb159ca80b0e158812c6 14:45:06 $ docker rm -f --volumes 5de18f3b6b88d602389a537e5e03a8a2666a83909b9eeb159ca80b0e158812c6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:45:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:45:06 14:45:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:45:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:45:06 0.23.1-centos7: Pulling from edgex-lftools 14:45:06 ab5ef0e58194: Pulling fs layer 14:45:06 9712f1f96733: Pulling fs layer 14:45:06 63f879dbbcfc: Pulling fs layer 14:45:06 0d9ebad4ef96: Pulling fs layer 14:45:06 e9a5061849ea: Pulling fs layer 14:45:06 d747dcd14b5f: Pulling fs layer 14:45:06 2de7ff778b66: Pulling fs layer 14:45:06 0d9ebad4ef96: Waiting 14:45:06 e9a5061849ea: Waiting 14:45:06 d747dcd14b5f: Waiting 14:45:06 2de7ff778b66: Waiting 14:45:06 9712f1f96733: Verifying Checksum 14:45:06 9712f1f96733: Download complete 14:45:07 63f879dbbcfc: Verifying Checksum 14:45:07 63f879dbbcfc: Download complete 14:45:07 e9a5061849ea: Verifying Checksum 14:45:07 e9a5061849ea: Download complete 14:45:07 d747dcd14b5f: Verifying Checksum 14:45:07 d747dcd14b5f: Download complete 14:45:07 0d9ebad4ef96: Verifying Checksum 14:45:07 0d9ebad4ef96: Download complete 14:45:07 ab5ef0e58194: Verifying Checksum 14:45:07 ab5ef0e58194: Download complete 14:45:07 2de7ff778b66: Verifying Checksum 14:45:07 2de7ff778b66: Download complete 14:45:09 ab5ef0e58194: Pull complete 14:45:09 9712f1f96733: Pull complete 14:45:10 63f879dbbcfc: Pull complete 14:45:13 0d9ebad4ef96: Pull complete 14:45:13 e9a5061849ea: Pull complete 14:45:13 d747dcd14b5f: Pull complete 14:45:14 2de7ff778b66: Pull complete 14:45:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:45:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:45:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:45:14 prd-ubuntu20.04-docker-8c-8g-11902 does not seem to be running inside a container 14:45:14 $ 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 14:45:16 $ docker top b65903882bea583253bafa587376d775a92e736806d81b4b96b333e77427dfdd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:45:16 provisioning config files... 14:45:16 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config899951037869283307tmp 14:45:16 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1657791234544685244tmp 14:45:16 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4194998651470459169tmp [Pipeline] { [Pipeline] echo 14:45:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:45:16 ---> sigul-configuration.sh 14:45:16 gpg: directory `/root/.gnupg' created 14:45:16 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:45:16 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:45:16 gpg: keyring `/root/.gnupg/secring.gpg' created 14:45:16 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:45:16 gpg: CAST5 encrypted data 14:45:16 gpg: encrypted with 1 passphrase 14:45:16 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:45:17 + mkdir /home/jenkins 14:45:17 + mkdir /home/jenkins/sigul [Pipeline] sh 14:45:17 + 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 14:45:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:45:17 ---> sigul-install.sh 14:45:17 Sigul already installed; skipping installation. [Pipeline] sh 14:45:17 + git tag --list 14:45:17 v1.0.0 14:45:17 v1.1.0 14:45:17 v1.1.1 14:45:17 v1.2.1 14:45:17 v1.2.2 14:45:17 v1.2.3 14:45:17 v1.3.0 14:45:17 v1.3.1 14:45:17 v2.0.0 14:45:17 v2.1.0 14:45:17 v2.1.1 14:45:17 v2.1.1-dev.1 14:45:17 v2.1.1-dev.2 14:45:17 v2.2.0 14:45:17 v2.2.1-dev.1 14:45:17 v2.2.1-dev.2 14:45:17 v2.2.1-dev.3 14:45:17 v2.2.1-dev.4 14:45:17 v2.2.1-dev.5 14:45:17 v2.2.1-dev.6 14:45:17 v2.2.1-dev.7 14:45:17 v2.2.1-dev.8 14:45:17 v2.3.0 14:45:17 v2.3.0-dev.10 14:45:17 v2.3.0-dev.11 14:45:17 v2.3.0-dev.12 14:45:17 v2.3.0-dev.13 14:45:17 v2.3.0-dev.14 14:45:17 v2.3.0-dev.15 14:45:17 v2.3.0-dev.16 14:45:17 v2.3.0-dev.17 14:45:17 v2.3.0-dev.18 14:45:17 v2.3.0-dev.19 14:45:17 v2.3.0-dev.20 14:45:17 v2.3.0-dev.21 14:45:17 v2.3.0-dev.22 14:45:17 v2.3.0-dev.23 14:45:17 v2.3.0-dev.24 14:45:17 v2.3.0-dev.25 14:45:17 v2.3.0-dev.26 14:45:17 v2.3.0-dev.27 14:45:17 v2.3.0-dev.28 14:45:17 v2.3.0-dev.29 14:45:17 v2.3.0-dev.30 14:45:17 v2.3.0-dev.8 14:45:17 v2.3.0-dev.9 14:45:17 v3.0.0-dev.1 14:45:17 v3.0.0-dev.10 14:45:17 v3.0.0-dev.11 14:45:17 v3.0.0-dev.12 14:45:17 v3.0.0-dev.13 14:45:17 v3.0.0-dev.14 14:45:17 v3.0.0-dev.15 14:45:17 v3.0.0-dev.16 14:45:17 v3.0.0-dev.17 14:45:17 v3.0.0-dev.18 14:45:17 v3.0.0-dev.19 14:45:17 v3.0.0-dev.2 14:45:17 v3.0.0-dev.20 14:45:17 v3.0.0-dev.21 14:45:17 v3.0.0-dev.22 14:45:17 v3.0.0-dev.23 14:45:17 v3.0.0-dev.24 14:45:17 v3.0.0-dev.25 14:45:17 v3.0.0-dev.26 14:45:17 v3.0.0-dev.27 14:45:17 v3.0.0-dev.28 14:45:17 v3.0.0-dev.29 14:45:17 v3.0.0-dev.3 14:45:17 v3.0.0-dev.30 14:45:17 v3.0.0-dev.31 14:45:17 v3.0.0-dev.32 14:45:17 v3.0.0-dev.33 14:45:17 v3.0.0-dev.34 14:45:17 v3.0.0-dev.35 14:45:17 v3.0.0-dev.36 14:45:17 v3.0.0-dev.4 14:45:17 v3.0.0-dev.5 14:45:17 v3.0.0-dev.6 14:45:17 v3.0.0-dev.7 14:45:17 v3.0.0-dev.8 14:45:17 v3.0.0-dev.9 [Pipeline] sh 14:45:18 + lftools sign git-tag v3.0.0-dev.36 14:45:18 Signing Git tag with Sigul... 14:45:18 Signing v3.0.0-dev.36 [Pipeline] echo 14:45:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:45:19 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:45:19 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:45:19 $ docker stop --time=1 b65903882bea583253bafa587376d775a92e736806d81b4b96b333e77427dfdd 14:45:20 $ docker rm -f --volumes b65903882bea583253bafa587376d775a92e736806d81b4b96b333e77427dfdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:45:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:45:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:45:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:45:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:45:21 prd-ubuntu20.04-docker-8c-8g-11902 does not seem to be running inside a container 14:45:21 $ 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 14:45:21 $ docker top 1a6aafac983c429fccfdcfe8683257b7c56445ef1f6d92d01448b2245223033d -eo pid,comm 14:45:21 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). 14:45:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:45:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:45:21 [ssh-agent] Looking for ssh-agent implementation... 14:45:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:45:22 $ docker exec 1a6aafac983c429fccfdcfe8683257b7c56445ef1f6d92d01448b2245223033d ssh-agent 14:45:22 SSH_AUTH_SOCK=/tmp/ssh-HQ4fMGCRaFsb/agent.31 14:45:22 SSH_AGENT_PID=37 14:45:22 Running ssh-add (command line suppressed) 14:45:22 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3578485703361585921.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3578485703361585921.key) 14:45:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:45:22 + git semver bump pre 14:45:23 2023-04-27 14:45:22,778 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:45:23 2023-04-27 14:45:22,778 [bump_version] DEBUG bumping version:3.0.0-dev.36 on axis:pre with prefix:dev 14:45:23 2023-04-27 14:45:22,779 [bump_version] DEBUG bumped version:3.0.0-dev.37 14:45:23 2023-04-27 14:45:22,779 [write_version] DEBUG write version:3.0.0-dev.37 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 14:45:23 2023-04-27 14:45:22,779 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:45:23 2023-04-27 14:45:22,779 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:45:23 2023-04-27 14:45:22,781 [execute] INFO git cat-file --batch-check 14:45:23 2023-04-27 14:45:22,781 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:45:23 2023-04-27 14:45:22,786 [execute] INFO git cat-file --batch 14:45:23 2023-04-27 14:45:22,786 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:45:23 2023-04-27 14:45:22,791 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:45:23 3.0.0-dev.37 [Pipeline] } 14:45:23 $ docker exec --env ******** --env ******** 1a6aafac983c429fccfdcfe8683257b7c56445ef1f6d92d01448b2245223033d ssh-agent -k 14:45:23 unset SSH_AUTH_SOCK; 14:45:23 unset SSH_AGENT_PID; 14:45:23 echo Agent pid 37 killed; 14:45:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:45:23 + git semver [Pipeline] } 14:45:24 $ docker stop --time=1 1a6aafac983c429fccfdcfe8683257b7c56445ef1f6d92d01448b2245223033d 14:45:25 $ docker rm -f --volumes 1a6aafac983c429fccfdcfe8683257b7c56445ef1f6d92d01448b2245223033d [Pipeline] // withDockerContainer [Pipeline] sh 14:45:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:45:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:45:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:45:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:45:26 prd-ubuntu20.04-docker-8c-8g-11902 does not seem to be running inside a container 14:45:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:45:26 $ docker top 3db08c4dfdb8303fd2110412b252a2a6f5853ef22a9f1a6a59d047b9b7f26d38 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:45:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:45:26 [ssh-agent] Looking for ssh-agent implementation... 14:45:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:45:26 $ docker exec 3db08c4dfdb8303fd2110412b252a2a6f5853ef22a9f1a6a59d047b9b7f26d38 ssh-agent 14:45:26 SSH_AUTH_SOCK=/tmp/ssh-P6HNUd3JmEw9/agent.32 14:45:26 SSH_AGENT_PID=38 14:45:26 Running ssh-add (command line suppressed) 14:45:26 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_645537619179815612.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_645537619179815612.key) 14:45:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:45:27 + git semver push 14:45:27 2023-04-27 14:45:27,226 [run_push] DEBUG push 14:45:27 2023-04-27 14:45:27,227 [execute] INFO git cat-file --batch-check 14:45:27 2023-04-27 14:45:27,227 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:45:27 2023-04-27 14:45:27,230 [execute] INFO git rev-list 6e639a737ebf6da638932176ba35affe6e558119 -- 14:45:27 2023-04-27 14:45:27,231 [execute] DEBUG Popen(['git', 'rev-list', '6e639a737ebf6da638932176ba35affe6e558119', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:45:27 2023-04-27 14:45:27,238 [execute] INFO git fetch -v origin 14:45:27 2023-04-27 14:45:27,239 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 14:45:27 2023-04-27 14:45:27,718 [run_push] DEBUG no remote changes detected 14:45:27 2023-04-27 14:45:27,718 [execute] INFO git push origin semver 14:45:27 2023-04-27 14:45:27,719 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:45:28 2023-04-27 14:45:28,547 [run_push] DEBUG push all version tags 14:45:28 2023-04-27 14:45:28,547 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:45:28 2023-04-27 14:45:28,548 [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) 14:45:29 2023-04-27 14:45:29,288 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:45:29 3.0.0-dev.37 [Pipeline] } 14:45:29 $ docker exec --env ******** --env ******** 3db08c4dfdb8303fd2110412b252a2a6f5853ef22a9f1a6a59d047b9b7f26d38 ssh-agent -k 14:45:29 unset SSH_AUTH_SOCK; 14:45:29 unset SSH_AGENT_PID; 14:45:29 echo Agent pid 38 killed; 14:45:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:45:29 + git semver [Pipeline] } 14:45:30 $ docker stop --time=1 3db08c4dfdb8303fd2110412b252a2a6f5853ef22a9f1a6a59d047b9b7f26d38 14:45:31 $ docker rm -f --volumes 3db08c4dfdb8303fd2110412b252a2a6f5853ef22a9f1a6a59d047b9b7f26d38 [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 14:45:31 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 14:45:31 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 14:45:31 total 16 14:45:31 drwxr-xr-x 3 root root 4096 Apr 27 14:36 . 14:45:31 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 14:45 .. 14:45:31 drwxr-xr-x 2 root root 4096 Apr 27 14:36 cost 14:45:31 -rw-r--r-- 1 root root 89 Apr 27 14:36 cost.csv 14:45:31 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 14:45:31 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 14:45:31 total 16 14:45:31 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 14:36 . 14:45:31 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 14:45 .. 14:45:31 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 14:36 cost 14:45:31 -rw-r--r-- 1 jenkins jenkins 89 Apr 27 14:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:45:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:45:33 ---> package-listing.sh 14:45:33 ++ facter osfamily 14:45:33 ++ tr '[:upper:]' '[:lower:]' 14:45:33 + OS_FAMILY=debian 14:45:33 + workspace=/w/workspace/exfoundry_device-virtual-go_main 14:45:33 + START_PACKAGES=/tmp/packages_start.txt 14:45:33 + END_PACKAGES=/tmp/packages_end.txt 14:45:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:45:33 + PACKAGES=/tmp/packages_start.txt 14:45:33 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 14:45:33 + PACKAGES=/tmp/packages_end.txt 14:45:33 + case "${OS_FAMILY}" in 14:45:33 + dpkg -l 14:45:33 + grep '^ii' 14:45:33 + '[' -f /tmp/packages_start.txt ']' 14:45:33 + '[' -f /tmp/packages_end.txt ']' 14:45:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:45:33 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 14:45:33 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 14:45:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 14:45:33 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 14:45:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:45:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:45:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:45:34 prd-ubuntu20.04-docker-8c-8g-11902 does not seem to be running inside a container 14:45:34 $ 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 14:45:34 $ docker top dc0d082c154b40d66fa2d54950ec578a6e7b9af2bd6292bb3abeee0f7b412315 -eo pid,comm [Pipeline] { [Pipeline] sh 14:45:35 + touch /tmp/pre-build-complete [Pipeline] sh 14:45:35 + mkdir -p /var/log/sysstat [Pipeline] sh 14:45:35 + ls /var/log/sa-host 14:45:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:45:35 provisioning config files... 14:45:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11014394543667650378tmp [Pipeline] { [Pipeline] echo 14:45:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:45:36 ---> create-netrc.sh [Pipeline] } 14:45:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:45:36 ---> python-tools-install.sh [Pipeline] echo 14:45:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:45:36 ---> sudo-logs.sh 14:45:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:45:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:45:36 ---> job-cost.sh 14:45:36 lf-activate-venv: SKIPPING 14:45:36 DEBUG: total: 0.2199999988079071 14:45:36 INFO: Retrieving Stack Cost... 14:45:37 INFO: Retrieving Pricing Info for: v3-standard-8 14:45:37 INFO: Archiving Costs [Pipeline] echo 14:45:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:45:38 ---> logs-deploy.sh 14:45:38 lf-activate-venv: SKIPPING 14:45:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/108 14:45:38 INFO: archiving workspace using pattern(s): 14:45:39 Archives upload complete. 14:45:39 INFO: archiving logs to Nexus