Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 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-ssh6136335065114790646.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-ssh15875229642490714882.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-ssh11651919423315620588.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-ssh9205882982390684905.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-ssh15263093528310089049.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9000 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 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#385)" > 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 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 # timeout=10 > git rev-list --no-walk 156beb4bb4cc3957e05b7219f54451536aed9ec4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:28:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:28:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:28:30 ========================================================= 21:28:30 EdgeX Global Pipelines Version Info 21:28:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:28:31 ------------------- 21:28:31 stable info: 21:28:31 ------------------- 21:28:31 Commited By: Bill Mahoney bill.mahoney@intel.com 21:28:31 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:28:31 Message: update stable to v1.0.248 21:28:32 ------------------- 21:28:32 experimental info: 21:28:32 ------------------- 21:28:32 Commited By: **** collab-it+edgex@linuxfoundation.org 21:28:32 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:28:32 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b06b33 [Pipeline] echo 21:28:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:28:32 provisioning config files... 21:28:32 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6405681818701378606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:32 ---> docker-login.sh 21:28:32 nexus3.edgexfoundry.org:10001 21:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:33 Configure a credential helper to remove this warning. See 21:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:33 21:28:33 Login Succeeded 21:28:33 nexus3.edgexfoundry.org:10002 21:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:33 Configure a credential helper to remove this warning. See 21:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:33 21:28:33 Login Succeeded 21:28:33 nexus3.edgexfoundry.org:10003 21:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:33 Configure a credential helper to remove this warning. See 21:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:33 21:28:33 Login Succeeded 21:28:33 nexus3.edgexfoundry.org:10004 21:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:33 Configure a credential helper to remove this warning. See 21:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:33 21:28:33 Login Succeeded 21:28:33 docker.io 21:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:33 Configure a credential helper to remove this warning. See 21:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:33 21:28:33 Login Succeeded 21:28:33 ---> docker-login.sh ends [Pipeline] } 21:28:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:28:34 + git rev-list -1 --merges 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3~1..8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 [Pipeline] echo 21:28:34 -----------> git rev-list -1 --merges 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3~1..8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 [false] [Pipeline] sh 21:28:34 + git log --format=format:%s -1 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 [Pipeline] echo 21:28:34 ========================================================= 21:28:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:28:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:28:34 + git log --format=format:%s -1 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 [Pipeline] echo 21:28:34 [semverPrep] GIT_COMMIT: 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#385) [Pipeline] echo 21:28:34 [semverPrep] This is not a build commit. [Pipeline] sh 21:28:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:28:35 + grep -v github /etc/ssh/ssh_known_hosts 21:28:35 + [ -e /tmp/ssh_known_hosts ] 21:28:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:28:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:28:35 + sudo tee -a /etc/ssh/ssh_known_hosts 21:28:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:28:35 21:28:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:28:35 0.1.4: Pulling from edgex-devops/py-git-semver 21:28:35 b85a868b505f: Pulling fs layer 21:28:35 e2be974225ed: Pulling fs layer 21:28:35 339a4e72a1f5: Pulling fs layer 21:28:35 988bab9f4d93: Pulling fs layer 21:28:35 1469e6f7b9e6: Pulling fs layer 21:28:35 eaf3925da568: Pulling fs layer 21:28:35 bab4dde63d76: Pulling fs layer 21:28:35 bde34c3a00c8: Pulling fs layer 21:28:35 b352a97aabf1: Pulling fs layer 21:28:35 4872d77fe225: Pulling fs layer 21:28:35 5851b861e8e6: Pulling fs layer 21:28:35 4872d77fe225: Waiting 21:28:35 988bab9f4d93: Waiting 21:28:35 bab4dde63d76: Waiting 21:28:35 bde34c3a00c8: Waiting 21:28:35 1469e6f7b9e6: Waiting 21:28:35 b352a97aabf1: Waiting 21:28:35 5851b861e8e6: Waiting 21:28:35 eaf3925da568: Waiting 21:28:35 e2be974225ed: Verifying Checksum 21:28:35 e2be974225ed: Download complete 21:28:35 988bab9f4d93: Download complete 21:28:35 1469e6f7b9e6: Verifying Checksum 21:28:35 1469e6f7b9e6: Download complete 21:28:35 eaf3925da568: Verifying Checksum 21:28:35 eaf3925da568: Download complete 21:28:35 339a4e72a1f5: Verifying Checksum 21:28:35 339a4e72a1f5: Download complete 21:28:36 bde34c3a00c8: Download complete 21:28:36 b352a97aabf1: Download complete 21:28:36 4872d77fe225: Download complete 21:28:36 5851b861e8e6: Download complete 21:28:36 b85a868b505f: Verifying Checksum 21:28:36 b85a868b505f: Download complete 21:28:36 bab4dde63d76: Verifying Checksum 21:28:36 bab4dde63d76: Download complete 21:28:37 b85a868b505f: Pull complete 21:28:37 e2be974225ed: Pull complete 21:28:38 339a4e72a1f5: Pull complete 21:28:38 988bab9f4d93: Pull complete 21:28:38 1469e6f7b9e6: Pull complete 21:28:38 eaf3925da568: Pull complete 21:28:40 bab4dde63d76: Pull complete 21:28:40 bde34c3a00c8: Pull complete 21:28:40 b352a97aabf1: Pull complete 21:28:40 4872d77fe225: Pull complete 21:28:40 5851b861e8e6: Pull complete 21:28:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:28:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:28:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:40 prd-ubuntu20.04-docker-8c-8g-9000 does not seem to be running inside a container 21:28:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:28:44 $ docker top ebc1fcd05fa6e24d74d2879bffcd7d472a91fb7ca4ca8a1848351cb529cc9bae -eo pid,comm 21:28:44 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). 21:28:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:28:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:28:44 [ssh-agent] Looking for ssh-agent implementation... 21:28:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:28:44 $ docker exec ebc1fcd05fa6e24d74d2879bffcd7d472a91fb7ca4ca8a1848351cb529cc9bae ssh-agent 21:28:44 SSH_AUTH_SOCK=/tmp/ssh-f9YikaAoMNL6/agent.32 21:28:44 SSH_AGENT_PID=38 21:28:44 Running ssh-add (command line suppressed) 21:28:44 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15246485102334227396.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15246485102334227396.key) 21:28:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:28:44 + git tag --points-at HEAD [Pipeline] } 21:28:44 $ docker exec --env ******** --env ******** ebc1fcd05fa6e24d74d2879bffcd7d472a91fb7ca4ca8a1848351cb529cc9bae ssh-agent -k 21:28:44 unset SSH_AUTH_SOCK; 21:28:44 unset SSH_AGENT_PID; 21:28:44 echo Agent pid 38 killed; 21:28:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:28:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:28:44 [ssh-agent] Looking for ssh-agent implementation... 21:28:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:28:45 $ docker exec ebc1fcd05fa6e24d74d2879bffcd7d472a91fb7ca4ca8a1848351cb529cc9bae ssh-agent 21:28:45 SSH_AUTH_SOCK=/tmp/ssh-o5zQbi1pk6qM/agent.70 21:28:45 SSH_AGENT_PID=76 21:28:45 Running ssh-add (command line suppressed) 21:28:45 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1100713590434129107.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1100713590434129107.key) 21:28:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:28:45 + git semver init 21:28:45 2023-04-18 21:28:45,726 [run_init] DEBUG init version:0.0.0 force:False 21:28:45 2023-04-18 21:28:45,727 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 21:28:45 2023-04-18 21:28:45,727 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 21:28:45 2023-04-18 21:28:45,727 [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) 21:28:47 2023-04-18 21:28:46,809 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 21:28:47 2023-04-18 21:28:46,809 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 21:28:47 2023-04-18 21:28:46,810 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:28:47 2023-04-18 21:28:46,810 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:28:47 3.0.0-dev.33 [Pipeline] } 21:28:47 $ docker exec --env ******** --env ******** ebc1fcd05fa6e24d74d2879bffcd7d472a91fb7ca4ca8a1848351cb529cc9bae ssh-agent -k 21:28:47 unset SSH_AUTH_SOCK; 21:28:47 unset SSH_AGENT_PID; 21:28:47 echo Agent pid 76 killed; 21:28:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:28:47 + git semver [Pipeline] } 21:28:47 $ docker stop --time=1 ebc1fcd05fa6e24d74d2879bffcd7d472a91fb7ca4ca8a1848351cb529cc9bae 21:28:49 $ docker rm -f --volumes ebc1fcd05fa6e24d74d2879bffcd7d472a91fb7ca4ca8a1848351cb529cc9bae [Pipeline] // withDockerContainer [Pipeline] sh 21:28:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:28:49 Stashed 1 file(s) [Pipeline] echo 21:28:49 [edgeXSemver]: initialized semver on version 3.0.0-dev.33 [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 21:28:49 provisioning config files... 21:28:49 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1372999902739637880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:50 ---> docker-login.sh 21:28:50 nexus3.edgexfoundry.org:10001 21:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:50 Configure a credential helper to remove this warning. See 21:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:50 21:28:50 Login Succeeded 21:28:50 nexus3.edgexfoundry.org:10002 21:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:50 Configure a credential helper to remove this warning. See 21:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:50 21:28:50 Login Succeeded 21:28:50 nexus3.edgexfoundry.org:10003 21:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:50 Configure a credential helper to remove this warning. See 21:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:50 21:28:50 Login Succeeded 21:28:50 nexus3.edgexfoundry.org:10004 21:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:50 Configure a credential helper to remove this warning. See 21:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:50 21:28:50 Login Succeeded 21:28:50 docker.io 21:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:50 Configure a credential helper to remove this warning. See 21:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:50 21:28:50 Login Succeeded 21:28:50 ---> docker-login.sh ends [Pipeline] } 21:28:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:28:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:28:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:28:50 ========================================================= 21:28:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:28:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:51 + 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 . 21:28:51 Sending build context to Docker daemon 23.56MB 21:28:51 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:28:51 Step 2/12 : FROM ${BASE} AS builder 21:28:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:28:51 63b65145d645: Pulling fs layer 21:28:51 a2d21d5440eb: Pulling fs layer 21:28:51 935e6c44a52c: Pulling fs layer 21:28:51 94cc34f8dd06: Pulling fs layer 21:28:51 30dea6a524f1: Pulling fs layer 21:28:51 a2aff8979fd8: Pulling fs layer 21:28:51 6808be2612f2: Pulling fs layer 21:28:51 f25807f1079a: Pulling fs layer 21:28:51 a2aff8979fd8: Waiting 21:28:51 6808be2612f2: Waiting 21:28:51 f25807f1079a: Waiting 21:28:51 94cc34f8dd06: Waiting 21:28:51 30dea6a524f1: Waiting 21:28:51 a2d21d5440eb: Download complete 21:28:51 94cc34f8dd06: Download complete 21:28:51 30dea6a524f1: Verifying Checksum 21:28:51 30dea6a524f1: Download complete 21:28:51 63b65145d645: Verifying Checksum 21:28:51 63b65145d645: Download complete 21:28:51 a2aff8979fd8: Verifying Checksum 21:28:51 a2aff8979fd8: Download complete 21:28:51 63b65145d645: Pull complete 21:28:51 a2d21d5440eb: Pull complete 21:28:51 f25807f1079a: Verifying Checksum 21:28:51 f25807f1079a: Download complete 21:28:52 6808be2612f2: Verifying Checksum 21:28:52 6808be2612f2: Download complete 21:28:52 935e6c44a52c: Verifying Checksum 21:28:52 935e6c44a52c: Download complete 21:28:55 935e6c44a52c: Pull complete 21:28:56 94cc34f8dd06: Pull complete 21:28:56 30dea6a524f1: Pull complete 21:28:56 a2aff8979fd8: Pull complete 21:28:58 6808be2612f2: Pull complete 21:28:59 f25807f1079a: Pull complete 21:28:59 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 21:28:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:28:59 ---> 3b553350e43f 21:28:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:29:04 ---> Running in a1a2eee6454c 21:29:04 Removing intermediate container a1a2eee6454c 21:29:04 ---> 630a95946bb2 21:29:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:29:04 ---> Running in c56ef652f1b3 21:29:04 Still waiting to schedule task 21:29:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:29:05 Removing intermediate container c56ef652f1b3 21:29:05 ---> d793e92a83e9 21:29:05 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:29:05 ---> Running in 160c94ff85dd 21:29:05 Removing intermediate container 160c94ff85dd 21:29:05 ---> 23ae5a75e292 21:29:05 Step 6/12 : WORKDIR /device-virtual-go 21:29:05 ---> Running in 91588d544d41 21:29:05 Removing intermediate container 91588d544d41 21:29:05 ---> 067b8dcadd52 21:29:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:29:05 ---> Running in 8efb3777a053 21:29:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:29:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:29:05 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:29:05 (2/4) Installing libedit (20221030.3.1-r0) 21:29:05 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:29:05 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:29:05 Executing busybox-1.35.0-r29.trigger 21:29:05 OK: 269 MiB in 57 packages 21:29:06 Removing intermediate container 8efb3777a053 21:29:06 ---> 81af0f7a0e14 21:29:06 Step 8/12 : COPY go.mod vendor* ./ 21:29:06 ---> a0c7ff557dc5 21:29:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:29:06 ---> Running in 0efd7d05e91a 21:29:38 Removing intermediate container 0efd7d05e91a 21:29:38 ---> 52da57577d03 21:29:38 Step 10/12 : COPY . . 21:29:38 ---> 80a61f5c8948 21:29:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:29:38 ---> Running in 4756e005661b 21:29:38 Removing intermediate container 4756e005661b 21:29:38 ---> 09fbbc30e720 21:29:38 Step 12/12 : RUN $MAKE 21:29:38 ---> Running in a87ff0a39639 21:29:38 noop 21:29:38 Removing intermediate container a87ff0a39639 21:29:38 ---> fc30e5663e43 21:29:38 Successfully built fc30e5663e43 21:29:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:39 + docker inspect -f . ci-base-image-x86_64 21:29:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:39 prd-ubuntu20.04-docker-8c-8g-9000 does not seem to be running inside a container 21:29:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:29:39 $ docker top e88e68e9f24b375aca6c9029a0157d877bde608aee3a880f2a66906594948937 -eo pid,comm [Pipeline] { [Pipeline] sh 21:29:39 + go version 21:29:39 go version go1.20.2 linux/amd64 [Pipeline] } 21:29:39 $ docker stop --time=1 e88e68e9f24b375aca6c9029a0157d877bde608aee3a880f2a66906594948937 21:29:41 $ docker rm -f --volumes e88e68e9f24b375aca6c9029a0157d877bde608aee3a880f2a66906594948937 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:41 + docker inspect -f . ci-base-image-x86_64 21:29:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:41 prd-ubuntu20.04-docker-8c-8g-9000 does not seem to be running inside a container 21:29:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:29:42 $ docker top cecd4aa51dff8b86ad938b889b8e4a101a6519ec778d9e3246fdca7385cd418a -eo pid,comm [Pipeline] { [Pipeline] sh 21:29:42 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 21:29:42 + make test 21:29:42 go test ./... -coverprofile=coverage.out 21:29:46 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:29:56 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:29:56 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements 21:30:03 go vet ./... 21:30:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:30:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:30:07 ./bin/test-attribution-txt.sh [Pipeline] echo 21:30:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:30:07 $ docker stop --time=1 cecd4aa51dff8b86ad938b889b8e4a101a6519ec778d9e3246fdca7385cd418a 21:30:10 $ docker rm -f --volumes cecd4aa51dff8b86ad938b889b8e4a101a6519ec778d9e3246fdca7385cd418a [Pipeline] // withDockerContainer [Pipeline] sh 21:30:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:30:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:30:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:30:11 + ls -al . 21:30:11 total 192 21:30:11 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 21:29 . 21:30:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:28 .. 21:30:11 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 21:28 .git 21:30:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:28 .github 21:30:11 -rw-rw-r-- 1 jenkins jenkins 337 Apr 18 21:28 .gitignore 21:30:11 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 21:28 .golangci.yml 21:30:11 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 21:28 .semver 21:30:11 -rw-rw-r-- 1 jenkins jenkins 8652 Apr 18 21:28 Attribution.txt 21:30:11 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 18 21:28 CHANGELOG.md 21:30:11 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 18 21:28 Dockerfile 21:30:11 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 21:28 GOVERNANCE.md 21:30:11 -rw-rw-r-- 1 jenkins jenkins 660 Apr 18 21:28 Jenkinsfile 21:30:11 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 21:28 LICENSE 21:30:11 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 18 21:28 Makefile 21:30:11 -rw-rw-r-- 1 jenkins jenkins 623 Apr 18 21:28 OWNERS.md 21:30:11 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 18 21:28 README.md 21:30:11 -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 21:28 VERSION 21:30:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 21:28 bin 21:30:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:28 cmd 21:30:11 -rw-r--r-- 1 jenkins jenkins 43063 Apr 18 21:29 coverage.out 21:30:11 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 18 21:28 go.mod 21:30:11 -rw-rw-r-- 1 jenkins jenkins 31109 Apr 18 21:28 go.sum 21:30:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:28 internal 21:30:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:28 snap 21:30:11 -rw-rw-r-- 1 jenkins jenkins 235 Apr 18 21:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:11 + 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=8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 --label arch=amd64 --label version=3.0.0-dev.33 . 21:30:11 Sending build context to Docker daemon 23.6MB 21:30:11 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:30:11 Step 2/25 : FROM ${BASE} AS builder 21:30:11 ---> fc30e5663e43 21:30:11 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:30:12 ---> Running in 76cd5f82c970 21:30:12 Removing intermediate container 76cd5f82c970 21:30:12 ---> 35c1862003e8 21:30:12 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 21:30:12 ---> Running in cac372226ac5 21:30:12 Removing intermediate container cac372226ac5 21:30:12 ---> 67d855f4e73c 21:30:12 Step 5/25 : ARG ADD_BUILD_TAGS="" 21:30:12 ---> Running in aaa7732cccc1 21:30:12 Removing intermediate container aaa7732cccc1 21:30:12 ---> f7fd99a0abe0 21:30:12 Step 6/25 : WORKDIR /device-virtual-go 21:30:12 ---> Running in b5616f320297 21:30:12 Removing intermediate container b5616f320297 21:30:12 ---> fb4bc5ca290c 21:30:12 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:30:12 ---> Running in 261a49a15a39 21:30:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:30:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:30:12 OK: 269 MiB in 57 packages 21:30:13 Removing intermediate container 261a49a15a39 21:30:13 ---> b39af0bd8ac8 21:30:13 Step 8/25 : COPY go.mod vendor* ./ 21:30:13 ---> b9528a2b9e1e 21:30:13 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:30:13 ---> Running in 4a7308ac1fa2 21:30:14 Removing intermediate container 4a7308ac1fa2 21:30:14 ---> 197ef1352ccf 21:30:14 Step 10/25 : COPY . . 21:30:14 ---> 87fae1a4c824 21:30:14 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:30:14 ---> Running in 008afe30610e 21:30:14 Removing intermediate container 008afe30610e 21:30:14 ---> b5cb1bb33ec7 21:30:14 Step 12/25 : RUN $MAKE 21:30:14 ---> Running in 7c26872500b2 21:30:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.33" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 21:30:37 Removing intermediate container 7c26872500b2 21:30:37 ---> 73d30ebb65e9 21:30:37 Step 13/25 : FROM alpine:3.17 21:30:37 3.17: Pulling from library/alpine 21:30:37 f56be85fc22e: Pulling fs layer 21:30:37 f56be85fc22e: Verifying Checksum 21:30:37 f56be85fc22e: Download complete 21:30:37 f56be85fc22e: Pull complete 21:30:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:30:37 Status: Downloaded newer image for alpine:3.17 21:30:37 ---> 9ed4aefc74f6 21:30:37 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:30:37 ---> Running in b6a6b222046c 21:30:37 Removing intermediate container b6a6b222046c 21:30:37 ---> bd3cc4f375d6 21:30:37 Step 15/25 : RUN apk add --update --no-cache dumb-init 21:30:37 ---> Running in c41b6acecf85 21:30:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:30:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:30:37 (1/1) Installing dumb-init (1.2.5-r2) 21:30:37 Executing busybox-1.35.0-r29.trigger 21:30:37 OK: 7 MiB in 16 packages 21:30:37 Removing intermediate container c41b6acecf85 21:30:37 ---> 8b79b67f28e2 21:30:37 Step 16/25 : WORKDIR / 21:30:37 ---> Running in 093da74472c1 21:30:37 Removing intermediate container 093da74472c1 21:30:37 ---> 3140c4e006c1 21:30:37 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:30:37 ---> 5b71bb02bd6e 21:30:37 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 21:30:37 ---> e9c41e64a413 21:30:37 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 21:30:38 ---> 047ca7444930 21:30:38 Step 20/25 : EXPOSE 59900 21:30:38 ---> Running in fca32f9391ec 21:30:38 Removing intermediate container fca32f9391ec 21:30:38 ---> 5b42a8abc673 21:30:38 Step 21/25 : ENTRYPOINT ["/device-virtual"] 21:30:38 ---> Running in a7531cd47ba6 21:30:38 Removing intermediate container a7531cd47ba6 21:30:38 ---> b1753048dd89 21:30:38 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:30:38 ---> Running in 8bdc85668eb4 21:30:38 Removing intermediate container 8bdc85668eb4 21:30:38 ---> 445988de10fa 21:30:38 Step 23/25 : LABEL arch=amd64 21:30:38 ---> Running in 324dbbc03bb1 21:30:38 Removing intermediate container 324dbbc03bb1 21:30:38 ---> 980730d5d2d7 21:30:38 Step 24/25 : LABEL git_sha=8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 21:30:38 ---> Running in 8deccdf7a58e 21:30:38 Removing intermediate container 8deccdf7a58e 21:30:38 ---> 763a51f678a9 21:30:38 Step 25/25 : LABEL version=3.0.0-dev.33 21:30:38 ---> Running in eb207dfeadfd 21:30:38 Removing intermediate container eb207dfeadfd 21:30:38 ---> 6b2002780a0f 21:30:38 [Warning] One or more build-args [ARCH] were not consumed 21:30:38 Successfully built 6b2002780a0f 21:30:38 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:30:38 provisioning config files... 21:30:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10162794852748459981tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:39 ---> docker-login.sh 21:30:39 nexus3.edgexfoundry.org:10001 21:30:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:39 Configure a credential helper to remove this warning. See 21:30:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:39 21:30:39 Login Succeeded 21:30:39 nexus3.edgexfoundry.org:10002 21:30:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:39 Configure a credential helper to remove this warning. See 21:30:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:39 21:30:39 Login Succeeded 21:30:39 nexus3.edgexfoundry.org:10003 21:30:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:39 Configure a credential helper to remove this warning. See 21:30:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:39 21:30:39 Login Succeeded 21:30:39 nexus3.edgexfoundry.org:10004 21:30:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:39 Configure a credential helper to remove this warning. See 21:30:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:39 21:30:39 Login Succeeded 21:30:39 docker.io 21:30:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:39 Configure a credential helper to remove this warning. See 21:30:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:39 21:30:39 Login Succeeded 21:30:39 ---> docker-login.sh ends [Pipeline] } 21:30:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:30:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:30:39 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 21:30:39 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 21:30:39 latest 21:30:39 3.0.0-dev.33 21:30:39 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3-3.0.0-dev.33 21:30:39 main 21:30:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:40 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual:8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 21:30:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:30:40 929103112616: Preparing 21:30:40 a5e22b3238dc: Preparing 21:30:40 aa4567376a49: Preparing 21:30:40 186a0a6d4c11: Preparing 21:30:40 f1417ff83b31: Preparing 21:30:40 f1417ff83b31: Layer already exists 21:30:40 a5e22b3238dc: Pushed 21:30:40 186a0a6d4c11: Pushed 21:30:40 aa4567376a49: Pushed 21:30:42 929103112616: Pushed 21:30:42 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3: digest: sha256:a655add57b32a4247ce5aed5fd2be8324f16f4a826ba3b2a4569975a146c72a8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:43 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 21:30:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:30:43 929103112616: Preparing 21:30:43 a5e22b3238dc: Preparing 21:30:43 aa4567376a49: Preparing 21:30:43 186a0a6d4c11: Preparing 21:30:43 f1417ff83b31: Preparing 21:30:43 186a0a6d4c11: Layer already exists 21:30:43 f1417ff83b31: Layer already exists 21:30:43 aa4567376a49: Layer already exists 21:30:43 929103112616: Layer already exists 21:30:43 a5e22b3238dc: Layer already exists 21:30:43 latest: digest: sha256:a655add57b32a4247ce5aed5fd2be8324f16f4a826ba3b2a4569975a146c72a8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:43 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.33 21:30:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:30:44 929103112616: Preparing 21:30:44 a5e22b3238dc: Preparing 21:30:44 aa4567376a49: Preparing 21:30:44 186a0a6d4c11: Preparing 21:30:44 f1417ff83b31: Preparing 21:30:44 186a0a6d4c11: Layer already exists 21:30:44 f1417ff83b31: Layer already exists 21:30:44 929103112616: Layer already exists 21:30:44 aa4567376a49: Layer already exists 21:30:44 a5e22b3238dc: Layer already exists 21:30:44 3.0.0-dev.33: digest: sha256:a655add57b32a4247ce5aed5fd2be8324f16f4a826ba3b2a4569975a146c72a8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:44 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:8b06b3309a4a8ea5746d44ebca426b8e3f1152e3-3.0.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual:8b06b3309a4a8ea5746d44ebca426b8e3f1152e3-3.0.0-dev.33 21:30:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:30:44 929103112616: Preparing 21:30:44 a5e22b3238dc: Preparing 21:30:44 aa4567376a49: Preparing 21:30:44 186a0a6d4c11: Preparing 21:30:44 f1417ff83b31: Preparing 21:30:44 186a0a6d4c11: Layer already exists 21:30:44 f1417ff83b31: Layer already exists 21:30:44 aa4567376a49: Layer already exists 21:30:44 929103112616: Layer already exists 21:30:44 a5e22b3238dc: Layer already exists 21:30:44 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3-3.0.0-dev.33: digest: sha256:a655add57b32a4247ce5aed5fd2be8324f16f4a826ba3b2a4569975a146c72a8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:45 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 21:30:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:30:45 929103112616: Preparing 21:30:45 a5e22b3238dc: Preparing 21:30:45 aa4567376a49: Preparing 21:30:45 186a0a6d4c11: Preparing 21:30:45 f1417ff83b31: Preparing 21:30:45 f1417ff83b31: Layer already exists 21:30:45 a5e22b3238dc: Layer already exists 21:30:45 929103112616: Layer already exists 21:30:45 aa4567376a49: Layer already exists 21:30:45 186a0a6d4c11: Layer already exists 21:30:45 main: digest: sha256:a655add57b32a4247ce5aed5fd2be8324f16f4a826ba3b2a4569975a146c72a8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:30:45 ===================================================== [Pipeline] echo 21:30:45 taggedImages: 21:30:45 - nexus3.edgexfoundry.org:10004/device-virtual:8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 21:30:45 - nexus3.edgexfoundry.org:10004/device-virtual:latest 21:30:45 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.33 21:30:45 - nexus3.edgexfoundry.org:10004/device-virtual:8b06b3309a4a8ea5746d44ebca426b8e3f1152e3-3.0.0-dev.33 21:30:45 - 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 21:30:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:30:45 21:30:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:30:46 latest: Pulling from edgex-lftools-log-publisher 21:30:46 5eb5b503b376: Pulling fs layer 21:30:46 5c69ac0246d0: Pulling fs layer 21:30:46 ec43610c2a17: Pulling fs layer 21:30:46 3a2ae6a8a46f: Pulling fs layer 21:30:46 33b1e0a273af: Pulling fs layer 21:30:46 5d3b04190fa2: Pulling fs layer 21:30:46 2f39f015ded8: Pulling fs layer 21:30:46 3a2ae6a8a46f: Waiting 21:30:46 33b1e0a273af: Waiting 21:30:46 5d3b04190fa2: Waiting 21:30:46 2f39f015ded8: Waiting 21:30:46 5c69ac0246d0: Download complete 21:30:46 3a2ae6a8a46f: Download complete 21:30:46 33b1e0a273af: Verifying Checksum 21:30:46 33b1e0a273af: Download complete 21:30:46 ec43610c2a17: Verifying Checksum 21:30:46 ec43610c2a17: Download complete 21:30:46 5d3b04190fa2: Verifying Checksum 21:30:46 5d3b04190fa2: Download complete 21:30:46 5eb5b503b376: Download complete 21:30:46 2f39f015ded8: Download complete 21:30:47 5eb5b503b376: Pull complete 21:30:47 5c69ac0246d0: Pull complete 21:30:48 ec43610c2a17: Pull complete 21:30:48 3a2ae6a8a46f: Pull complete 21:30:48 33b1e0a273af: Pull complete 21:30:48 5d3b04190fa2: Pull complete 21:30:52 2f39f015ded8: Pull complete 21:30:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:30:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:30:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:30:52 prd-ubuntu20.04-docker-8c-8g-9000 does not seem to be running inside a container 21:30:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:30:58 $ docker top 7f09fd763acefdd0b82b0e6ac0cdc5361bdb0a21f7174490823cae0db78d2efc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:58 ---> job-cost.sh 21:30:58 lf-activate-venv: SKIPPING 21:30:58 INFO: No Stack... 21:30:58 INFO: Retrieving Pricing Info for: v3-standard-8 21:30:58 INFO: Archiving Costs [Pipeline] sh 21:30:59 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 21:30:59 + cut -d, -f6 [Pipeline] lock 21:30:59 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-105-stack-cost] 21:30:59 Resource [jenkins-edgexfoundry-device-virtual-go-main-105-stack-cost] did not exist. Created. 21:30:59 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-105-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:30:59 + echo total: 0.2199999988079071 [Pipeline] stash 21:30:59 Stashed 1 file(s) [Pipeline] } 21:30:59 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-105-stack-cost] [Pipeline] // lock [Pipeline] } 21:30:59 $ docker stop --time=1 7f09fd763acefdd0b82b0e6ac0cdc5361bdb0a21f7174490823cae0db78d2efc 21:31:00 $ docker rm -f --volumes 7f09fd763acefdd0b82b0e6ac0cdc5361bdb0a21f7174490823cae0db78d2efc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:32:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9003 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 21:32:02 Running in /w/workspace/device-virtual-go/105 [Pipeline] { [Pipeline] checkout 21:32:02 The recommended git tool is: git 21:32:08 using credential edgex-jenkins-ssh 21:32:08 Cloning the remote Git repository 21:32:08 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 21:32:08 > git init /w/workspace/device-virtual-go/105 # timeout=10 21:32:08 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 21:32:08 > git --version # timeout=10 21:32:08 > git --version # 'git version 2.25.1' 21:32:08 using GIT_SSH to set credentials SSH Credentials for GitHub 21:32:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:32:10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 21:32:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:32:11 Avoid second fetch 21:32:11 Checking out Revision 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 (main) 21:32:11 > git config core.sparsecheckout # timeout=10 21:32:12 > git checkout -f 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 # timeout=10 21:32:12 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#385)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:32:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:32:13 % Total % Received % Xferd Average Speed Time Time Time Current 21:32:13 Dload Upload Total Spent Left Speed 21:32:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh 21:32:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:32:14 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 21:32:14 /etc/docker/daemon.new 21:32:14 { 21:32:14 "registry-mirrors": [ 21:32:14 "https://nexus3.edgexfoundry.org:10001" 21:32:14 ], 21:32:14 "bip": "10.250.0.254/24", 21:32:14 "hosts": [ 21:32:14 "tcp://0.0.0.0:5555", 21:32:14 "unix:///var/run/docker.sock" 21:32:14 ], 21:32:14 "mtu": 1458, 21:32:14 "selinux-enabled": true, 21:32:14 "seccomp-profile": "/etc/docker/seccomp.json" 21:32:14 } [Pipeline] sh 21:32:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:32:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:32:33 provisioning config files... 21:32:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/105@tmp/config1873653334942551594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:32:33 ---> docker-login.sh 21:32:33 nexus3.edgexfoundry.org:10001 21:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:34 Configure a credential helper to remove this warning. See 21:32:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:34 21:32:34 Login Succeeded 21:32:34 nexus3.edgexfoundry.org:10002 21:32:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:35 Configure a credential helper to remove this warning. See 21:32:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:35 21:32:35 Login Succeeded 21:32:35 nexus3.edgexfoundry.org:10003 21:32:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:35 Configure a credential helper to remove this warning. See 21:32:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:35 21:32:35 Login Succeeded 21:32:35 nexus3.edgexfoundry.org:10004 21:32:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:35 Configure a credential helper to remove this warning. See 21:32:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:35 21:32:35 Login Succeeded 21:32:35 docker.io 21:32:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:36 Configure a credential helper to remove this warning. See 21:32:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:36 21:32:36 Login Succeeded 21:32:36 ---> docker-login.sh ends [Pipeline] } 21:32:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:32:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:32:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:32:36 ========================================================= 21:32:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:32:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:36 + 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 . 21:32:37 Sending build context to Docker daemon 11.93MB 21:32:37 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:32:37 Step 2/12 : FROM ${BASE} AS builder 21:32:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:32:37 af6eaf76a39c: Pulling fs layer 21:32:37 55522c791124: Pulling fs layer 21:32:37 ce5c4a1c91eb: Pulling fs layer 21:32:37 169dfbe0d373: Pulling fs layer 21:32:37 e1ff8fa3b103: Pulling fs layer 21:32:37 52ebb69f0ebf: Pulling fs layer 21:32:37 5abe8eddf0d5: Pulling fs layer 21:32:37 e1ff8fa3b103: Waiting 21:32:37 52ebb69f0ebf: Waiting 21:32:37 5abe8eddf0d5: Waiting 21:32:37 169dfbe0d373: Waiting 21:32:37 55522c791124: Verifying Checksum 21:32:37 55522c791124: Download complete 21:32:37 169dfbe0d373: Verifying Checksum 21:32:37 169dfbe0d373: Download complete 21:32:37 e1ff8fa3b103: Verifying Checksum 21:32:37 e1ff8fa3b103: Download complete 21:32:37 af6eaf76a39c: Verifying Checksum 21:32:37 af6eaf76a39c: Download complete 21:32:38 af6eaf76a39c: Pull complete 21:32:38 5abe8eddf0d5: Verifying Checksum 21:32:38 5abe8eddf0d5: Download complete 21:32:38 55522c791124: Pull complete 21:32:39 ce5c4a1c91eb: Verifying Checksum 21:32:39 ce5c4a1c91eb: Download complete 21:32:39 52ebb69f0ebf: Verifying Checksum 21:32:39 52ebb69f0ebf: Download complete 21:32:52 ce5c4a1c91eb: Pull complete 21:32:52 169dfbe0d373: Pull complete 21:32:52 e1ff8fa3b103: Pull complete 21:33:00 52ebb69f0ebf: Pull complete 21:33:01 5abe8eddf0d5: Pull complete 21:33:01 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:33:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:33:01 ---> 6cb57ee374ae 21:33:01 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:33:03 ---> Running in 8324bdd2bbcb 21:33:04 Removing intermediate container 8324bdd2bbcb 21:33:04 ---> c57850c1eb1a 21:33:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:33:04 ---> Running in 5bbd71da22d3 21:33:04 Removing intermediate container 5bbd71da22d3 21:33:04 ---> bdfeb37f5ea4 21:33:04 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:33:04 ---> Running in 1f8cba168d76 21:33:04 Removing intermediate container 1f8cba168d76 21:33:04 ---> 6ba45c96fdc9 21:33:04 Step 6/12 : WORKDIR /device-virtual-go 21:33:04 ---> Running in 225b2f0ff3f0 21:33:05 Removing intermediate container 225b2f0ff3f0 21:33:05 ---> 2ec1caabe48b 21:33:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:33:05 ---> Running in 7a8e11e2337c 21:33:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:33:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:33:08 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:33:08 (2/4) Installing libedit (20221030.3.1-r0) 21:33:08 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:33:08 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:33:08 Executing busybox-1.35.0-r29.trigger 21:33:08 OK: 268 MiB in 57 packages 21:33:09 Removing intermediate container 7a8e11e2337c 21:33:09 ---> 07f740cb467c 21:33:09 Step 8/12 : COPY go.mod vendor* ./ 21:33:09 ---> b56e10ff3e07 21:33:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:33:09 ---> Running in 06f2a08667e5 21:34:17 Removing intermediate container 06f2a08667e5 21:34:17 ---> 778f4eecfdcd 21:34:17 Step 10/12 : COPY . . 21:34:17 ---> 09c5d5614356 21:34:17 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:34:17 ---> Running in 926c4c1d421d 21:34:17 Removing intermediate container 926c4c1d421d 21:34:17 ---> 10b8e68ba3b8 21:34:17 Step 12/12 : RUN $MAKE 21:34:17 ---> Running in 13b10f8b7a96 21:34:17 noop 21:34:17 Removing intermediate container 13b10f8b7a96 21:34:17 ---> e0c1f843188d 21:34:17 Successfully built e0c1f843188d 21:34:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:18 + docker inspect -f . ci-base-image-arm64 21:34:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:18 prd-ubuntu20.04-docker-arm64-4c-16g-9003 does not seem to be running inside a container 21:34:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/105 -v /w/workspace/device-virtual-go/105:/w/workspace/device-virtual-go/105:rw,z -v /w/workspace/device-virtual-go/105@tmp:/w/workspace/device-virtual-go/105@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 21:34:19 $ docker top eaccdca8b9e4cb44ef0bd822d4ec7ba01e7f39797552dd7cff8ac7c584797db9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:20 + go version 21:34:20 go version go1.20.2 linux/arm64 [Pipeline] } 21:34:20 $ docker stop --time=1 eaccdca8b9e4cb44ef0bd822d4ec7ba01e7f39797552dd7cff8ac7c584797db9 21:34:22 $ docker rm -f --volumes eaccdca8b9e4cb44ef0bd822d4ec7ba01e7f39797552dd7cff8ac7c584797db9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:22 + docker inspect -f . ci-base-image-arm64 21:34:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:23 prd-ubuntu20.04-docker-arm64-4c-16g-9003 does not seem to be running inside a container 21:34:23 $ 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/105 -v /w/workspace/device-virtual-go/105:/w/workspace/device-virtual-go/105:rw,z -v /w/workspace/device-virtual-go/105@tmp:/w/workspace/device-virtual-go/105@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 21:34:24 $ docker top 9b86999e4b05b391d285f9ac1c680af19ad69bf808aefd22331575efc3973b2b -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:25 + git config --global --add safe.directory /w/workspace/device-virtual-go/105 [Pipeline] fileExists [Pipeline] sh 21:34:25 + make test 21:34:25 go test ./... -coverprofile=coverage.out 21:35:04 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:36:57 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:36:57 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.093s coverage: 58.4% of statements 21:36:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:36:57 go vet ./... 21:37:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:37:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:37:23 ./bin/test-attribution-txt.sh [Pipeline] echo 21:37:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:37:24 $ docker stop --time=1 9b86999e4b05b391d285f9ac1c680af19ad69bf808aefd22331575efc3973b2b 21:37:25 $ docker rm -f --volumes 9b86999e4b05b391d285f9ac1c680af19ad69bf808aefd22331575efc3973b2b [Pipeline] // withDockerContainer [Pipeline] sh 21:37:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:37:27 Warning: overwriting stash ‘coverage-report’ 21:37:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:37:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:37:28 + ls -al . 21:37:28 total 188 21:37:28 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 21:34 . 21:37:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:32 .. 21:37:28 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 21:32 .git 21:37:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:32 .github 21:37:28 -rw-rw-r-- 1 jenkins jenkins 337 Apr 18 21:32 .gitignore 21:37:28 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 21:32 .golangci.yml 21:37:28 -rw-rw-r-- 1 jenkins jenkins 8652 Apr 18 21:32 Attribution.txt 21:37:28 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 18 21:32 CHANGELOG.md 21:37:28 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 18 21:32 Dockerfile 21:37:28 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 21:32 GOVERNANCE.md 21:37:28 -rw-rw-r-- 1 jenkins jenkins 660 Apr 18 21:32 Jenkinsfile 21:37:28 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 21:32 LICENSE 21:37:28 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 18 21:32 Makefile 21:37:28 -rw-rw-r-- 1 jenkins jenkins 623 Apr 18 21:32 OWNERS.md 21:37:28 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 18 21:32 README.md 21:37:28 -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 21:28 VERSION 21:37:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 21:32 bin 21:37:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:32 cmd 21:37:28 -rw-r--r-- 1 jenkins jenkins 43063 Apr 18 21:36 coverage.out 21:37:28 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 18 21:32 go.mod 21:37:28 -rw-rw-r-- 1 jenkins jenkins 31109 Apr 18 21:32 go.sum 21:37:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:32 internal 21:37:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:32 snap 21:37:28 -rw-rw-r-- 1 jenkins jenkins 235 Apr 18 21:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:28 + 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=8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 --label arch=arm64 --label version=3.0.0-dev.33 . 21:37:28 Sending build context to Docker daemon 11.98MB 21:37:29 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:37:29 Step 2/25 : FROM ${BASE} AS builder 21:37:29 ---> e0c1f843188d 21:37:29 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:37:29 ---> Running in 2e2e37600747 21:37:29 Removing intermediate container 2e2e37600747 21:37:29 ---> 52c87c75bdcd 21:37:29 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 21:37:29 ---> Running in 61a82c4f38d5 21:37:30 Removing intermediate container 61a82c4f38d5 21:37:30 ---> 0753f8cb2040 21:37:30 Step 5/25 : ARG ADD_BUILD_TAGS="" 21:37:30 ---> Running in a9e117d2ef6e 21:37:30 Removing intermediate container a9e117d2ef6e 21:37:30 ---> 9d5de38f0d58 21:37:30 Step 6/25 : WORKDIR /device-virtual-go 21:37:30 ---> Running in 27cac6412576 21:37:30 Removing intermediate container 27cac6412576 21:37:30 ---> e2859990df4d 21:37:30 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:37:30 ---> Running in 115bc650bb73 21:37:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:37:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:37:33 OK: 268 MiB in 57 packages 21:37:34 Removing intermediate container 115bc650bb73 21:37:34 ---> f16cb8e9d8b4 21:37:34 Step 8/25 : COPY go.mod vendor* ./ 21:37:35 ---> ca623b2b1f95 21:37:35 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:37:35 ---> Running in be7e9a26d75b 21:37:37 Removing intermediate container be7e9a26d75b 21:37:37 ---> 7fcd5d8929d0 21:37:37 Step 10/25 : COPY . . 21:37:39 ---> ffc1e6bb79d6 21:37:39 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:37:39 ---> Running in 4a2276754538 21:37:39 Removing intermediate container 4a2276754538 21:37:39 ---> e5ea8af94d07 21:37:39 Step 12/25 : RUN $MAKE 21:37:39 ---> Running in 4ef25a86f9b7 21:37:40 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.33" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 21:40:02 Removing intermediate container 4ef25a86f9b7 21:40:02 ---> 7e65cbac75f2 21:40:02 Step 13/25 : FROM alpine:3.17 21:40:02 3.17: Pulling from library/alpine 21:40:02 c41833b44d91: Pulling fs layer 21:40:02 c41833b44d91: Verifying Checksum 21:40:02 c41833b44d91: Download complete 21:40:02 c41833b44d91: Pull complete 21:40:02 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:40:02 Status: Downloaded newer image for alpine:3.17 21:40:02 ---> 51e60588ff2c 21:40:02 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:40:02 ---> Running in 9c2807c60af9 21:40:02 Removing intermediate container 9c2807c60af9 21:40:02 ---> 6d532e652be7 21:40:02 Step 15/25 : RUN apk add --update --no-cache dumb-init 21:40:02 ---> Running in 33cf5c6f9e82 21:40:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:40:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:40:02 (1/1) Installing dumb-init (1.2.5-r2) 21:40:02 Executing busybox-1.35.0-r29.trigger 21:40:02 OK: 8 MiB in 16 packages 21:40:02 Removing intermediate container 33cf5c6f9e82 21:40:02 ---> d75a146348d4 21:40:02 Step 16/25 : WORKDIR / 21:40:02 ---> Running in 7e46a034f91e 21:40:02 Removing intermediate container 7e46a034f91e 21:40:02 ---> cf9e1478aa36 21:40:02 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:40:02 ---> 434100fe1f5f 21:40:02 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 21:40:02 ---> e039be9db89f 21:40:02 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 21:40:04 ---> 17cf05b5f610 21:40:04 Step 20/25 : EXPOSE 59900 21:40:04 ---> Running in 9a0f0d38aa95 21:40:04 Removing intermediate container 9a0f0d38aa95 21:40:04 ---> 6773d7b7f1f8 21:40:04 Step 21/25 : ENTRYPOINT ["/device-virtual"] 21:40:04 ---> Running in 8587171211fc 21:40:04 Removing intermediate container 8587171211fc 21:40:04 ---> 0debf5cf363a 21:40:04 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:40:04 ---> Running in d633a2b4dabe 21:40:05 Removing intermediate container d633a2b4dabe 21:40:05 ---> 0f60b102157b 21:40:05 Step 23/25 : LABEL arch=arm64 21:40:05 ---> Running in 0a91ad58f0ab 21:40:05 Removing intermediate container 0a91ad58f0ab 21:40:05 ---> 5f6702bb5b6e 21:40:05 Step 24/25 : LABEL git_sha=8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 21:40:05 ---> Running in d682e1fc2248 21:40:05 Removing intermediate container d682e1fc2248 21:40:05 ---> 89a64dfb0d7c 21:40:05 Step 25/25 : LABEL version=3.0.0-dev.33 21:40:05 ---> Running in f881d1972ba6 21:40:06 Removing intermediate container f881d1972ba6 21:40:06 ---> ba1dc85c7576 21:40:06 [Warning] One or more build-args [ARCH] were not consumed 21:40:06 Successfully built ba1dc85c7576 21:40: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 21:40:06 provisioning config files... 21:40:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/105@tmp/config12181801890373320789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:40:06 ---> docker-login.sh 21:40:06 nexus3.edgexfoundry.org:10001 21:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:06 Configure a credential helper to remove this warning. See 21:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:06 21:40:06 Login Succeeded 21:40:06 nexus3.edgexfoundry.org:10002 21:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:07 Configure a credential helper to remove this warning. See 21:40:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:07 21:40:07 Login Succeeded 21:40:07 nexus3.edgexfoundry.org:10003 21:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:07 Configure a credential helper to remove this warning. See 21:40:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:07 21:40:07 Login Succeeded 21:40:07 nexus3.edgexfoundry.org:10004 21:40:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:08 Configure a credential helper to remove this warning. See 21:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:08 21:40:08 Login Succeeded 21:40:08 docker.io 21:40:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:08 Configure a credential helper to remove this warning. See 21:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:08 21:40:08 Login Succeeded 21:40:08 ---> docker-login.sh ends [Pipeline] } 21:40:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:40:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:40:08 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 21:40:08 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 21:40:08 latest 21:40:08 3.0.0-dev.33 21:40:08 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3-3.0.0-dev.33 21:40:08 main 21:40:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:08 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 21:40:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:40:09 aeae1e5b17ed: Preparing 21:40:09 76b31aa84307: Preparing 21:40:09 7a733770054b: Preparing 21:40:09 570d08de13b9: Preparing 21:40:09 26cbea5cba74: Preparing 21:40:09 26cbea5cba74: Layer already exists 21:40:09 7a733770054b: Pushed 21:40:09 76b31aa84307: Pushed 21:40:09 570d08de13b9: Pushed 21:40:14 aeae1e5b17ed: Pushed 21:40:14 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3: digest: sha256:09c8b584dceb68c1bcaf4851f05882e0df18bc4261f8db5301cf58abf81a3105 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:15 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:15 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 21:40:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:40:15 aeae1e5b17ed: Preparing 21:40:15 76b31aa84307: Preparing 21:40:15 7a733770054b: Preparing 21:40:15 570d08de13b9: Preparing 21:40:15 26cbea5cba74: Preparing 21:40:15 26cbea5cba74: Layer already exists 21:40:15 570d08de13b9: Layer already exists 21:40:15 76b31aa84307: Layer already exists 21:40:15 aeae1e5b17ed: Layer already exists 21:40:15 7a733770054b: Layer already exists 21:40:15 latest: digest: sha256:09c8b584dceb68c1bcaf4851f05882e0df18bc4261f8db5301cf58abf81a3105 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:16 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.33 21:40:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:40:16 aeae1e5b17ed: Preparing 21:40:16 76b31aa84307: Preparing 21:40:16 7a733770054b: Preparing 21:40:16 570d08de13b9: Preparing 21:40:16 26cbea5cba74: Preparing 21:40:16 76b31aa84307: Layer already exists 21:40:16 26cbea5cba74: Layer already exists 21:40:16 aeae1e5b17ed: Layer already exists 21:40:16 7a733770054b: Layer already exists 21:40:16 570d08de13b9: Layer already exists 21:40:16 3.0.0-dev.33: digest: sha256:09c8b584dceb68c1bcaf4851f05882e0df18bc4261f8db5301cf58abf81a3105 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:16 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:8b06b3309a4a8ea5746d44ebca426b8e3f1152e3-3.0.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:8b06b3309a4a8ea5746d44ebca426b8e3f1152e3-3.0.0-dev.33 21:40:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:40:17 aeae1e5b17ed: Preparing 21:40:17 76b31aa84307: Preparing 21:40:17 7a733770054b: Preparing 21:40:17 570d08de13b9: Preparing 21:40:17 26cbea5cba74: Preparing 21:40:17 76b31aa84307: Layer already exists 21:40:17 26cbea5cba74: Layer already exists 21:40:17 7a733770054b: Layer already exists 21:40:17 570d08de13b9: Layer already exists 21:40:17 aeae1e5b17ed: Layer already exists 21:40:17 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3-3.0.0-dev.33: digest: sha256:09c8b584dceb68c1bcaf4851f05882e0df18bc4261f8db5301cf58abf81a3105 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:17 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 21:40:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:40:18 aeae1e5b17ed: Preparing 21:40:18 76b31aa84307: Preparing 21:40:18 7a733770054b: Preparing 21:40:18 570d08de13b9: Preparing 21:40:18 26cbea5cba74: Preparing 21:40:18 570d08de13b9: Layer already exists 21:40:18 76b31aa84307: Layer already exists 21:40:18 26cbea5cba74: Layer already exists 21:40:18 aeae1e5b17ed: Layer already exists 21:40:18 7a733770054b: Layer already exists 21:40:18 main: digest: sha256:09c8b584dceb68c1bcaf4851f05882e0df18bc4261f8db5301cf58abf81a3105 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:40:18 ===================================================== [Pipeline] echo 21:40:18 taggedImages: 21:40:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 21:40:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 21:40:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.33 21:40:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:8b06b3309a4a8ea5746d44ebca426b8e3f1152e3-3.0.0-dev.33 21:40: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 21:40:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:40:18 21:40:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:40:18 arm64: Pulling from edgex-lftools-log-publisher 21:40:18 8998bd30e6a1: Pulling fs layer 21:40:18 04944245beec: Pulling fs layer 21:40:18 699f458cf7ca: Pulling fs layer 21:40:18 765212b225bb: Pulling fs layer 21:40:18 f23df028b6ca: Pulling fs layer 21:40:18 d65c8cfc05b1: Pulling fs layer 21:40:18 2437ff75d9bd: Pulling fs layer 21:40:18 f23df028b6ca: Waiting 21:40:18 d65c8cfc05b1: Waiting 21:40:18 2437ff75d9bd: Waiting 21:40:18 765212b225bb: Waiting 21:40:19 04944245beec: Verifying Checksum 21:40:19 04944245beec: Download complete 21:40:19 765212b225bb: Verifying Checksum 21:40:19 765212b225bb: Download complete 21:40:19 f23df028b6ca: Verifying Checksum 21:40:19 f23df028b6ca: Download complete 21:40:19 d65c8cfc05b1: Verifying Checksum 21:40:19 d65c8cfc05b1: Download complete 21:40:19 699f458cf7ca: Verifying Checksum 21:40:19 699f458cf7ca: Download complete 21:40:19 8998bd30e6a1: Verifying Checksum 21:40:19 8998bd30e6a1: Download complete 21:40:22 2437ff75d9bd: Verifying Checksum 21:40:22 2437ff75d9bd: Download complete 21:40:23 8998bd30e6a1: Pull complete 21:40:23 04944245beec: Pull complete 21:40:26 699f458cf7ca: Pull complete 21:40:26 765212b225bb: Pull complete 21:40:27 f23df028b6ca: Pull complete 21:40:27 d65c8cfc05b1: Pull complete 21:40:42 2437ff75d9bd: Pull complete 21:40:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:40:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:40:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:42 prd-ubuntu20.04-docker-arm64-4c-16g-9003 does not seem to be running inside a container 21:40:42 $ 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/105 -v /w/workspace/device-virtual-go/105:/w/workspace/device-virtual-go/105:rw,z -v /w/workspace/device-virtual-go/105@tmp:/w/workspace/device-virtual-go/105@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 21:40:45 $ docker top 9b8d6eb234661cbc533e8760f563d214f8c8d6f99247a7fe2ce5b41fadf9c8ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:40:46 ---> job-cost.sh 21:40:46 lf-activate-venv: SKIPPING 21:40:46 INFO: No Stack... 21:40:47 INFO: Retrieving Pricing Info for: v3-standard-4 21:40:47 INFO: Archiving Costs [Pipeline] sh 21:40:48 + cat /w/workspace/device-virtual-go/105/archives/cost.csv 21:40:48 + cut -d, -f6 [Pipeline] lock 21:40:48 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-105-stack-cost] 21:40:48 Resource [jenkins-edgexfoundry-device-virtual-go-main-105-stack-cost] did not exist. Created. 21:40:48 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-105-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:40:48 /w/workspace/device-virtual-go/105@tmp/durable-f9450cfb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:40:49 + echo total: 0.10999999940395355 [Pipeline] stash 21:40:49 Warning: overwriting stash ‘stack-cost’ 21:40:49 Stashed 1 file(s) [Pipeline] } 21:40:49 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-105-stack-cost] [Pipeline] // lock [Pipeline] } 21:40:49 $ docker stop --time=1 9b8d6eb234661cbc533e8760f563d214f8c8d6f99247a7fe2ce5b41fadf9c8ab 21:40:51 $ docker rm -f --volumes 9b8d6eb234661cbc533e8760f563d214f8c8d6f99247a7fe2ce5b41fadf9c8ab [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 21:40:51 provisioning config files... 21:40:51 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14130703780966010388tmp [Pipeline] { [Pipeline] sh 21:40:51 + set +x 21:40:51 + curl -s https://codecov.io/bash 21:40:51 + bash -s -- 21:40:51 21:40:51 _____ _ 21:40:51 / ____| | | 21:40:51 | | ___ __| | ___ ___ _____ __ 21:40:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:40:51 | |___| (_) | (_| | __/ (_| (_) \ V / 21:40:51 \_____\___/ \__,_|\___|\___\___/ \_/ 21:40:51 Bash-1.0.6 21:40:51 21:40:51 21:40:51 ==> git version 2.25.1 found 21:40:51 ==> 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 21:40:51 Release-Date: 2020-01-08 21:40:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:40:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:40:51 ==> Jenkins CI detected. 21:40:51 current dir:  /w/workspace/exfoundry_device-virtual-go_main 21:40:51 project root: . 21:40:51 --> token set from env 21:40:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:40:51 ==> Running gcov in . (disable via -X gcov) 21:40:51 ==> Python coveragepy not found 21:40:51 ==> Searching for coverage reports in: 21:40:51 + . 21:40:51 -> Found 1 reports 21:40:51 ==> Detecting git/mercurial file structure 21:40:51 ==> Reading reports 21:40:51 + ./coverage.out bytes=43063 21:40:51 ==> Appending adjustments 21:40:51 https://docs.codecov.io/docs/fixing-reports 21:40:51 + Found adjustments 21:40:51 ==> Gzipping contents 21:40:51 8.0K /tmp/codecov.EmnsIf.gz 21:40:51 ==> Uploading reports 21:40:51 url: https://codecov.io 21:40:51 query: branch=main&commit=8b06b3309a4a8ea5746d44ebca426b8e3f1152e3&build=105&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F105%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:40:51 -> Pinging Codecov 21:40:51 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=8b06b3309a4a8ea5746d44ebca426b8e3f1152e3&build=105&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F105%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:40:51 -> Uploading to 21:40:51 https://storage.googleapis.com/codecov/v4/raw/2023-04-18/5E52B4B073DB2E39498172D8E973AA87/8b06b3309a4a8ea5746d44ebca426b8e3f1152e3/c5fe1f13-f447-43df-bfa8-648d78b3ea12.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T214051Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=33ca07c2fba8e9f6ea0e98924fb823e4577fb0c743974230f47abde351b9e183 21:40:51 % Total % Received % Xferd Average Speed Time Time Time Current 21:40:51 Dload Upload Total Spent Left Speed 21:40:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 23779 --:--:-- --:--:-- --:--:-- 23779 21:40:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 [Pipeline] } 21:40:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:40:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:40:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:40:52 21:40:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:40:52 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:40:52 df9b9388f04a: Pulling fs layer 21:40:52 52dc419b0ee2: Pulling fs layer 21:40:52 25bc292e5bac: Pulling fs layer 21:40:52 114826534d7a: Pulling fs layer 21:40:52 4657fd5d0bcf: Pulling fs layer 21:40:52 114826534d7a: Waiting 21:40:52 4657fd5d0bcf: Waiting 21:40:52 6ad1cebc031e: Pulling fs layer 21:40:52 8a3aa393b2d8: Pulling fs layer 21:40:52 6ad1cebc031e: Waiting 21:40:52 8a3aa393b2d8: Waiting 21:40:52 25bc292e5bac: Verifying Checksum 21:40:52 25bc292e5bac: Download complete 21:40:52 52dc419b0ee2: Download complete 21:40:52 4657fd5d0bcf: Verifying Checksum 21:40:52 4657fd5d0bcf: Download complete 21:40:52 df9b9388f04a: Verifying Checksum 21:40:52 df9b9388f04a: Download complete 21:40:53 6ad1cebc031e: Download complete 21:40:53 df9b9388f04a: Pull complete 21:40:53 52dc419b0ee2: Pull complete 21:40:53 25bc292e5bac: Pull complete 21:40:53 114826534d7a: Download complete 21:40:53 8a3aa393b2d8: Verifying Checksum 21:40:53 8a3aa393b2d8: Download complete 21:40:57 114826534d7a: Pull complete 21:40:57 4657fd5d0bcf: Pull complete 21:40:57 6ad1cebc031e: Pull complete 21:41:00 8a3aa393b2d8: Pull complete 21:41:00 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:41:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:41:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:41:00 prd-ubuntu20.04-docker-8c-8g-9000 does not seem to be running inside a container 21:41:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:41:06 $ docker top d2d73386ab04e63c9de7b62679c0e7b260c84a323c4d54a9d73e9d47ea2a880a -eo pid,comm [Pipeline] { [Pipeline] echo 21:41:06 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 21:41:06 + set -o pipefail 21:41:06 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 21:41:11 21:41:11 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 21:41:11 21:41:11 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/85cce0f1-7013-41d3-a65f-31607d99890b 21:41:11 21:41:11 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:41:11 21:41:11 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:41:11 21:41:11 21:41:11 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:41:11 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:41:11 More details here: https://snyk.co/ue1NS [Pipeline] } 21:41:11 $ docker stop --time=1 d2d73386ab04e63c9de7b62679c0e7b260c84a323c4d54a9d73e9d47ea2a880a 21:41:15 $ docker rm -f --volumes d2d73386ab04e63c9de7b62679c0e7b260c84a323c4d54a9d73e9d47ea2a880a [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 21:41:15 + git log --format=format:%s -1 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 [Pipeline] sh 21:41:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:41:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:41:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:41:16 prd-ubuntu20.04-docker-8c-8g-9000 does not seem to be running inside a container 21:41:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:41:17 $ docker top 3ec68a6feaf7129da12c56676dd47cbd22658502986cfe867aec668d15a55523 -eo pid,comm 21:41:17 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). 21:41:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:41:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:41:17 [ssh-agent] Looking for ssh-agent implementation... 21:41:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:41:17 $ docker exec 3ec68a6feaf7129da12c56676dd47cbd22658502986cfe867aec668d15a55523 ssh-agent 21:41:17 SSH_AUTH_SOCK=/tmp/ssh-fcB4VbdQrtQO/agent.32 21:41:17 SSH_AGENT_PID=39 21:41:17 Running ssh-add (command line suppressed) 21:41:17 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9793909532600926223.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9793909532600926223.key) 21:41:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:41:17 + git semver tag 21:41:18 2023-04-18 21:41:18,000 [run_tag] DEBUG tag force:False 21:41:18 2023-04-18 21:41:18,000 [check_head_tag] DEBUG check head tag 21:41:18 2023-04-18 21:41:18,001 [execute] INFO git cat-file --batch-check 21:41:18 2023-04-18 21:41:18,002 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 21:41:18 2023-04-18 21:41:18,005 [execute] INFO git cat-file --batch 21:41:18 2023-04-18 21:41:18,005 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 21:41:18 2023-04-18 21:41:18,030 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:41:18 2023-04-18 21:41:18,030 [execute] INFO git tag -a v3.0.0-dev.33 -m v3.0.0-dev.33 21:41:18 2023-04-18 21:41:18,031 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.33', '-m', 'v3.0.0-dev.33'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 21:41:18 2023-04-18 21:41:18,035 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:41:18 3.0.0-dev.33 [Pipeline] } 21:41:18 $ docker exec --env ******** --env ******** 3ec68a6feaf7129da12c56676dd47cbd22658502986cfe867aec668d15a55523 ssh-agent -k 21:41:18 unset SSH_AUTH_SOCK; 21:41:18 unset SSH_AGENT_PID; 21:41:18 echo Agent pid 39 killed; 21:41:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:41:18 + git semver [Pipeline] } 21:41:18 $ docker stop --time=1 3ec68a6feaf7129da12c56676dd47cbd22658502986cfe867aec668d15a55523 21:41:20 $ docker rm -f --volumes 3ec68a6feaf7129da12c56676dd47cbd22658502986cfe867aec668d15a55523 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:41:20 21:41:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:41:20 0.23.1-centos7: Pulling from edgex-lftools 21:41:20 ab5ef0e58194: Pulling fs layer 21:41:20 9712f1f96733: Pulling fs layer 21:41:20 63f879dbbcfc: Pulling fs layer 21:41:20 0d9ebad4ef96: Pulling fs layer 21:41:20 e9a5061849ea: Pulling fs layer 21:41:20 d747dcd14b5f: Pulling fs layer 21:41:20 2de7ff778b66: Pulling fs layer 21:41:20 0d9ebad4ef96: Waiting 21:41:20 e9a5061849ea: Waiting 21:41:20 d747dcd14b5f: Waiting 21:41:20 2de7ff778b66: Waiting 21:41:20 9712f1f96733: Verifying Checksum 21:41:20 9712f1f96733: Download complete 21:41:21 63f879dbbcfc: Verifying Checksum 21:41:21 63f879dbbcfc: Download complete 21:41:21 e9a5061849ea: Verifying Checksum 21:41:21 e9a5061849ea: Download complete 21:41:21 0d9ebad4ef96: Verifying Checksum 21:41:21 0d9ebad4ef96: Download complete 21:41:21 ab5ef0e58194: Verifying Checksum 21:41:21 ab5ef0e58194: Download complete 21:41:21 d747dcd14b5f: Verifying Checksum 21:41:21 d747dcd14b5f: Download complete 21:41:21 2de7ff778b66: Verifying Checksum 21:41:21 2de7ff778b66: Download complete 21:41:23 ab5ef0e58194: Pull complete 21:41:23 9712f1f96733: Pull complete 21:41:24 63f879dbbcfc: Pull complete 21:41:28 0d9ebad4ef96: Pull complete 21:41:28 e9a5061849ea: Pull complete 21:41:28 d747dcd14b5f: Pull complete 21:41:29 2de7ff778b66: Pull complete 21:41:29 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:41:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:41:29 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:41:29 prd-ubuntu20.04-docker-8c-8g-9000 does not seem to be running inside a container 21:41:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:41:36 $ docker top 2892b18fe0b5877f4c64f943050aed629da0e269800682402c2b2b1f60892ecf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:41:36 provisioning config files... 21:41:36 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5745563590072798238tmp 21:41:36 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15851117295101972385tmp 21:41:36 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4531979785477605343tmp [Pipeline] { [Pipeline] echo 21:41:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:41:36 ---> sigul-configuration.sh 21:41:36 gpg: directory `/root/.gnupg' created 21:41:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:41:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:41:36 gpg: keyring `/root/.gnupg/secring.gpg' created 21:41:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:41:36 gpg: CAST5 encrypted data 21:41:36 gpg: encrypted with 1 passphrase 21:41:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:41:36 + mkdir /home/jenkins 21:41:36 + mkdir /home/jenkins/sigul [Pipeline] sh 21:41:37 + 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 21:41:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:41:37 ---> sigul-install.sh 21:41:37 Sigul already installed; skipping installation. [Pipeline] sh 21:41:37 + git tag --list 21:41:37 v1.0.0 21:41:37 v1.1.0 21:41:37 v1.1.1 21:41:37 v1.2.1 21:41:37 v1.2.2 21:41:37 v1.2.3 21:41:37 v1.3.0 21:41:37 v1.3.1 21:41:37 v2.0.0 21:41:37 v2.1.0 21:41:37 v2.1.1 21:41:37 v2.1.1-dev.1 21:41:37 v2.1.1-dev.2 21:41:37 v2.2.0 21:41:37 v2.2.1-dev.1 21:41:37 v2.2.1-dev.2 21:41:37 v2.2.1-dev.3 21:41:37 v2.2.1-dev.4 21:41:37 v2.2.1-dev.5 21:41:37 v2.2.1-dev.6 21:41:37 v2.2.1-dev.7 21:41:37 v2.2.1-dev.8 21:41:37 v2.3.0 21:41:37 v2.3.0-dev.10 21:41:37 v2.3.0-dev.11 21:41:37 v2.3.0-dev.12 21:41:37 v2.3.0-dev.13 21:41:37 v2.3.0-dev.14 21:41:37 v2.3.0-dev.15 21:41:37 v2.3.0-dev.16 21:41:37 v2.3.0-dev.17 21:41:37 v2.3.0-dev.18 21:41:37 v2.3.0-dev.19 21:41:37 v2.3.0-dev.20 21:41:37 v2.3.0-dev.21 21:41:37 v2.3.0-dev.22 21:41:37 v2.3.0-dev.23 21:41:37 v2.3.0-dev.24 21:41:37 v2.3.0-dev.25 21:41:37 v2.3.0-dev.26 21:41:37 v2.3.0-dev.27 21:41:37 v2.3.0-dev.28 21:41:37 v2.3.0-dev.29 21:41:37 v2.3.0-dev.30 21:41:37 v2.3.0-dev.8 21:41:37 v2.3.0-dev.9 21:41:37 v3.0.0-dev.1 21:41:37 v3.0.0-dev.10 21:41:37 v3.0.0-dev.11 21:41:37 v3.0.0-dev.12 21:41:37 v3.0.0-dev.13 21:41:37 v3.0.0-dev.14 21:41:37 v3.0.0-dev.15 21:41:37 v3.0.0-dev.16 21:41:37 v3.0.0-dev.17 21:41:37 v3.0.0-dev.18 21:41:37 v3.0.0-dev.19 21:41:37 v3.0.0-dev.2 21:41:37 v3.0.0-dev.20 21:41:37 v3.0.0-dev.21 21:41:37 v3.0.0-dev.22 21:41:37 v3.0.0-dev.23 21:41:37 v3.0.0-dev.24 21:41:37 v3.0.0-dev.25 21:41:37 v3.0.0-dev.26 21:41:37 v3.0.0-dev.27 21:41:37 v3.0.0-dev.28 21:41:37 v3.0.0-dev.29 21:41:37 v3.0.0-dev.3 21:41:37 v3.0.0-dev.30 21:41:37 v3.0.0-dev.31 21:41:37 v3.0.0-dev.32 21:41:37 v3.0.0-dev.33 21:41:37 v3.0.0-dev.4 21:41:37 v3.0.0-dev.5 21:41:37 v3.0.0-dev.6 21:41:37 v3.0.0-dev.7 21:41:37 v3.0.0-dev.8 21:41:37 v3.0.0-dev.9 [Pipeline] sh 21:41:37 + lftools sign git-tag v3.0.0-dev.33 21:41:38 Signing Git tag with Sigul... 21:41:38 Signing v3.0.0-dev.33 [Pipeline] echo 21:41:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:41:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:41:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:41:39 $ docker stop --time=1 2892b18fe0b5877f4c64f943050aed629da0e269800682402c2b2b1f60892ecf 21:41:40 $ docker rm -f --volumes 2892b18fe0b5877f4c64f943050aed629da0e269800682402c2b2b1f60892ecf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:41:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:41:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:41:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:41:41 prd-ubuntu20.04-docker-8c-8g-9000 does not seem to be running inside a container 21:41:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:41:41 $ docker top a0de0ea47a25eac53bf0e8008218a40755f80338d9a47c6f3c857e4a7e61ac60 -eo pid,comm 21:41:41 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). 21:41:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:41:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:41:41 [ssh-agent] Looking for ssh-agent implementation... 21:41:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:41:41 $ docker exec a0de0ea47a25eac53bf0e8008218a40755f80338d9a47c6f3c857e4a7e61ac60 ssh-agent 21:41:41 SSH_AUTH_SOCK=/tmp/ssh-6SsKWig7GApf/agent.33 21:41:41 SSH_AGENT_PID=39 21:41:41 Running ssh-add (command line suppressed) 21:41:42 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14340540038133947561.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14340540038133947561.key) 21:41:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:41:42 + git semver bump pre 21:41:42 2023-04-18 21:41:42,565 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:41:42 2023-04-18 21:41:42,565 [bump_version] DEBUG bumping version:3.0.0-dev.33 on axis:pre with prefix:dev 21:41:42 2023-04-18 21:41:42,565 [bump_version] DEBUG bumped version:3.0.0-dev.34 21:41:42 2023-04-18 21:41:42,566 [write_version] DEBUG write version:3.0.0-dev.34 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 21:41:42 2023-04-18 21:41:42,566 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:41:42 2023-04-18 21:41:42,566 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:41:42 2023-04-18 21:41:42,567 [execute] INFO git cat-file --batch-check 21:41:42 2023-04-18 21:41:42,568 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:41:42 2023-04-18 21:41:42,572 [execute] INFO git cat-file --batch 21:41:42 2023-04-18 21:41:42,573 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:41:42 2023-04-18 21:41:42,578 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:41:42 3.0.0-dev.34 [Pipeline] } 21:41:42 $ docker exec --env ******** --env ******** a0de0ea47a25eac53bf0e8008218a40755f80338d9a47c6f3c857e4a7e61ac60 ssh-agent -k 21:41:42 unset SSH_AUTH_SOCK; 21:41:42 unset SSH_AGENT_PID; 21:41:42 echo Agent pid 39 killed; 21:41:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:41:43 + git semver [Pipeline] } 21:41:43 $ docker stop --time=1 a0de0ea47a25eac53bf0e8008218a40755f80338d9a47c6f3c857e4a7e61ac60 21:41:44 $ docker rm -f --volumes a0de0ea47a25eac53bf0e8008218a40755f80338d9a47c6f3c857e4a7e61ac60 [Pipeline] // withDockerContainer [Pipeline] sh 21:41:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:41:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:41:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:41:45 prd-ubuntu20.04-docker-8c-8g-9000 does not seem to be running inside a container 21:41:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:41:45 $ docker top 3abcc9eb105aa5647044f7c84f99dc573c49077c4a93c342431f7f7ba440043e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:41:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:41:45 [ssh-agent] Looking for ssh-agent implementation... 21:41:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:41:45 $ docker exec 3abcc9eb105aa5647044f7c84f99dc573c49077c4a93c342431f7f7ba440043e ssh-agent 21:41:46 SSH_AUTH_SOCK=/tmp/ssh-C4FFTJwYlY2q/agent.31 21:41:46 SSH_AGENT_PID=36 21:41:46 Running ssh-add (command line suppressed) 21:41:46 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12865493271549914953.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12865493271549914953.key) 21:41:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:41:46 + git semver push 21:41:46 2023-04-18 21:41:46,579 [run_push] DEBUG push 21:41:46 2023-04-18 21:41:46,580 [execute] INFO git cat-file --batch-check 21:41:46 2023-04-18 21:41:46,580 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:41:46 2023-04-18 21:41:46,584 [execute] INFO git rev-list daa46a586d69e6a5ddada9a23eb5550e228f078e -- 21:41:46 2023-04-18 21:41:46,584 [execute] DEBUG Popen(['git', 'rev-list', 'daa46a586d69e6a5ddada9a23eb5550e228f078e', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:41:46 2023-04-18 21:41:46,592 [execute] INFO git fetch -v origin 21:41:46 2023-04-18 21:41:46,593 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:41:47 2023-04-18 21:41:47,086 [run_push] DEBUG no remote changes detected 21:41:47 2023-04-18 21:41:47,086 [execute] INFO git push origin semver 21:41:47 2023-04-18 21:41:47,086 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:41:48 2023-04-18 21:41:47,869 [run_push] DEBUG push all version tags 21:41:48 2023-04-18 21:41:47,870 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:41:48 2023-04-18 21:41:47,870 [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) 21:41:48 2023-04-18 21:41:48,688 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:41:48 3.0.0-dev.34 [Pipeline] } 21:41:48 $ docker exec --env ******** --env ******** 3abcc9eb105aa5647044f7c84f99dc573c49077c4a93c342431f7f7ba440043e ssh-agent -k 21:41:48 unset SSH_AUTH_SOCK; 21:41:48 unset SSH_AGENT_PID; 21:41:48 echo Agent pid 36 killed; 21:41:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:41:49 + git semver [Pipeline] } 21:41:49 $ docker stop --time=1 3abcc9eb105aa5647044f7c84f99dc573c49077c4a93c342431f7f7ba440043e 21:41:50 $ docker rm -f --volumes 3abcc9eb105aa5647044f7c84f99dc573c49077c4a93c342431f7f7ba440043e [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 21:41:51 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 21:41:51 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 21:41:51 total 16 21:41:51 drwxr-xr-x 3 root root 4096 Apr 18 21:30 . 21:41:51 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 21:41 .. 21:41:51 drwxr-xr-x 2 root root 4096 Apr 18 21:30 cost 21:41:51 -rw-r--r-- 1 root root 89 Apr 18 21:30 cost.csv 21:41:51 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 21:41:51 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 21:41:51 total 16 21:41:51 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 21:30 . 21:41:51 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 21:41 .. 21:41:51 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 21:30 cost 21:41:51 -rw-r--r-- 1 jenkins jenkins 89 Apr 18 21:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:41:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:41:52 ---> package-listing.sh 21:41:52 ++ facter osfamily 21:41:52 ++ tr '[:upper:]' '[:lower:]' 21:41:52 + OS_FAMILY=debian 21:41:52 + workspace=/w/workspace/exfoundry_device-virtual-go_main 21:41:52 + START_PACKAGES=/tmp/packages_start.txt 21:41:52 + END_PACKAGES=/tmp/packages_end.txt 21:41:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:41:52 + PACKAGES=/tmp/packages_start.txt 21:41:52 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 21:41:52 + PACKAGES=/tmp/packages_end.txt 21:41:52 + case "${OS_FAMILY}" in 21:41:52 + dpkg -l 21:41:52 + grep '^ii' 21:41:52 + '[' -f /tmp/packages_start.txt ']' 21:41:52 + '[' -f /tmp/packages_end.txt ']' 21:41:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:41:52 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 21:41:52 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 21:41:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 21:41:52 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 21:41:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:41:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:41:53 prd-ubuntu20.04-docker-8c-8g-9000 does not seem to be running inside a container 21:41:53 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:41:53 $ docker top 98cc4612543f19c13e6584d5606f88f0533c685aaadc60b343d42a8af050cc9a -eo pid,comm [Pipeline] { [Pipeline] sh 21:41:54 + touch /tmp/pre-build-complete [Pipeline] sh 21:41:54 + mkdir -p /var/log/sysstat [Pipeline] sh 21:41:54 + ls /var/log/sa-host 21:41:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:41:54 provisioning config files... 21:41:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3723461705354491552tmp [Pipeline] { [Pipeline] echo 21:41:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:41:55 ---> create-netrc.sh [Pipeline] } 21:41:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:41:55 ---> python-tools-install.sh [Pipeline] echo 21:41:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:41:55 ---> sudo-logs.sh 21:41:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:41:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:41:56 ---> job-cost.sh 21:41:56 lf-activate-venv: SKIPPING 21:41:56 DEBUG: total: 0.2199999988079071 21:41:56 INFO: Retrieving Stack Cost... 21:41:56 INFO: Retrieving Pricing Info for: v3-standard-8 21:41:57 INFO: Archiving Costs [Pipeline] echo 21:41:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:41:57 ---> logs-deploy.sh 21:41:57 lf-activate-venv: SKIPPING 21:41:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/105 21:41:57 INFO: archiving workspace using pattern(s): 21:41:58 Archives upload complete. 21:41:58 INFO: archiving logs to Nexus