Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe 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-ssh16536682471211072223.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-ssh4304485176109071958.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-ssh763440625758953001.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-ssh178113315530795048.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-ssh15216441619302515754.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 ‘prd-ubuntu20.04-docker-8c-8g-14461’ Running on prd-ubuntu20.04-docker-8c-8g-14464 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe (main) Commit message: "Merge pull request #399 from jumpingliu/ignore-go-mods" > git config core.sparsecheckout # timeout=10 > git checkout -f 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe # timeout=10 > git rev-list --no-walk 81c3d8df6e6916a21c685b3cf20bca39d3871f6d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:31:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:31:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:31:49 ========================================================= 05:31:49 EdgeX Global Pipelines Version Info 05:31:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:31:49 ------------------- 05:31:49 stable info: 05:31:49 ------------------- 05:31:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:31:49 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 05:31:49 Message: update stable to v1.0.249 05:31:50 ------------------- 05:31:50 experimental info: 05:31:50 ------------------- 05:31:50 Commited By: **** collab-it+edgex@linuxfoundation.org 05:31:50 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 05:31:50 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:31:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:31:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:31:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:31:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:31:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:31:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe [Pipeline] echo 05:31:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2e23a12 [Pipeline] echo 05:31:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:31:51 provisioning config files... 05:31:51 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config642486604534706226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:31:51 ---> docker-login.sh 05:31:51 nexus3.edgexfoundry.org:10001 05:31:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:51 Configure a credential helper to remove this warning. See 05:31:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:51 05:31:51 Login Succeeded 05:31:51 nexus3.edgexfoundry.org:10002 05:31:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:51 Configure a credential helper to remove this warning. See 05:31:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:51 05:31:51 Login Succeeded 05:31:51 nexus3.edgexfoundry.org:10003 05:31:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:51 Configure a credential helper to remove this warning. See 05:31:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:51 05:31:51 Login Succeeded 05:31:51 nexus3.edgexfoundry.org:10004 05:31:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:51 Configure a credential helper to remove this warning. See 05:31:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:51 05:31:51 Login Succeeded 05:31:51 docker.io 05:31:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:52 Configure a credential helper to remove this warning. See 05:31:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:52 05:31:52 Login Succeeded 05:31:52 ---> docker-login.sh ends [Pipeline] } 05:31:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:31:52 + git rev-list -1 --merges 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe~1..2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe [Pipeline] echo 05:31:52 -----------> git rev-list -1 --merges 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe~1..2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe 05:31:52 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe [false] [Pipeline] sh 05:31:52 + git log --format=format:%s -1 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe [Pipeline] echo 05:31:52 ========================================================= 05:31:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:31:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:31:53 + git log --format=format:%s -1 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe [Pipeline] echo 05:31:53 [semverPrep] GIT_COMMIT: 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe, Commit Message: Merge pull request #399 from jumpingliu/ignore-go-mods [Pipeline] echo 05:31:53 [semverPrep] This is not a build commit. [Pipeline] sh 05:31:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:31:53 + grep -v github /etc/ssh/ssh_known_hosts 05:31:53 + [ -e /tmp/ssh_known_hosts ] 05:31:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:31:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:31:53 + sudo tee -a /etc/ssh/ssh_known_hosts 05:31:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:31:53 05:31:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:31:54 0.1.4: Pulling from edgex-devops/py-git-semver 05:31:54 b85a868b505f: Pulling fs layer 05:31:54 e2be974225ed: Pulling fs layer 05:31:54 339a4e72a1f5: Pulling fs layer 05:31:54 988bab9f4d93: Pulling fs layer 05:31:54 1469e6f7b9e6: Pulling fs layer 05:31:54 eaf3925da568: Pulling fs layer 05:31:54 bab4dde63d76: Pulling fs layer 05:31:54 bde34c3a00c8: Pulling fs layer 05:31:54 b352a97aabf1: Pulling fs layer 05:31:54 4872d77fe225: Pulling fs layer 05:31:54 5851b861e8e6: Pulling fs layer 05:31:54 b352a97aabf1: Waiting 05:31:54 bde34c3a00c8: Waiting 05:31:54 4872d77fe225: Waiting 05:31:54 988bab9f4d93: Waiting 05:31:54 5851b861e8e6: Waiting 05:31:54 1469e6f7b9e6: Waiting 05:31:54 bab4dde63d76: Waiting 05:31:54 eaf3925da568: Waiting 05:31:54 e2be974225ed: Verifying Checksum 05:31:54 e2be974225ed: Download complete 05:31:54 988bab9f4d93: Verifying Checksum 05:31:54 988bab9f4d93: Download complete 05:31:54 1469e6f7b9e6: Verifying Checksum 05:31:54 1469e6f7b9e6: Download complete 05:31:54 eaf3925da568: Verifying Checksum 05:31:54 eaf3925da568: Download complete 05:31:54 339a4e72a1f5: Verifying Checksum 05:31:54 339a4e72a1f5: Download complete 05:31:54 bde34c3a00c8: Verifying Checksum 05:31:54 bde34c3a00c8: Download complete 05:31:54 b352a97aabf1: Download complete 05:31:54 4872d77fe225: Verifying Checksum 05:31:54 4872d77fe225: Download complete 05:31:54 5851b861e8e6: Verifying Checksum 05:31:54 5851b861e8e6: Download complete 05:31:54 b85a868b505f: Verifying Checksum 05:31:54 b85a868b505f: Download complete 05:31:54 bab4dde63d76: Verifying Checksum 05:31:54 bab4dde63d76: Download complete 05:31:55 b85a868b505f: Pull complete 05:31:55 e2be974225ed: Pull complete 05:31:56 339a4e72a1f5: Pull complete 05:31:56 988bab9f4d93: Pull complete 05:31:56 1469e6f7b9e6: Pull complete 05:31:56 eaf3925da568: Pull complete 05:31:58 bab4dde63d76: Pull complete 05:31:58 bde34c3a00c8: Pull complete 05:31:58 b352a97aabf1: Pull complete 05:31:58 4872d77fe225: Pull complete 05:31:58 5851b861e8e6: Pull complete 05:31:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:31:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:31:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:58 prd-ubuntu20.04-docker-8c-8g-14464 does not seem to be running inside a container 05:31:58 $ 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 05:31:59 $ docker top 0c12e37a0bb85389bf5476474457cf6051ec7877657562d9c9cb137190af6726 -eo pid,comm 05:31:59 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). 05:31:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:31:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:31:59 [ssh-agent] Looking for ssh-agent implementation... 05:31:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:31:59 $ docker exec 0c12e37a0bb85389bf5476474457cf6051ec7877657562d9c9cb137190af6726 ssh-agent 05:32:00 SSH_AUTH_SOCK=/tmp/ssh-qogV18TD9les/agent.32 05:32:00 SSH_AGENT_PID=38 05:32:00 Running ssh-add (command line suppressed) 05:32:00 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3181237601134232841.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3181237601134232841.key) 05:32:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:32:00 + git tag --points-at HEAD [Pipeline] } 05:32:00 $ docker exec --env ******** --env ******** 0c12e37a0bb85389bf5476474457cf6051ec7877657562d9c9cb137190af6726 ssh-agent -k 05:32:00 unset SSH_AUTH_SOCK; 05:32:00 unset SSH_AGENT_PID; 05:32:00 echo Agent pid 38 killed; 05:32:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:32:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:32:00 [ssh-agent] Looking for ssh-agent implementation... 05:32:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:32:00 $ docker exec 0c12e37a0bb85389bf5476474457cf6051ec7877657562d9c9cb137190af6726 ssh-agent 05:32:00 SSH_AUTH_SOCK=/tmp/ssh-T7wmrEj36iFL/agent.69 05:32:00 SSH_AGENT_PID=75 05:32:00 Running ssh-add (command line suppressed) 05:32:00 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17215780826513007609.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17215780826513007609.key) 05:32:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:32:01 + git semver init 05:32:01 2023-05-08 05:32:01,405 [run_init] DEBUG init version:0.0.0 force:False 05:32:01 2023-05-08 05:32:01,406 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 05:32:01 2023-05-08 05:32:01,406 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 05:32:01 2023-05-08 05:32:01,406 [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) 05:32:02 2023-05-08 05:32:02,357 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 05:32:02 2023-05-08 05:32:02,358 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 05:32:02 2023-05-08 05:32:02,358 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 05:32:02 2023-05-08 05:32:02,358 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 05:32:02 3.0.0-dev.40 [Pipeline] } 05:32:02 $ docker exec --env ******** --env ******** 0c12e37a0bb85389bf5476474457cf6051ec7877657562d9c9cb137190af6726 ssh-agent -k 05:32:02 unset SSH_AUTH_SOCK; 05:32:02 unset SSH_AGENT_PID; 05:32:02 echo Agent pid 75 killed; 05:32:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:32:02 + git semver [Pipeline] } 05:32:03 $ docker stop --time=1 0c12e37a0bb85389bf5476474457cf6051ec7877657562d9c9cb137190af6726 05:32:04 $ docker rm -f --volumes 0c12e37a0bb85389bf5476474457cf6051ec7877657562d9c9cb137190af6726 [Pipeline] // withDockerContainer [Pipeline] sh 05:32:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:32:04 Stashed 1 file(s) [Pipeline] echo 05:32:04 [edgeXSemver]: initialized semver on version 3.0.0-dev.40 [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 05:32:05 provisioning config files... 05:32:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16834309126830383889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:32:05 ---> docker-login.sh 05:32:05 nexus3.edgexfoundry.org:10001 05:32:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:05 Configure a credential helper to remove this warning. See 05:32:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:05 05:32:05 Login Succeeded 05:32:05 nexus3.edgexfoundry.org:10002 05:32:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:05 Configure a credential helper to remove this warning. See 05:32:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:05 05:32:05 Login Succeeded 05:32:05 nexus3.edgexfoundry.org:10003 05:32:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:05 Configure a credential helper to remove this warning. See 05:32:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:05 05:32:05 Login Succeeded 05:32:05 nexus3.edgexfoundry.org:10004 05:32:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:05 Configure a credential helper to remove this warning. See 05:32:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:05 05:32:05 Login Succeeded 05:32:05 docker.io 05:32:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:05 Configure a credential helper to remove this warning. See 05:32:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:05 05:32:05 Login Succeeded 05:32:05 ---> docker-login.sh ends [Pipeline] } 05:32:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:32:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:32:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:32:05 ========================================================= 05:32:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:32:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:06 + 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 . 05:32:06 Sending build context to Docker daemon 23.6MB 05:32:06 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 05:32:06 Step 2/12 : FROM ${BASE} AS builder 05:32:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:32:06 f56be85fc22e: Pulling fs layer 05:32:06 85791d961cd3: Pulling fs layer 05:32:06 d694b5ae8c79: Pulling fs layer 05:32:06 9f32a84ed3da: Pulling fs layer 05:32:06 4d19c01a9841: Pulling fs layer 05:32:06 9325e15d5711: Pulling fs layer 05:32:06 556b6ee489ea: Pulling fs layer 05:32:06 c5a4b2cf53e6: Pulling fs layer 05:32:06 556b6ee489ea: Waiting 05:32:06 c5a4b2cf53e6: Waiting 05:32:06 9325e15d5711: Waiting 05:32:06 9f32a84ed3da: Waiting 05:32:06 85791d961cd3: Verifying Checksum 05:32:06 85791d961cd3: Download complete 05:32:06 9f32a84ed3da: Verifying Checksum 05:32:06 9f32a84ed3da: Download complete 05:32:06 4d19c01a9841: Download complete 05:32:06 f56be85fc22e: Verifying Checksum 05:32:06 f56be85fc22e: Download complete 05:32:06 9325e15d5711: Verifying Checksum 05:32:06 9325e15d5711: Download complete 05:32:06 f56be85fc22e: Pull complete 05:32:06 85791d961cd3: Pull complete 05:32:06 c5a4b2cf53e6: Verifying Checksum 05:32:06 c5a4b2cf53e6: Download complete 05:32:07 d694b5ae8c79: Download complete 05:32:07 556b6ee489ea: Verifying Checksum 05:32:07 556b6ee489ea: Download complete 05:32:09 d694b5ae8c79: Pull complete 05:32:09 9f32a84ed3da: Pull complete 05:32:10 4d19c01a9841: Pull complete 05:32:10 9325e15d5711: Pull complete 05:32:12 556b6ee489ea: Pull complete 05:32:12 c5a4b2cf53e6: Pull complete 05:32:13 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 05:32:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:32:13 ---> c4be618373d6 05:32:13 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:32:15 ---> Running in 57320ec86f39 05:32:15 Removing intermediate container 57320ec86f39 05:32:15 ---> 0902b5144a20 05:32:15 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:32:15 ---> Running in 34baa07e777c 05:32:15 Removing intermediate container 34baa07e777c 05:32:15 ---> 39af593bd5c5 05:32:15 Step 5/12 : ARG ADD_BUILD_TAGS="" 05:32:15 ---> Running in d77b93072739 05:32:15 Removing intermediate container d77b93072739 05:32:15 ---> 063d6c6a2691 05:32:15 Step 6/12 : WORKDIR /device-virtual-go 05:32:15 ---> Running in 6186888b5af8 05:32:15 Removing intermediate container 6186888b5af8 05:32:15 ---> edda775ab2cf 05:32:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:32:15 ---> Running in 8b1a5bd145b2 05:32:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:32:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:32:16 (1/4) Installing openssh-keygen (9.1_p1-r2) 05:32:16 (2/4) Installing libedit (20221030.3.1-r0) 05:32:16 (3/4) Installing openssh-client-common (9.1_p1-r2) 05:32:16 (4/4) Installing openssh-client-default (9.1_p1-r2) 05:32:16 Executing busybox-1.35.0-r29.trigger 05:32:16 OK: 269 MiB in 57 packages 05:32:17 Removing intermediate container 8b1a5bd145b2 05:32:17 ---> debfa9dc8b5b 05:32:17 Step 8/12 : COPY go.mod vendor* ./ 05:32:17 ---> b0c215f64481 05:32:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:32:17 ---> Running in b54587e4a5e3 05:32:20 Still waiting to schedule task 05:32:20 ‘prd-ubuntu20.04-docker-arm64-4c-16g-14463’ is offline 05:32:35 Removing intermediate container b54587e4a5e3 05:32:35 ---> 128ec5d14551 05:32:35 Step 10/12 : COPY . . 05:32:35 ---> b07522a7b177 05:32:35 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:32:35 ---> Running in 9951aa5710d1 05:32:35 Removing intermediate container 9951aa5710d1 05:32:35 ---> 790bc4bb9b26 05:32:35 Step 12/12 : RUN $MAKE 05:32:35 ---> Running in 0ac4a5d8767e 05:32:35 noop 05:32:35 Removing intermediate container 0ac4a5d8767e 05:32:35 ---> 45e892d50221 05:32:35 Successfully built 45e892d50221 05:32:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:36 + docker inspect -f . ci-base-image-x86_64 05:32:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:36 prd-ubuntu20.04-docker-8c-8g-14464 does not seem to be running inside a container 05:32:36 $ 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 05:32:36 $ docker top fc5de8f5452e59f52ce16895e034c0fd33a8138b74f945677efd178d9794cce9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:32:37 + go version 05:32:37 go version go1.20.2 linux/amd64 [Pipeline] } 05:32:37 $ docker stop --time=1 fc5de8f5452e59f52ce16895e034c0fd33a8138b74f945677efd178d9794cce9 05:32:38 $ docker rm -f --volumes fc5de8f5452e59f52ce16895e034c0fd33a8138b74f945677efd178d9794cce9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:38 + docker inspect -f . ci-base-image-x86_64 05:32:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:39 prd-ubuntu20.04-docker-8c-8g-14464 does not seem to be running inside a container 05:32:39 $ 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 05:32:39 $ docker top aa2a71165e195ace589fb98043a8c57b4bac7b8d762f4d5efbe9086479d73fca -eo pid,comm [Pipeline] { [Pipeline] sh 05:32:39 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 05:32:40 + make test 05:32:40 go test ./... -coverprofile=coverage.out 05:32:45 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:32:55 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:32:55 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.017s coverage: 58.6% of statements 05:32:59 go vet ./... 05:33:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:33:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:33:03 ./bin/test-attribution-txt.sh [Pipeline] echo 05:33:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:33:03 $ docker stop --time=1 aa2a71165e195ace589fb98043a8c57b4bac7b8d762f4d5efbe9086479d73fca 05:33:05 $ docker rm -f --volumes aa2a71165e195ace589fb98043a8c57b4bac7b8d762f4d5efbe9086479d73fca [Pipeline] // withDockerContainer [Pipeline] sh 05:33:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:33:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:33:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:33:06 + ls -al . 05:33:06 total 192 05:33:06 drwxrwxr-x 9 jenkins jenkins 4096 May 8 05:32 . 05:33:06 drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:31 .. 05:33:06 drwxrwxr-x 8 jenkins jenkins 4096 May 8 05:32 .git 05:33:06 drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:31 .github 05:33:06 -rw-rw-r-- 1 jenkins jenkins 337 May 8 05:31 .gitignore 05:33:06 -rw-rw-r-- 1 jenkins jenkins 41 May 8 05:31 .golangci.yml 05:33:06 drwxr-xr-x 3 jenkins jenkins 4096 May 8 05:32 .semver 05:33:06 -rw-rw-r-- 1 jenkins jenkins 8652 May 8 05:31 Attribution.txt 05:33:06 -rw-rw-r-- 1 jenkins jenkins 11367 May 8 05:31 CHANGELOG.md 05:33:06 -rw-rw-r-- 1 jenkins jenkins 1646 May 8 05:31 Dockerfile 05:33:06 -rw-rw-r-- 1 jenkins jenkins 677 May 8 05:31 GOVERNANCE.md 05:33:06 -rw-rw-r-- 1 jenkins jenkins 660 May 8 05:31 Jenkinsfile 05:33:06 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 05:31 LICENSE 05:33:06 -rw-rw-r-- 1 jenkins jenkins 1696 May 8 05:31 Makefile 05:33:06 -rw-rw-r-- 1 jenkins jenkins 623 May 8 05:31 OWNERS.md 05:33:06 -rw-rw-r-- 1 jenkins jenkins 3578 May 8 05:31 README.md 05:33:06 -rw-rw-r-- 1 jenkins jenkins 12 May 8 05:32 VERSION 05:33:06 drwxrwxr-x 2 jenkins jenkins 4096 May 8 05:31 bin 05:33:06 drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:31 cmd 05:33:06 -rw-r--r-- 1 jenkins jenkins 43063 May 8 05:32 coverage.out 05:33:06 -rw-rw-r-- 1 jenkins jenkins 3209 May 8 05:31 go.mod 05:33:06 -rw-rw-r-- 1 jenkins jenkins 30994 May 8 05:31 go.sum 05:33:06 drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:31 internal 05:33:06 drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:31 snap 05:33:06 -rw-rw-r-- 1 jenkins jenkins 235 May 8 05:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:07 + 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=2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe --label arch=amd64 --label version=3.0.0-dev.40 . 05:33:07 Sending build context to Docker daemon 23.64MB 05:33:07 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 05:33:07 Step 2/25 : FROM ${BASE} AS builder 05:33:07 ---> 45e892d50221 05:33:07 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:33:07 ---> Running in 90aae7f5284b 05:33:07 Removing intermediate container 90aae7f5284b 05:33:07 ---> 718c236cb02c 05:33:07 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 05:33:07 ---> Running in 02cd1aa28a85 05:33:07 Removing intermediate container 02cd1aa28a85 05:33:07 ---> 4b2b31908843 05:33:07 Step 5/25 : ARG ADD_BUILD_TAGS="" 05:33:07 ---> Running in a0d7091d1298 05:33:07 Removing intermediate container a0d7091d1298 05:33:07 ---> b1bfef92da58 05:33:07 Step 6/25 : WORKDIR /device-virtual-go 05:33:07 ---> Running in 9e9b6986fa8e 05:33:07 Removing intermediate container 9e9b6986fa8e 05:33:07 ---> 39f919d3b0bf 05:33:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:33:07 ---> Running in 28f3d15919fa 05:33:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:33:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:33:08 OK: 269 MiB in 57 packages 05:33:08 Removing intermediate container 28f3d15919fa 05:33:08 ---> 4c1d27258bf6 05:33:08 Step 8/25 : COPY go.mod vendor* ./ 05:33:08 ---> 2892d92b951a 05:33:08 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:33:08 ---> Running in 12f33e5fbd70 05:33:09 Removing intermediate container 12f33e5fbd70 05:33:09 ---> ba9b70d3b3d5 05:33:09 Step 10/25 : COPY . . 05:33:09 ---> f40d9055fbe7 05:33:09 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:33:09 ---> Running in ed82eea33ee5 05:33:09 Removing intermediate container ed82eea33ee5 05:33:09 ---> a49577dac853 05:33:09 Step 12/25 : RUN $MAKE 05:33:09 ---> Running in 70c45032c74a 05:33:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.40" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 05:33:27 Removing intermediate container 70c45032c74a 05:33:27 ---> c0aab212f5aa 05:33:27 Step 13/25 : FROM alpine:3.17 05:33:27 3.17: Pulling from library/alpine 05:33:27 f56be85fc22e: Already exists 05:33:27 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:33:27 Status: Downloaded newer image for alpine:3.17 05:33:27 ---> 9ed4aefc74f6 05:33:27 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:33:27 ---> Running in 64b2b3299db7 05:33:27 Removing intermediate container 64b2b3299db7 05:33:27 ---> 6867d14b4241 05:33:27 Step 15/25 : RUN apk add --update --no-cache dumb-init 05:33:27 ---> Running in dc1b4974e985 05:33:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:33:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:33:27 (1/1) Installing dumb-init (1.2.5-r2) 05:33:27 Executing busybox-1.35.0-r29.trigger 05:33:27 OK: 7 MiB in 16 packages 05:33:27 Removing intermediate container dc1b4974e985 05:33:27 ---> ade06c39270f 05:33:27 Step 16/25 : WORKDIR / 05:33:27 ---> Running in 0eb27c7c735c 05:33:27 Removing intermediate container 0eb27c7c735c 05:33:27 ---> 3fe1df75cc0c 05:33:27 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:33:27 ---> 7189583d1e0e 05:33:27 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 05:33:27 ---> 6d16e850d753 05:33:27 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 05:33:27 ---> fc5dfecf7dc4 05:33:27 Step 20/25 : EXPOSE 59900 05:33:27 ---> Running in de55bd9b8fb7 05:33:27 Removing intermediate container de55bd9b8fb7 05:33:27 ---> 0b56ce9ebfa2 05:33:27 Step 21/25 : ENTRYPOINT ["/device-virtual"] 05:33:27 ---> Running in 8cd6a9948768 05:33:27 Removing intermediate container 8cd6a9948768 05:33:27 ---> 3e39d327e562 05:33:27 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:33:27 ---> Running in 04303b199f43 05:33:27 Removing intermediate container 04303b199f43 05:33:27 ---> 1106feb07b86 05:33:27 Step 23/25 : LABEL arch=amd64 05:33:27 ---> Running in 5465ff01b160 05:33:27 Removing intermediate container 5465ff01b160 05:33:27 ---> 87e6d9b6a369 05:33:27 Step 24/25 : LABEL git_sha=2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe 05:33:28 ---> Running in 5d8961b11d8e 05:33:28 Removing intermediate container 5d8961b11d8e 05:33:28 ---> 74c0ffcc0954 05:33:28 Step 25/25 : LABEL version=3.0.0-dev.40 05:33:28 ---> Running in 666099a094f4 05:33:28 Removing intermediate container 666099a094f4 05:33:28 ---> 16deed84d163 05:33:28 [Warning] One or more build-args [ARCH] were not consumed 05:33:28 Successfully built 16deed84d163 05:33:28 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:33:28 provisioning config files... 05:33:28 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7170307887001347313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:33:28 ---> docker-login.sh 05:33:28 nexus3.edgexfoundry.org:10001 05:33:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:33:28 Configure a credential helper to remove this warning. See 05:33:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:33:28 05:33:28 Login Succeeded 05:33:28 nexus3.edgexfoundry.org:10002 05:33:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:33:28 Configure a credential helper to remove this warning. See 05:33:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:33:28 05:33:28 Login Succeeded 05:33:28 nexus3.edgexfoundry.org:10003 05:33:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:33:28 Configure a credential helper to remove this warning. See 05:33:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:33:28 05:33:28 Login Succeeded 05:33:28 nexus3.edgexfoundry.org:10004 05:33:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:33:28 Configure a credential helper to remove this warning. See 05:33:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:33:28 05:33:28 Login Succeeded 05:33:28 docker.io 05:33:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:33:29 Configure a credential helper to remove this warning. See 05:33:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:33:29 05:33:29 Login Succeeded 05:33:29 ---> docker-login.sh ends [Pipeline] } 05:33:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:33:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:33:29 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 05:33:29 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe 05:33:29 latest 05:33:29 3.0.0-dev.40 05:33:29 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe-3.0.0-dev.40 05:33:29 main 05:33:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:29 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:29 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe 05:33:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:33:29 60ccae4193de: Preparing 05:33:29 918589414418: Preparing 05:33:29 6aa172d90540: Preparing 05:33:29 c889bad817be: Preparing 05:33:29 f1417ff83b31: Preparing 05:33:29 f1417ff83b31: Layer already exists 05:33:29 c889bad817be: Pushed 05:33:29 6aa172d90540: Pushed 05:33:29 918589414418: Pushed 05:33:32 60ccae4193de: Pushed 05:33:32 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe: digest: sha256:5163cc35f02a245ea5ea1398392d6788044fd42b760b60d86d5c41d5d598a50a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:32 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:33 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 05:33:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:33:33 60ccae4193de: Preparing 05:33:33 918589414418: Preparing 05:33:33 6aa172d90540: Preparing 05:33:33 c889bad817be: Preparing 05:33:33 f1417ff83b31: Preparing 05:33:33 f1417ff83b31: Layer already exists 05:33:33 918589414418: Layer already exists 05:33:33 6aa172d90540: Layer already exists 05:33:33 60ccae4193de: Layer already exists 05:33:33 c889bad817be: Layer already exists 05:33:33 latest: digest: sha256:5163cc35f02a245ea5ea1398392d6788044fd42b760b60d86d5c41d5d598a50a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:33 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:33 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.40 05:33:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:33:33 60ccae4193de: Preparing 05:33:33 918589414418: Preparing 05:33:33 6aa172d90540: Preparing 05:33:33 c889bad817be: Preparing 05:33:33 f1417ff83b31: Preparing 05:33:33 918589414418: Layer already exists 05:33:33 60ccae4193de: Layer already exists 05:33:33 6aa172d90540: Layer already exists 05:33:33 f1417ff83b31: Layer already exists 05:33:33 c889bad817be: Layer already exists 05:33:33 3.0.0-dev.40: digest: sha256:5163cc35f02a245ea5ea1398392d6788044fd42b760b60d86d5c41d5d598a50a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:33 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe-3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:34 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe-3.0.0-dev.40 05:33:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:33:34 60ccae4193de: Preparing 05:33:34 918589414418: Preparing 05:33:34 6aa172d90540: Preparing 05:33:34 c889bad817be: Preparing 05:33:34 f1417ff83b31: Preparing 05:33:34 918589414418: Layer already exists 05:33:34 60ccae4193de: Layer already exists 05:33:34 c889bad817be: Layer already exists 05:33:34 f1417ff83b31: Layer already exists 05:33:34 6aa172d90540: Layer already exists 05:33:34 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe-3.0.0-dev.40: digest: sha256:5163cc35f02a245ea5ea1398392d6788044fd42b760b60d86d5c41d5d598a50a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:34 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:34 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 05:33:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:33:34 60ccae4193de: Preparing 05:33:34 918589414418: Preparing 05:33:34 6aa172d90540: Preparing 05:33:34 c889bad817be: Preparing 05:33:34 f1417ff83b31: Preparing 05:33:34 918589414418: Layer already exists 05:33:34 f1417ff83b31: Layer already exists 05:33:34 60ccae4193de: Layer already exists 05:33:34 c889bad817be: Layer already exists 05:33:34 6aa172d90540: Layer already exists 05:33:34 main: digest: sha256:5163cc35f02a245ea5ea1398392d6788044fd42b760b60d86d5c41d5d598a50a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:33:34 ===================================================== [Pipeline] echo 05:33:34 taggedImages: 05:33:34 - nexus3.edgexfoundry.org:10004/device-virtual:2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe 05:33:34 - nexus3.edgexfoundry.org:10004/device-virtual:latest 05:33:34 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.40 05:33:34 - nexus3.edgexfoundry.org:10004/device-virtual:2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe-3.0.0-dev.40 05:33:34 - 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 05:33:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:33:35 05:33:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:33:35 latest: Pulling from edgex-lftools-log-publisher 05:33:35 5eb5b503b376: Pulling fs layer 05:33:35 5c69ac0246d0: Pulling fs layer 05:33:35 ec43610c2a17: Pulling fs layer 05:33:35 3a2ae6a8a46f: Pulling fs layer 05:33:35 33b1e0a273af: Pulling fs layer 05:33:35 5d3b04190fa2: Pulling fs layer 05:33:35 2f39f015ded8: Pulling fs layer 05:33:35 33b1e0a273af: Waiting 05:33:35 5d3b04190fa2: Waiting 05:33:35 2f39f015ded8: Waiting 05:33:35 3a2ae6a8a46f: Waiting 05:33:35 5c69ac0246d0: Verifying Checksum 05:33:35 5c69ac0246d0: Download complete 05:33:35 3a2ae6a8a46f: Verifying Checksum 05:33:35 3a2ae6a8a46f: Download complete 05:33:35 33b1e0a273af: Verifying Checksum 05:33:35 33b1e0a273af: Download complete 05:33:35 5d3b04190fa2: Download complete 05:33:35 ec43610c2a17: Verifying Checksum 05:33:35 ec43610c2a17: Download complete 05:33:35 5eb5b503b376: Verifying Checksum 05:33:35 5eb5b503b376: Download complete 05:33:36 2f39f015ded8: Verifying Checksum 05:33:36 2f39f015ded8: Download complete 05:33:36 5eb5b503b376: Pull complete 05:33:36 5c69ac0246d0: Pull complete 05:33:37 ec43610c2a17: Pull complete 05:33:37 3a2ae6a8a46f: Pull complete 05:33:37 33b1e0a273af: Pull complete 05:33:37 5d3b04190fa2: Pull complete 05:33:41 2f39f015ded8: Pull complete 05:33:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:33:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:33:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:33:41 prd-ubuntu20.04-docker-8c-8g-14464 does not seem to be running inside a container 05:33:41 $ 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 05:33:43 $ docker top 0255db7c920cb47cd7174f9b029639b0d812331614ddbd3097534223e9d7b95a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:33:43 ---> job-cost.sh 05:33:43 lf-activate-venv: SKIPPING 05:33:43 INFO: No Stack... 05:33:43 INFO: Retrieving Pricing Info for: v3-standard-8 05:33:44 INFO: Archiving Costs [Pipeline] sh 05:33:44 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 05:33:44 + cut -d, -f6 [Pipeline] lock 05:33:44 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-112-stack-cost] 05:33:44 Resource [jenkins-edgexfoundry-device-virtual-go-main-112-stack-cost] did not exist. Created. 05:33:44 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-112-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:33:44 + echo total: 0.2199999988079071 [Pipeline] stash 05:33:44 Stashed 1 file(s) [Pipeline] } 05:33:45 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-112-stack-cost] [Pipeline] // lock [Pipeline] } 05:33:45 $ docker stop --time=1 0255db7c920cb47cd7174f9b029639b0d812331614ddbd3097534223e9d7b95a 05:33:46 $ docker rm -f --volumes 0255db7c920cb47cd7174f9b029639b0d812331614ddbd3097534223e9d7b95a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:35:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14470 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 05:35:01 Running in /w/workspace/device-virtual-go/112 [Pipeline] { [Pipeline] checkout 05:35:01 The recommended git tool is: git 05:35:07 using credential edgex-jenkins-ssh 05:35:08 Cloning the remote Git repository 05:35:08 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:35:08 > git init /w/workspace/device-virtual-go/112 # timeout=10 05:35:08 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:35:08 > git --version # timeout=10 05:35:08 > git --version # 'git version 2.25.1' 05:35:08 using GIT_SSH to set credentials SSH Credentials for GitHub 05:35:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:35:11 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:35:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:35:12 Avoid second fetch 05:35:12 Checking out Revision 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe (main) 05:35:12 Commit message: "Merge pull request #399 from jumpingliu/ignore-go-mods" 05:35:12 > git config core.sparsecheckout # timeout=10 05:35:12 > git checkout -f 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:35:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:35:13 % Total % Received % Xferd Average Speed Time Time Time Current 05:35:13 Dload Upload Total Spent Left Speed 05:35:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 05:35:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:35:14 + sudo tee /etc/docker/daemon.new 05:35:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:35:14 { 05:35:14 "registry-mirrors": [ 05:35:14 "https://nexus3.edgexfoundry.org:10001" 05:35:14 ], 05:35:14 "bip": "10.250.0.254/24", 05:35:14 "hosts": [ 05:35:14 "tcp://0.0.0.0:5555", 05:35:14 "unix:///var/run/docker.sock" 05:35:14 ], 05:35:14 "mtu": 1458, 05:35:14 "selinux-enabled": true, 05:35:14 "seccomp-profile": "/etc/docker/seccomp.json" 05:35:14 } [Pipeline] sh 05:35:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:35:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:35:33 provisioning config files... 05:35:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/112@tmp/config12122837863601563191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:35:34 ---> docker-login.sh 05:35:34 nexus3.edgexfoundry.org:10001 05:35:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:35:35 Configure a credential helper to remove this warning. See 05:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:35:35 05:35:35 Login Succeeded 05:35:35 nexus3.edgexfoundry.org:10002 05:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:35:35 Configure a credential helper to remove this warning. See 05:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:35:35 05:35:35 Login Succeeded 05:35:35 nexus3.edgexfoundry.org:10003 05:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:35:35 Configure a credential helper to remove this warning. See 05:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:35:35 05:35:35 Login Succeeded 05:35:35 nexus3.edgexfoundry.org:10004 05:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:35:36 Configure a credential helper to remove this warning. See 05:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:35:36 05:35:36 Login Succeeded 05:35:36 docker.io 05:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:35:36 Configure a credential helper to remove this warning. See 05:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:35:36 05:35:36 Login Succeeded 05:35:36 ---> docker-login.sh ends [Pipeline] } 05:35:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:35:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:35:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:35:37 ========================================================= 05:35:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:35:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:35:37 + 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 . 05:35:38 Sending build context to Docker daemon 11.96MB 05:35:38 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 05:35:38 Step 2/12 : FROM ${BASE} AS builder 05:35:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:35:38 c41833b44d91: Pulling fs layer 05:35:38 ed15518f5707: Pulling fs layer 05:35:38 feae8fd75edb: Pulling fs layer 05:35:38 242c74f7c9fa: Pulling fs layer 05:35:38 3cdef696dda3: Pulling fs layer 05:35:38 2ced38df9373: Pulling fs layer 05:35:38 58f1dce35555: Pulling fs layer 05:35:38 242c74f7c9fa: Waiting 05:35:38 3cdef696dda3: Waiting 05:35:38 2ced38df9373: Waiting 05:35:38 58f1dce35555: Waiting 05:35:38 ed15518f5707: Download complete 05:35:38 242c74f7c9fa: Verifying Checksum 05:35:38 242c74f7c9fa: Download complete 05:35:38 3cdef696dda3: Verifying Checksum 05:35:38 3cdef696dda3: Download complete 05:35:38 c41833b44d91: Verifying Checksum 05:35:39 c41833b44d91: Pull complete 05:35:39 58f1dce35555: Verifying Checksum 05:35:39 58f1dce35555: Download complete 05:35:40 ed15518f5707: Pull complete 05:35:41 feae8fd75edb: Verifying Checksum 05:35:41 feae8fd75edb: Download complete 05:35:41 2ced38df9373: Verifying Checksum 05:35:41 2ced38df9373: Download complete 05:35:53 feae8fd75edb: Pull complete 05:35:53 242c74f7c9fa: Pull complete 05:35:53 3cdef696dda3: Pull complete 05:36:02 2ced38df9373: Pull complete 05:36:03 58f1dce35555: Pull complete 05:36:03 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 05:36:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:36:03 ---> fadd8f120f05 05:36:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:36:06 ---> Running in 859b99c8482a 05:36:06 Removing intermediate container 859b99c8482a 05:36:06 ---> f66acf4208be 05:36:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:36:06 ---> Running in c71a02dbac84 05:36:06 Removing intermediate container c71a02dbac84 05:36:06 ---> ed412ec98cb4 05:36:06 Step 5/12 : ARG ADD_BUILD_TAGS="" 05:36:06 ---> Running in a7adf5d33a0e 05:36:06 Removing intermediate container a7adf5d33a0e 05:36:06 ---> ae69d9d1aa43 05:36:06 Step 6/12 : WORKDIR /device-virtual-go 05:36:06 ---> Running in 47449786297a 05:36:07 Removing intermediate container 47449786297a 05:36:07 ---> 31090a42a575 05:36:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:36:07 ---> Running in cce1c70aa1dc 05:36:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:36:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:36:11 (1/4) Installing openssh-keygen (9.1_p1-r2) 05:36:11 (2/4) Installing libedit (20221030.3.1-r0) 05:36:11 (3/4) Installing openssh-client-common (9.1_p1-r2) 05:36:11 (4/4) Installing openssh-client-default (9.1_p1-r2) 05:36:11 Executing busybox-1.35.0-r29.trigger 05:36:11 OK: 268 MiB in 57 packages 05:36:13 Removing intermediate container cce1c70aa1dc 05:36:13 ---> 98e8f3ab60fb 05:36:13 Step 8/12 : COPY go.mod vendor* ./ 05:36:13 ---> ecba787a123b 05:36:13 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:36:14 ---> Running in 6e301de73db4 05:37:22 Removing intermediate container 6e301de73db4 05:37:22 ---> 4274923f205e 05:37:22 Step 10/12 : COPY . . 05:37:22 ---> e6cec70be487 05:37:22 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:37:22 ---> Running in 28f1016bc7b7 05:37:22 Removing intermediate container 28f1016bc7b7 05:37:22 ---> e2b7ad6ea07d 05:37:22 Step 12/12 : RUN $MAKE 05:37:22 ---> Running in 73530f2512b6 05:37:24 noop 05:37:24 Removing intermediate container 73530f2512b6 05:37:24 ---> e6f3809e397c 05:37:24 Successfully built e6f3809e397c 05:37:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:24 + docker inspect -f . ci-base-image-arm64 05:37:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:25 prd-ubuntu20.04-docker-arm64-4c-16g-14470 does not seem to be running inside a container 05:37:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/112 -v /w/workspace/device-virtual-go/112:/w/workspace/device-virtual-go/112:rw,z -v /w/workspace/device-virtual-go/112@tmp:/w/workspace/device-virtual-go/112@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:37:26 $ docker top 962c1080a4302ad428e78205f381c8715e26dda9c65ec59f7f5a25f2c4ccb5ad -eo pid,comm [Pipeline] { [Pipeline] sh 05:37:27 + go version 05:37:27 go version go1.20.2 linux/arm64 [Pipeline] } 05:37:27 $ docker stop --time=1 962c1080a4302ad428e78205f381c8715e26dda9c65ec59f7f5a25f2c4ccb5ad 05:37:29 $ docker rm -f --volumes 962c1080a4302ad428e78205f381c8715e26dda9c65ec59f7f5a25f2c4ccb5ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:29 + docker inspect -f . ci-base-image-arm64 05:37:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:29 prd-ubuntu20.04-docker-arm64-4c-16g-14470 does not seem to be running inside a container 05:37: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/112 -v /w/workspace/device-virtual-go/112:/w/workspace/device-virtual-go/112:rw,z -v /w/workspace/device-virtual-go/112@tmp:/w/workspace/device-virtual-go/112@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:37:31 $ docker top 4889d3b41a938c3504e22899ac4e54b4a73b1164cb6a62d9439611532a35816a -eo pid,comm [Pipeline] { [Pipeline] sh 05:37:32 + git config --global --add safe.directory /w/workspace/device-virtual-go/112 [Pipeline] fileExists [Pipeline] sh 05:37:32 + make test 05:37:32 go test ./... -coverprofile=coverage.out 05:38:11 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:40:33 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:40:33 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.103s coverage: 58.4% of statements 05:40:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:40:33 go vet ./... 05:41:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:41:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:41:06 ./bin/test-attribution-txt.sh [Pipeline] echo 05:41:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:41:06 $ docker stop --time=1 4889d3b41a938c3504e22899ac4e54b4a73b1164cb6a62d9439611532a35816a 05:41:08 $ docker rm -f --volumes 4889d3b41a938c3504e22899ac4e54b4a73b1164cb6a62d9439611532a35816a [Pipeline] // withDockerContainer [Pipeline] sh 05:41:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:41:09 Warning: overwriting stash ‘coverage-report’ 05:41:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:41:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:41:11 + ls -al . 05:41:11 total 188 05:41:11 drwxrwxr-x 8 jenkins jenkins 4096 May 8 05:37 . 05:41:11 drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:35 .. 05:41:11 drwxrwxr-x 8 jenkins jenkins 4096 May 8 05:35 .git 05:41:11 drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:35 .github 05:41:11 -rw-rw-r-- 1 jenkins jenkins 337 May 8 05:35 .gitignore 05:41:11 -rw-rw-r-- 1 jenkins jenkins 41 May 8 05:35 .golangci.yml 05:41:11 -rw-rw-r-- 1 jenkins jenkins 8652 May 8 05:35 Attribution.txt 05:41:11 -rw-rw-r-- 1 jenkins jenkins 11367 May 8 05:35 CHANGELOG.md 05:41:11 -rw-rw-r-- 1 jenkins jenkins 1646 May 8 05:35 Dockerfile 05:41:11 -rw-rw-r-- 1 jenkins jenkins 677 May 8 05:35 GOVERNANCE.md 05:41:11 -rw-rw-r-- 1 jenkins jenkins 660 May 8 05:35 Jenkinsfile 05:41:11 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 05:35 LICENSE 05:41:11 -rw-rw-r-- 1 jenkins jenkins 1696 May 8 05:35 Makefile 05:41:11 -rw-rw-r-- 1 jenkins jenkins 623 May 8 05:35 OWNERS.md 05:41:11 -rw-rw-r-- 1 jenkins jenkins 3578 May 8 05:35 README.md 05:41:11 -rw-rw-r-- 1 jenkins jenkins 12 May 8 05:32 VERSION 05:41:11 drwxrwxr-x 2 jenkins jenkins 4096 May 8 05:35 bin 05:41:11 drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:35 cmd 05:41:11 -rw-r--r-- 1 jenkins jenkins 43063 May 8 05:40 coverage.out 05:41:11 -rw-rw-r-- 1 jenkins jenkins 3209 May 8 05:35 go.mod 05:41:11 -rw-rw-r-- 1 jenkins jenkins 30994 May 8 05:35 go.sum 05:41:11 drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:35 internal 05:41:11 drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:35 snap 05:41:11 -rw-rw-r-- 1 jenkins jenkins 235 May 8 05:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:11 + 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=2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe --label arch=arm64 --label version=3.0.0-dev.40 . 05:41:12 Sending build context to Docker daemon 12MB 05:41:12 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 05:41:12 Step 2/25 : FROM ${BASE} AS builder 05:41:12 ---> e6f3809e397c 05:41:12 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:41:12 ---> Running in 3f254e10fce4 05:41:12 Removing intermediate container 3f254e10fce4 05:41:12 ---> 5ec73517777b 05:41:12 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 05:41:12 ---> Running in 1af92d0e3a5d 05:41:12 Removing intermediate container 1af92d0e3a5d 05:41:12 ---> c6f901ce878a 05:41:12 Step 5/25 : ARG ADD_BUILD_TAGS="" 05:41:12 ---> Running in ca3105bd3d5a 05:41:13 Removing intermediate container ca3105bd3d5a 05:41:13 ---> 7661dc40bd73 05:41:13 Step 6/25 : WORKDIR /device-virtual-go 05:41:13 ---> Running in 419c3f531d08 05:41:13 Removing intermediate container 419c3f531d08 05:41:13 ---> a6014ed042c7 05:41:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:41:13 ---> Running in 0e9452991b29 05:41:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:41:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:41:17 OK: 268 MiB in 57 packages 05:41:18 Removing intermediate container 0e9452991b29 05:41:18 ---> 9a626bc3fecd 05:41:18 Step 8/25 : COPY go.mod vendor* ./ 05:41:18 ---> f411f067dca8 05:41:18 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:41:18 ---> Running in 489fa6c4f8ad 05:41:24 Removing intermediate container 489fa6c4f8ad 05:41:24 ---> dbb2906f53d5 05:41:24 Step 10/25 : COPY . . 05:41:24 ---> 759a3ffeeb79 05:41:24 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:41:24 ---> Running in 1493da5efab2 05:41:25 Removing intermediate container 1493da5efab2 05:41:25 ---> 91b1a430c2f1 05:41:25 Step 12/25 : RUN $MAKE 05:41:25 ---> Running in 048faa9e65e5 05:41:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.40" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 05:44:03 Removing intermediate container 048faa9e65e5 05:44:03 ---> 75cbd9eb67e6 05:44:03 Step 13/25 : FROM alpine:3.17 05:44:03 3.17: Pulling from library/alpine 05:44:03 c41833b44d91: Already exists 05:44:03 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:44:03 Status: Downloaded newer image for alpine:3.17 05:44:03 ---> 51e60588ff2c 05:44:03 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:44:03 ---> Running in efa9d7291349 05:44:03 Removing intermediate container efa9d7291349 05:44:03 ---> 1ea40b165062 05:44:03 Step 15/25 : RUN apk add --update --no-cache dumb-init 05:44:03 ---> Running in 677370d184d3 05:44:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:44:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:44:03 (1/1) Installing dumb-init (1.2.5-r2) 05:44:03 Executing busybox-1.35.0-r29.trigger 05:44:03 OK: 8 MiB in 16 packages 05:44:05 Removing intermediate container 677370d184d3 05:44:05 ---> 32c090cefc01 05:44:05 Step 16/25 : WORKDIR / 05:44:05 ---> Running in 30f1c4658e8e 05:44:05 Removing intermediate container 30f1c4658e8e 05:44:05 ---> 884512be7c21 05:44:05 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:44:06 ---> 9044a8125586 05:44:06 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 05:44:06 ---> 0008ee9affc9 05:44:06 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 05:44:08 ---> a9eb023d6ed3 05:44:08 Step 20/25 : EXPOSE 59900 05:44:08 ---> Running in c488ca8d1a43 05:44:08 Removing intermediate container c488ca8d1a43 05:44:08 ---> 25bf019bdbc3 05:44:08 Step 21/25 : ENTRYPOINT ["/device-virtual"] 05:44:09 ---> Running in 0e0a0f649952 05:44:09 Removing intermediate container 0e0a0f649952 05:44:09 ---> 0f0509ad7396 05:44:09 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:44:09 ---> Running in a46b8c51fe87 05:44:09 Removing intermediate container a46b8c51fe87 05:44:09 ---> a3cf0d1b5608 05:44:09 Step 23/25 : LABEL arch=arm64 05:44:09 ---> Running in 9400de71a2ce 05:44:10 Removing intermediate container 9400de71a2ce 05:44:10 ---> 9d813d22e570 05:44:10 Step 24/25 : LABEL git_sha=2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe 05:44:10 ---> Running in 5b4ea2e4999a 05:44:10 Removing intermediate container 5b4ea2e4999a 05:44:10 ---> 075f703d6e92 05:44:10 Step 25/25 : LABEL version=3.0.0-dev.40 05:44:10 ---> Running in 5044c7d2b67d 05:44:11 Removing intermediate container 5044c7d2b67d 05:44:11 ---> 17f6ee0c8b60 05:44:11 [Warning] One or more build-args [ARCH] were not consumed 05:44:11 Successfully built 17f6ee0c8b60 05:44:11 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 05:44:11 provisioning config files... 05:44:11 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/112@tmp/config1184302529901248073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:11 ---> docker-login.sh 05:44:11 nexus3.edgexfoundry.org:10001 05:44:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:11 Configure a credential helper to remove this warning. See 05:44:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:11 05:44:11 Login Succeeded 05:44:11 nexus3.edgexfoundry.org:10002 05:44:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:12 Configure a credential helper to remove this warning. See 05:44:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:12 05:44:12 Login Succeeded 05:44:12 nexus3.edgexfoundry.org:10003 05:44:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:12 Configure a credential helper to remove this warning. See 05:44:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:12 05:44:12 Login Succeeded 05:44:12 nexus3.edgexfoundry.org:10004 05:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:13 Configure a credential helper to remove this warning. See 05:44:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:13 05:44:13 Login Succeeded 05:44:13 docker.io 05:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:13 Configure a credential helper to remove this warning. See 05:44:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:13 05:44:13 Login Succeeded 05:44:13 ---> docker-login.sh ends [Pipeline] } 05:44:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:44:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:44:13 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 05:44:13 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe 05:44:13 latest 05:44:13 3.0.0-dev.40 05:44:13 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe-3.0.0-dev.40 05:44:13 main 05:44:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:14 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe 05:44:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:44:14 ee628f30b3ea: Preparing 05:44:14 d769d679cca9: Preparing 05:44:14 455795170721: Preparing 05:44:14 233fffc37512: Preparing 05:44:14 26cbea5cba74: Preparing 05:44:14 26cbea5cba74: Layer already exists 05:44:15 d769d679cca9: Pushed 05:44:15 455795170721: Pushed 05:44:15 233fffc37512: Pushed 05:44:21 ee628f30b3ea: Pushed 05:44:21 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe: digest: sha256:b490b6e355de997bc58a7db1d4c1b791642d7f082f7fd1806ac9931295633d79 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:22 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:22 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 05:44:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:44:22 ee628f30b3ea: Preparing 05:44:22 d769d679cca9: Preparing 05:44:22 455795170721: Preparing 05:44:22 233fffc37512: Preparing 05:44:22 26cbea5cba74: Preparing 05:44:22 233fffc37512: Layer already exists 05:44:22 455795170721: Layer already exists 05:44:22 26cbea5cba74: Layer already exists 05:44:22 d769d679cca9: Layer already exists 05:44:22 ee628f30b3ea: Layer already exists 05:44:22 latest: digest: sha256:b490b6e355de997bc58a7db1d4c1b791642d7f082f7fd1806ac9931295633d79 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:23 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:23 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.40 05:44:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:44:23 ee628f30b3ea: Preparing 05:44:23 d769d679cca9: Preparing 05:44:23 455795170721: Preparing 05:44:23 233fffc37512: Preparing 05:44:23 26cbea5cba74: Preparing 05:44:23 26cbea5cba74: Layer already exists 05:44:23 455795170721: Layer already exists 05:44:23 d769d679cca9: Layer already exists 05:44:23 233fffc37512: Layer already exists 05:44:23 ee628f30b3ea: Layer already exists 05:44:23 3.0.0-dev.40: digest: sha256:b490b6e355de997bc58a7db1d4c1b791642d7f082f7fd1806ac9931295633d79 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:24 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe-3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:24 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe-3.0.0-dev.40 05:44:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:44:24 ee628f30b3ea: Preparing 05:44:24 d769d679cca9: Preparing 05:44:24 455795170721: Preparing 05:44:24 233fffc37512: Preparing 05:44:24 26cbea5cba74: Preparing 05:44:24 233fffc37512: Layer already exists 05:44:24 26cbea5cba74: Layer already exists 05:44:24 ee628f30b3ea: Layer already exists 05:44:24 455795170721: Layer already exists 05:44:24 d769d679cca9: Layer already exists 05:44:24 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe-3.0.0-dev.40: digest: sha256:b490b6e355de997bc58a7db1d4c1b791642d7f082f7fd1806ac9931295633d79 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:25 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 05:44:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:44:25 ee628f30b3ea: Preparing 05:44:25 d769d679cca9: Preparing 05:44:25 455795170721: Preparing 05:44:25 233fffc37512: Preparing 05:44:25 26cbea5cba74: Preparing 05:44:25 26cbea5cba74: Layer already exists 05:44:25 ee628f30b3ea: Layer already exists 05:44:25 d769d679cca9: Layer already exists 05:44:25 455795170721: Layer already exists 05:44:25 233fffc37512: Layer already exists 05:44:25 main: digest: sha256:b490b6e355de997bc58a7db1d4c1b791642d7f082f7fd1806ac9931295633d79 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:44:25 ===================================================== [Pipeline] echo 05:44:25 taggedImages: 05:44:25 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe 05:44:25 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 05:44:25 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.40 05:44:25 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe-3.0.0-dev.40 05:44:25 - 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 05:44:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:44:26 05:44:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:44:26 arm64: Pulling from edgex-lftools-log-publisher 05:44:26 8998bd30e6a1: Pulling fs layer 05:44:26 04944245beec: Pulling fs layer 05:44:26 699f458cf7ca: Pulling fs layer 05:44:26 765212b225bb: Pulling fs layer 05:44:26 f23df028b6ca: Pulling fs layer 05:44:26 d65c8cfc05b1: Pulling fs layer 05:44:26 2437ff75d9bd: Pulling fs layer 05:44:26 f23df028b6ca: Waiting 05:44:26 d65c8cfc05b1: Waiting 05:44:26 2437ff75d9bd: Waiting 05:44:26 765212b225bb: Waiting 05:44:26 04944245beec: Download complete 05:44:26 765212b225bb: Verifying Checksum 05:44:26 765212b225bb: Download complete 05:44:26 f23df028b6ca: Verifying Checksum 05:44:26 f23df028b6ca: Download complete 05:44:26 d65c8cfc05b1: Verifying Checksum 05:44:26 d65c8cfc05b1: Download complete 05:44:26 699f458cf7ca: Verifying Checksum 05:44:26 699f458cf7ca: Download complete 05:44:27 8998bd30e6a1: Verifying Checksum 05:44:27 8998bd30e6a1: Download complete 05:44:29 2437ff75d9bd: Verifying Checksum 05:44:29 2437ff75d9bd: Download complete 05:44:32 8998bd30e6a1: Pull complete 05:44:32 04944245beec: Pull complete 05:44:33 699f458cf7ca: Pull complete 05:44:34 765212b225bb: Pull complete 05:44:35 f23df028b6ca: Pull complete 05:44:35 d65c8cfc05b1: Pull complete 05:44:50 2437ff75d9bd: Pull complete 05:44:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:44:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:44:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:50 prd-ubuntu20.04-docker-arm64-4c-16g-14470 does not seem to be running inside a container 05:44:50 $ 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/112 -v /w/workspace/device-virtual-go/112:/w/workspace/device-virtual-go/112:rw,z -v /w/workspace/device-virtual-go/112@tmp:/w/workspace/device-virtual-go/112@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:44:53 $ docker top c8df9c6b3acf9ad893610bf359e70d31a00c5150bcd3c321047e0a2cb31692c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:54 ---> job-cost.sh 05:44:54 lf-activate-venv: SKIPPING 05:44:54 INFO: No Stack... 05:44:54 INFO: Retrieving Pricing Info for: v3-standard-4 05:44:55 INFO: Archiving Costs [Pipeline] sh 05:44:56 + cat /w/workspace/device-virtual-go/112/archives/cost.csv 05:44:56 + cut -d, -f6 [Pipeline] lock 05:44:56 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-112-stack-cost] 05:44:56 Resource [jenkins-edgexfoundry-device-virtual-go-main-112-stack-cost] did not exist. Created. 05:44:56 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-112-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:44:57 /w/workspace/device-virtual-go/112@tmp/durable-97c32c39/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:44:57 + echo total: 0.10999999940395355 [Pipeline] stash 05:44:57 Warning: overwriting stash ‘stack-cost’ 05:44:57 Stashed 1 file(s) [Pipeline] } 05:44:57 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-112-stack-cost] [Pipeline] // lock [Pipeline] } 05:44:57 $ docker stop --time=1 c8df9c6b3acf9ad893610bf359e70d31a00c5150bcd3c321047e0a2cb31692c2 05:45:00 $ docker rm -f --volumes c8df9c6b3acf9ad893610bf359e70d31a00c5150bcd3c321047e0a2cb31692c2 [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 05:45:00 provisioning config files... 05:45:00 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5856221506609753942tmp [Pipeline] { [Pipeline] sh 05:45:01 + set +x 05:45:01 + + bashcurl -s -s -- https://codecov.io/bash 05:45:01 05:45:01 05:45:01 _____ _ 05:45:01 / ____| | | 05:45:01 | | ___ __| | ___ ___ _____ __ 05:45:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:45:01 | |___| (_) | (_| | __/ (_| (_) \ V / 05:45:01 \_____\___/ \__,_|\___|\___\___/ \_/ 05:45:01 Bash-1.0.6 05:45:01 05:45:01 05:45:01 ==> git version 2.25.1 found 05:45:01 ==> 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 05:45:01 Release-Date: 2020-01-08 05:45:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:45:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:45:01 ==> Jenkins CI detected. 05:45:01 current dir:  /w/workspace/exfoundry_device-virtual-go_main 05:45:01 project root: . 05:45:01 --> token set from env 05:45:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:45:01 ==> Running gcov in . (disable via -X gcov) 05:45:01 ==> Python coveragepy not found 05:45:01 ==> Searching for coverage reports in: 05:45:01 + . 05:45:01 -> Found 1 reports 05:45:01 ==> Detecting git/mercurial file structure 05:45:01 ==> Reading reports 05:45:01 + ./coverage.out bytes=43063 05:45:01 ==> Appending adjustments 05:45:01 https://docs.codecov.io/docs/fixing-reports 05:45:01 + Found adjustments 05:45:01 ==> Gzipping contents 05:45:01 8.0K /tmp/codecov.uRkFue.gz 05:45:01 ==> Uploading reports 05:45:01 url: https://codecov.io 05:45:01 query: branch=main&commit=2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe&build=112&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F112%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:45:01 -> Pinging Codecov 05:45:01 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=2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe&build=112&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F112%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:45:01 -> Uploading to 05:45:01 https://storage.googleapis.com/codecov/v4/raw/2023-05-08/5E52B4B073DB2E39498172D8E973AA87/2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe/4a52bde7-1f59-45c2-869e-2cbbd37b3f47.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T054501Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=29383983a3eb52aca88f77b9aa1f6fd36162e80b58d39113d3f7892d796eb0e1 05:45:01 % Total % Received % Xferd Average Speed Time Time Time Current 05:45:01 Dload Upload Total Spent Left Speed 05:45:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 25411 --:--:-- --:--:-- --:--:-- 25411 100 5184 0 0 100 5184 0 23563 --:--:-- --:--:-- --:--:-- 23457 05:45:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe [Pipeline] } 05:45:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:45:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:45:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:45:02 05:45:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:45:02 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:45:02 df9b9388f04a: Pulling fs layer 05:45:02 52dc419b0ee2: Pulling fs layer 05:45:02 25bc292e5bac: Pulling fs layer 05:45:02 114826534d7a: Pulling fs layer 05:45:02 4657fd5d0bcf: Pulling fs layer 05:45:02 6ad1cebc031e: Pulling fs layer 05:45:02 8a3aa393b2d8: Pulling fs layer 05:45:02 4657fd5d0bcf: Waiting 05:45:02 6ad1cebc031e: Waiting 05:45:02 8a3aa393b2d8: Waiting 05:45:02 114826534d7a: Waiting 05:45:02 25bc292e5bac: Verifying Checksum 05:45:02 25bc292e5bac: Download complete 05:45:02 52dc419b0ee2: Download complete 05:45:02 4657fd5d0bcf: Verifying Checksum 05:45:02 4657fd5d0bcf: Download complete 05:45:02 df9b9388f04a: Verifying Checksum 05:45:02 df9b9388f04a: Download complete 05:45:02 df9b9388f04a: Pull complete 05:45:02 6ad1cebc031e: Verifying Checksum 05:45:02 6ad1cebc031e: Download complete 05:45:02 52dc419b0ee2: Pull complete 05:45:02 25bc292e5bac: Pull complete 05:45:03 114826534d7a: Download complete 05:45:03 8a3aa393b2d8: Verifying Checksum 05:45:03 8a3aa393b2d8: Download complete 05:45:06 114826534d7a: Pull complete 05:45:06 4657fd5d0bcf: Pull complete 05:45:06 6ad1cebc031e: Pull complete 05:45:09 8a3aa393b2d8: Pull complete 05:45:09 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:45:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:45:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:09 prd-ubuntu20.04-docker-8c-8g-14464 does not seem to be running inside a container 05:45:09 $ 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 05:45:10 $ docker top 4d0397657c1563097e3d6677452bcec4907d424ce7d61941e5788421872deee2 -eo pid,comm [Pipeline] { [Pipeline] echo 05:45:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 05:45:11 + set -o pipefail 05:45:11 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 05:45:15 05:45:15 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 05:45:15 05:45:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/fda997b1-eb47-46f0-8297-0468defe3995 05:45:15 05:45:15 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 05:45:15 05:45:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:45:15 05:45:15 05:45:15 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:45:15 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:45:15 More details here: https://snyk.co/ue1NS 05:45:15 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 05:45:15 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:45:15 $ docker stop --time=1 4d0397657c1563097e3d6677452bcec4907d424ce7d61941e5788421872deee2 05:45:17 $ docker rm -f --volumes 4d0397657c1563097e3d6677452bcec4907d424ce7d61941e5788421872deee2 [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 05:45:18 + git log --format=format:%s -1 2e23a12e0a74c9da369b3c9696f9984d6c9ef0fe [Pipeline] sh 05:45:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:45:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:45:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:19 prd-ubuntu20.04-docker-8c-8g-14464 does not seem to be running inside a container 05:45:19 $ 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 05:45:19 $ docker top 82902241144ab42221dcbebe44ecbc41083cebe39053fd20fa8a1c60e94aa7e3 -eo pid,comm 05:45:19 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). 05:45:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:19 [ssh-agent] Looking for ssh-agent implementation... 05:45:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:19 $ docker exec 82902241144ab42221dcbebe44ecbc41083cebe39053fd20fa8a1c60e94aa7e3 ssh-agent 05:45:19 SSH_AUTH_SOCK=/tmp/ssh-vkgR2gYdIzDE/agent.32 05:45:19 SSH_AGENT_PID=38 05:45:19 Running ssh-add (command line suppressed) 05:45:19 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3512766856249266887.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3512766856249266887.key) 05:45:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:20 + git semver tag 05:45:20 2023-05-08 05:45:20,361 [run_tag] DEBUG tag force:False 05:45:20 2023-05-08 05:45:20,361 [check_head_tag] DEBUG check head tag 05:45:20 2023-05-08 05:45:20,362 [execute] INFO git cat-file --batch-check 05:45:20 2023-05-08 05:45:20,362 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 05:45:20 2023-05-08 05:45:20,366 [execute] INFO git cat-file --batch 05:45:20 2023-05-08 05:45:20,366 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 05:45:20 2023-05-08 05:45:20,393 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 05:45:20 2023-05-08 05:45:20,393 [execute] INFO git tag -a v3.0.0-dev.40 -m v3.0.0-dev.40 05:45:20 2023-05-08 05:45:20,394 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.40', '-m', 'v3.0.0-dev.40'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 05:45:20 2023-05-08 05:45:20,399 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 05:45:20 3.0.0-dev.40 [Pipeline] } 05:45:20 $ docker exec --env ******** --env ******** 82902241144ab42221dcbebe44ecbc41083cebe39053fd20fa8a1c60e94aa7e3 ssh-agent -k 05:45:20 unset SSH_AUTH_SOCK; 05:45:20 unset SSH_AGENT_PID; 05:45:20 echo Agent pid 38 killed; 05:45:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:20 + git semver [Pipeline] } 05:45:21 $ docker stop --time=1 82902241144ab42221dcbebe44ecbc41083cebe39053fd20fa8a1c60e94aa7e3 05:45:22 $ docker rm -f --volumes 82902241144ab42221dcbebe44ecbc41083cebe39053fd20fa8a1c60e94aa7e3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:45:22 05:45:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:45:23 0.23.1-centos7: Pulling from edgex-lftools 05:45:23 ab5ef0e58194: Pulling fs layer 05:45:23 9712f1f96733: Pulling fs layer 05:45:23 63f879dbbcfc: Pulling fs layer 05:45:23 0d9ebad4ef96: Pulling fs layer 05:45:23 e9a5061849ea: Pulling fs layer 05:45:23 d747dcd14b5f: Pulling fs layer 05:45:23 2de7ff778b66: Pulling fs layer 05:45:23 e9a5061849ea: Waiting 05:45:23 d747dcd14b5f: Waiting 05:45:23 2de7ff778b66: Waiting 05:45:23 9712f1f96733: Verifying Checksum 05:45:23 9712f1f96733: Download complete 05:45:23 63f879dbbcfc: Verifying Checksum 05:45:23 63f879dbbcfc: Download complete 05:45:23 ab5ef0e58194: Verifying Checksum 05:45:23 ab5ef0e58194: Download complete 05:45:23 d747dcd14b5f: Download complete 05:45:23 e9a5061849ea: Verifying Checksum 05:45:23 e9a5061849ea: Download complete 05:45:23 0d9ebad4ef96: Verifying Checksum 05:45:23 0d9ebad4ef96: Download complete 05:45:23 2de7ff778b66: Verifying Checksum 05:45:26 ab5ef0e58194: Pull complete 05:45:26 9712f1f96733: Pull complete 05:45:27 63f879dbbcfc: Pull complete 05:45:30 0d9ebad4ef96: Pull complete 05:45:30 e9a5061849ea: Pull complete 05:45:30 d747dcd14b5f: Pull complete 05:45:31 2de7ff778b66: Pull complete 05:45:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:45:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:45:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:31 prd-ubuntu20.04-docker-8c-8g-14464 does not seem to be running inside a container 05:45:31 $ 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 05:45:33 $ docker top d7b780d04c775632e3cd3f671c2537a8453d75d1f06571ddef6aaaab2d3673b3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:45:33 provisioning config files... 05:45:33 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4279785834333901021tmp 05:45:33 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5105010594865547972tmp 05:45:33 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7638873418388949419tmp [Pipeline] { [Pipeline] echo 05:45:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:45:33 ---> sigul-configuration.sh 05:45:33 gpg: directory `/root/.gnupg' created 05:45:33 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:45:33 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:45:33 gpg: keyring `/root/.gnupg/secring.gpg' created 05:45:33 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:45:33 gpg: CAST5 encrypted data 05:45:33 gpg: encrypted with 1 passphrase 05:45:33 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:45:34 + mkdir /home/jenkins 05:45:34 + mkdir /home/jenkins/sigul [Pipeline] sh 05:45:34 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 05:45:34 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:45:34 ---> sigul-install.sh 05:45:34 Sigul already installed; skipping installation. [Pipeline] sh 05:45:35 + git tag --list 05:45:35 v1.0.0 05:45:35 v1.1.0 05:45:35 v1.1.1 05:45:35 v1.2.1 05:45:35 v1.2.2 05:45:35 v1.2.3 05:45:35 v1.3.0 05:45:35 v1.3.1 05:45:35 v2.0.0 05:45:35 v2.1.0 05:45:35 v2.1.1 05:45:35 v2.1.1-dev.1 05:45:35 v2.1.1-dev.2 05:45:35 v2.2.0 05:45:35 v2.2.1-dev.1 05:45:35 v2.2.1-dev.2 05:45:35 v2.2.1-dev.3 05:45:35 v2.2.1-dev.4 05:45:35 v2.2.1-dev.5 05:45:35 v2.2.1-dev.6 05:45:35 v2.2.1-dev.7 05:45:35 v2.2.1-dev.8 05:45:35 v2.3.0 05:45:35 v2.3.0-dev.10 05:45:35 v2.3.0-dev.11 05:45:35 v2.3.0-dev.12 05:45:35 v2.3.0-dev.13 05:45:35 v2.3.0-dev.14 05:45:35 v2.3.0-dev.15 05:45:35 v2.3.0-dev.16 05:45:35 v2.3.0-dev.17 05:45:35 v2.3.0-dev.18 05:45:35 v2.3.0-dev.19 05:45:35 v2.3.0-dev.20 05:45:35 v2.3.0-dev.21 05:45:35 v2.3.0-dev.22 05:45:35 v2.3.0-dev.23 05:45:35 v2.3.0-dev.24 05:45:35 v2.3.0-dev.25 05:45:35 v2.3.0-dev.26 05:45:35 v2.3.0-dev.27 05:45:35 v2.3.0-dev.28 05:45:35 v2.3.0-dev.29 05:45:35 v2.3.0-dev.30 05:45:35 v2.3.0-dev.8 05:45:35 v2.3.0-dev.9 05:45:35 v3.0.0-dev.1 05:45:35 v3.0.0-dev.10 05:45:35 v3.0.0-dev.11 05:45:35 v3.0.0-dev.12 05:45:35 v3.0.0-dev.13 05:45:35 v3.0.0-dev.14 05:45:35 v3.0.0-dev.15 05:45:35 v3.0.0-dev.16 05:45:35 v3.0.0-dev.17 05:45:35 v3.0.0-dev.18 05:45:35 v3.0.0-dev.19 05:45:35 v3.0.0-dev.2 05:45:35 v3.0.0-dev.20 05:45:35 v3.0.0-dev.21 05:45:35 v3.0.0-dev.22 05:45:35 v3.0.0-dev.23 05:45:35 v3.0.0-dev.24 05:45:35 v3.0.0-dev.25 05:45:35 v3.0.0-dev.26 05:45:35 v3.0.0-dev.27 05:45:35 v3.0.0-dev.28 05:45:35 v3.0.0-dev.29 05:45:35 v3.0.0-dev.3 05:45:35 v3.0.0-dev.30 05:45:35 v3.0.0-dev.31 05:45:35 v3.0.0-dev.32 05:45:35 v3.0.0-dev.33 05:45:35 v3.0.0-dev.34 05:45:35 v3.0.0-dev.35 05:45:35 v3.0.0-dev.36 05:45:35 v3.0.0-dev.37 05:45:35 v3.0.0-dev.38 05:45:35 v3.0.0-dev.39 05:45:35 v3.0.0-dev.4 05:45:35 v3.0.0-dev.40 05:45:35 v3.0.0-dev.5 05:45:35 v3.0.0-dev.6 05:45:35 v3.0.0-dev.7 05:45:35 v3.0.0-dev.8 05:45:35 v3.0.0-dev.9 [Pipeline] sh 05:45:35 + lftools sign git-tag v3.0.0-dev.40 05:45:35 Signing Git tag with Sigul... 05:45:35 Signing v3.0.0-dev.40 [Pipeline] echo 05:45:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:45:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:45:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:45:36 $ docker stop --time=1 d7b780d04c775632e3cd3f671c2537a8453d75d1f06571ddef6aaaab2d3673b3 05:45:37 $ docker rm -f --volumes d7b780d04c775632e3cd3f671c2537a8453d75d1f06571ddef6aaaab2d3673b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:45:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:45:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:45:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:38 prd-ubuntu20.04-docker-8c-8g-14464 does not seem to be running inside a container 05:45:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:45:38 $ docker top 26ca9f77c155e9b9668d068736214b0134bd18ece742f96e514918a5b7683897 -eo pid,comm 05:45:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:45:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:39 [ssh-agent] Looking for ssh-agent implementation... 05:45:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:39 $ docker exec 26ca9f77c155e9b9668d068736214b0134bd18ece742f96e514918a5b7683897 ssh-agent 05:45:39 SSH_AUTH_SOCK=/tmp/ssh-crYnl5ZcyU0G/agent.32 05:45:39 SSH_AGENT_PID=38 05:45:39 Running ssh-add (command line suppressed) 05:45:39 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8715608248812242113.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8715608248812242113.key) 05:45:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:39 + git semver bump pre 05:45:39 2023-05-08 05:45:39,850 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 05:45:39 2023-05-08 05:45:39,850 [bump_version] DEBUG bumping version:3.0.0-dev.40 on axis:pre with prefix:dev 05:45:39 2023-05-08 05:45:39,850 [bump_version] DEBUG bumped version:3.0.0-dev.41 05:45:39 2023-05-08 05:45:39,850 [write_version] DEBUG write version:3.0.0-dev.41 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 05:45:39 2023-05-08 05:45:39,850 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 05:45:39 2023-05-08 05:45:39,851 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 05:45:39 2023-05-08 05:45:39,852 [execute] INFO git cat-file --batch-check 05:45:39 2023-05-08 05:45:39,853 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:45:39 2023-05-08 05:45:39,859 [execute] INFO git cat-file --batch 05:45:39 2023-05-08 05:45:39,859 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:45:39 2023-05-08 05:45:39,865 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 05:45:39 3.0.0-dev.41 [Pipeline] } 05:45:39 $ docker exec --env ******** --env ******** 26ca9f77c155e9b9668d068736214b0134bd18ece742f96e514918a5b7683897 ssh-agent -k 05:45:40 unset SSH_AUTH_SOCK; 05:45:40 unset SSH_AGENT_PID; 05:45:40 echo Agent pid 38 killed; 05:45:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:40 + git semver [Pipeline] } 05:45:40 $ docker stop --time=1 26ca9f77c155e9b9668d068736214b0134bd18ece742f96e514918a5b7683897 05:45:41 $ docker rm -f --volumes 26ca9f77c155e9b9668d068736214b0134bd18ece742f96e514918a5b7683897 [Pipeline] // withDockerContainer [Pipeline] sh 05:45:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:45:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:45:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:42 prd-ubuntu20.04-docker-8c-8g-14464 does not seem to be running inside a container 05:45:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:45:42 $ docker top 8ee7916e7a9929829dcd1fbb3c297b9f00cf341c0529221819d79e211c1d5de7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:43 [ssh-agent] Looking for ssh-agent implementation... 05:45:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:43 $ docker exec 8ee7916e7a9929829dcd1fbb3c297b9f00cf341c0529221819d79e211c1d5de7 ssh-agent 05:45:43 SSH_AUTH_SOCK=/tmp/ssh-1QGa4qXKNPHd/agent.32 05:45:43 SSH_AGENT_PID=38 05:45:43 Running ssh-add (command line suppressed) 05:45:43 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18335836282057391899.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18335836282057391899.key) 05:45:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:43 + git semver push 05:45:43 2023-05-08 05:45:43,906 [run_push] DEBUG push 05:45:43 2023-05-08 05:45:43,906 [execute] INFO git cat-file --batch-check 05:45:43 2023-05-08 05:45:43,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:45:43 2023-05-08 05:45:43,911 [execute] INFO git rev-list 48abb8a8b6d3ad65764cd9d3783e9585a347da57 -- 05:45:43 2023-05-08 05:45:43,911 [execute] DEBUG Popen(['git', 'rev-list', '48abb8a8b6d3ad65764cd9d3783e9585a347da57', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:45:43 2023-05-08 05:45:43,921 [execute] INFO git fetch -v origin 05:45:43 2023-05-08 05:45:43,921 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:45:44 2023-05-08 05:45:44,390 [run_push] DEBUG no remote changes detected 05:45:44 2023-05-08 05:45:44,391 [execute] INFO git push origin semver 05:45:44 2023-05-08 05:45:44,391 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:45:45 2023-05-08 05:45:45,393 [run_push] DEBUG push all version tags 05:45:45 2023-05-08 05:45:45,393 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:45:45 2023-05-08 05:45:45,394 [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) 05:45:46 2023-05-08 05:45:46,147 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 05:45:46 3.0.0-dev.41 [Pipeline] } 05:45:46 $ docker exec --env ******** --env ******** 8ee7916e7a9929829dcd1fbb3c297b9f00cf341c0529221819d79e211c1d5de7 ssh-agent -k 05:45:46 unset SSH_AUTH_SOCK; 05:45:46 unset SSH_AGENT_PID; 05:45:46 echo Agent pid 38 killed; 05:45:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:46 + git semver [Pipeline] } 05:45:47 $ docker stop --time=1 8ee7916e7a9929829dcd1fbb3c297b9f00cf341c0529221819d79e211c1d5de7 05:45:48 $ docker rm -f --volumes 8ee7916e7a9929829dcd1fbb3c297b9f00cf341c0529221819d79e211c1d5de7 [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 05:45:48 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 05:45:48 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 05:45:48 total 16 05:45:48 drwxr-xr-x 3 root root 4096 May 8 05:33 . 05:45:48 drwxrwxr-x 10 jenkins jenkins 4096 May 8 05:45 .. 05:45:48 drwxr-xr-x 2 root root 4096 May 8 05:33 cost 05:45:48 -rw-r--r-- 1 root root 89 May 8 05:33 cost.csv 05:45:48 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 05:45:48 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 05:45:48 total 16 05:45:48 drwxr-xr-x 3 jenkins jenkins 4096 May 8 05:33 . 05:45:48 drwxrwxr-x 10 jenkins jenkins 4096 May 8 05:45 .. 05:45:48 drwxr-xr-x 2 jenkins jenkins 4096 May 8 05:33 cost 05:45:48 -rw-r--r-- 1 jenkins jenkins 89 May 8 05:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:45:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:45:50 ---> package-listing.sh 05:45:50 ++ facter osfamily 05:45:50 ++ tr '[:upper:]' '[:lower:]' 05:45:50 + OS_FAMILY=debian 05:45:50 + workspace=/w/workspace/exfoundry_device-virtual-go_main 05:45:50 + START_PACKAGES=/tmp/packages_start.txt 05:45:50 + END_PACKAGES=/tmp/packages_end.txt 05:45:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:45:50 + PACKAGES=/tmp/packages_start.txt 05:45:50 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 05:45:50 + PACKAGES=/tmp/packages_end.txt 05:45:50 + case "${OS_FAMILY}" in 05:45:50 + dpkg -l 05:45:50 + grep '^ii' 05:45:50 + '[' -f /tmp/packages_start.txt ']' 05:45:50 + '[' -f /tmp/packages_end.txt ']' 05:45:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:45:50 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 05:45:50 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 05:45:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 05:45:50 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 05:45:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:51 prd-ubuntu20.04-docker-8c-8g-14464 does not seem to be running inside a container 05:45:51 $ 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 05:45:51 $ docker top 1f278955032f8b7df8e9f6372595d40f1cc8370c15e0dfd5343638c8fe2c8da5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:45:51 + touch /tmp/pre-build-complete [Pipeline] sh 05:45:52 + mkdir -p /var/log/sysstat [Pipeline] sh 05:45:52 + ls /var/log/sa-host 05:45:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:45:52 provisioning config files... 05:45:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7741074329618068315tmp [Pipeline] { [Pipeline] echo 05:45:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:45:52 ---> create-netrc.sh [Pipeline] } 05:45:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:45:53 ---> python-tools-install.sh [Pipeline] echo 05:45:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:45:53 ---> sudo-logs.sh 05:45:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:45:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:45:53 ---> job-cost.sh 05:45:53 lf-activate-venv: SKIPPING 05:45:53 DEBUG: total: 0.2199999988079071 05:45:53 INFO: Retrieving Stack Cost... 05:45:54 INFO: Retrieving Pricing Info for: v3-standard-8 05:45:54 INFO: Archiving Costs [Pipeline] echo 05:45:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:45:55 ---> logs-deploy.sh 05:45:55 lf-activate-venv: SKIPPING 05:45:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/112 05:45:55 INFO: archiving workspace using pattern(s): 05:45:55 Archives upload complete. 05:45:55 INFO: archiving logs to Nexus