Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 156beb4bb4cc3957e05b7219f54451536aed9ec4 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-ssh3755079304640323117.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-ssh2618023377897778225.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-ssh18092183779537393651.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-ssh274367971362414956.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-ssh10367100553111117657.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8845 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 156beb4bb4cc3957e05b7219f54451536aed9ec4 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 156beb4bb4cc3957e05b7219f54451536aed9ec4 # timeout=10 Commit message: "Merge pull request #382 from hahattan/bump-sdk" > git rev-list --no-walk 31d774b4f359865edc3dcd5479b181cce8101838 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:35:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:35:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:35:07 ========================================================= 02:35:07 EdgeX Global Pipelines Version Info 02:35:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:35:07 ------------------- 02:35:07 stable info: 02:35:07 ------------------- 02:35:07 Commited By: Bill Mahoney bill.mahoney@intel.com 02:35:07 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:35:07 Message: update stable to v1.0.248 02:35:08 ------------------- 02:35:08 experimental info: 02:35:08 ------------------- 02:35:08 Commited By: **** collab-it+edgex@linuxfoundation.org 02:35:08 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:35:08 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:35:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:35:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:35:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:35:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:35:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:35:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 156beb4bb4cc3957e05b7219f54451536aed9ec4 [Pipeline] echo 02:35:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 156beb4 [Pipeline] echo 02:35:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:35:09 provisioning config files... 02:35:09 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8614417907592234432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:35:09 ---> docker-login.sh 02:35:09 nexus3.edgexfoundry.org:10001 02:35:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:09 Configure a credential helper to remove this warning. See 02:35:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:09 02:35:09 Login Succeeded 02:35:09 nexus3.edgexfoundry.org:10002 02:35:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:09 Configure a credential helper to remove this warning. See 02:35:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:09 02:35:09 Login Succeeded 02:35:09 nexus3.edgexfoundry.org:10003 02:35:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:10 Configure a credential helper to remove this warning. See 02:35:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:10 02:35:10 Login Succeeded 02:35:10 nexus3.edgexfoundry.org:10004 02:35:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:10 Configure a credential helper to remove this warning. See 02:35:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:10 02:35:10 Login Succeeded 02:35:10 docker.io 02:35:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:10 Configure a credential helper to remove this warning. See 02:35:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:10 02:35:10 Login Succeeded 02:35:10 ---> docker-login.sh ends [Pipeline] } 02:35:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:35:10 + git rev-list -1 --merges 156beb4bb4cc3957e05b7219f54451536aed9ec4~1..156beb4bb4cc3957e05b7219f54451536aed9ec4 [Pipeline] echo 02:35:10 -----------> git rev-list -1 --merges 156beb4bb4cc3957e05b7219f54451536aed9ec4~1..156beb4bb4cc3957e05b7219f54451536aed9ec4 156beb4bb4cc3957e05b7219f54451536aed9ec4 02:35:10 156beb4bb4cc3957e05b7219f54451536aed9ec4 [false] [Pipeline] sh 02:35:11 + git log --format=format:%s -1 156beb4bb4cc3957e05b7219f54451536aed9ec4 [Pipeline] echo 02:35:11 ========================================================= 02:35:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:35:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:35:11 + git log --format=format:%s -1 156beb4bb4cc3957e05b7219f54451536aed9ec4 [Pipeline] echo 02:35:11 [semverPrep] GIT_COMMIT: 156beb4bb4cc3957e05b7219f54451536aed9ec4, Commit Message: Merge pull request #382 from hahattan/bump-sdk [Pipeline] echo 02:35:11 [semverPrep] This is not a build commit. [Pipeline] sh 02:35:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:35:11 + grep -v github /etc/ssh/ssh_known_hosts 02:35:11 + [ -e /tmp/ssh_known_hosts ] 02:35:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:35:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:35:11 + sudo tee -a /etc/ssh/ssh_known_hosts 02:35:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:35:12 02:35:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:35:12 0.1.4: Pulling from edgex-devops/py-git-semver 02:35:12 b85a868b505f: Pulling fs layer 02:35:12 e2be974225ed: Pulling fs layer 02:35:12 339a4e72a1f5: Pulling fs layer 02:35:12 988bab9f4d93: Pulling fs layer 02:35:12 1469e6f7b9e6: Pulling fs layer 02:35:12 eaf3925da568: Pulling fs layer 02:35:12 bab4dde63d76: Pulling fs layer 02:35:12 bde34c3a00c8: Pulling fs layer 02:35:12 b352a97aabf1: Pulling fs layer 02:35:12 4872d77fe225: Pulling fs layer 02:35:12 5851b861e8e6: Pulling fs layer 02:35:12 1469e6f7b9e6: Waiting 02:35:12 988bab9f4d93: Waiting 02:35:12 bab4dde63d76: Waiting 02:35:12 eaf3925da568: Waiting 02:35:12 bde34c3a00c8: Waiting 02:35:12 4872d77fe225: Waiting 02:35:12 b352a97aabf1: Waiting 02:35:12 e2be974225ed: Verifying Checksum 02:35:12 e2be974225ed: Download complete 02:35:12 988bab9f4d93: Verifying Checksum 02:35:12 988bab9f4d93: Download complete 02:35:12 1469e6f7b9e6: Verifying Checksum 02:35:12 1469e6f7b9e6: Download complete 02:35:12 339a4e72a1f5: Verifying Checksum 02:35:12 339a4e72a1f5: Download complete 02:35:12 eaf3925da568: Download complete 02:35:12 bde34c3a00c8: Download complete 02:35:12 b352a97aabf1: Download complete 02:35:12 4872d77fe225: Verifying Checksum 02:35:12 4872d77fe225: Download complete 02:35:12 5851b861e8e6: Verifying Checksum 02:35:12 5851b861e8e6: Download complete 02:35:12 b85a868b505f: Verifying Checksum 02:35:12 b85a868b505f: Download complete 02:35:13 bab4dde63d76: Verifying Checksum 02:35:13 bab4dde63d76: Download complete 02:35:14 b85a868b505f: Pull complete 02:35:14 e2be974225ed: Pull complete 02:35:14 339a4e72a1f5: Pull complete 02:35:14 988bab9f4d93: Pull complete 02:35:15 1469e6f7b9e6: Pull complete 02:35:15 eaf3925da568: Pull complete 02:35:17 bab4dde63d76: Pull complete 02:35:17 bde34c3a00c8: Pull complete 02:35:17 b352a97aabf1: Pull complete 02:35:17 4872d77fe225: Pull complete 02:35:17 5851b861e8e6: Pull complete 02:35:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:35:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:35:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:35:17 prd-ubuntu20.04-docker-8c-8g-8845 does not seem to be running inside a container 02:35:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:35:21 $ docker top a58c9d9325c77f20f11af60d6ebe555ad0f3135c527cfa4a081999344e2a041e -eo pid,comm 02:35: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). 02:35:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:35:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:35:21 [ssh-agent] Looking for ssh-agent implementation... 02:35:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:35:21 $ docker exec a58c9d9325c77f20f11af60d6ebe555ad0f3135c527cfa4a081999344e2a041e ssh-agent 02:35:21 SSH_AUTH_SOCK=/tmp/ssh-tjxUNGW3deFd/agent.32 02:35:21 SSH_AGENT_PID=38 02:35:21 Running ssh-add (command line suppressed) 02:35:21 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6770508911610621428.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6770508911610621428.key) 02:35:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:35:21 + git tag --points-at HEAD [Pipeline] } 02:35:21 $ docker exec --env ******** --env ******** a58c9d9325c77f20f11af60d6ebe555ad0f3135c527cfa4a081999344e2a041e ssh-agent -k 02:35:21 unset SSH_AUTH_SOCK; 02:35:21 unset SSH_AGENT_PID; 02:35:21 echo Agent pid 38 killed; 02:35:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:35:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:35:21 [ssh-agent] Looking for ssh-agent implementation... 02:35:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:35:22 $ docker exec a58c9d9325c77f20f11af60d6ebe555ad0f3135c527cfa4a081999344e2a041e ssh-agent 02:35:22 SSH_AUTH_SOCK=/tmp/ssh-lnbcVpXqoxeQ/agent.71 02:35:22 SSH_AGENT_PID=77 02:35:22 Running ssh-add (command line suppressed) 02:35:22 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16312833451218461369.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16312833451218461369.key) 02:35:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:35:22 + git semver init 02:35:22 2023-04-18 02:35:22,786 [run_init] DEBUG init version:0.0.0 force:False 02:35:22 2023-04-18 02:35:22,787 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 02:35:22 2023-04-18 02:35:22,787 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 02:35:22 2023-04-18 02:35:22,788 [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) 02:35:24 2023-04-18 02:35:23,888 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 02:35:24 2023-04-18 02:35:23,889 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 02:35:24 2023-04-18 02:35:23,889 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:35:24 2023-04-18 02:35:23,889 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:35:24 3.0.0-dev.32 [Pipeline] } 02:35:24 $ docker exec --env ******** --env ******** a58c9d9325c77f20f11af60d6ebe555ad0f3135c527cfa4a081999344e2a041e ssh-agent -k 02:35:24 unset SSH_AUTH_SOCK; 02:35:24 unset SSH_AGENT_PID; 02:35:24 echo Agent pid 77 killed; 02:35:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:35:24 + git semver [Pipeline] } 02:35:24 $ docker stop --time=1 a58c9d9325c77f20f11af60d6ebe555ad0f3135c527cfa4a081999344e2a041e 02:35:26 $ docker rm -f --volumes a58c9d9325c77f20f11af60d6ebe555ad0f3135c527cfa4a081999344e2a041e [Pipeline] // withDockerContainer [Pipeline] sh 02:35:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:35:26 Stashed 1 file(s) [Pipeline] echo 02:35:26 [edgeXSemver]: initialized semver on version 3.0.0-dev.32 [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 02:35:26 provisioning config files... 02:35:26 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7045063501637137984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:35:27 ---> docker-login.sh 02:35:27 nexus3.edgexfoundry.org:10001 02:35:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:27 Configure a credential helper to remove this warning. See 02:35:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:27 02:35:27 Login Succeeded 02:35:27 nexus3.edgexfoundry.org:10002 02:35:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:27 Configure a credential helper to remove this warning. See 02:35:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:27 02:35:27 Login Succeeded 02:35:27 nexus3.edgexfoundry.org:10003 02:35:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:27 Configure a credential helper to remove this warning. See 02:35:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:27 02:35:27 Login Succeeded 02:35:27 nexus3.edgexfoundry.org:10004 02:35:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:27 Configure a credential helper to remove this warning. See 02:35:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:27 02:35:27 Login Succeeded 02:35:27 docker.io 02:35:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:27 Configure a credential helper to remove this warning. See 02:35:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:27 02:35:27 Login Succeeded 02:35:27 ---> docker-login.sh ends [Pipeline] } 02:35:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:35:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:35:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:35:27 ========================================================= 02:35:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:35:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:28 + 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 . 02:35:28 Sending build context to Docker daemon 23.55MB 02:35:28 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:35:28 Step 2/12 : FROM ${BASE} AS builder 02:35:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:35:28 63b65145d645: Pulling fs layer 02:35:28 a2d21d5440eb: Pulling fs layer 02:35:28 935e6c44a52c: Pulling fs layer 02:35:28 94cc34f8dd06: Pulling fs layer 02:35:28 30dea6a524f1: Pulling fs layer 02:35:28 a2aff8979fd8: Pulling fs layer 02:35:28 6808be2612f2: Pulling fs layer 02:35:28 f25807f1079a: Pulling fs layer 02:35:28 30dea6a524f1: Waiting 02:35:28 a2aff8979fd8: Waiting 02:35:28 6808be2612f2: Waiting 02:35:28 f25807f1079a: Waiting 02:35:28 94cc34f8dd06: Waiting 02:35:28 a2d21d5440eb: Verifying Checksum 02:35:28 a2d21d5440eb: Download complete 02:35:28 94cc34f8dd06: Download complete 02:35:28 30dea6a524f1: Verifying Checksum 02:35:28 30dea6a524f1: Download complete 02:35:28 63b65145d645: Verifying Checksum 02:35:28 63b65145d645: Download complete 02:35:28 a2aff8979fd8: Verifying Checksum 02:35:28 a2aff8979fd8: Download complete 02:35:29 63b65145d645: Pull complete 02:35:29 f25807f1079a: Verifying Checksum 02:35:29 f25807f1079a: Download complete 02:35:29 a2d21d5440eb: Pull complete 02:35:29 935e6c44a52c: Verifying Checksum 02:35:29 935e6c44a52c: Download complete 02:35:29 6808be2612f2: Verifying Checksum 02:35:29 6808be2612f2: Download complete 02:35:32 935e6c44a52c: Pull complete 02:35:32 94cc34f8dd06: Pull complete 02:35:32 30dea6a524f1: Pull complete 02:35:32 a2aff8979fd8: Pull complete 02:35:35 6808be2612f2: Pull complete 02:35:35 f25807f1079a: Pull complete 02:35:35 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 02:35:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:35:35 ---> 3b553350e43f 02:35:35 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:35:41 ---> Running in bf70049faf53 02:35:41 Removing intermediate container bf70049faf53 02:35:41 ---> 4d485fe642bb 02:35:41 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:35:41 ---> Running in d652a6d28500 02:35:41 Removing intermediate container d652a6d28500 02:35:41 ---> 2f3c54ea5ad7 02:35:41 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:35:41 ---> Running in 160c5420cf3b 02:35:41 Removing intermediate container 160c5420cf3b 02:35:41 ---> b261368bbbde 02:35:41 Step 6/12 : WORKDIR /device-virtual-go 02:35:41 ---> Running in 5abdf30e282c 02:35:41 Removing intermediate container 5abdf30e282c 02:35:41 ---> bec64bc8e5ee 02:35:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:35:41 ---> Running in b228433fe17f 02:35:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:35:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:35:41 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:35:41 Still waiting to schedule task 02:35:41 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8842’ 02:35:41 (2/4) Installing libedit (20221030.3.1-r0) 02:35:41 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:35:41 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:35:41 Executing busybox-1.35.0-r29.trigger 02:35:41 OK: 269 MiB in 57 packages 02:35:42 Removing intermediate container b228433fe17f 02:35:42 ---> 2dd16e8f0a0b 02:35:42 Step 8/12 : COPY go.mod vendor* ./ 02:35:42 ---> 0fea1614e7e1 02:35:42 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:35:42 ---> Running in ca57cbf67fc9 02:36:14 Removing intermediate container ca57cbf67fc9 02:36:14 ---> fa1ffac38774 02:36:14 Step 10/12 : COPY . . 02:36:14 ---> 44d1334d94f7 02:36:14 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:36:14 ---> Running in 32113cd1fb28 02:36:14 Removing intermediate container 32113cd1fb28 02:36:14 ---> eff3923ba8df 02:36:14 Step 12/12 : RUN $MAKE 02:36:14 ---> Running in 75839c6deb23 02:36:14 noop 02:36:14 Removing intermediate container 75839c6deb23 02:36:14 ---> e3ee788f3b9f 02:36:14 Successfully built e3ee788f3b9f 02:36:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:14 + docker inspect -f . ci-base-image-x86_64 02:36:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:15 prd-ubuntu20.04-docker-8c-8g-8845 does not seem to be running inside a container 02:36:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:36:15 $ docker top 419d17db47f7fbc1926bb76a5220261fba8fbe0f5a791d9ef583fe1bf4c76746 -eo pid,comm [Pipeline] { [Pipeline] sh 02:36:15 + go version 02:36:15 go version go1.20.2 linux/amd64 [Pipeline] } 02:36:15 $ docker stop --time=1 419d17db47f7fbc1926bb76a5220261fba8fbe0f5a791d9ef583fe1bf4c76746 02:36:16 $ docker rm -f --volumes 419d17db47f7fbc1926bb76a5220261fba8fbe0f5a791d9ef583fe1bf4c76746 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:17 + docker inspect -f . ci-base-image-x86_64 02:36:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:17 prd-ubuntu20.04-docker-8c-8g-8845 does not seem to be running inside a container 02:36:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:36:17 $ docker top bf775ce82d6f7663f250cf0896ab10847fd5c1d7f6cfa1ffbe11ffdf73d196b7 -eo pid,comm [Pipeline] { [Pipeline] sh 02:36:18 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 02:36:18 + make test 02:36:18 go test ./... -coverprofile=coverage.out 02:36:22 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:36:32 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:36:32 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.020s coverage: 58.6% of statements 02:36:36 go vet ./... 02:36:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:36:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:36:40 ./bin/test-attribution-txt.sh [Pipeline] echo 02:36:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:36:40 $ docker stop --time=1 bf775ce82d6f7663f250cf0896ab10847fd5c1d7f6cfa1ffbe11ffdf73d196b7 02:36:42 $ docker rm -f --volumes bf775ce82d6f7663f250cf0896ab10847fd5c1d7f6cfa1ffbe11ffdf73d196b7 [Pipeline] // withDockerContainer [Pipeline] sh 02:36:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:36:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:36:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:36:44 + ls -al . 02:36:44 total 192 02:36:44 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 02:36 . 02:36:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 02:35 .. 02:36:44 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 02:35 .git 02:36:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 02:35 .github 02:36:44 -rw-rw-r-- 1 jenkins jenkins 337 Apr 18 02:35 .gitignore 02:36:44 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 02:35 .golangci.yml 02:36:44 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 02:35 .semver 02:36:44 -rw-rw-r-- 1 jenkins jenkins 8652 Apr 18 02:35 Attribution.txt 02:36:44 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 18 02:35 CHANGELOG.md 02:36:44 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 18 02:35 Dockerfile 02:36:44 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 02:35 GOVERNANCE.md 02:36:44 -rw-rw-r-- 1 jenkins jenkins 660 Apr 18 02:35 Jenkinsfile 02:36:44 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 02:35 LICENSE 02:36:44 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 18 02:35 Makefile 02:36:44 -rw-rw-r-- 1 jenkins jenkins 623 Apr 18 02:35 OWNERS.md 02:36:44 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 18 02:35 README.md 02:36:44 -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 02:35 VERSION 02:36:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 02:35 bin 02:36:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 02:35 cmd 02:36:44 -rw-r--r-- 1 jenkins jenkins 43063 Apr 18 02:36 coverage.out 02:36:44 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 18 02:35 go.mod 02:36:44 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 18 02:35 go.sum 02:36:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 02:35 internal 02:36:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 02:35 snap 02:36:44 -rw-rw-r-- 1 jenkins jenkins 235 Apr 18 02:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:44 + 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=156beb4bb4cc3957e05b7219f54451536aed9ec4 --label arch=amd64 --label version=3.0.0-dev.32 . 02:36:44 Sending build context to Docker daemon 23.59MB 02:36:44 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 02:36:44 Step 2/25 : FROM ${BASE} AS builder 02:36:44 ---> e3ee788f3b9f 02:36:44 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:36:45 ---> Running in 8e8b022d9dd9 02:36:45 Removing intermediate container 8e8b022d9dd9 02:36:45 ---> a88a7cfbad89 02:36:45 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 02:36:45 ---> Running in 93106ad23e72 02:36:45 Removing intermediate container 93106ad23e72 02:36:45 ---> a005db033b45 02:36:45 Step 5/25 : ARG ADD_BUILD_TAGS="" 02:36:45 ---> Running in 0be4b9148956 02:36:45 Removing intermediate container 0be4b9148956 02:36:45 ---> 8b310523805d 02:36:45 Step 6/25 : WORKDIR /device-virtual-go 02:36:45 ---> Running in 61de63ca312b 02:36:45 Removing intermediate container 61de63ca312b 02:36:45 ---> f456629bf992 02:36:45 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:36:45 ---> Running in f251d077f3e4 02:36:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:36:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:36:45 OK: 269 MiB in 57 packages 02:36:46 Removing intermediate container f251d077f3e4 02:36:46 ---> c20b78f0faa3 02:36:46 Step 8/25 : COPY go.mod vendor* ./ 02:36:46 ---> aec6ca18ff2c 02:36:46 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:36:46 ---> Running in d33e5e6a74ea 02:36:46 Removing intermediate container d33e5e6a74ea 02:36:46 ---> a328067ff5f8 02:36:46 Step 10/25 : COPY . . 02:36:47 ---> 2a8b12d77269 02:36:47 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:36:47 ---> Running in dcbedd5cfc14 02:36:47 Removing intermediate container dcbedd5cfc14 02:36:47 ---> 08afacdf3db8 02:36:47 Step 12/25 : RUN $MAKE 02:36:47 ---> Running in 9ae2389d8ec9 02:36:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.32" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 02:37:06 Removing intermediate container 9ae2389d8ec9 02:37:06 ---> 2b8f8f5671c8 02:37:06 Step 13/25 : FROM alpine:3.17 02:37:06 3.17: Pulling from library/alpine 02:37:06 f56be85fc22e: Pulling fs layer 02:37:06 f56be85fc22e: Download complete 02:37:06 f56be85fc22e: Pull complete 02:37:06 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:37:06 Status: Downloaded newer image for alpine:3.17 02:37:06 ---> 9ed4aefc74f6 02:37:06 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:37:06 ---> Running in 3540e92cb2d2 02:37:06 Removing intermediate container 3540e92cb2d2 02:37:06 ---> 4f0de58d96e4 02:37:06 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:37:06 ---> Running in 0835f434a540 02:37:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:37:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:37:06 (1/1) Installing dumb-init (1.2.5-r2) 02:37:06 Executing busybox-1.35.0-r29.trigger 02:37:06 OK: 7 MiB in 16 packages 02:37:07 Removing intermediate container 0835f434a540 02:37:07 ---> 20e0074bebae 02:37:07 Step 16/25 : WORKDIR / 02:37:07 ---> Running in 4787a1a2c2d1 02:37:07 Removing intermediate container 4787a1a2c2d1 02:37:07 ---> aade597116e5 02:37:07 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:37:07 ---> 201045153dad 02:37:07 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 02:37:07 ---> 6329f86086f0 02:37:07 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 02:37:08 ---> 717bfab87265 02:37:08 Step 20/25 : EXPOSE 59900 02:37:08 ---> Running in 338c5648a690 02:37:08 Removing intermediate container 338c5648a690 02:37:08 ---> 156fa2ae345d 02:37:08 Step 21/25 : ENTRYPOINT ["/device-virtual"] 02:37:08 ---> Running in 14cc0a1e28aa 02:37:08 Removing intermediate container 14cc0a1e28aa 02:37:08 ---> fcfdc69db97b 02:37:08 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:37:08 ---> Running in 3f999ffb93c9 02:37:08 Removing intermediate container 3f999ffb93c9 02:37:08 ---> fb3169e3b707 02:37:08 Step 23/25 : LABEL arch=amd64 02:37:08 ---> Running in 419b1a40dd17 02:37:08 Removing intermediate container 419b1a40dd17 02:37:08 ---> bb9ece5c4b93 02:37:08 Step 24/25 : LABEL git_sha=156beb4bb4cc3957e05b7219f54451536aed9ec4 02:37:08 ---> Running in 3b854f31bfa4 02:37:08 Removing intermediate container 3b854f31bfa4 02:37:08 ---> 7ef1adc24141 02:37:08 Step 25/25 : LABEL version=3.0.0-dev.32 02:37:08 ---> Running in 694b507f29df 02:37:08 Removing intermediate container 694b507f29df 02:37:08 ---> def8500a9405 02:37:08 [Warning] One or more build-args [ARCH] were not consumed 02:37:08 Successfully built def8500a9405 02:37:08 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:37:08 provisioning config files... 02:37:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1955569442926146009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:37:08 ---> docker-login.sh 02:37:08 nexus3.edgexfoundry.org:10001 02:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:08 Configure a credential helper to remove this warning. See 02:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:08 02:37:08 Login Succeeded 02:37:08 nexus3.edgexfoundry.org:10002 02:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:08 Configure a credential helper to remove this warning. See 02:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:08 02:37:08 Login Succeeded 02:37:08 nexus3.edgexfoundry.org:10003 02:37:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:09 Configure a credential helper to remove this warning. See 02:37:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:09 02:37:09 Login Succeeded 02:37:09 nexus3.edgexfoundry.org:10004 02:37:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:09 Configure a credential helper to remove this warning. See 02:37:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:09 02:37:09 Login Succeeded 02:37:09 docker.io 02:37:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:09 Configure a credential helper to remove this warning. See 02:37:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:09 02:37:09 Login Succeeded 02:37:09 ---> docker-login.sh ends [Pipeline] } 02:37:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:37:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:37:09 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 02:37:09 156beb4bb4cc3957e05b7219f54451536aed9ec4 02:37:09 latest 02:37:09 3.0.0-dev.32 02:37:09 156beb4bb4cc3957e05b7219f54451536aed9ec4-3.0.0-dev.32 02:37:09 main 02:37:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:09 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:156beb4bb4cc3957e05b7219f54451536aed9ec4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual:156beb4bb4cc3957e05b7219f54451536aed9ec4 02:37:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:37:10 26cbf9a6694e: Preparing 02:37:10 1ebdce184e07: Preparing 02:37:10 c3b609a5f0e3: Preparing 02:37:10 f0be87ae58b8: Preparing 02:37:10 f1417ff83b31: Preparing 02:37:10 f1417ff83b31: Layer already exists 02:37:10 1ebdce184e07: Pushed 02:37:10 f0be87ae58b8: Pushed 02:37:10 c3b609a5f0e3: Pushed 02:37:12 26cbf9a6694e: Pushed 02:37:12 156beb4bb4cc3957e05b7219f54451536aed9ec4: digest: sha256:f6853a82db5018ff2657160b28bfd1905822dcc30590a33fe0997ef5e3ac17b0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:13 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:13 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 02:37:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:37:13 26cbf9a6694e: Preparing 02:37:13 1ebdce184e07: Preparing 02:37:13 c3b609a5f0e3: Preparing 02:37:13 f0be87ae58b8: Preparing 02:37:13 f1417ff83b31: Preparing 02:37:13 c3b609a5f0e3: Layer already exists 02:37:13 f1417ff83b31: Layer already exists 02:37:13 1ebdce184e07: Layer already exists 02:37:13 26cbf9a6694e: Layer already exists 02:37:13 f0be87ae58b8: Layer already exists 02:37:13 latest: digest: sha256:f6853a82db5018ff2657160b28bfd1905822dcc30590a33fe0997ef5e3ac17b0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:13 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:13 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.32 02:37:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:37:13 26cbf9a6694e: Preparing 02:37:13 1ebdce184e07: Preparing 02:37:13 c3b609a5f0e3: Preparing 02:37:13 f0be87ae58b8: Preparing 02:37:13 f1417ff83b31: Preparing 02:37:13 c3b609a5f0e3: Layer already exists 02:37:13 1ebdce184e07: Layer already exists 02:37:13 26cbf9a6694e: Layer already exists 02:37:13 f1417ff83b31: Layer already exists 02:37:13 f0be87ae58b8: Layer already exists 02:37:13 3.0.0-dev.32: digest: sha256:f6853a82db5018ff2657160b28bfd1905822dcc30590a33fe0997ef5e3ac17b0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:14 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:156beb4bb4cc3957e05b7219f54451536aed9ec4-3.0.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual:156beb4bb4cc3957e05b7219f54451536aed9ec4-3.0.0-dev.32 02:37:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:37:14 26cbf9a6694e: Preparing 02:37:14 1ebdce184e07: Preparing 02:37:14 c3b609a5f0e3: Preparing 02:37:14 f0be87ae58b8: Preparing 02:37:14 f1417ff83b31: Preparing 02:37:14 f1417ff83b31: Layer already exists 02:37:14 c3b609a5f0e3: Layer already exists 02:37:14 1ebdce184e07: Layer already exists 02:37:14 f0be87ae58b8: Layer already exists 02:37:14 26cbf9a6694e: Layer already exists 02:37:14 156beb4bb4cc3957e05b7219f54451536aed9ec4-3.0.0-dev.32: digest: sha256:f6853a82db5018ff2657160b28bfd1905822dcc30590a33fe0997ef5e3ac17b0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:14 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:15 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 02:37:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:37:15 26cbf9a6694e: Preparing 02:37:15 1ebdce184e07: Preparing 02:37:15 c3b609a5f0e3: Preparing 02:37:15 f0be87ae58b8: Preparing 02:37:15 f1417ff83b31: Preparing 02:37:15 f0be87ae58b8: Layer already exists 02:37:15 1ebdce184e07: Layer already exists 02:37:15 26cbf9a6694e: Layer already exists 02:37:15 f1417ff83b31: Layer already exists 02:37:15 c3b609a5f0e3: Layer already exists 02:37:15 main: digest: sha256:f6853a82db5018ff2657160b28bfd1905822dcc30590a33fe0997ef5e3ac17b0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:37:15 ===================================================== [Pipeline] echo 02:37:15 taggedImages: 02:37:15 - nexus3.edgexfoundry.org:10004/device-virtual:156beb4bb4cc3957e05b7219f54451536aed9ec4 02:37:15 - nexus3.edgexfoundry.org:10004/device-virtual:latest 02:37:15 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.32 02:37:15 - nexus3.edgexfoundry.org:10004/device-virtual:156beb4bb4cc3957e05b7219f54451536aed9ec4-3.0.0-dev.32 02:37:15 - 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 02:37:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:37:15 02:37:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:37:15 latest: Pulling from edgex-lftools-log-publisher 02:37:15 5eb5b503b376: Pulling fs layer 02:37:15 5c69ac0246d0: Pulling fs layer 02:37:15 ec43610c2a17: Pulling fs layer 02:37:15 3a2ae6a8a46f: Pulling fs layer 02:37:15 33b1e0a273af: Pulling fs layer 02:37:15 5d3b04190fa2: Pulling fs layer 02:37:15 2f39f015ded8: Pulling fs layer 02:37:15 3a2ae6a8a46f: Waiting 02:37:15 33b1e0a273af: Waiting 02:37:15 5d3b04190fa2: Waiting 02:37:15 2f39f015ded8: Waiting 02:37:15 5c69ac0246d0: Verifying Checksum 02:37:15 3a2ae6a8a46f: Verifying Checksum 02:37:15 3a2ae6a8a46f: Download complete 02:37:15 33b1e0a273af: Verifying Checksum 02:37:15 33b1e0a273af: Download complete 02:37:15 5d3b04190fa2: Verifying Checksum 02:37:15 5d3b04190fa2: Download complete 02:37:15 ec43610c2a17: Verifying Checksum 02:37:15 ec43610c2a17: Download complete 02:37:16 5eb5b503b376: Verifying Checksum 02:37:16 5eb5b503b376: Download complete 02:37:16 2f39f015ded8: Download complete 02:37:17 5eb5b503b376: Pull complete 02:37:17 5c69ac0246d0: Pull complete 02:37:17 ec43610c2a17: Pull complete 02:37:17 3a2ae6a8a46f: Pull complete 02:37:18 33b1e0a273af: Pull complete 02:37:18 5d3b04190fa2: Pull complete 02:37:22 2f39f015ded8: Pull complete 02:37:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:37:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:37:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:22 prd-ubuntu20.04-docker-8c-8g-8845 does not seem to be running inside a container 02:37:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:37:25 $ docker top c947a8396f66ef37028a235aba3534a2854c131268a6ba325f44a7df4d5d7a4a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:37:26 ---> job-cost.sh 02:37:26 lf-activate-venv: SKIPPING 02:37:26 INFO: No Stack... 02:37:26 INFO: Retrieving Pricing Info for: v3-standard-8 02:37:26 INFO: Archiving Costs [Pipeline] sh 02:37:27 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 02:37:27 + cut -d, -f6 [Pipeline] lock 02:37:27 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-104-stack-cost] 02:37:27 Resource [jenkins-edgexfoundry-device-virtual-go-main-104-stack-cost] did not exist. Created. 02:37:27 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-104-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:37:27 + echo total: 0.2199999988079071 [Pipeline] stash 02:37:27 Stashed 1 file(s) [Pipeline] } 02:37:27 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-104-stack-cost] [Pipeline] // lock [Pipeline] } 02:37:27 $ docker stop --time=1 c947a8396f66ef37028a235aba3534a2854c131268a6ba325f44a7df4d5d7a4a 02:37:28 $ docker rm -f --volumes c947a8396f66ef37028a235aba3534a2854c131268a6ba325f44a7df4d5d7a4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:39:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8847 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 02:39:14 Running in /w/workspace/device-virtual-go/104 [Pipeline] { [Pipeline] checkout 02:39:14 The recommended git tool is: git 02:39:20 using credential edgex-jenkins-ssh 02:39:20 Cloning the remote Git repository 02:39:20 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 02:39:20 > git init /w/workspace/device-virtual-go/104 # timeout=10 02:39:20 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:39:20 > git --version # timeout=10 02:39:20 > git --version # 'git version 2.25.1' 02:39:20 using GIT_SSH to set credentials SSH Credentials for GitHub 02:39:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:39:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:39:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:39:25 Avoid second fetch 02:39:25 Checking out Revision 156beb4bb4cc3957e05b7219f54451536aed9ec4 (main) 02:39:25 Commit message: "Merge pull request #382 from hahattan/bump-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 02:39:25 > git config core.sparsecheckout # timeout=10 02:39:25 > git checkout -f 156beb4bb4cc3957e05b7219f54451536aed9ec4 # timeout=10 [Pipeline] sh 02:39:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:39:26 % Total % Received % Xferd Average Speed Time Time Time Current 02:39:26 Dload Upload Total Spent Left Speed 02:39:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 02:39:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:39:27 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 02:39:27 02:39:27 { 02:39:27 "registry-mirrors": [ 02:39:27 "https://nexus3.edgexfoundry.org:10001" 02:39:27 ], 02:39:27 "bip": "10.250.0.254/24", 02:39:27 "hosts": [ 02:39:27 "tcp://0.0.0.0:5555", 02:39:27 "unix:///var/run/docker.sock" 02:39:27 ], 02:39:27 "mtu": 1458, 02:39:27 "selinux-enabled": true, 02:39:27 "seccomp-profile": "/etc/docker/seccomp.json" 02:39:27 } [Pipeline] sh 02:39:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:39:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:39:46 provisioning config files... 02:39:46 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/104@tmp/config7126246192620788932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:39:47 ---> docker-login.sh 02:39:47 nexus3.edgexfoundry.org:10001 02:39:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:47 Configure a credential helper to remove this warning. See 02:39:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:47 02:39:47 Login Succeeded 02:39:47 nexus3.edgexfoundry.org:10002 02:39:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:48 Configure a credential helper to remove this warning. See 02:39:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:48 02:39:48 Login Succeeded 02:39:48 nexus3.edgexfoundry.org:10003 02:39:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:48 Configure a credential helper to remove this warning. See 02:39:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:48 02:39:48 Login Succeeded 02:39:48 nexus3.edgexfoundry.org:10004 02:39:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:48 Configure a credential helper to remove this warning. See 02:39:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:48 02:39:48 Login Succeeded 02:39:48 docker.io 02:39:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:49 Configure a credential helper to remove this warning. See 02:39:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:49 02:39:49 Login Succeeded 02:39:49 ---> docker-login.sh ends [Pipeline] } 02:39:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:39:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:39:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:39:49 ========================================================= 02:39:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:39:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:50 + 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 . 02:39:50 Sending build context to Docker daemon 11.93MB 02:39:51 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:39:51 Step 2/12 : FROM ${BASE} AS builder 02:39:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:39:51 af6eaf76a39c: Pulling fs layer 02:39:51 55522c791124: Pulling fs layer 02:39:51 ce5c4a1c91eb: Pulling fs layer 02:39:51 169dfbe0d373: Pulling fs layer 02:39:51 e1ff8fa3b103: Pulling fs layer 02:39:51 52ebb69f0ebf: Pulling fs layer 02:39:51 5abe8eddf0d5: Pulling fs layer 02:39:51 169dfbe0d373: Waiting 02:39:51 e1ff8fa3b103: Waiting 02:39:51 52ebb69f0ebf: Waiting 02:39:51 5abe8eddf0d5: Waiting 02:39:51 55522c791124: Verifying Checksum 02:39:51 55522c791124: Download complete 02:39:51 169dfbe0d373: Download complete 02:39:51 e1ff8fa3b103: Verifying Checksum 02:39:51 e1ff8fa3b103: Download complete 02:39:51 af6eaf76a39c: Download complete 02:39:52 5abe8eddf0d5: Download complete 02:39:52 af6eaf76a39c: Pull complete 02:39:53 55522c791124: Pull complete 02:39:54 ce5c4a1c91eb: Verifying Checksum 02:39:54 ce5c4a1c91eb: Download complete 02:39:54 52ebb69f0ebf: Download complete 02:40:06 ce5c4a1c91eb: Pull complete 02:40:06 169dfbe0d373: Pull complete 02:40:06 e1ff8fa3b103: Pull complete 02:40:13 52ebb69f0ebf: Pull complete 02:40:14 5abe8eddf0d5: Pull complete 02:40:14 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 02:40:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:40:14 ---> 6cb57ee374ae 02:40:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:40:16 ---> Running in 36186cff7caa 02:40:16 Removing intermediate container 36186cff7caa 02:40:16 ---> 0295f455fd6f 02:40:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:40:16 ---> Running in 5e3f37c67725 02:40:17 Removing intermediate container 5e3f37c67725 02:40:17 ---> 4f551882e04b 02:40:17 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:40:17 ---> Running in bf420498162a 02:40:17 Removing intermediate container bf420498162a 02:40:17 ---> 9ea11eb48ef3 02:40:17 Step 6/12 : WORKDIR /device-virtual-go 02:40:17 ---> Running in 01030b4f19a9 02:40:17 Removing intermediate container 01030b4f19a9 02:40:17 ---> b8b7ce4461ce 02:40:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:40:17 ---> Running in e30f6ecc70a5 02:40:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:40:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:40:20 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:40:20 (2/4) Installing libedit (20221030.3.1-r0) 02:40:20 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:40:20 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:40:20 Executing busybox-1.35.0-r29.trigger 02:40:20 OK: 268 MiB in 57 packages 02:40:21 Removing intermediate container e30f6ecc70a5 02:40:21 ---> 5fe7fdb9fc94 02:40:21 Step 8/12 : COPY go.mod vendor* ./ 02:40:22 ---> 6784d1187083 02:40:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:40:22 ---> Running in 4ef0b6740624 02:41:30 Removing intermediate container 4ef0b6740624 02:41:30 ---> b6b2b7db545c 02:41:30 Step 10/12 : COPY . . 02:41:30 ---> b4ba9fd04f87 02:41:30 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:41:30 ---> Running in d32939bb8df9 02:41:30 Removing intermediate container d32939bb8df9 02:41:30 ---> 93d19c0dc120 02:41:30 Step 12/12 : RUN $MAKE 02:41:30 ---> Running in bfee22b3f749 02:41:30 noop 02:41:30 Removing intermediate container bfee22b3f749 02:41:30 ---> e7b2254a670e 02:41:30 Successfully built e7b2254a670e 02:41:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:31 + docker inspect -f . ci-base-image-arm64 02:41:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:41:31 prd-ubuntu20.04-docker-arm64-4c-16g-8847 does not seem to be running inside a container 02:41:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/104 -v /w/workspace/device-virtual-go/104:/w/workspace/device-virtual-go/104:rw,z -v /w/workspace/device-virtual-go/104@tmp:/w/workspace/device-virtual-go/104@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 02:41:32 $ docker top e7fb7b541021188dab46c7d1ccbea44212435f63863fca58a793753b72d493e3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:41:33 + go version 02:41:33 go version go1.20.2 linux/arm64 [Pipeline] } 02:41:33 $ docker stop --time=1 e7fb7b541021188dab46c7d1ccbea44212435f63863fca58a793753b72d493e3 02:41:35 $ docker rm -f --volumes e7fb7b541021188dab46c7d1ccbea44212435f63863fca58a793753b72d493e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:35 + docker inspect -f . ci-base-image-arm64 02:41:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:41:35 prd-ubuntu20.04-docker-arm64-4c-16g-8847 does not seem to be running inside a container 02:41:35 $ 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/104 -v /w/workspace/device-virtual-go/104:/w/workspace/device-virtual-go/104:rw,z -v /w/workspace/device-virtual-go/104@tmp:/w/workspace/device-virtual-go/104@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 02:41:38 $ docker top 3e70c2ba65ee61d1492ee7159a0ce09357c3d302db1f3c07dfa23dad1609b4a9 -eo pid,comm [Pipeline] { [Pipeline] sh 02:41:38 + git config --global --add safe.directory /w/workspace/device-virtual-go/104 [Pipeline] fileExists [Pipeline] sh 02:41:39 + make test 02:41:39 go test ./... -coverprofile=coverage.out 02:42:11 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:44:03 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:44:03 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.095s coverage: 58.4% of statements 02:44:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:44:03 go vet ./... 02:44:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:44:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:44:29 ./bin/test-attribution-txt.sh [Pipeline] echo 02:44:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:44:29 $ docker stop --time=1 3e70c2ba65ee61d1492ee7159a0ce09357c3d302db1f3c07dfa23dad1609b4a9 02:44:31 $ docker rm -f --volumes 3e70c2ba65ee61d1492ee7159a0ce09357c3d302db1f3c07dfa23dad1609b4a9 [Pipeline] // withDockerContainer [Pipeline] sh 02:44:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:44:32 Warning: overwriting stash ‘coverage-report’ 02:44:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:44:34 + ls -al . 02:44:34 total 188 02:44:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 02:41 . 02:44:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 02:39 .. 02:44:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 02:39 .git 02:44:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 02:39 .github 02:44:34 -rw-rw-r-- 1 jenkins jenkins 337 Apr 18 02:39 .gitignore 02:44:34 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 02:39 .golangci.yml 02:44:34 -rw-rw-r-- 1 jenkins jenkins 8652 Apr 18 02:39 Attribution.txt 02:44:34 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 18 02:39 CHANGELOG.md 02:44:34 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 18 02:39 Dockerfile 02:44:34 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 02:39 GOVERNANCE.md 02:44:34 -rw-rw-r-- 1 jenkins jenkins 660 Apr 18 02:39 Jenkinsfile 02:44:34 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 02:39 LICENSE 02:44:34 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 18 02:39 Makefile 02:44:34 -rw-rw-r-- 1 jenkins jenkins 623 Apr 18 02:39 OWNERS.md 02:44:34 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 18 02:39 README.md 02:44:34 -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 02:35 VERSION 02:44:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 02:39 bin 02:44:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 02:39 cmd 02:44:34 -rw-r--r-- 1 jenkins jenkins 43063 Apr 18 02:43 coverage.out 02:44:34 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 18 02:39 go.mod 02:44:34 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 18 02:39 go.sum 02:44:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 02:39 internal 02:44:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 02:39 snap 02:44:34 -rw-rw-r-- 1 jenkins jenkins 235 Apr 18 02:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:34 + 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=156beb4bb4cc3957e05b7219f54451536aed9ec4 --label arch=arm64 --label version=3.0.0-dev.32 . 02:44:34 Sending build context to Docker daemon 11.97MB 02:44:34 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 02:44:34 Step 2/25 : FROM ${BASE} AS builder 02:44:34 ---> e7b2254a670e 02:44:34 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:44:34 ---> Running in 0cb68ce04c7b 02:44:36 Removing intermediate container 0cb68ce04c7b 02:44:36 ---> f278b734e4a0 02:44:36 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 02:44:36 ---> Running in 86a4d6e18dd0 02:44:37 Removing intermediate container 86a4d6e18dd0 02:44:37 ---> 0ab81f4fc05b 02:44:37 Step 5/25 : ARG ADD_BUILD_TAGS="" 02:44:37 ---> Running in 811c796dfcb5 02:44:37 Removing intermediate container 811c796dfcb5 02:44:37 ---> 10e69fd53f73 02:44:37 Step 6/25 : WORKDIR /device-virtual-go 02:44:37 ---> Running in 4ed92d6e1196 02:44:39 Removing intermediate container 4ed92d6e1196 02:44:39 ---> a548ade45b6e 02:44:39 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:44:39 ---> Running in 9917829f3baf 02:44:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:44:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:44:42 OK: 268 MiB in 57 packages 02:44:45 Removing intermediate container 9917829f3baf 02:44:45 ---> 98871a003025 02:44:45 Step 8/25 : COPY go.mod vendor* ./ 02:44:45 ---> 92106b1d2e95 02:44:45 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:44:45 ---> Running in 04bf21ec2f00 02:44:48 Removing intermediate container 04bf21ec2f00 02:44:48 ---> 3e23c65f4724 02:44:48 Step 10/25 : COPY . . 02:44:50 ---> f15d8f07ab71 02:44:50 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:44:50 ---> Running in 82147b239264 02:44:50 Removing intermediate container 82147b239264 02:44:50 ---> cc447c1d5808 02:44:50 Step 12/25 : RUN $MAKE 02:44:50 ---> Running in 947d0775507a 02:44:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.32" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 02:46:58 Removing intermediate container 947d0775507a 02:46:58 ---> 3ce5579b7e79 02:46:58 Step 13/25 : FROM alpine:3.17 02:46:58 3.17: Pulling from library/alpine 02:46:58 c41833b44d91: Pulling fs layer 02:46:58 c41833b44d91: Verifying Checksum 02:46:58 c41833b44d91: Download complete 02:46:58 c41833b44d91: Pull complete 02:46:58 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:46:58 Status: Downloaded newer image for alpine:3.17 02:46:58 ---> 51e60588ff2c 02:46:58 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:46:58 ---> Running in b6d53a885cc4 02:46:58 Removing intermediate container b6d53a885cc4 02:46:58 ---> 031a2ffcf4c3 02:46:58 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:46:58 ---> Running in bf31124899f1 02:46:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:47:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:47:01 (1/1) Installing dumb-init (1.2.5-r2) 02:47:01 Executing busybox-1.35.0-r29.trigger 02:47:01 OK: 8 MiB in 16 packages 02:47:02 Removing intermediate container bf31124899f1 02:47:02 ---> cdb2f1813c5d 02:47:02 Step 16/25 : WORKDIR / 02:47:02 ---> Running in c65881666525 02:47:02 Removing intermediate container c65881666525 02:47:02 ---> 0e4296a3ca01 02:47:02 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:47:02 ---> 2b5d70e7ee36 02:47:02 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 02:47:03 ---> 17cf6e48990b 02:47:03 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 02:47:04 ---> 55962baebace 02:47:04 Step 20/25 : EXPOSE 59900 02:47:04 ---> Running in 7693a3c1bfc9 02:47:04 Removing intermediate container 7693a3c1bfc9 02:47:04 ---> 335e1107b0d5 02:47:04 Step 21/25 : ENTRYPOINT ["/device-virtual"] 02:47:05 ---> Running in 4369c3e85029 02:47:05 Removing intermediate container 4369c3e85029 02:47:05 ---> fdbc245934f5 02:47:05 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:47:05 ---> Running in a87cac13a553 02:47:05 Removing intermediate container a87cac13a553 02:47:05 ---> aeb555c27adf 02:47:05 Step 23/25 : LABEL arch=arm64 02:47:05 ---> Running in 44b593fd23e4 02:47:05 Removing intermediate container 44b593fd23e4 02:47:05 ---> 701daaeac3f3 02:47:05 Step 24/25 : LABEL git_sha=156beb4bb4cc3957e05b7219f54451536aed9ec4 02:47:06 ---> Running in 1aa86a180e73 02:47:06 Removing intermediate container 1aa86a180e73 02:47:06 ---> e7476f55c70f 02:47:06 Step 25/25 : LABEL version=3.0.0-dev.32 02:47:06 ---> Running in fc9bbc704c76 02:47:06 Removing intermediate container fc9bbc704c76 02:47:06 ---> 548466e7997a 02:47:06 [Warning] One or more build-args [ARCH] were not consumed 02:47:06 Successfully built 548466e7997a 02:47:06 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 02:47:06 provisioning config files... 02:47:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/104@tmp/config13683745779515655231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:07 ---> docker-login.sh 02:47:07 nexus3.edgexfoundry.org:10001 02:47:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:07 Configure a credential helper to remove this warning. See 02:47:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:07 02:47:07 Login Succeeded 02:47:07 nexus3.edgexfoundry.org:10002 02:47:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:07 Configure a credential helper to remove this warning. See 02:47:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:07 02:47:07 Login Succeeded 02:47:07 nexus3.edgexfoundry.org:10003 02:47:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:08 Configure a credential helper to remove this warning. See 02:47:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:08 02:47:08 Login Succeeded 02:47:08 nexus3.edgexfoundry.org:10004 02:47:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:08 Configure a credential helper to remove this warning. See 02:47:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:08 02:47:08 Login Succeeded 02:47:08 docker.io 02:47:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:09 Configure a credential helper to remove this warning. See 02:47:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:09 02:47:09 Login Succeeded 02:47:09 ---> docker-login.sh ends [Pipeline] } 02:47:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:47:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:47:09 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 02:47:09 156beb4bb4cc3957e05b7219f54451536aed9ec4 02:47:09 latest 02:47:09 3.0.0-dev.32 02:47:09 156beb4bb4cc3957e05b7219f54451536aed9ec4-3.0.0-dev.32 02:47:09 main 02:47:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:09 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:156beb4bb4cc3957e05b7219f54451536aed9ec4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:156beb4bb4cc3957e05b7219f54451536aed9ec4 02:47:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:47:09 8a783fb185ce: Preparing 02:47:09 84ce3d601b16: Preparing 02:47:09 35f00aca547b: Preparing 02:47:09 942e223da657: Preparing 02:47:09 26cbea5cba74: Preparing 02:47:09 26cbea5cba74: Layer already exists 02:47:10 942e223da657: Pushed 02:47:10 84ce3d601b16: Pushed 02:47:10 35f00aca547b: Pushed 02:47:15 8a783fb185ce: Pushed 02:47:15 156beb4bb4cc3957e05b7219f54451536aed9ec4: digest: sha256:6ccb57c79592798cb2367822d2187d0ebc4e8e704eb5f34eb35a8d26de284a91 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:15 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 02:47:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:47:16 8a783fb185ce: Preparing 02:47:16 84ce3d601b16: Preparing 02:47:16 35f00aca547b: Preparing 02:47:16 942e223da657: Preparing 02:47:16 26cbea5cba74: Preparing 02:47:16 35f00aca547b: Layer already exists 02:47:16 84ce3d601b16: Layer already exists 02:47:16 26cbea5cba74: Layer already exists 02:47:16 942e223da657: Layer already exists 02:47:16 8a783fb185ce: Layer already exists 02:47:16 latest: digest: sha256:6ccb57c79592798cb2367822d2187d0ebc4e8e704eb5f34eb35a8d26de284a91 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:16 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.32 02:47:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:47:16 8a783fb185ce: Preparing 02:47:16 84ce3d601b16: Preparing 02:47:16 35f00aca547b: Preparing 02:47:16 942e223da657: Preparing 02:47:16 26cbea5cba74: Preparing 02:47:16 26cbea5cba74: Layer already exists 02:47:16 942e223da657: Layer already exists 02:47:16 35f00aca547b: Layer already exists 02:47:16 84ce3d601b16: Layer already exists 02:47:16 8a783fb185ce: Layer already exists 02:47:16 3.0.0-dev.32: digest: sha256:6ccb57c79592798cb2367822d2187d0ebc4e8e704eb5f34eb35a8d26de284a91 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:17 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:156beb4bb4cc3957e05b7219f54451536aed9ec4-3.0.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:156beb4bb4cc3957e05b7219f54451536aed9ec4-3.0.0-dev.32 02:47:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:47:17 8a783fb185ce: Preparing 02:47:17 84ce3d601b16: Preparing 02:47:17 35f00aca547b: Preparing 02:47:17 942e223da657: Preparing 02:47:17 26cbea5cba74: Preparing 02:47:17 26cbea5cba74: Layer already exists 02:47:17 84ce3d601b16: Layer already exists 02:47:17 942e223da657: Layer already exists 02:47:17 8a783fb185ce: Layer already exists 02:47:17 35f00aca547b: Layer already exists 02:47:17 156beb4bb4cc3957e05b7219f54451536aed9ec4-3.0.0-dev.32: digest: sha256:6ccb57c79592798cb2367822d2187d0ebc4e8e704eb5f34eb35a8d26de284a91 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:17 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 02:47:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:47:18 8a783fb185ce: Preparing 02:47:18 84ce3d601b16: Preparing 02:47:18 35f00aca547b: Preparing 02:47:18 942e223da657: Preparing 02:47:18 26cbea5cba74: Preparing 02:47:18 26cbea5cba74: Layer already exists 02:47:18 35f00aca547b: Layer already exists 02:47:18 942e223da657: Layer already exists 02:47:18 8a783fb185ce: Layer already exists 02:47:18 84ce3d601b16: Layer already exists 02:47:18 main: digest: sha256:6ccb57c79592798cb2367822d2187d0ebc4e8e704eb5f34eb35a8d26de284a91 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:47:18 ===================================================== [Pipeline] echo 02:47:18 taggedImages: 02:47:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:156beb4bb4cc3957e05b7219f54451536aed9ec4 02:47:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 02:47:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.32 02:47:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:156beb4bb4cc3957e05b7219f54451536aed9ec4-3.0.0-dev.32 02:47:18 - 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 02:47:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:47:18 02:47:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:47:18 arm64: Pulling from edgex-lftools-log-publisher 02:47:18 8998bd30e6a1: Pulling fs layer 02:47:18 04944245beec: Pulling fs layer 02:47:18 699f458cf7ca: Pulling fs layer 02:47:18 765212b225bb: Pulling fs layer 02:47:18 f23df028b6ca: Pulling fs layer 02:47:18 d65c8cfc05b1: Pulling fs layer 02:47:18 2437ff75d9bd: Pulling fs layer 02:47:18 f23df028b6ca: Waiting 02:47:18 d65c8cfc05b1: Waiting 02:47:18 2437ff75d9bd: Waiting 02:47:18 765212b225bb: Waiting 02:47:19 04944245beec: Verifying Checksum 02:47:19 04944245beec: Download complete 02:47:19 765212b225bb: Download complete 02:47:19 f23df028b6ca: Download complete 02:47:19 d65c8cfc05b1: Verifying Checksum 02:47:19 d65c8cfc05b1: Download complete 02:47:19 699f458cf7ca: Verifying Checksum 02:47:19 699f458cf7ca: Download complete 02:47:19 8998bd30e6a1: Verifying Checksum 02:47:19 8998bd30e6a1: Download complete 02:47:21 2437ff75d9bd: Verifying Checksum 02:47:21 2437ff75d9bd: Download complete 02:47:22 8998bd30e6a1: Pull complete 02:47:23 04944245beec: Pull complete 02:47:24 699f458cf7ca: Pull complete 02:47:24 765212b225bb: Pull complete 02:47:25 f23df028b6ca: Pull complete 02:47:25 d65c8cfc05b1: Pull complete 02:47:38 2437ff75d9bd: Pull complete 02:47:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:47:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:47:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:38 prd-ubuntu20.04-docker-arm64-4c-16g-8847 does not seem to be running inside a container 02:47:38 $ 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/104 -v /w/workspace/device-virtual-go/104:/w/workspace/device-virtual-go/104:rw,z -v /w/workspace/device-virtual-go/104@tmp:/w/workspace/device-virtual-go/104@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 02:47:40 $ docker top 4e128c42e6899c6816d5d34ae922c6ac144008a6055d5bf96dff653350a267fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:41 ---> job-cost.sh 02:47:41 lf-activate-venv: SKIPPING 02:47:41 INFO: No Stack... 02:47:42 INFO: Retrieving Pricing Info for: v3-standard-4 02:47:43 INFO: Archiving Costs [Pipeline] sh 02:47:43 + cat /w/workspace/device-virtual-go/104/archives/cost.csv 02:47:43 + cut -d, -f6 [Pipeline] lock 02:47:43 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-104-stack-cost] 02:47:43 Resource [jenkins-edgexfoundry-device-virtual-go-main-104-stack-cost] did not exist. Created. 02:47:43 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-104-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:47:44 /w/workspace/device-virtual-go/104@tmp/durable-82f08057/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:47:45 + echo total: 0.10999999940395355 [Pipeline] stash 02:47:45 Warning: overwriting stash ‘stack-cost’ 02:47:45 Stashed 1 file(s) [Pipeline] } 02:47:45 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-104-stack-cost] [Pipeline] // lock [Pipeline] } 02:47:45 $ docker stop --time=1 4e128c42e6899c6816d5d34ae922c6ac144008a6055d5bf96dff653350a267fd 02:47:48 $ docker rm -f --volumes 4e128c42e6899c6816d5d34ae922c6ac144008a6055d5bf96dff653350a267fd [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 02:47:48 provisioning config files... 02:47:48 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7512201934439996692tmp [Pipeline] { [Pipeline] sh 02:47:49 + set +x 02:47:49 + curl -s https://codecov.io/bash 02:47:49 + bash -s -- 02:47:49 02:47:49 _____ _ 02:47:49 / ____| | | 02:47:49 | | ___ __| | ___ ___ _____ __ 02:47:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:47:49 | |___| (_) | (_| | __/ (_| (_) \ V / 02:47:49 \_____\___/ \__,_|\___|\___\___/ \_/ 02:47:49 Bash-1.0.6 02:47:49 02:47:49 02:47:49 ==> git version 2.25.1 found 02:47:49 ==> 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 02:47:49 Release-Date: 2020-01-08 02:47:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:47:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:47:49 ==> Jenkins CI detected. 02:47:49 current dir:  /w/workspace/exfoundry_device-virtual-go_main 02:47:49 project root: . 02:47:49 --> token set from env 02:47:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:47:49 ==> Running gcov in . (disable via -X gcov) 02:47:49 ==> Python coveragepy not found 02:47:49 ==> Searching for coverage reports in: 02:47:49 + . 02:47:49 -> Found 1 reports 02:47:49 ==> Detecting git/mercurial file structure 02:47:49 ==> Reading reports 02:47:49 + ./coverage.out bytes=43063 02:47:49 ==> Appending adjustments 02:47:49 https://docs.codecov.io/docs/fixing-reports 02:47:49 + Found adjustments 02:47:49 ==> Gzipping contents 02:47:49 8.0K /tmp/codecov.oQS4C1.gz 02:47:49 ==> Uploading reports 02:47:49 url: https://codecov.io 02:47:49 query: branch=main&commit=156beb4bb4cc3957e05b7219f54451536aed9ec4&build=104&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F104%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:47:49 -> Pinging Codecov 02:47:49 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=156beb4bb4cc3957e05b7219f54451536aed9ec4&build=104&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F104%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:47:49 -> Uploading to 02:47:49 https://storage.googleapis.com/codecov/v4/raw/2023-04-18/5E52B4B073DB2E39498172D8E973AA87/156beb4bb4cc3957e05b7219f54451536aed9ec4/0cfedc05-5c4c-43b4-a45e-c25510cdf31d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T024749Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=929ddbbc883e445903b21bba254a5b1122c00f63e8c9809e301381d5c99b2b00 02:47:49 % Total % Received % Xferd Average Speed Time Time Time Current 02:47:49 Dload Upload Total Spent Left Speed 02:47:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 21245 --:--:-- --:--:-- --:--:-- 21245 02:47:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/156beb4bb4cc3957e05b7219f54451536aed9ec4 [Pipeline] } 02:47:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:47:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:47:50 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:47:50 02:47:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:47:50 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:47:50 df9b9388f04a: Pulling fs layer 02:47:50 52dc419b0ee2: Pulling fs layer 02:47:50 25bc292e5bac: Pulling fs layer 02:47:50 114826534d7a: Pulling fs layer 02:47:50 4657fd5d0bcf: Pulling fs layer 02:47:50 6ad1cebc031e: Pulling fs layer 02:47:50 114826534d7a: Waiting 02:47:50 4657fd5d0bcf: Waiting 02:47:50 8a3aa393b2d8: Pulling fs layer 02:47:50 6ad1cebc031e: Waiting 02:47:50 8a3aa393b2d8: Waiting 02:47:50 25bc292e5bac: Verifying Checksum 02:47:50 25bc292e5bac: Download complete 02:47:50 52dc419b0ee2: Download complete 02:47:50 4657fd5d0bcf: Download complete 02:47:50 df9b9388f04a: Verifying Checksum 02:47:50 df9b9388f04a: Download complete 02:47:51 df9b9388f04a: Pull complete 02:47:51 6ad1cebc031e: Verifying Checksum 02:47:51 6ad1cebc031e: Download complete 02:47:51 52dc419b0ee2: Pull complete 02:47:51 25bc292e5bac: Pull complete 02:47:51 114826534d7a: Verifying Checksum 02:47:51 114826534d7a: Download complete 02:47:51 8a3aa393b2d8: Verifying Checksum 02:47:51 8a3aa393b2d8: Download complete 02:47:55 114826534d7a: Pull complete 02:47:55 4657fd5d0bcf: Pull complete 02:47:55 6ad1cebc031e: Pull complete 02:47:58 8a3aa393b2d8: Pull complete 02:47:58 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:47:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:47:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:58 prd-ubuntu20.04-docker-8c-8g-8845 does not seem to be running inside a container 02:47:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:48:03 $ docker top 424541cd0eb3fd9c12e41642fa61958dc613f170613cdc54405d9a0ac58c073c -eo pid,comm [Pipeline] { [Pipeline] echo 02:48:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 02:48:03 + set -o pipefail 02:48:03 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 02:48:10 02:48:10 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 02:48:10 02:48:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/7d106f80-c55c-443d-a548-3f5b64d0e8e3 02:48:10 02:48:10 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 02:48:10 02:48:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:48:10 02:48:10 02:48:10 A medium severity vulnerability was found in the Snyk CLI versions you are using. 02:48:10 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 02:48:10 More details here: https://snyk.co/ue1NS [Pipeline] } 02:48:10 $ docker stop --time=1 424541cd0eb3fd9c12e41642fa61958dc613f170613cdc54405d9a0ac58c073c 02:48:13 $ docker rm -f --volumes 424541cd0eb3fd9c12e41642fa61958dc613f170613cdc54405d9a0ac58c073c [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 02:48:14 + git log --format=format:%s -1 156beb4bb4cc3957e05b7219f54451536aed9ec4 [Pipeline] sh 02:48:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:48:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:48:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:48:15 prd-ubuntu20.04-docker-8c-8g-8845 does not seem to be running inside a container 02:48:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:48:15 $ docker top e6ebcde61140828f08c63dec1a7fd3e742212543f4321d93b035195f3058ec83 -eo pid,comm 02:48:15 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). 02:48:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:48:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:48:15 [ssh-agent] Looking for ssh-agent implementation... 02:48:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:48:15 $ docker exec e6ebcde61140828f08c63dec1a7fd3e742212543f4321d93b035195f3058ec83 ssh-agent 02:48:15 SSH_AUTH_SOCK=/tmp/ssh-mY666zgINC9h/agent.33 02:48:15 SSH_AGENT_PID=39 02:48:15 Running ssh-add (command line suppressed) 02:48:15 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17873144720812399645.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17873144720812399645.key) 02:48:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:48:16 + git semver tag 02:48:16 2023-04-18 02:48:16,451 [run_tag] DEBUG tag force:False 02:48:16 2023-04-18 02:48:16,451 [check_head_tag] DEBUG check head tag 02:48:16 2023-04-18 02:48:16,452 [execute] INFO git cat-file --batch-check 02:48:16 2023-04-18 02:48:16,452 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 02:48:16 2023-04-18 02:48:16,456 [execute] INFO git cat-file --batch 02:48:16 2023-04-18 02:48:16,457 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 02:48:16 2023-04-18 02:48:16,479 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:48:16 2023-04-18 02:48:16,480 [execute] INFO git tag -a v3.0.0-dev.32 -m v3.0.0-dev.32 02:48:16 2023-04-18 02:48:16,480 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.32', '-m', 'v3.0.0-dev.32'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 02:48:16 2023-04-18 02:48:16,484 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:48:16 3.0.0-dev.32 [Pipeline] } 02:48:16 $ docker exec --env ******** --env ******** e6ebcde61140828f08c63dec1a7fd3e742212543f4321d93b035195f3058ec83 ssh-agent -k 02:48:16 unset SSH_AUTH_SOCK; 02:48:16 unset SSH_AGENT_PID; 02:48:16 echo Agent pid 39 killed; 02:48:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:48:16 + git semver [Pipeline] } 02:48:17 $ docker stop --time=1 e6ebcde61140828f08c63dec1a7fd3e742212543f4321d93b035195f3058ec83 02:48:18 $ docker rm -f --volumes e6ebcde61140828f08c63dec1a7fd3e742212543f4321d93b035195f3058ec83 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:48:18 02:48:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:48:19 0.23.1-centos7: Pulling from edgex-lftools 02:48:19 ab5ef0e58194: Pulling fs layer 02:48:19 9712f1f96733: Pulling fs layer 02:48:19 63f879dbbcfc: Pulling fs layer 02:48:19 0d9ebad4ef96: Pulling fs layer 02:48:19 e9a5061849ea: Pulling fs layer 02:48:19 d747dcd14b5f: Pulling fs layer 02:48:19 2de7ff778b66: Pulling fs layer 02:48:19 0d9ebad4ef96: Waiting 02:48:19 e9a5061849ea: Waiting 02:48:19 d747dcd14b5f: Waiting 02:48:19 2de7ff778b66: Waiting 02:48:19 9712f1f96733: Verifying Checksum 02:48:19 9712f1f96733: Download complete 02:48:19 63f879dbbcfc: Verifying Checksum 02:48:19 63f879dbbcfc: Download complete 02:48:19 e9a5061849ea: Verifying Checksum 02:48:19 e9a5061849ea: Download complete 02:48:19 d747dcd14b5f: Verifying Checksum 02:48:19 d747dcd14b5f: Download complete 02:48:19 0d9ebad4ef96: Verifying Checksum 02:48:19 0d9ebad4ef96: Download complete 02:48:19 ab5ef0e58194: Verifying Checksum 02:48:19 ab5ef0e58194: Download complete 02:48:19 2de7ff778b66: Verifying Checksum 02:48:22 ab5ef0e58194: Pull complete 02:48:22 9712f1f96733: Pull complete 02:48:23 63f879dbbcfc: Pull complete 02:48:27 0d9ebad4ef96: Pull complete 02:48:27 e9a5061849ea: Pull complete 02:48:27 d747dcd14b5f: Pull complete 02:48:28 2de7ff778b66: Pull complete 02:48:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:48:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:48:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:48:28 prd-ubuntu20.04-docker-8c-8g-8845 does not seem to be running inside a container 02:48:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:48:33 $ docker top e806ea3d08f0c6c7649f46b55d8e2d9ac60dd2ea860da5681f24e877ce2af14c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:48:33 provisioning config files... 02:48:33 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1279007841829763544tmp 02:48:33 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12655637902048349771tmp 02:48:33 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12813526365961767977tmp [Pipeline] { [Pipeline] echo 02:48:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:48:33 ---> sigul-configuration.sh 02:48:33 gpg: directory `/root/.gnupg' created 02:48:33 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:48:33 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:48:33 gpg: keyring `/root/.gnupg/secring.gpg' created 02:48:33 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:48:33 gpg: CAST5 encrypted data 02:48:33 gpg: encrypted with 1 passphrase 02:48:33 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:48:33 + mkdir /home/jenkins 02:48:33 + mkdir /home/jenkins/sigul [Pipeline] sh 02:48:34 + 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 02:48:34 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:48:34 ---> sigul-install.sh 02:48:34 Sigul already installed; skipping installation. [Pipeline] sh 02:48:34 + git tag --list 02:48:34 v1.0.0 02:48:34 v1.1.0 02:48:34 v1.1.1 02:48:34 v1.2.1 02:48:34 v1.2.2 02:48:34 v1.2.3 02:48:34 v1.3.0 02:48:34 v1.3.1 02:48:34 v2.0.0 02:48:34 v2.1.0 02:48:34 v2.1.1 02:48:34 v2.1.1-dev.1 02:48:34 v2.1.1-dev.2 02:48:34 v2.2.0 02:48:34 v2.2.1-dev.1 02:48:34 v2.2.1-dev.2 02:48:34 v2.2.1-dev.3 02:48:34 v2.2.1-dev.4 02:48:34 v2.2.1-dev.5 02:48:34 v2.2.1-dev.6 02:48:34 v2.2.1-dev.7 02:48:34 v2.2.1-dev.8 02:48:34 v2.3.0 02:48:34 v2.3.0-dev.10 02:48:34 v2.3.0-dev.11 02:48:34 v2.3.0-dev.12 02:48:34 v2.3.0-dev.13 02:48:34 v2.3.0-dev.14 02:48:34 v2.3.0-dev.15 02:48:34 v2.3.0-dev.16 02:48:34 v2.3.0-dev.17 02:48:34 v2.3.0-dev.18 02:48:34 v2.3.0-dev.19 02:48:34 v2.3.0-dev.20 02:48:34 v2.3.0-dev.21 02:48:34 v2.3.0-dev.22 02:48:34 v2.3.0-dev.23 02:48:34 v2.3.0-dev.24 02:48:34 v2.3.0-dev.25 02:48:34 v2.3.0-dev.26 02:48:34 v2.3.0-dev.27 02:48:34 v2.3.0-dev.28 02:48:34 v2.3.0-dev.29 02:48:34 v2.3.0-dev.30 02:48:34 v2.3.0-dev.8 02:48:34 v2.3.0-dev.9 02:48:34 v3.0.0-dev.1 02:48:34 v3.0.0-dev.10 02:48:34 v3.0.0-dev.11 02:48:34 v3.0.0-dev.12 02:48:34 v3.0.0-dev.13 02:48:34 v3.0.0-dev.14 02:48:34 v3.0.0-dev.15 02:48:34 v3.0.0-dev.16 02:48:34 v3.0.0-dev.17 02:48:34 v3.0.0-dev.18 02:48:34 v3.0.0-dev.19 02:48:34 v3.0.0-dev.2 02:48:34 v3.0.0-dev.20 02:48:34 v3.0.0-dev.21 02:48:34 v3.0.0-dev.22 02:48:34 v3.0.0-dev.23 02:48:34 v3.0.0-dev.24 02:48:34 v3.0.0-dev.25 02:48:34 v3.0.0-dev.26 02:48:34 v3.0.0-dev.27 02:48:34 v3.0.0-dev.28 02:48:34 v3.0.0-dev.29 02:48:34 v3.0.0-dev.3 02:48:34 v3.0.0-dev.30 02:48:34 v3.0.0-dev.31 02:48:34 v3.0.0-dev.32 02:48:34 v3.0.0-dev.4 02:48:34 v3.0.0-dev.5 02:48:34 v3.0.0-dev.6 02:48:34 v3.0.0-dev.7 02:48:34 v3.0.0-dev.8 02:48:34 v3.0.0-dev.9 [Pipeline] sh 02:48:35 + lftools sign git-tag v3.0.0-dev.32 02:48:35 Signing Git tag with Sigul... 02:48:35 Signing v3.0.0-dev.32 [Pipeline] echo 02:48:35 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:48:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:48:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:48:36 $ docker stop --time=1 e806ea3d08f0c6c7649f46b55d8e2d9ac60dd2ea860da5681f24e877ce2af14c 02:48:37 $ docker rm -f --volumes e806ea3d08f0c6c7649f46b55d8e2d9ac60dd2ea860da5681f24e877ce2af14c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:48:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:48:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:48:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:48:38 prd-ubuntu20.04-docker-8c-8g-8845 does not seem to be running inside a container 02:48:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:48:38 $ docker top e24d05d929c7fde5bd571e997314ad489a4400d7fde6887d8b27744862b781e1 -eo pid,comm 02:48:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:48:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:48:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:48:38 [ssh-agent] Looking for ssh-agent implementation... 02:48:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:48:38 $ docker exec e24d05d929c7fde5bd571e997314ad489a4400d7fde6887d8b27744862b781e1 ssh-agent 02:48:38 SSH_AUTH_SOCK=/tmp/ssh-FgQGJLFk1h4S/agent.31 02:48:38 SSH_AGENT_PID=37 02:48:38 Running ssh-add (command line suppressed) 02:48:38 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11964386269814181298.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11964386269814181298.key) 02:48:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:48:39 + git semver bump pre 02:48:39 2023-04-18 02:48:39,455 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:48:39 2023-04-18 02:48:39,455 [bump_version] DEBUG bumping version:3.0.0-dev.32 on axis:pre with prefix:dev 02:48:39 2023-04-18 02:48:39,455 [bump_version] DEBUG bumped version:3.0.0-dev.33 02:48:39 2023-04-18 02:48:39,455 [write_version] DEBUG write version:3.0.0-dev.33 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 02:48:39 2023-04-18 02:48:39,455 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:48:39 2023-04-18 02:48:39,455 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:48:39 2023-04-18 02:48:39,457 [execute] INFO git cat-file --batch-check 02:48:39 2023-04-18 02:48:39,458 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:48:39 2023-04-18 02:48:39,463 [execute] INFO git cat-file --batch 02:48:39 2023-04-18 02:48:39,463 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:48:39 2023-04-18 02:48:39,468 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:48:39 3.0.0-dev.33 [Pipeline] } 02:48:39 $ docker exec --env ******** --env ******** e24d05d929c7fde5bd571e997314ad489a4400d7fde6887d8b27744862b781e1 ssh-agent -k 02:48:39 unset SSH_AUTH_SOCK; 02:48:39 unset SSH_AGENT_PID; 02:48:39 echo Agent pid 37 killed; 02:48:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:48:39 + git semver [Pipeline] } 02:48:40 $ docker stop --time=1 e24d05d929c7fde5bd571e997314ad489a4400d7fde6887d8b27744862b781e1 02:48:41 $ docker rm -f --volumes e24d05d929c7fde5bd571e997314ad489a4400d7fde6887d8b27744862b781e1 [Pipeline] // withDockerContainer [Pipeline] sh 02:48:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:48:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:48:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:48:42 prd-ubuntu20.04-docker-8c-8g-8845 does not seem to be running inside a container 02:48:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:48:42 $ docker top 0393e716456738e059060d8db567d1a422b15521e0f3ab7d2144c635a7d6c708 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:48:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:48:42 [ssh-agent] Looking for ssh-agent implementation... 02:48:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:48:42 $ docker exec 0393e716456738e059060d8db567d1a422b15521e0f3ab7d2144c635a7d6c708 ssh-agent 02:48:42 SSH_AUTH_SOCK=/tmp/ssh-um3J4lMY2iQz/agent.32 02:48:42 SSH_AGENT_PID=38 02:48:42 Running ssh-add (command line suppressed) 02:48:42 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16486632074939818051.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16486632074939818051.key) 02:48:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:48:43 + git semver push 02:48:43 2023-04-18 02:48:43,443 [run_push] DEBUG push 02:48:43 2023-04-18 02:48:43,443 [execute] INFO git cat-file --batch-check 02:48:43 2023-04-18 02:48:43,444 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:48:43 2023-04-18 02:48:43,448 [execute] INFO git rev-list a671f7d848cbfaf99bfc459949e92f2445f8a879 -- 02:48:43 2023-04-18 02:48:43,448 [execute] DEBUG Popen(['git', 'rev-list', 'a671f7d848cbfaf99bfc459949e92f2445f8a879', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:48:43 2023-04-18 02:48:43,457 [execute] INFO git fetch -v origin 02:48:43 2023-04-18 02:48:43,457 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:48:44 2023-04-18 02:48:43,967 [run_push] DEBUG no remote changes detected 02:48:44 2023-04-18 02:48:43,967 [execute] INFO git push origin semver 02:48:44 2023-04-18 02:48:43,968 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:48:45 2023-04-18 02:48:44,785 [run_push] DEBUG push all version tags 02:48:45 2023-04-18 02:48:44,786 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:48:45 2023-04-18 02:48:44,786 [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) 02:48:45 2023-04-18 02:48:45,561 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:48:45 3.0.0-dev.33 [Pipeline] } 02:48:45 $ docker exec --env ******** --env ******** 0393e716456738e059060d8db567d1a422b15521e0f3ab7d2144c635a7d6c708 ssh-agent -k 02:48:45 unset SSH_AUTH_SOCK; 02:48:45 unset SSH_AGENT_PID; 02:48:45 echo Agent pid 38 killed; 02:48:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:48:46 + git semver [Pipeline] } 02:48:46 $ docker stop --time=1 0393e716456738e059060d8db567d1a422b15521e0f3ab7d2144c635a7d6c708 02:48:47 $ docker rm -f --volumes 0393e716456738e059060d8db567d1a422b15521e0f3ab7d2144c635a7d6c708 [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 02:48:48 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 02:48:48 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 02:48:48 total 16 02:48:48 drwxr-xr-x 3 root root 4096 Apr 18 02:37 . 02:48:48 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 02:48 .. 02:48:48 drwxr-xr-x 2 root root 4096 Apr 18 02:37 cost 02:48:48 -rw-r--r-- 1 root root 89 Apr 18 02:37 cost.csv 02:48:48 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 02:48:48 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 02:48:48 total 16 02:48:48 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 02:37 . 02:48:48 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 02:48 .. 02:48:48 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 02:37 cost 02:48:48 -rw-r--r-- 1 jenkins jenkins 89 Apr 18 02:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:48:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:48:49 ---> package-listing.sh 02:48:49 ++ facter osfamily 02:48:49 ++ tr '[:upper:]' '[:lower:]' 02:48:49 + OS_FAMILY=debian 02:48:49 + workspace=/w/workspace/exfoundry_device-virtual-go_main 02:48:49 + START_PACKAGES=/tmp/packages_start.txt 02:48:49 + END_PACKAGES=/tmp/packages_end.txt 02:48:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:48:49 + PACKAGES=/tmp/packages_start.txt 02:48:49 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 02:48:49 + PACKAGES=/tmp/packages_end.txt 02:48:49 + case "${OS_FAMILY}" in 02:48:49 + dpkg -l 02:48:49 + grep '^ii' 02:48:49 + '[' -f /tmp/packages_start.txt ']' 02:48:49 + '[' -f /tmp/packages_end.txt ']' 02:48:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:48:49 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 02:48:49 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 02:48:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 02:48:49 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 02:48:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:48:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:48:50 prd-ubuntu20.04-docker-8c-8g-8845 does not seem to be running inside a container 02:48:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:48:50 $ docker top 9fd5008a43c9a8273ea74dba5e9f3e3b8f661cbf7271fa36c10f4ef88a09c92c -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:51 + touch /tmp/pre-build-complete [Pipeline] sh 02:48:51 + mkdir -p /var/log/sysstat [Pipeline] sh 02:48:51 + ls /var/log/sa-host 02:48:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:48:51 provisioning config files... 02:48:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1394006570446180051tmp [Pipeline] { [Pipeline] echo 02:48:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:48:52 ---> create-netrc.sh [Pipeline] } 02:48:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:48:52 ---> python-tools-install.sh [Pipeline] echo 02:48:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:48:52 ---> sudo-logs.sh 02:48:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:48:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:48:53 ---> job-cost.sh 02:48:53 lf-activate-venv: SKIPPING 02:48:53 DEBUG: total: 0.2199999988079071 02:48:53 INFO: Retrieving Stack Cost... 02:48:53 INFO: Retrieving Pricing Info for: v3-standard-8 02:48:54 INFO: Archiving Costs [Pipeline] echo 02:48:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:48:54 ---> logs-deploy.sh 02:48:54 lf-activate-venv: SKIPPING 02:48:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/104 02:48:54 INFO: archiving workspace using pattern(s): 02:48:55 Archives upload complete. 02:48:55 INFO: archiving logs to Nexus