Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ed3289d750d77ec3b888271c7762159edecc04ed 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-ssh3743278469420877568.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh1836857497893847442.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh14543942914839218647.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh3131238591337653319.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-ssh7563910488996122858.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16377 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 ed3289d750d77ec3b888271c7762159edecc04ed (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#410)" > 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 ed3289d750d77ec3b888271c7762159edecc04ed # timeout=10 > git rev-list --no-walk 92ded1a488adcb2150b1bb4ba73aa6220ca027a9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:51:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:51:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:51:17 ========================================================= 21:51:17 EdgeX Global Pipelines Version Info 21:51:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:51:21 ------------------- 21:51:21 stable info: 21:51:21 ------------------- 21:51:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:51:21 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:51:21 Message: update stable to v1.0.249 21:51:21 ------------------- 21:51:21 experimental info: 21:51:21 ------------------- 21:51:21 Commited By: **** collab-it+edgex@linuxfoundation.org 21:51:21 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:51:21 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:51:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 21:51:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 21:51:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:51:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:51:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ed3289d750d77ec3b888271c7762159edecc04ed [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ed3289d [Pipeline] echo 21:51:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:51:22 provisioning config files... 21:51:22 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6246946322857769622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:22 ---> docker-login.sh 21:51:22 nexus3.edgexfoundry.org:10001 21:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:23 Configure a credential helper to remove this warning. See 21:51:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:23 21:51:23 Login Succeeded 21:51:23 nexus3.edgexfoundry.org:10002 21:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:23 Configure a credential helper to remove this warning. See 21:51:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:23 21:51:23 Login Succeeded 21:51:23 nexus3.edgexfoundry.org:10003 21:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:23 Configure a credential helper to remove this warning. See 21:51:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:23 21:51:23 Login Succeeded 21:51:23 nexus3.edgexfoundry.org:10004 21:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:23 Configure a credential helper to remove this warning. See 21:51:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:23 21:51:23 Login Succeeded 21:51:23 docker.io 21:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:23 Configure a credential helper to remove this warning. See 21:51:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:23 21:51:23 Login Succeeded 21:51:23 ---> docker-login.sh ends [Pipeline] } 21:51:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:51:23 + git rev-list -1 --merges ed3289d750d77ec3b888271c7762159edecc04ed~1..ed3289d750d77ec3b888271c7762159edecc04ed [Pipeline] echo 21:51:23 -----------> git rev-list -1 --merges ed3289d750d77ec3b888271c7762159edecc04ed~1..ed3289d750d77ec3b888271c7762159edecc04ed ed3289d750d77ec3b888271c7762159edecc04ed [false] [Pipeline] sh 21:51:24 + git log --format=format:%s -1 ed3289d750d77ec3b888271c7762159edecc04ed [Pipeline] echo 21:51:24 ========================================================= 21:51:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:51:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:51:24 + git log --format=format:%s -1 ed3289d750d77ec3b888271c7762159edecc04ed [Pipeline] echo 21:51:24 [semverPrep] GIT_COMMIT: ed3289d750d77ec3b888271c7762159edecc04ed, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#410) [Pipeline] echo 21:51:24 [semverPrep] This is not a build commit. [Pipeline] sh 21:51:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:51:25 + grep -v github /etc/ssh/ssh_known_hosts 21:51:25 + [ -e /tmp/ssh_known_hosts ] 21:51:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:51:25 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:51:25 sudo tee -a /etc/ssh/ssh_known_hosts 21:51:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:51:25 21:51:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:51:25 0.1.4: Pulling from edgex-devops/py-git-semver 21:51:25 b85a868b505f: Pulling fs layer 21:51:25 e2be974225ed: Pulling fs layer 21:51:25 339a4e72a1f5: Pulling fs layer 21:51:25 988bab9f4d93: Pulling fs layer 21:51:25 1469e6f7b9e6: Pulling fs layer 21:51:25 eaf3925da568: Pulling fs layer 21:51:25 bab4dde63d76: Pulling fs layer 21:51:25 bde34c3a00c8: Pulling fs layer 21:51:25 b352a97aabf1: Pulling fs layer 21:51:25 4872d77fe225: Pulling fs layer 21:51:25 5851b861e8e6: Pulling fs layer 21:51:25 bab4dde63d76: Waiting 21:51:25 b352a97aabf1: Waiting 21:51:25 bde34c3a00c8: Waiting 21:51:25 5851b861e8e6: Waiting 21:51:25 4872d77fe225: Waiting 21:51:25 988bab9f4d93: Waiting 21:51:25 eaf3925da568: Waiting 21:51:25 1469e6f7b9e6: Waiting 21:51:25 e2be974225ed: Download complete 21:51:25 988bab9f4d93: Verifying Checksum 21:51:25 339a4e72a1f5: Download complete 21:51:25 eaf3925da568: Download complete 21:51:25 1469e6f7b9e6: Verifying Checksum 21:51:25 1469e6f7b9e6: Download complete 21:51:25 bde34c3a00c8: Verifying Checksum 21:51:25 bde34c3a00c8: Download complete 21:51:25 b352a97aabf1: Verifying Checksum 21:51:25 b352a97aabf1: Download complete 21:51:25 4872d77fe225: Verifying Checksum 21:51:25 4872d77fe225: Download complete 21:51:25 b85a868b505f: Verifying Checksum 21:51:25 b85a868b505f: Download complete 21:51:25 5851b861e8e6: Download complete 21:51:26 bab4dde63d76: Verifying Checksum 21:51:26 bab4dde63d76: Download complete 21:51:27 b85a868b505f: Pull complete 21:51:27 e2be974225ed: Pull complete 21:51:27 339a4e72a1f5: Pull complete 21:51:27 988bab9f4d93: Pull complete 21:51:28 1469e6f7b9e6: Pull complete 21:51:28 eaf3925da568: Pull complete 21:51:30 bab4dde63d76: Pull complete 21:51:30 bde34c3a00c8: Pull complete 21:51:30 b352a97aabf1: Pull complete 21:51:30 4872d77fe225: Pull complete 21:51:30 5851b861e8e6: Pull complete 21:51:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:51:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:51:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:51:30 prd-ubuntu20.04-docker-8c-8g-16377 does not seem to be running inside a container 21:51:30 $ 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:51:31 $ docker top 2b990e32ba27a52837bef51053221161d74b3c4995304a045b4f41ecf0442146 -eo pid,comm 21:51:31 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:51:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:51:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:51:31 [ssh-agent] Looking for ssh-agent implementation... 21:51:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:51:31 $ docker exec 2b990e32ba27a52837bef51053221161d74b3c4995304a045b4f41ecf0442146 ssh-agent 21:51:32 SSH_AUTH_SOCK=/tmp/ssh-7QBgvZaZ1Aq1/agent.32 21:51:32 SSH_AGENT_PID=38 21:51:32 Running ssh-add (command line suppressed) 21:51:32 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4095219352600497680.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4095219352600497680.key) 21:51:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:51:32 + git tag --points-at HEAD [Pipeline] } 21:51:32 $ docker exec --env ******** --env ******** 2b990e32ba27a52837bef51053221161d74b3c4995304a045b4f41ecf0442146 ssh-agent -k 21:51:32 unset SSH_AUTH_SOCK; 21:51:32 unset SSH_AGENT_PID; 21:51:32 echo Agent pid 38 killed; 21:51:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:51:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:51:32 [ssh-agent] Looking for ssh-agent implementation... 21:51:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:51:32 $ docker exec 2b990e32ba27a52837bef51053221161d74b3c4995304a045b4f41ecf0442146 ssh-agent 21:51:32 SSH_AUTH_SOCK=/tmp/ssh-uXFIWQSkq5ow/agent.70 21:51:32 SSH_AGENT_PID=76 21:51:32 Running ssh-add (command line suppressed) 21:51:32 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4503184065011975724.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4503184065011975724.key) 21:51:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:51:33 + git semver init 21:51:33 2023-05-22 21:51:33,443 [run_init] DEBUG init version:0.0.0 force:False 21:51:33 2023-05-22 21:51:33,443 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 21:51:33 2023-05-22 21:51:33,444 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 21:51:33 2023-05-22 21:51:33,444 [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:51:34 2023-05-22 21:51:34,423 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 21:51:34 2023-05-22 21:51:34,424 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 21:51:34 2023-05-22 21:51:34,424 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:51:34 2023-05-22 21:51:34,424 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:51:34 3.0.0-dev.50 [Pipeline] } 21:51:34 $ docker exec --env ******** --env ******** 2b990e32ba27a52837bef51053221161d74b3c4995304a045b4f41ecf0442146 ssh-agent -k 21:51:34 unset SSH_AUTH_SOCK; 21:51:34 unset SSH_AGENT_PID; 21:51:34 echo Agent pid 76 killed; 21:51:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:51:34 + git semver [Pipeline] } 21:51:35 $ docker stop --time=1 2b990e32ba27a52837bef51053221161d74b3c4995304a045b4f41ecf0442146 21:51:36 $ docker rm -f --volumes 2b990e32ba27a52837bef51053221161d74b3c4995304a045b4f41ecf0442146 [Pipeline] // withDockerContainer [Pipeline] sh 21:51:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:51:36 Stashed 1 file(s) [Pipeline] echo 21:51:36 [edgeXSemver]: initialized semver on version 3.0.0-dev.50 [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:51:37 provisioning config files... 21:51:37 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10217762546583156954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:37 ---> docker-login.sh 21:51:37 nexus3.edgexfoundry.org:10001 21:51:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:37 Configure a credential helper to remove this warning. See 21:51:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:37 21:51:37 Login Succeeded 21:51:37 nexus3.edgexfoundry.org:10002 21:51:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:37 Configure a credential helper to remove this warning. See 21:51:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:37 21:51:37 Login Succeeded 21:51:37 nexus3.edgexfoundry.org:10003 21:51:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:37 Configure a credential helper to remove this warning. See 21:51:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:37 21:51:37 Login Succeeded 21:51:37 nexus3.edgexfoundry.org:10004 21:51:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:37 Configure a credential helper to remove this warning. See 21:51:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:37 21:51:37 Login Succeeded 21:51:37 docker.io 21:51:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:37 Configure a credential helper to remove this warning. See 21:51:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:37 21:51:37 Login Succeeded 21:51:37 ---> docker-login.sh ends [Pipeline] } 21:51:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:51:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:51:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:51:38 ========================================================= 21:51:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:51:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:38 + 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:51:38 Sending build context to Docker daemon 23.66MB 21:51:38 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:51:38 Step 2/12 : FROM ${BASE} AS builder 21:51:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:51:38 f56be85fc22e: Pulling fs layer 21:51:38 85791d961cd3: Pulling fs layer 21:51:38 d694b5ae8c79: Pulling fs layer 21:51:38 9f32a84ed3da: Pulling fs layer 21:51:38 4d19c01a9841: Pulling fs layer 21:51:38 9325e15d5711: Pulling fs layer 21:51:38 556b6ee489ea: Pulling fs layer 21:51:38 c5a4b2cf53e6: Pulling fs layer 21:51:38 9f32a84ed3da: Waiting 21:51:38 9325e15d5711: Waiting 21:51:38 4d19c01a9841: Waiting 21:51:38 556b6ee489ea: Waiting 21:51:38 c5a4b2cf53e6: Waiting 21:51:38 85791d961cd3: Download complete 21:51:38 9f32a84ed3da: Download complete 21:51:38 4d19c01a9841: Verifying Checksum 21:51:38 4d19c01a9841: Download complete 21:51:38 f56be85fc22e: Verifying Checksum 21:51:38 f56be85fc22e: Download complete 21:51:38 9325e15d5711: Verifying Checksum 21:51:38 9325e15d5711: Download complete 21:51:39 f56be85fc22e: Pull complete 21:51:39 85791d961cd3: Pull complete 21:51:39 d694b5ae8c79: Verifying Checksum 21:51:39 d694b5ae8c79: Download complete 21:51:39 c5a4b2cf53e6: Verifying Checksum 21:51:39 c5a4b2cf53e6: Download complete 21:51:39 556b6ee489ea: Verifying Checksum 21:51:39 556b6ee489ea: Download complete 21:51:42 d694b5ae8c79: Pull complete 21:51:43 9f32a84ed3da: Pull complete 21:51:43 4d19c01a9841: Pull complete 21:51:43 9325e15d5711: Pull complete 21:51:45 556b6ee489ea: Pull complete 21:51:46 c5a4b2cf53e6: Pull complete 21:51:46 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:51:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:51:46 ---> c4be618373d6 21:51:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:51:48 ---> Running in d57a703301fe 21:51:48 Removing intermediate container d57a703301fe 21:51:48 ---> 57908bf5fd62 21:51:48 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:51:48 ---> Running in 3908fb52a547 21:51:48 Removing intermediate container 3908fb52a547 21:51:48 ---> 8ea9ecc40cae 21:51:48 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:51:48 ---> Running in 3caf7eda8dde 21:51:48 Removing intermediate container 3caf7eda8dde 21:51:48 ---> 6f8f85b74d2e 21:51:48 Step 6/12 : WORKDIR /device-virtual-go 21:51:48 ---> Running in 8d512e4a1901 21:51:48 Removing intermediate container 8d512e4a1901 21:51:48 ---> 16cf0b5c11a9 21:51:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:51:49 ---> Running in 1782daacf9fd 21:51:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:51:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:51:49 (1/4) Installing openssh-keygen (9.1_p1-r3) 21:51:49 (2/4) Installing libedit (20221030.3.1-r0) 21:51:49 (3/4) Installing openssh-client-common (9.1_p1-r3) 21:51:49 (4/4) Installing openssh-client-default (9.1_p1-r3) 21:51:49 Executing busybox-1.35.0-r29.trigger 21:51:49 OK: 269 MiB in 57 packages 21:51:50 Removing intermediate container 1782daacf9fd 21:51:50 ---> ac3289c29e47 21:51:50 Step 8/12 : COPY go.mod vendor* ./ 21:51:50 ---> 2ed29a5f4b80 21:51:50 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:51:50 ---> Running in 61ebba0a969c 21:51:52 Still waiting to schedule task 21:51:52 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:52:12 Removing intermediate container 61ebba0a969c 21:52:12 ---> 5d67fe15c8de 21:52:12 Step 10/12 : COPY . . 21:52:12 ---> 47d5cb095a47 21:52:12 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:52:12 ---> Running in d2a6128b4d07 21:52:12 Removing intermediate container d2a6128b4d07 21:52:12 ---> 3a88f055b717 21:52:12 Step 12/12 : RUN $MAKE 21:52:12 ---> Running in 4f846d8c61a0 21:52:12 noop 21:52:12 Removing intermediate container 4f846d8c61a0 21:52:12 ---> 764792911f6e 21:52:12 Successfully built 764792911f6e 21:52:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:12 + docker inspect -f . ci-base-image-x86_64 21:52:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:52:12 prd-ubuntu20.04-docker-8c-8g-16377 does not seem to be running inside a container 21:52:12 $ 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:52:12 $ docker top 20329e377f91ebedc1504f227af6ec309ac7c3a5daef24c4797aebc9ff412f4e -eo pid,comm [Pipeline] { [Pipeline] sh 21:52:13 + go version 21:52:13 go version go1.20.2 linux/amd64 [Pipeline] } 21:52:13 $ docker stop --time=1 20329e377f91ebedc1504f227af6ec309ac7c3a5daef24c4797aebc9ff412f4e 21:52:14 $ docker rm -f --volumes 20329e377f91ebedc1504f227af6ec309ac7c3a5daef24c4797aebc9ff412f4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:15 + docker inspect -f . ci-base-image-x86_64 21:52:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:52:15 prd-ubuntu20.04-docker-8c-8g-16377 does not seem to be running inside a container 21:52:15 $ 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:52:15 $ docker top 8227ba84a48c070fdb92742458452f38e4baa3d7ab684c5c8e638f6426b162a5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:52:15 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 21:52:16 + make test 21:52:16 go test ./... -coverprofile=coverage.out 21:52:21 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:52:31 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:52:31 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.016s coverage: 58.6% of statements 21:52:37 go vet ./... 21:52:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:52:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:52:42 ./bin/test-attribution-txt.sh [Pipeline] echo 21:52:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:52:42 $ docker stop --time=1 8227ba84a48c070fdb92742458452f38e4baa3d7ab684c5c8e638f6426b162a5 21:52:44 $ docker rm -f --volumes 8227ba84a48c070fdb92742458452f38e4baa3d7ab684c5c8e638f6426b162a5 [Pipeline] // withDockerContainer [Pipeline] sh 21:52:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:52:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:52:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:52:46 + ls -al . 21:52:46 total 192 21:52:46 drwxrwxr-x 9 jenkins jenkins 4096 May 22 21:52 . 21:52:46 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:51 .. 21:52:46 drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:51 .git 21:52:46 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:51 .github 21:52:46 -rw-rw-r-- 1 jenkins jenkins 337 May 22 21:51 .gitignore 21:52:46 -rw-rw-r-- 1 jenkins jenkins 41 May 22 21:51 .golangci.yml 21:52:46 drwxr-xr-x 3 jenkins jenkins 4096 May 22 21:51 .semver 21:52:46 -rw-rw-r-- 1 jenkins jenkins 8652 May 22 21:51 Attribution.txt 21:52:46 -rw-rw-r-- 1 jenkins jenkins 11367 May 22 21:51 CHANGELOG.md 21:52:46 -rw-rw-r-- 1 jenkins jenkins 1646 May 22 21:51 Dockerfile 21:52:46 -rw-rw-r-- 1 jenkins jenkins 677 May 22 21:51 GOVERNANCE.md 21:52:46 -rw-rw-r-- 1 jenkins jenkins 660 May 22 21:51 Jenkinsfile 21:52:46 -rw-rw-r-- 1 jenkins jenkins 11340 May 22 21:51 LICENSE 21:52:46 -rw-rw-r-- 1 jenkins jenkins 1696 May 22 21:51 Makefile 21:52:46 -rw-rw-r-- 1 jenkins jenkins 623 May 22 21:51 OWNERS.md 21:52:46 -rw-rw-r-- 1 jenkins jenkins 4087 May 22 21:51 README.md 21:52:46 -rw-rw-r-- 1 jenkins jenkins 12 May 22 21:51 VERSION 21:52:46 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:51 bin 21:52:46 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:51 cmd 21:52:46 -rw-r--r-- 1 jenkins jenkins 43063 May 22 21:52 coverage.out 21:52:46 -rw-rw-r-- 1 jenkins jenkins 3209 May 22 21:51 go.mod 21:52:46 -rw-rw-r-- 1 jenkins jenkins 30994 May 22 21:51 go.sum 21:52:46 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:51 internal 21:52:46 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:51 snap 21:52:46 -rw-rw-r-- 1 jenkins jenkins 235 May 22 21:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:46 + 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=ed3289d750d77ec3b888271c7762159edecc04ed --label arch=amd64 --label version=3.0.0-dev.50 . 21:52:46 Sending build context to Docker daemon 23.71MB 21:52:46 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:52:46 Step 2/25 : FROM ${BASE} AS builder 21:52:46 ---> 764792911f6e 21:52:46 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:52:46 ---> Running in 6afa83049263 21:52:46 Removing intermediate container 6afa83049263 21:52:46 ---> f216bbe0bdb7 21:52:46 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 21:52:46 ---> Running in da98780339f3 21:52:46 Removing intermediate container da98780339f3 21:52:46 ---> 262bf611f483 21:52:46 Step 5/25 : ARG ADD_BUILD_TAGS="" 21:52:46 ---> Running in 96e5618c0e5e 21:52:46 Removing intermediate container 96e5618c0e5e 21:52:46 ---> bf4df20af9a0 21:52:46 Step 6/25 : WORKDIR /device-virtual-go 21:52:46 ---> Running in 47109b63cc4c 21:52:46 Removing intermediate container 47109b63cc4c 21:52:46 ---> 42c5e448c1d2 21:52:46 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:52:46 ---> Running in f6216a9bddb7 21:52:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:52:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:52:47 OK: 269 MiB in 57 packages 21:52:48 Removing intermediate container f6216a9bddb7 21:52:48 ---> 13e66d089800 21:52:48 Step 8/25 : COPY go.mod vendor* ./ 21:52:48 ---> 486e10d035bb 21:52:48 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:52:48 ---> Running in 709ddc5b7aac 21:52:49 Removing intermediate container 709ddc5b7aac 21:52:49 ---> 5332e864fe03 21:52:49 Step 10/25 : COPY . . 21:52:49 ---> dba175600a84 21:52:49 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:52:49 ---> Running in b96fe1bd7a26 21:52:49 Removing intermediate container b96fe1bd7a26 21:52:49 ---> 37d3fa62cee6 21:52:49 Step 12/25 : RUN $MAKE 21:52:49 ---> Running in c779a8eb1970 21:52:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.50" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 21:53:12 Removing intermediate container c779a8eb1970 21:53:12 ---> 1ed11af1a781 21:53:12 Step 13/25 : FROM alpine:3.17 21:53:12 3.17: Pulling from library/alpine 21:53:12 f56be85fc22e: Already exists 21:53:12 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:53:12 Status: Downloaded newer image for alpine:3.17 21:53:12 ---> 9ed4aefc74f6 21:53:12 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:53:12 ---> Running in 70c095380acf 21:53:12 Removing intermediate container 70c095380acf 21:53:12 ---> a112f3834646 21:53:12 Step 15/25 : RUN apk add --update --no-cache dumb-init 21:53:12 ---> Running in 9021273c2546 21:53:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:53:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:53:12 (1/1) Installing dumb-init (1.2.5-r2) 21:53:12 Executing busybox-1.35.0-r29.trigger 21:53:12 OK: 7 MiB in 16 packages 21:53:12 Removing intermediate container 9021273c2546 21:53:12 ---> b06bcf85202e 21:53:12 Step 16/25 : WORKDIR / 21:53:12 ---> Running in c409b2bf3944 21:53:12 Removing intermediate container c409b2bf3944 21:53:12 ---> 0dce3691734c 21:53:12 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:53:12 ---> f9d3cb0bf408 21:53:12 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 21:53:12 ---> 6b5ae1fa8f8d 21:53:12 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 21:53:12 ---> 1afad93f3d40 21:53:12 Step 20/25 : EXPOSE 59900 21:53:12 ---> Running in 0f979ed0cd1c 21:53:12 Removing intermediate container 0f979ed0cd1c 21:53:12 ---> c69d9d729c2f 21:53:12 Step 21/25 : ENTRYPOINT ["/device-virtual"] 21:53:12 ---> Running in 16be558fafff 21:53:12 Removing intermediate container 16be558fafff 21:53:12 ---> a0e55dbad058 21:53:12 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:53:12 ---> Running in d379acd811fa 21:53:12 Removing intermediate container d379acd811fa 21:53:12 ---> efbeb2f7377d 21:53:12 Step 23/25 : LABEL arch=amd64 21:53:12 ---> Running in c0f8ae0e2218 21:53:12 Removing intermediate container c0f8ae0e2218 21:53:12 ---> d685682aaeee 21:53:12 Step 24/25 : LABEL git_sha=ed3289d750d77ec3b888271c7762159edecc04ed 21:53:12 ---> Running in d954bf750e35 21:53:12 Removing intermediate container d954bf750e35 21:53:12 ---> 54b3fdebc17f 21:53:12 Step 25/25 : LABEL version=3.0.0-dev.50 21:53:12 ---> Running in 4465c884c3af 21:53:12 Removing intermediate container 4465c884c3af 21:53:12 ---> 2d42b5ca5b9d 21:53:12 [Warning] One or more build-args [ARCH] were not consumed 21:53:12 Successfully built 2d42b5ca5b9d 21:53:12 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:53:12 provisioning config files... 21:53:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13748792144182261450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:53:12 ---> docker-login.sh 21:53:12 nexus3.edgexfoundry.org:10001 21:53:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:12 Configure a credential helper to remove this warning. See 21:53:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:12 21:53:12 Login Succeeded 21:53:12 nexus3.edgexfoundry.org:10002 21:53:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:12 Configure a credential helper to remove this warning. See 21:53:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:12 21:53:12 Login Succeeded 21:53:12 nexus3.edgexfoundry.org:10003 21:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:13 Configure a credential helper to remove this warning. See 21:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:13 21:53:13 Login Succeeded 21:53:13 nexus3.edgexfoundry.org:10004 21:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:13 Configure a credential helper to remove this warning. See 21:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:13 21:53:13 Login Succeeded 21:53:13 docker.io 21:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:13 Configure a credential helper to remove this warning. See 21:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:13 21:53:13 Login Succeeded 21:53:13 ---> docker-login.sh ends [Pipeline] } 21:53:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:53:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:53:13 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 21:53:13 ed3289d750d77ec3b888271c7762159edecc04ed 21:53:13 latest 21:53:13 3.0.0-dev.50 21:53:13 ed3289d750d77ec3b888271c7762159edecc04ed-3.0.0-dev.50 21:53:13 main 21:53:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:13 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:ed3289d750d77ec3b888271c7762159edecc04ed [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:13 + docker push nexus3.edgexfoundry.org:10004/device-virtual:ed3289d750d77ec3b888271c7762159edecc04ed 21:53:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:53:13 b63a78354439: Preparing 21:53:13 8c1a17bc33ea: Preparing 21:53:13 0ec241ccf58f: Preparing 21:53:13 805ee9e36ae9: Preparing 21:53:13 f1417ff83b31: Preparing 21:53:13 f1417ff83b31: Layer already exists 21:53:13 805ee9e36ae9: Pushed 21:53:13 0ec241ccf58f: Pushed 21:53:13 8c1a17bc33ea: Pushed 21:53:17 b63a78354439: Pushed 21:53:17 ed3289d750d77ec3b888271c7762159edecc04ed: digest: sha256:6b4ec58d52c80205f6d898b9d73693a911a70244693b0a148eac93e487bf0632 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:17 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 21:53:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:53:17 b63a78354439: Preparing 21:53:17 8c1a17bc33ea: Preparing 21:53:17 0ec241ccf58f: Preparing 21:53:17 805ee9e36ae9: Preparing 21:53:17 f1417ff83b31: Preparing 21:53:17 0ec241ccf58f: Layer already exists 21:53:17 805ee9e36ae9: Layer already exists 21:53:17 f1417ff83b31: Layer already exists 21:53:17 8c1a17bc33ea: Layer already exists 21:53:17 b63a78354439: Layer already exists 21:53:17 latest: digest: sha256:6b4ec58d52c80205f6d898b9d73693a911a70244693b0a148eac93e487bf0632 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:18 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.50 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.50 21:53:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:53:18 b63a78354439: Preparing 21:53:18 8c1a17bc33ea: Preparing 21:53:18 0ec241ccf58f: Preparing 21:53:18 805ee9e36ae9: Preparing 21:53:18 f1417ff83b31: Preparing 21:53:18 b63a78354439: Layer already exists 21:53:18 0ec241ccf58f: Layer already exists 21:53:18 805ee9e36ae9: Layer already exists 21:53:18 f1417ff83b31: Layer already exists 21:53:18 8c1a17bc33ea: Layer already exists 21:53:18 3.0.0-dev.50: digest: sha256:6b4ec58d52c80205f6d898b9d73693a911a70244693b0a148eac93e487bf0632 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:18 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:ed3289d750d77ec3b888271c7762159edecc04ed-3.0.0-dev.50 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:19 + docker push nexus3.edgexfoundry.org:10004/device-virtual:ed3289d750d77ec3b888271c7762159edecc04ed-3.0.0-dev.50 21:53:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:53:19 b63a78354439: Preparing 21:53:19 8c1a17bc33ea: Preparing 21:53:19 0ec241ccf58f: Preparing 21:53:19 805ee9e36ae9: Preparing 21:53:19 f1417ff83b31: Preparing 21:53:19 f1417ff83b31: Layer already exists 21:53:19 0ec241ccf58f: Layer already exists 21:53:19 b63a78354439: Layer already exists 21:53:19 805ee9e36ae9: Layer already exists 21:53:19 8c1a17bc33ea: Layer already exists 21:53:19 ed3289d750d77ec3b888271c7762159edecc04ed-3.0.0-dev.50: digest: sha256:6b4ec58d52c80205f6d898b9d73693a911a70244693b0a148eac93e487bf0632 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:19 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:19 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 21:53:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:53:19 b63a78354439: Preparing 21:53:19 8c1a17bc33ea: Preparing 21:53:19 0ec241ccf58f: Preparing 21:53:19 805ee9e36ae9: Preparing 21:53:19 f1417ff83b31: Preparing 21:53:19 f1417ff83b31: Layer already exists 21:53:19 8c1a17bc33ea: Layer already exists 21:53:19 0ec241ccf58f: Layer already exists 21:53:19 b63a78354439: Layer already exists 21:53:19 805ee9e36ae9: Layer already exists 21:53:19 main: digest: sha256:6b4ec58d52c80205f6d898b9d73693a911a70244693b0a148eac93e487bf0632 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:53:19 ===================================================== [Pipeline] echo 21:53:19 taggedImages: 21:53:19 - nexus3.edgexfoundry.org:10004/device-virtual:ed3289d750d77ec3b888271c7762159edecc04ed 21:53:19 - nexus3.edgexfoundry.org:10004/device-virtual:latest 21:53:19 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.50 21:53:19 - nexus3.edgexfoundry.org:10004/device-virtual:ed3289d750d77ec3b888271c7762159edecc04ed-3.0.0-dev.50 21:53:19 - 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:53:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:53:20 21:53:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:53:20 latest: Pulling from edgex-lftools-log-publisher 21:53:20 5eb5b503b376: Pulling fs layer 21:53:20 5c69ac0246d0: Pulling fs layer 21:53:20 ec43610c2a17: Pulling fs layer 21:53:20 3a2ae6a8a46f: Pulling fs layer 21:53:20 33b1e0a273af: Pulling fs layer 21:53:20 5d3b04190fa2: Pulling fs layer 21:53:20 2f39f015ded8: Pulling fs layer 21:53:20 3a2ae6a8a46f: Waiting 21:53:20 33b1e0a273af: Waiting 21:53:20 5d3b04190fa2: Waiting 21:53:20 2f39f015ded8: Waiting 21:53:20 5c69ac0246d0: Download complete 21:53:20 3a2ae6a8a46f: Verifying Checksum 21:53:20 3a2ae6a8a46f: Download complete 21:53:20 33b1e0a273af: Verifying Checksum 21:53:20 33b1e0a273af: Download complete 21:53:20 ec43610c2a17: Verifying Checksum 21:53:20 ec43610c2a17: Download complete 21:53:20 5d3b04190fa2: Download complete 21:53:20 5eb5b503b376: Verifying Checksum 21:53:20 5eb5b503b376: Download complete 21:53:21 2f39f015ded8: Download complete 21:53:21 5eb5b503b376: Pull complete 21:53:22 5c69ac0246d0: Pull complete 21:53:22 ec43610c2a17: Pull complete 21:53:22 3a2ae6a8a46f: Pull complete 21:53:22 33b1e0a273af: Pull complete 21:53:22 5d3b04190fa2: Pull complete 21:53:28 2f39f015ded8: Pull complete 21:53:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:53:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:53:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:28 prd-ubuntu20.04-docker-8c-8g-16377 does not seem to be running inside a container 21:53:28 $ 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:53:31 $ docker top e4ef5cdb21c65a86616c1b4ba49377436b04f189e4c671914806c932aeba094d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:53:31 ---> job-cost.sh 21:53:31 lf-activate-venv: SKIPPING 21:53:31 INFO: No Stack... 21:53:31 INFO: Retrieving Pricing Info for: v3-standard-8 21:53:32 INFO: Archiving Costs [Pipeline] sh 21:53:32 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 21:53:32 + cut -d, -f6 [Pipeline] lock 21:53:32 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-122-stack-cost] 21:53:32 Resource [jenkins-edgexfoundry-device-virtual-go-main-122-stack-cost] did not exist. Created. 21:53:32 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-122-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:53:32 + echo total: 0.2199999988079071 [Pipeline] stash 21:53:32 Stashed 1 file(s) [Pipeline] } 21:53:32 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-122-stack-cost] [Pipeline] // lock [Pipeline] } 21:53:32 $ docker stop --time=1 e4ef5cdb21c65a86616c1b4ba49377436b04f189e4c671914806c932aeba094d 21:53:33 $ docker rm -f --volumes e4ef5cdb21c65a86616c1b4ba49377436b04f189e4c671914806c932aeba094d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:55:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16382 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 21:55:03 Running in /w/workspace/device-virtual-go/122 [Pipeline] { [Pipeline] checkout 21:55:03 The recommended git tool is: git 21:55:10 using credential edgex-jenkins-ssh 21:55:10 Cloning the remote Git repository 21:55:10 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 21:55:10 > git init /w/workspace/device-virtual-go/122 # timeout=10 21:55:11 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 21:55:11 > git --version # timeout=10 21:55:11 > git --version # 'git version 2.25.1' 21:55:11 using GIT_SSH to set credentials SSH Credentials for GitHub 21:55:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:55:13 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 21:55:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:55:15 Avoid second fetch 21:55:15 Checking out Revision ed3289d750d77ec3b888271c7762159edecc04ed (main) 21:55:15 > git config core.sparsecheckout # timeout=10 21:55:15 > git checkout -f ed3289d750d77ec3b888271c7762159edecc04ed # timeout=10 21:55:16 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#410)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:55:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:55:17 % Total % Received % Xferd Average Speed Time Time Time Current 21:55:17 Dload Upload Total Spent Left Speed 21:55:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh 21:55:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:55:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:55:18 + sudo tee /etc/docker/daemon.new 21:55:18 { 21:55:18 "registry-mirrors": [ 21:55:18 "https://nexus3.edgexfoundry.org:10001" 21:55:18 ], 21:55:18 "bip": "10.250.0.254/24", 21:55:18 "hosts": [ 21:55:18 "tcp://0.0.0.0:5555", 21:55:18 "unix:///var/run/docker.sock" 21:55:18 ], 21:55:18 "mtu": 1458, 21:55:18 "selinux-enabled": true, 21:55:18 "seccomp-profile": "/etc/docker/seccomp.json" 21:55:18 } [Pipeline] sh 21:55:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:55:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:55:37 provisioning config files... 21:55:37 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/122@tmp/config11833684861220332645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:55:38 ---> docker-login.sh 21:55:38 nexus3.edgexfoundry.org:10001 21:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:38 Configure a credential helper to remove this warning. See 21:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:38 21:55:38 Login Succeeded 21:55:38 nexus3.edgexfoundry.org:10002 21:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:39 Configure a credential helper to remove this warning. See 21:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:39 21:55:39 Login Succeeded 21:55:39 nexus3.edgexfoundry.org:10003 21:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:39 Configure a credential helper to remove this warning. See 21:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:39 21:55:39 Login Succeeded 21:55:39 nexus3.edgexfoundry.org:10004 21:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:40 Configure a credential helper to remove this warning. See 21:55:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:40 21:55:40 Login Succeeded 21:55:40 docker.io 21:55:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:40 Configure a credential helper to remove this warning. See 21:55:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:40 21:55:40 Login Succeeded 21:55:40 ---> docker-login.sh ends [Pipeline] } 21:55:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:55:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:55:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:55:41 ========================================================= 21:55:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:55:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:41 + 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:55:42 Sending build context to Docker daemon 12MB 21:55:42 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:55:42 Step 2/12 : FROM ${BASE} AS builder 21:55:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:55:42 c41833b44d91: Pulling fs layer 21:55:42 ed15518f5707: Pulling fs layer 21:55:42 feae8fd75edb: Pulling fs layer 21:55:42 242c74f7c9fa: Pulling fs layer 21:55:42 3cdef696dda3: Pulling fs layer 21:55:42 2ced38df9373: Pulling fs layer 21:55:42 58f1dce35555: Pulling fs layer 21:55:42 3cdef696dda3: Waiting 21:55:42 58f1dce35555: Waiting 21:55:42 242c74f7c9fa: Waiting 21:55:42 2ced38df9373: Waiting 21:55:42 ed15518f5707: Verifying Checksum 21:55:42 ed15518f5707: Download complete 21:55:42 242c74f7c9fa: Verifying Checksum 21:55:42 242c74f7c9fa: Download complete 21:55:42 3cdef696dda3: Verifying Checksum 21:55:42 3cdef696dda3: Download complete 21:55:42 c41833b44d91: Verifying Checksum 21:55:42 c41833b44d91: Download complete 21:55:43 c41833b44d91: Pull complete 21:55:43 58f1dce35555: Verifying Checksum 21:55:43 58f1dce35555: Download complete 21:55:44 ed15518f5707: Pull complete 21:55:45 feae8fd75edb: Verifying Checksum 21:55:45 feae8fd75edb: Download complete 21:55:45 2ced38df9373: Verifying Checksum 21:55:45 2ced38df9373: Download complete 21:55:57 feae8fd75edb: Pull complete 21:55:57 242c74f7c9fa: Pull complete 21:55:57 3cdef696dda3: Pull complete 21:56:05 2ced38df9373: Pull complete 21:56:07 58f1dce35555: Pull complete 21:56:07 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:56:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:56:07 ---> fadd8f120f05 21:56:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:56:09 ---> Running in 98b739bbfb0c 21:56:09 Removing intermediate container 98b739bbfb0c 21:56:09 ---> 971df2721fef 21:56:09 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:56:10 ---> Running in 910c8e7b2e73 21:56:10 Removing intermediate container 910c8e7b2e73 21:56:10 ---> 3f0521f7d4f5 21:56:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:56:10 ---> Running in 687390dad1ed 21:56:10 Removing intermediate container 687390dad1ed 21:56:10 ---> 1a8acc97e479 21:56:10 Step 6/12 : WORKDIR /device-virtual-go 21:56:11 ---> Running in 00a7f620172d 21:56:11 Removing intermediate container 00a7f620172d 21:56:11 ---> d935e5ec7404 21:56:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:56:11 ---> Running in 7493329c73f5 21:56:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:56:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:56:15 (1/4) Installing openssh-keygen (9.1_p1-r3) 21:56:15 (2/4) Installing libedit (20221030.3.1-r0) 21:56:15 (3/4) Installing openssh-client-common (9.1_p1-r3) 21:56:15 (4/4) Installing openssh-client-default (9.1_p1-r3) 21:56:15 Executing busybox-1.35.0-r29.trigger 21:56:15 OK: 268 MiB in 57 packages 21:56:16 Removing intermediate container 7493329c73f5 21:56:16 ---> fb7f4c43a8ee 21:56:16 Step 8/12 : COPY go.mod vendor* ./ 21:56:16 ---> e59837cc3a16 21:56:16 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:56:16 ---> Running in 251f83d525af 21:57:24 Removing intermediate container 251f83d525af 21:57:24 ---> 6e93adb719af 21:57:24 Step 10/12 : COPY . . 21:57:24 ---> c9e86adf4452 21:57:24 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:57:24 ---> Running in 1c41649ddd5f 21:57:24 Removing intermediate container 1c41649ddd5f 21:57:24 ---> 55b9243306b9 21:57:24 Step 12/12 : RUN $MAKE 21:57:24 ---> Running in 2030c073598f 21:57:24 noop 21:57:24 Removing intermediate container 2030c073598f 21:57:24 ---> f36ad88560be 21:57:24 Successfully built f36ad88560be 21:57:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:25 + docker inspect -f . ci-base-image-arm64 21:57:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:57:25 prd-ubuntu20.04-docker-arm64-4c-16g-16382 does not seem to be running inside a container 21:57:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/122 -v /w/workspace/device-virtual-go/122:/w/workspace/device-virtual-go/122:rw,z -v /w/workspace/device-virtual-go/122@tmp:/w/workspace/device-virtual-go/122@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:57:26 $ docker top 1aff61f1476a74e1003180e56a509dcdbe8a87e9f18e0e58b3b0d1ae264d79b6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:57:27 + go version 21:57:27 go version go1.20.2 linux/arm64 [Pipeline] } 21:57:27 $ docker stop --time=1 1aff61f1476a74e1003180e56a509dcdbe8a87e9f18e0e58b3b0d1ae264d79b6 21:57:29 $ docker rm -f --volumes 1aff61f1476a74e1003180e56a509dcdbe8a87e9f18e0e58b3b0d1ae264d79b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:29 + docker inspect -f . ci-base-image-arm64 21:57:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:57:30 prd-ubuntu20.04-docker-arm64-4c-16g-16382 does not seem to be running inside a container 21:57:30 $ 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/122 -v /w/workspace/device-virtual-go/122:/w/workspace/device-virtual-go/122:rw,z -v /w/workspace/device-virtual-go/122@tmp:/w/workspace/device-virtual-go/122@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:57:31 $ docker top 42f72aee65ea57001b783031063ab47c55c70b5b08346a336e30c0f52996b0c0 -eo pid,comm [Pipeline] { [Pipeline] sh 21:57:32 + git config --global --add safe.directory /w/workspace/device-virtual-go/122 [Pipeline] fileExists [Pipeline] sh 21:57:33 + make test 21:57:33 go test ./... -coverprofile=coverage.out 21:58:12 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:00:33 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:00:33 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.103s coverage: 58.4% of statements 22:00:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:00:33 go vet ./... 22:01:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:01:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:01:06 ./bin/test-attribution-txt.sh [Pipeline] echo 22:01:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:01:06 $ docker stop --time=1 42f72aee65ea57001b783031063ab47c55c70b5b08346a336e30c0f52996b0c0 22:01:09 $ docker rm -f --volumes 42f72aee65ea57001b783031063ab47c55c70b5b08346a336e30c0f52996b0c0 [Pipeline] // withDockerContainer [Pipeline] sh 22:01:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:01:10 Warning: overwriting stash ‘coverage-report’ 22:01:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:01:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:01:12 + ls -al . 22:01:12 total 188 22:01:12 drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:57 . 22:01:12 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:55 .. 22:01:12 drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:55 .git 22:01:12 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:55 .github 22:01:12 -rw-rw-r-- 1 jenkins jenkins 337 May 22 21:55 .gitignore 22:01:12 -rw-rw-r-- 1 jenkins jenkins 41 May 22 21:55 .golangci.yml 22:01:12 -rw-rw-r-- 1 jenkins jenkins 8652 May 22 21:55 Attribution.txt 22:01:12 -rw-rw-r-- 1 jenkins jenkins 11367 May 22 21:55 CHANGELOG.md 22:01:12 -rw-rw-r-- 1 jenkins jenkins 1646 May 22 21:55 Dockerfile 22:01:12 -rw-rw-r-- 1 jenkins jenkins 677 May 22 21:55 GOVERNANCE.md 22:01:12 -rw-rw-r-- 1 jenkins jenkins 660 May 22 21:55 Jenkinsfile 22:01:12 -rw-rw-r-- 1 jenkins jenkins 11340 May 22 21:55 LICENSE 22:01:12 -rw-rw-r-- 1 jenkins jenkins 1696 May 22 21:55 Makefile 22:01:12 -rw-rw-r-- 1 jenkins jenkins 623 May 22 21:55 OWNERS.md 22:01:12 -rw-rw-r-- 1 jenkins jenkins 4087 May 22 21:55 README.md 22:01:12 -rw-rw-r-- 1 jenkins jenkins 12 May 22 21:51 VERSION 22:01:12 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:55 bin 22:01:12 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:55 cmd 22:01:12 -rw-r--r-- 1 jenkins jenkins 43063 May 22 22:00 coverage.out 22:01:12 -rw-rw-r-- 1 jenkins jenkins 3209 May 22 21:55 go.mod 22:01:12 -rw-rw-r-- 1 jenkins jenkins 30994 May 22 21:55 go.sum 22:01:12 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:55 internal 22:01:12 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:55 snap 22:01:12 -rw-rw-r-- 1 jenkins jenkins 235 May 22 21:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:12 + 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=ed3289d750d77ec3b888271c7762159edecc04ed --label arch=arm64 --label version=3.0.0-dev.50 . 22:01:12 Sending build context to Docker daemon 12.05MB 22:01:12 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 22:01:12 Step 2/25 : FROM ${BASE} AS builder 22:01:12 ---> f36ad88560be 22:01:12 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:01:12 ---> Running in b8858bd67582 22:01:13 Removing intermediate container b8858bd67582 22:01:13 ---> e6cb9b9f00da 22:01:13 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 22:01:13 ---> Running in b88ac074e2a3 22:01:13 Removing intermediate container b88ac074e2a3 22:01:13 ---> 1d37f46f95e0 22:01:13 Step 5/25 : ARG ADD_BUILD_TAGS="" 22:01:13 ---> Running in 27ecd3030e13 22:01:14 Removing intermediate container 27ecd3030e13 22:01:14 ---> bd73a84ec3f7 22:01:14 Step 6/25 : WORKDIR /device-virtual-go 22:01:14 ---> Running in 31814ee9254f 22:01:14 Removing intermediate container 31814ee9254f 22:01:14 ---> e7f3056da1db 22:01:14 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:01:14 ---> Running in d775760d5333 22:01:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:01:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:01:18 OK: 268 MiB in 57 packages 22:01:18 Removing intermediate container d775760d5333 22:01:18 ---> e628fcdfb2fc 22:01:18 Step 8/25 : COPY go.mod vendor* ./ 22:01:19 ---> db96a88247a4 22:01:19 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:01:19 ---> Running in d794ff8b1175 22:01:22 Removing intermediate container d794ff8b1175 22:01:22 ---> ec987ef05178 22:01:22 Step 10/25 : COPY . . 22:01:23 ---> 30b9e689f517 22:01:23 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:01:23 ---> Running in f6b11a236440 22:01:23 Removing intermediate container f6b11a236440 22:01:23 ---> 0771a2d368e0 22:01:23 Step 12/25 : RUN $MAKE 22:01:24 ---> Running in 1207c6586097 22:01:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.50" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 22:04:01 Removing intermediate container 1207c6586097 22:04:01 ---> 2c897016ad57 22:04:01 Step 13/25 : FROM alpine:3.17 22:04:01 3.17: Pulling from library/alpine 22:04:01 c41833b44d91: Already exists 22:04:01 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:04:01 Status: Downloaded newer image for alpine:3.17 22:04:01 ---> 51e60588ff2c 22:04:01 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:04:01 ---> Running in 8dd1ca54aa31 22:04:01 Removing intermediate container 8dd1ca54aa31 22:04:01 ---> b9d078de80a7 22:04:01 Step 15/25 : RUN apk add --update --no-cache dumb-init 22:04:01 ---> Running in a2509afab266 22:04:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:04:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:04:01 (1/1) Installing dumb-init (1.2.5-r2) 22:04:01 Executing busybox-1.35.0-r29.trigger 22:04:01 OK: 8 MiB in 16 packages 22:04:02 Removing intermediate container a2509afab266 22:04:02 ---> 31b6953dc5a9 22:04:02 Step 16/25 : WORKDIR / 22:04:02 ---> Running in 5225653b8b0f 22:04:03 Removing intermediate container 5225653b8b0f 22:04:03 ---> ea1b338d7e85 22:04:03 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:04:03 ---> 6a1117354c15 22:04:03 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 22:04:04 ---> fd86e47422fa 22:04:04 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 22:04:05 ---> d3893f7890b9 22:04:05 Step 20/25 : EXPOSE 59900 22:04:05 ---> Running in 6af91c11f7c2 22:04:05 Removing intermediate container 6af91c11f7c2 22:04:05 ---> 11189679104b 22:04:05 Step 21/25 : ENTRYPOINT ["/device-virtual"] 22:04:05 ---> Running in 76bdd04eaa38 22:04:06 Removing intermediate container 76bdd04eaa38 22:04:06 ---> 8033a747f89b 22:04:06 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:04:06 ---> Running in a22b10c90390 22:04:06 Removing intermediate container a22b10c90390 22:04:06 ---> 6e23b8b696d6 22:04:06 Step 23/25 : LABEL arch=arm64 22:04:06 ---> Running in 2b627b20a092 22:04:07 Removing intermediate container 2b627b20a092 22:04:07 ---> d353a92ec26c 22:04:07 Step 24/25 : LABEL git_sha=ed3289d750d77ec3b888271c7762159edecc04ed 22:04:07 ---> Running in 16ce101facc2 22:04:07 Removing intermediate container 16ce101facc2 22:04:07 ---> 6b109e66ee59 22:04:07 Step 25/25 : LABEL version=3.0.0-dev.50 22:04:07 ---> Running in 7a4e5a589c8e 22:04:07 Removing intermediate container 7a4e5a589c8e 22:04:07 ---> 657ed0396b61 22:04:07 [Warning] One or more build-args [ARCH] were not consumed 22:04:08 Successfully built 657ed0396b61 22:04:08 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 22:04:08 provisioning config files... 22:04:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/122@tmp/config1260145374469748985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:04:08 ---> docker-login.sh 22:04:08 nexus3.edgexfoundry.org:10001 22:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:08 Configure a credential helper to remove this warning. See 22:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:08 22:04:08 Login Succeeded 22:04:08 nexus3.edgexfoundry.org:10002 22:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:09 Configure a credential helper to remove this warning. See 22:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:09 22:04:09 Login Succeeded 22:04:09 nexus3.edgexfoundry.org:10003 22:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:09 Configure a credential helper to remove this warning. See 22:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:09 22:04:09 Login Succeeded 22:04:09 nexus3.edgexfoundry.org:10004 22:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:10 Configure a credential helper to remove this warning. See 22:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:10 22:04:10 Login Succeeded 22:04:10 docker.io 22:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:10 Configure a credential helper to remove this warning. See 22:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:10 22:04:10 Login Succeeded 22:04:10 ---> docker-login.sh ends [Pipeline] } 22:04:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:04:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:04:10 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 22:04:10 ed3289d750d77ec3b888271c7762159edecc04ed 22:04:10 latest 22:04:10 3.0.0-dev.50 22:04:10 ed3289d750d77ec3b888271c7762159edecc04ed-3.0.0-dev.50 22:04:10 main 22:04:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:11 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:ed3289d750d77ec3b888271c7762159edecc04ed [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:11 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:ed3289d750d77ec3b888271c7762159edecc04ed 22:04:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:04:11 5be81a84d2a4: Preparing 22:04:11 1cf8f1e556fe: Preparing 22:04:11 1ddad16d4e5b: Preparing 22:04:11 e842b07c868d: Preparing 22:04:11 26cbea5cba74: Preparing 22:04:11 26cbea5cba74: Layer already exists 22:04:12 1cf8f1e556fe: Pushed 22:04:12 1ddad16d4e5b: Pushed 22:04:12 e842b07c868d: Pushed 22:04:17 5be81a84d2a4: Pushed 22:04:17 ed3289d750d77ec3b888271c7762159edecc04ed: digest: sha256:0882e203d9dbb88f2b72abad48af6afabf16b069f79b63e6f8604b9f9bebecf7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:17 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 22:04:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:04:18 5be81a84d2a4: Preparing 22:04:18 1cf8f1e556fe: Preparing 22:04:18 1ddad16d4e5b: Preparing 22:04:18 e842b07c868d: Preparing 22:04:18 26cbea5cba74: Preparing 22:04:18 1ddad16d4e5b: Layer already exists 22:04:18 e842b07c868d: Layer already exists 22:04:18 1cf8f1e556fe: Layer already exists 22:04:18 5be81a84d2a4: Layer already exists 22:04:18 26cbea5cba74: Layer already exists 22:04:18 latest: digest: sha256:0882e203d9dbb88f2b72abad48af6afabf16b069f79b63e6f8604b9f9bebecf7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:18 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.50 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:19 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.50 22:04:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:04:19 5be81a84d2a4: Preparing 22:04:19 1cf8f1e556fe: Preparing 22:04:19 1ddad16d4e5b: Preparing 22:04:19 e842b07c868d: Preparing 22:04:19 26cbea5cba74: Preparing 22:04:19 e842b07c868d: Layer already exists 22:04:19 5be81a84d2a4: Layer already exists 22:04:19 26cbea5cba74: Layer already exists 22:04:19 1cf8f1e556fe: Layer already exists 22:04:19 1ddad16d4e5b: Layer already exists 22:04:19 3.0.0-dev.50: digest: sha256:0882e203d9dbb88f2b72abad48af6afabf16b069f79b63e6f8604b9f9bebecf7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:19 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:ed3289d750d77ec3b888271c7762159edecc04ed-3.0.0-dev.50 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:ed3289d750d77ec3b888271c7762159edecc04ed-3.0.0-dev.50 22:04:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:04:20 5be81a84d2a4: Preparing 22:04:20 1cf8f1e556fe: Preparing 22:04:20 1ddad16d4e5b: Preparing 22:04:20 e842b07c868d: Preparing 22:04:20 26cbea5cba74: Preparing 22:04:20 1cf8f1e556fe: Layer already exists 22:04:20 5be81a84d2a4: Layer already exists 22:04:20 26cbea5cba74: Layer already exists 22:04:20 1ddad16d4e5b: Layer already exists 22:04:20 e842b07c868d: Layer already exists 22:04:20 ed3289d750d77ec3b888271c7762159edecc04ed-3.0.0-dev.50: digest: sha256:0882e203d9dbb88f2b72abad48af6afabf16b069f79b63e6f8604b9f9bebecf7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:20 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 22:04:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:04:21 5be81a84d2a4: Preparing 22:04:21 1cf8f1e556fe: Preparing 22:04:21 1ddad16d4e5b: Preparing 22:04:21 e842b07c868d: Preparing 22:04:21 26cbea5cba74: Preparing 22:04:21 26cbea5cba74: Layer already exists 22:04:21 1ddad16d4e5b: Layer already exists 22:04:21 1cf8f1e556fe: Layer already exists 22:04:21 5be81a84d2a4: Layer already exists 22:04:21 e842b07c868d: Layer already exists 22:04:21 main: digest: sha256:0882e203d9dbb88f2b72abad48af6afabf16b069f79b63e6f8604b9f9bebecf7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:04:21 ===================================================== [Pipeline] echo 22:04:21 taggedImages: 22:04:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:ed3289d750d77ec3b888271c7762159edecc04ed 22:04:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 22:04:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.50 22:04:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:ed3289d750d77ec3b888271c7762159edecc04ed-3.0.0-dev.50 22:04:21 - 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 22:04:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:04:21 22:04:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:04:22 arm64: Pulling from edgex-lftools-log-publisher 22:04:22 8998bd30e6a1: Pulling fs layer 22:04:22 04944245beec: Pulling fs layer 22:04:22 699f458cf7ca: Pulling fs layer 22:04:22 765212b225bb: Pulling fs layer 22:04:22 f23df028b6ca: Pulling fs layer 22:04:22 d65c8cfc05b1: Pulling fs layer 22:04:22 2437ff75d9bd: Pulling fs layer 22:04:22 765212b225bb: Waiting 22:04:22 f23df028b6ca: Waiting 22:04:22 d65c8cfc05b1: Waiting 22:04:22 2437ff75d9bd: Waiting 22:04:22 04944245beec: Verifying Checksum 22:04:22 04944245beec: Download complete 22:04:22 765212b225bb: Verifying Checksum 22:04:22 765212b225bb: Download complete 22:04:22 f23df028b6ca: Verifying Checksum 22:04:22 f23df028b6ca: Download complete 22:04:22 d65c8cfc05b1: Verifying Checksum 22:04:22 d65c8cfc05b1: Download complete 22:04:22 699f458cf7ca: Verifying Checksum 22:04:22 699f458cf7ca: Download complete 22:04:22 8998bd30e6a1: Download complete 22:04:25 2437ff75d9bd: Verifying Checksum 22:04:25 2437ff75d9bd: Download complete 22:04:26 8998bd30e6a1: Pull complete 22:04:27 04944245beec: Pull complete 22:04:28 699f458cf7ca: Pull complete 22:04:28 765212b225bb: Pull complete 22:04:29 f23df028b6ca: Pull complete 22:04:29 d65c8cfc05b1: Pull complete 22:04:44 2437ff75d9bd: Pull complete 22:04:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:04:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:04:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:04:45 prd-ubuntu20.04-docker-arm64-4c-16g-16382 does not seem to be running inside a container 22:04:45 $ 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/122 -v /w/workspace/device-virtual-go/122:/w/workspace/device-virtual-go/122:rw,z -v /w/workspace/device-virtual-go/122@tmp:/w/workspace/device-virtual-go/122@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:arm64 cat 22:04:48 $ docker top 78caf4aa31ecf22b83a58c1b810dff43e4e48993f75fc65f12beb18b3d4e10ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:04:49 ---> job-cost.sh 22:04:49 lf-activate-venv: SKIPPING 22:04:49 INFO: No Stack... 22:04:49 INFO: Retrieving Pricing Info for: v3-standard-4 22:04:50 INFO: Archiving Costs [Pipeline] sh 22:04:50 + cat /w/workspace/device-virtual-go/122/archives/cost.csv 22:04:50 + cut -d, -f6 [Pipeline] lock 22:04:51 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-122-stack-cost] 22:04:51 Resource [jenkins-edgexfoundry-device-virtual-go-main-122-stack-cost] did not exist. Created. 22:04:51 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-122-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:04:51 /w/workspace/device-virtual-go/122@tmp/durable-f99a11ce/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:04:52 + echo total: 0.10999999940395355 [Pipeline] stash 22:04:52 Warning: overwriting stash ‘stack-cost’ 22:04:52 Stashed 1 file(s) [Pipeline] } 22:04:52 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-122-stack-cost] [Pipeline] // lock [Pipeline] } 22:04:52 $ docker stop --time=1 78caf4aa31ecf22b83a58c1b810dff43e4e48993f75fc65f12beb18b3d4e10ba 22:04:53 $ docker rm -f --volumes 78caf4aa31ecf22b83a58c1b810dff43e4e48993f75fc65f12beb18b3d4e10ba [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 22:04:54 provisioning config files... 22:04:54 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7989016855079717848tmp [Pipeline] { [Pipeline] sh 22:04:54 + set +x 22:04:54 + curl -s https://codecov.io/bash 22:04:54 + bash -s -- 22:04:54 22:04:54 _____ _ 22:04:54 / ____| | | 22:04:54 | | ___ __| | ___ ___ _____ __ 22:04:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:04:54 | |___| (_) | (_| | __/ (_| (_) \ V / 22:04:54 \_____\___/ \__,_|\___|\___\___/ \_/ 22:04:54 Bash-1.0.6 22:04:54 22:04:54 22:04:54 ==> git version 2.25.1 found 22:04:54 ==> 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 22:04:54 Release-Date: 2020-01-08 22:04:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:04:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:04:54 ==> Jenkins CI detected. 22:04:54 current dir:  /w/workspace/exfoundry_device-virtual-go_main 22:04:54 project root: . 22:04:54 --> token set from env 22:04:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:04:54 ==> Running gcov in . (disable via -X gcov) 22:04:54 ==> Python coveragepy not found 22:04:54 ==> Searching for coverage reports in: 22:04:54 + . 22:04:54 -> Found 1 reports 22:04:54 ==> Detecting git/mercurial file structure 22:04:54 ==> Reading reports 22:04:54 + ./coverage.out bytes=43063 22:04:54 ==> Appending adjustments 22:04:54 https://docs.codecov.io/docs/fixing-reports 22:04:54 + Found adjustments 22:04:54 ==> Gzipping contents 22:04:54 8.0K /tmp/codecov.SW7JcE.gz 22:04:54 ==> Uploading reports 22:04:54 url: https://codecov.io 22:04:54 query: branch=main&commit=ed3289d750d77ec3b888271c7762159edecc04ed&build=122&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F122%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:04:54 -> Pinging Codecov 22:04:54 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=ed3289d750d77ec3b888271c7762159edecc04ed&build=122&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F122%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:04:55 -> Uploading to 22:04:55 https://storage.googleapis.com/codecov/v4/raw/2023-05-22/5E52B4B073DB2E39498172D8E973AA87/ed3289d750d77ec3b888271c7762159edecc04ed/8e3626a9-175f-4740-a3f8-85b32fa3f54f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230522%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230522T220455Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8b4c558bf9b2bd1ecc69f4043ec35d516b9eb2c3479403f7d84f8eef2ea8035c 22:04:55 % Total % Received % Xferd Average Speed Time Time Time Current 22:04:55 Dload Upload Total Spent Left Speed 22:04:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 26181 --:--:-- --:--:-- --:--:-- 26181 100 5184 0 0 100 5184 0 26181 --:--:-- --:--:-- --:--:-- 26050 22:04:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/ed3289d750d77ec3b888271c7762159edecc04ed [Pipeline] } 22:04:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:04:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:04:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:04:55 22:04:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:04:56 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:04:56 df9b9388f04a: Pulling fs layer 22:04:56 52dc419b0ee2: Pulling fs layer 22:04:56 25bc292e5bac: Pulling fs layer 22:04:56 114826534d7a: Pulling fs layer 22:04:56 4657fd5d0bcf: Pulling fs layer 22:04:56 6ad1cebc031e: Pulling fs layer 22:04:56 8a3aa393b2d8: Pulling fs layer 22:04:56 4657fd5d0bcf: Waiting 22:04:56 6ad1cebc031e: Waiting 22:04:56 8a3aa393b2d8: Waiting 22:04:56 25bc292e5bac: Verifying Checksum 22:04:56 25bc292e5bac: Download complete 22:04:56 52dc419b0ee2: Verifying Checksum 22:04:56 52dc419b0ee2: Download complete 22:04:56 4657fd5d0bcf: Download complete 22:04:56 df9b9388f04a: Download complete 22:04:56 6ad1cebc031e: Verifying Checksum 22:04:56 6ad1cebc031e: Download complete 22:04:56 df9b9388f04a: Pull complete 22:04:56 52dc419b0ee2: Pull complete 22:04:56 25bc292e5bac: Pull complete 22:04:56 114826534d7a: Verifying Checksum 22:04:56 114826534d7a: Download complete 22:04:56 8a3aa393b2d8: Verifying Checksum 22:04:56 8a3aa393b2d8: Download complete 22:05:01 114826534d7a: Pull complete 22:05:01 4657fd5d0bcf: Pull complete 22:05:01 6ad1cebc031e: Pull complete 22:05:03 8a3aa393b2d8: Pull complete 22:05:03 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:05:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:05:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:03 prd-ubuntu20.04-docker-8c-8g-16377 does not seem to be running inside a container 22:05:03 $ 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 22:05:05 $ docker top 688b1be8122a7b60946a6b63f15fb7707ebe4bb136fa52f7a1c43522bbb6478d -eo pid,comm [Pipeline] { [Pipeline] echo 22:05:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 22:05:06 + set -o pipefail 22:05:06 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 22:05:10 22:05:10 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 22:05:10 22:05:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/d16c9234-9094-49d5-8cad-7c9034299f09 22:05:10 22:05:10 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:05:10 22:05:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:05:10 22:05:10 22:05:10 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:05:10 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:05:10 More details here: https://snyk.co/ue1NS [Pipeline] } 22:05:10 $ docker stop --time=1 688b1be8122a7b60946a6b63f15fb7707ebe4bb136fa52f7a1c43522bbb6478d 22:05:13 $ docker rm -f --volumes 688b1be8122a7b60946a6b63f15fb7707ebe4bb136fa52f7a1c43522bbb6478d [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 22:05:13 + git log --format=format:%s -1 ed3289d750d77ec3b888271c7762159edecc04ed [Pipeline] sh 22:05:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:05:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:05:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:14 prd-ubuntu20.04-docker-8c-8g-16377 does not seem to be running inside a container 22:05:14 $ 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 22:05:15 $ docker top 0385c4208a18c64bf965d1c34fcf16fb02f9cf11419d8d17a3a7349810804b37 -eo pid,comm 22:05:15 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:05:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:05:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:05:15 [ssh-agent] Looking for ssh-agent implementation... 22:05:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:05:15 $ docker exec 0385c4208a18c64bf965d1c34fcf16fb02f9cf11419d8d17a3a7349810804b37 ssh-agent 22:05:15 SSH_AUTH_SOCK=/tmp/ssh-RXCUHBy7V1PV/agent.33 22:05:15 SSH_AGENT_PID=39 22:05:15 Running ssh-add (command line suppressed) 22:05:15 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14207491285022287073.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14207491285022287073.key) 22:05:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:05:15 + git semver tag 22:05:16 2023-05-22 22:05:16,069 [run_tag] DEBUG tag force:False 22:05:16 2023-05-22 22:05:16,069 [check_head_tag] DEBUG check head tag 22:05:16 2023-05-22 22:05:16,070 [execute] INFO git cat-file --batch-check 22:05:16 2023-05-22 22:05:16,070 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 22:05:16 2023-05-22 22:05:16,074 [execute] INFO git cat-file --batch 22:05:16 2023-05-22 22:05:16,075 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 22:05:16 2023-05-22 22:05:16,102 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:05:16 2023-05-22 22:05:16,102 [execute] INFO git tag -a v3.0.0-dev.50 -m v3.0.0-dev.50 22:05:16 2023-05-22 22:05:16,102 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.50', '-m', 'v3.0.0-dev.50'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 22:05:16 2023-05-22 22:05:16,106 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:05:16 3.0.0-dev.50 [Pipeline] } 22:05:16 $ docker exec --env ******** --env ******** 0385c4208a18c64bf965d1c34fcf16fb02f9cf11419d8d17a3a7349810804b37 ssh-agent -k 22:05:16 unset SSH_AUTH_SOCK; 22:05:16 unset SSH_AGENT_PID; 22:05:16 echo Agent pid 39 killed; 22:05:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:05:16 + git semver [Pipeline] } 22:05:16 $ docker stop --time=1 0385c4208a18c64bf965d1c34fcf16fb02f9cf11419d8d17a3a7349810804b37 22:05:18 $ docker rm -f --volumes 0385c4208a18c64bf965d1c34fcf16fb02f9cf11419d8d17a3a7349810804b37 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:05:18 22:05:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:05:18 0.23.1-centos7: Pulling from edgex-lftools 22:05:18 ab5ef0e58194: Pulling fs layer 22:05:18 9712f1f96733: Pulling fs layer 22:05:18 63f879dbbcfc: Pulling fs layer 22:05:18 0d9ebad4ef96: Pulling fs layer 22:05:18 e9a5061849ea: Pulling fs layer 22:05:18 d747dcd14b5f: Pulling fs layer 22:05:18 2de7ff778b66: Pulling fs layer 22:05:18 0d9ebad4ef96: Waiting 22:05:18 e9a5061849ea: Waiting 22:05:18 d747dcd14b5f: Waiting 22:05:18 2de7ff778b66: Waiting 22:05:18 9712f1f96733: Verifying Checksum 22:05:18 9712f1f96733: Download complete 22:05:19 63f879dbbcfc: Verifying Checksum 22:05:19 63f879dbbcfc: Download complete 22:05:19 e9a5061849ea: Verifying Checksum 22:05:19 e9a5061849ea: Download complete 22:05:19 d747dcd14b5f: Verifying Checksum 22:05:19 d747dcd14b5f: Download complete 22:05:19 0d9ebad4ef96: Verifying Checksum 22:05:19 ab5ef0e58194: Verifying Checksum 22:05:19 ab5ef0e58194: Download complete 22:05:19 2de7ff778b66: Verifying Checksum 22:05:19 2de7ff778b66: Download complete 22:05:22 ab5ef0e58194: Pull complete 22:05:22 9712f1f96733: Pull complete 22:05:22 63f879dbbcfc: Pull complete 22:05:27 0d9ebad4ef96: Pull complete 22:05:27 e9a5061849ea: Pull complete 22:05:27 d747dcd14b5f: Pull complete 22:05:28 2de7ff778b66: Pull complete 22:05:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:05:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:05:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:28 prd-ubuntu20.04-docker-8c-8g-16377 does not seem to be running inside a container 22:05:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:05:31 $ docker top ce11be9b365e3fc0918f7e6eb68773470f483bf03317a20d98640b70de7284f0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:05:31 provisioning config files... 22:05:31 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config18050848597963568965tmp 22:05:31 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8591207567065502189tmp 22:05:31 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2529470149645323950tmp [Pipeline] { [Pipeline] echo 22:05:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:05:31 ---> sigul-configuration.sh 22:05:31 gpg: directory `/root/.gnupg' created 22:05:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:05:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:05:31 gpg: keyring `/root/.gnupg/secring.gpg' created 22:05:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:05:31 gpg: CAST5 encrypted data 22:05:31 gpg: encrypted with 1 passphrase 22:05:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:05:32 + mkdir /home/jenkins 22:05:32 + mkdir /home/jenkins/sigul [Pipeline] sh 22:05:32 + 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 22:05:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:05:32 ---> sigul-install.sh 22:05:32 Sigul already installed; skipping installation. [Pipeline] sh 22:05:33 + git tag --list 22:05:33 v1.0.0 22:05:33 v1.1.0 22:05:33 v1.1.1 22:05:33 v1.2.1 22:05:33 v1.2.2 22:05:33 v1.2.3 22:05:33 v1.3.0 22:05:33 v1.3.1 22:05:33 v2.0.0 22:05:33 v2.1.0 22:05:33 v2.1.1 22:05:33 v2.1.1-dev.1 22:05:33 v2.1.1-dev.2 22:05:33 v2.2.0 22:05:33 v2.2.1-dev.1 22:05:33 v2.2.1-dev.2 22:05:33 v2.2.1-dev.3 22:05:33 v2.2.1-dev.4 22:05:33 v2.2.1-dev.5 22:05:33 v2.2.1-dev.6 22:05:33 v2.2.1-dev.7 22:05:33 v2.2.1-dev.8 22:05:33 v2.3.0 22:05:33 v2.3.0-dev.10 22:05:33 v2.3.0-dev.11 22:05:33 v2.3.0-dev.12 22:05:33 v2.3.0-dev.13 22:05:33 v2.3.0-dev.14 22:05:33 v2.3.0-dev.15 22:05:33 v2.3.0-dev.16 22:05:33 v2.3.0-dev.17 22:05:33 v2.3.0-dev.18 22:05:33 v2.3.0-dev.19 22:05:33 v2.3.0-dev.20 22:05:33 v2.3.0-dev.21 22:05:33 v2.3.0-dev.22 22:05:33 v2.3.0-dev.23 22:05:33 v2.3.0-dev.24 22:05:33 v2.3.0-dev.25 22:05:33 v2.3.0-dev.26 22:05:33 v2.3.0-dev.27 22:05:33 v2.3.0-dev.28 22:05:33 v2.3.0-dev.29 22:05:33 v2.3.0-dev.30 22:05:33 v2.3.0-dev.8 22:05:33 v2.3.0-dev.9 22:05:33 v3.0.0-dev.1 22:05:33 v3.0.0-dev.10 22:05:33 v3.0.0-dev.11 22:05:33 v3.0.0-dev.12 22:05:33 v3.0.0-dev.13 22:05:33 v3.0.0-dev.14 22:05:33 v3.0.0-dev.15 22:05:33 v3.0.0-dev.16 22:05:33 v3.0.0-dev.17 22:05:33 v3.0.0-dev.18 22:05:33 v3.0.0-dev.19 22:05:33 v3.0.0-dev.2 22:05:33 v3.0.0-dev.20 22:05:33 v3.0.0-dev.21 22:05:33 v3.0.0-dev.22 22:05:33 v3.0.0-dev.23 22:05:33 v3.0.0-dev.24 22:05:33 v3.0.0-dev.25 22:05:33 v3.0.0-dev.26 22:05:33 v3.0.0-dev.27 22:05:33 v3.0.0-dev.28 22:05:33 v3.0.0-dev.29 22:05:33 v3.0.0-dev.3 22:05:33 v3.0.0-dev.30 22:05:33 v3.0.0-dev.31 22:05:33 v3.0.0-dev.32 22:05:33 v3.0.0-dev.33 22:05:33 v3.0.0-dev.34 22:05:33 v3.0.0-dev.35 22:05:33 v3.0.0-dev.36 22:05:33 v3.0.0-dev.37 22:05:33 v3.0.0-dev.38 22:05:33 v3.0.0-dev.39 22:05:33 v3.0.0-dev.4 22:05:33 v3.0.0-dev.40 22:05:33 v3.0.0-dev.41 22:05:33 v3.0.0-dev.42 22:05:33 v3.0.0-dev.43 22:05:33 v3.0.0-dev.44 22:05:33 v3.0.0-dev.45 22:05:33 v3.0.0-dev.46 22:05:33 v3.0.0-dev.47 22:05:33 v3.0.0-dev.48 22:05:33 v3.0.0-dev.49 22:05:33 v3.0.0-dev.5 22:05:33 v3.0.0-dev.50 22:05:33 v3.0.0-dev.6 22:05:33 v3.0.0-dev.7 22:05:33 v3.0.0-dev.8 22:05:33 v3.0.0-dev.9 [Pipeline] sh 22:05:33 + lftools sign git-tag v3.0.0-dev.50 22:05:33 Signing Git tag with Sigul... 22:05:33 Signing v3.0.0-dev.50 [Pipeline] echo 22:05:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:05:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:05:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:05:34 $ docker stop --time=1 ce11be9b365e3fc0918f7e6eb68773470f483bf03317a20d98640b70de7284f0 22:05:35 $ docker rm -f --volumes ce11be9b365e3fc0918f7e6eb68773470f483bf03317a20d98640b70de7284f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:05:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:05:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:05:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:36 prd-ubuntu20.04-docker-8c-8g-16377 does not seem to be running inside a container 22:05:36 $ 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 22:05:36 $ docker top 080d2f3475859e0116dcdb45842e2fb644b38cd6658c3137191ada6bc749ba03 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:05:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:05:37 [ssh-agent] Looking for ssh-agent implementation... 22:05:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:05:37 $ docker exec 080d2f3475859e0116dcdb45842e2fb644b38cd6658c3137191ada6bc749ba03 ssh-agent 22:05:37 SSH_AUTH_SOCK=/tmp/ssh-vp0pVVzgwcC9/agent.32 22:05:37 SSH_AGENT_PID=38 22:05:37 Running ssh-add (command line suppressed) 22:05:37 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4896971616690628850.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4896971616690628850.key) 22:05:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:05:37 + git semver bump pre 22:05:37 2023-05-22 22:05:37,886 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:05:37 2023-05-22 22:05:37,887 [bump_version] DEBUG bumping version:3.0.0-dev.50 on axis:pre with prefix:dev 22:05:37 2023-05-22 22:05:37,887 [bump_version] DEBUG bumped version:3.0.0-dev.51 22:05:37 2023-05-22 22:05:37,887 [write_version] DEBUG write version:3.0.0-dev.51 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 22:05:37 2023-05-22 22:05:37,887 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:05:37 2023-05-22 22:05:37,887 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:05:37 2023-05-22 22:05:37,889 [execute] INFO git cat-file --batch-check 22:05:37 2023-05-22 22:05:37,889 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:05:37 2023-05-22 22:05:37,895 [execute] INFO git cat-file --batch 22:05:37 2023-05-22 22:05:37,895 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:05:37 2023-05-22 22:05:37,901 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:05:37 3.0.0-dev.51 [Pipeline] } 22:05:37 $ docker exec --env ******** --env ******** 080d2f3475859e0116dcdb45842e2fb644b38cd6658c3137191ada6bc749ba03 ssh-agent -k 22:05:38 unset SSH_AUTH_SOCK; 22:05:38 unset SSH_AGENT_PID; 22:05:38 echo Agent pid 38 killed; 22:05:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:05:38 + git semver [Pipeline] } 22:05:38 $ docker stop --time=1 080d2f3475859e0116dcdb45842e2fb644b38cd6658c3137191ada6bc749ba03 22:05:39 $ docker rm -f --volumes 080d2f3475859e0116dcdb45842e2fb644b38cd6658c3137191ada6bc749ba03 [Pipeline] // withDockerContainer [Pipeline] sh 22:05:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:05:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:05:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:40 prd-ubuntu20.04-docker-8c-8g-16377 does not seem to be running inside a container 22:05: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:05:41 $ docker top 6492ea34d1cecf739ebf9d7398ba4c50e61d1234ee156f838468f77e9d2dfb05 -eo pid,comm 22:05: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). 22:05:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:05:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:05:41 [ssh-agent] Looking for ssh-agent implementation... 22:05:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:05:41 $ docker exec 6492ea34d1cecf739ebf9d7398ba4c50e61d1234ee156f838468f77e9d2dfb05 ssh-agent 22:05:41 SSH_AUTH_SOCK=/tmp/ssh-7hc0wTWXoTFK/agent.32 22:05:41 SSH_AGENT_PID=38 22:05:41 Running ssh-add (command line suppressed) 22:05:41 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2484591076580972091.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2484591076580972091.key) 22:05:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:05:41 + git semver push 22:05:42 2023-05-22 22:05:41,977 [run_push] DEBUG push 22:05:42 2023-05-22 22:05:41,978 [execute] INFO git cat-file --batch-check 22:05:42 2023-05-22 22:05:41,978 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:05:42 2023-05-22 22:05:41,982 [execute] INFO git rev-list d7e23d18152379d14be145c5d1dbfcba78dc589e -- 22:05:42 2023-05-22 22:05:41,982 [execute] DEBUG Popen(['git', 'rev-list', 'd7e23d18152379d14be145c5d1dbfcba78dc589e', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:05:42 2023-05-22 22:05:41,991 [execute] INFO git fetch -v origin 22:05:42 2023-05-22 22:05:41,991 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:05:42 2023-05-22 22:05:42,453 [run_push] DEBUG no remote changes detected 22:05:42 2023-05-22 22:05:42,454 [execute] INFO git push origin semver 22:05:42 2023-05-22 22:05:42,454 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:05:43 2023-05-22 22:05:43,237 [run_push] DEBUG push all version tags 22:05:43 2023-05-22 22:05:43,238 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:05:43 2023-05-22 22:05:43,238 [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) 22:05:44 2023-05-22 22:05:43,969 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:05:44 3.0.0-dev.51 [Pipeline] } 22:05:44 $ docker exec --env ******** --env ******** 6492ea34d1cecf739ebf9d7398ba4c50e61d1234ee156f838468f77e9d2dfb05 ssh-agent -k 22:05:44 unset SSH_AUTH_SOCK; 22:05:44 unset SSH_AGENT_PID; 22:05:44 echo Agent pid 38 killed; 22:05:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:05:44 + git semver [Pipeline] } 22:05:44 $ docker stop --time=1 6492ea34d1cecf739ebf9d7398ba4c50e61d1234ee156f838468f77e9d2dfb05 22:05:46 $ docker rm -f --volumes 6492ea34d1cecf739ebf9d7398ba4c50e61d1234ee156f838468f77e9d2dfb05 [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 22:05:46 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 22:05:46 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 22:05:46 total 16 22:05:46 drwxr-xr-x 3 root root 4096 May 22 21:53 . 22:05:46 drwxrwxr-x 10 jenkins jenkins 4096 May 22 22:05 .. 22:05:46 drwxr-xr-x 2 root root 4096 May 22 21:53 cost 22:05:46 -rw-r--r-- 1 root root 89 May 22 21:53 cost.csv 22:05:46 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 22:05:46 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 22:05:46 total 16 22:05:46 drwxr-xr-x 3 jenkins jenkins 4096 May 22 21:53 . 22:05:46 drwxrwxr-x 10 jenkins jenkins 4096 May 22 22:05 .. 22:05:46 drwxr-xr-x 2 jenkins jenkins 4096 May 22 21:53 cost 22:05:46 -rw-r--r-- 1 jenkins jenkins 89 May 22 21:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:05:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:05:47 ---> package-listing.sh 22:05:47 ++ facter osfamily 22:05:47 ++ tr '[:upper:]' '[:lower:]' 22:05:48 + OS_FAMILY=debian 22:05:48 + workspace=/w/workspace/exfoundry_device-virtual-go_main 22:05:48 + START_PACKAGES=/tmp/packages_start.txt 22:05:48 + END_PACKAGES=/tmp/packages_end.txt 22:05:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:05:48 + PACKAGES=/tmp/packages_start.txt 22:05:48 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 22:05:48 + PACKAGES=/tmp/packages_end.txt 22:05:48 + case "${OS_FAMILY}" in 22:05:48 + dpkg -l 22:05:48 + grep '^ii' 22:05:48 + '[' -f /tmp/packages_start.txt ']' 22:05:48 + '[' -f /tmp/packages_end.txt ']' 22:05:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:05:48 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 22:05:48 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 22:05:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 22:05:48 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 22:05:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:05:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:49 prd-ubuntu20.04-docker-8c-8g-16377 does not seem to be running inside a container 22:05:49 $ 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 22:05:49 $ docker top 4277358236da805643770416e246999cda521ce8f00b641a3f9e43663c8ed319 -eo pid,comm [Pipeline] { [Pipeline] sh 22:05:49 + touch /tmp/pre-build-complete [Pipeline] sh 22:05:50 + mkdir -p /var/log/sysstat [Pipeline] sh 22:05:50 + ls /var/log/sa-host 22:05:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:05:50 provisioning config files... 22:05:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7933869448852269584tmp [Pipeline] { [Pipeline] echo 22:05:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:05:50 ---> create-netrc.sh [Pipeline] } 22:05:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:05:51 ---> python-tools-install.sh [Pipeline] echo 22:05:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:05:51 ---> sudo-logs.sh 22:05:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:05:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:05:51 ---> job-cost.sh 22:05:51 lf-activate-venv: SKIPPING 22:05:51 DEBUG: total: 0.2199999988079071 22:05:51 INFO: Retrieving Stack Cost... 22:05:52 INFO: Retrieving Pricing Info for: v3-standard-8 22:05:52 INFO: Archiving Costs [Pipeline] echo 22:05:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:05:52 ---> logs-deploy.sh 22:05:52 lf-activate-venv: SKIPPING 22:05:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/122 22:05:52 INFO: archiving workspace using pattern(s): 22:05:53 Archives upload complete. 22:05:53 INFO: archiving logs to Nexus