Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 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-ssh2654816565902764003.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-ssh1175877651741152346.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-ssh13711067530893689563.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-ssh5069771451931587857.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-ssh5460725566106743820.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17319 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 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 (main) Commit message: "docs: Update changelog for 3.0 (#414)" > git config core.sparsecheckout # timeout=10 > git checkout -f 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 # timeout=10 > git rev-list --no-walk c7e78e6532bae73b7c555e394d1391f1597ad588 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:56:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:56:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:56:04 ========================================================= 15:56:04 EdgeX Global Pipelines Version Info 15:56:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:56:05 ------------------- 15:56:05 stable info: 15:56:05 ------------------- 15:56:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:56:05 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 15:56:05 Message: update stable to v1.0.249 15:56:06 ------------------- 15:56:06 experimental info: 15:56:06 ------------------- 15:56:06 Commited By: **** collab-it+edgex@linuxfoundation.org 15:56:06 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 15:56:06 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 178b9a1 [Pipeline] echo 15:56:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:56:06 provisioning config files... 15:56:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1967791330848205395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:07 ---> docker-login.sh 15:56:07 nexus3.edgexfoundry.org:10001 15:56:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:07 Configure a credential helper to remove this warning. See 15:56:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:07 15:56:07 Login Succeeded 15:56:07 nexus3.edgexfoundry.org:10002 15:56:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:07 Configure a credential helper to remove this warning. See 15:56:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:07 15:56:07 Login Succeeded 15:56:07 nexus3.edgexfoundry.org:10003 15:56:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:07 Configure a credential helper to remove this warning. See 15:56:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:07 15:56:07 Login Succeeded 15:56:07 nexus3.edgexfoundry.org:10004 15:56:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:07 Configure a credential helper to remove this warning. See 15:56:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:07 15:56:07 Login Succeeded 15:56:07 docker.io 15:56:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:08 Configure a credential helper to remove this warning. See 15:56:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:08 15:56:08 Login Succeeded 15:56:08 ---> docker-login.sh ends [Pipeline] } 15:56:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:56:08 + git rev-list -1 --merges 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3~1..178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 [Pipeline] echo 15:56:08 -----------> git rev-list -1 --merges 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3~1..178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 [false] [Pipeline] sh 15:56:08 + git log --format=format:%s -1 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 [Pipeline] echo 15:56:08 ========================================================= 15:56:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:56:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:56:09 + git log --format=format:%s -1 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 [Pipeline] echo 15:56:09 [semverPrep] GIT_COMMIT: 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3, Commit Message: docs: Update changelog for 3.0 (#414) [Pipeline] echo 15:56:09 [semverPrep] This is not a build commit. [Pipeline] sh 15:56:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:56:09 + grep -v github /etc/ssh/ssh_known_hosts 15:56:09 + [ -e /tmp/ssh_known_hosts ] 15:56:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:56:09 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:56:09 sudo tee -a /etc/ssh/ssh_known_hosts 15:56:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:56:09 15:56:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:56:10 0.1.4: Pulling from edgex-devops/py-git-semver 15:56:10 b85a868b505f: Pulling fs layer 15:56:10 e2be974225ed: Pulling fs layer 15:56:10 339a4e72a1f5: Pulling fs layer 15:56:10 988bab9f4d93: Pulling fs layer 15:56:10 1469e6f7b9e6: Pulling fs layer 15:56:10 eaf3925da568: Pulling fs layer 15:56:10 bab4dde63d76: Pulling fs layer 15:56:10 bde34c3a00c8: Pulling fs layer 15:56:10 b352a97aabf1: Pulling fs layer 15:56:10 4872d77fe225: Pulling fs layer 15:56:10 5851b861e8e6: Pulling fs layer 15:56:10 bab4dde63d76: Waiting 15:56:10 bde34c3a00c8: Waiting 15:56:10 b352a97aabf1: Waiting 15:56:10 4872d77fe225: Waiting 15:56:10 5851b861e8e6: Waiting 15:56:10 988bab9f4d93: Waiting 15:56:10 1469e6f7b9e6: Waiting 15:56:10 eaf3925da568: Waiting 15:56:10 e2be974225ed: Download complete 15:56:10 988bab9f4d93: Download complete 15:56:10 1469e6f7b9e6: Verifying Checksum 15:56:10 1469e6f7b9e6: Download complete 15:56:10 339a4e72a1f5: Verifying Checksum 15:56:10 339a4e72a1f5: Download complete 15:56:10 eaf3925da568: Verifying Checksum 15:56:10 eaf3925da568: Download complete 15:56:10 bde34c3a00c8: Verifying Checksum 15:56:10 bde34c3a00c8: Download complete 15:56:10 b352a97aabf1: Verifying Checksum 15:56:10 b352a97aabf1: Download complete 15:56:10 4872d77fe225: Download complete 15:56:10 5851b861e8e6: Verifying Checksum 15:56:10 5851b861e8e6: Download complete 15:56:10 b85a868b505f: Verifying Checksum 15:56:10 b85a868b505f: Download complete 15:56:10 bab4dde63d76: Verifying Checksum 15:56:10 bab4dde63d76: Download complete 15:56:12 b85a868b505f: Pull complete 15:56:12 e2be974225ed: Pull complete 15:56:13 339a4e72a1f5: Pull complete 15:56:13 988bab9f4d93: Pull complete 15:56:13 1469e6f7b9e6: Pull complete 15:56:14 eaf3925da568: Pull complete 15:56:16 bab4dde63d76: Pull complete 15:56:16 bde34c3a00c8: Pull complete 15:56:16 b352a97aabf1: Pull complete 15:56:16 4872d77fe225: Pull complete 15:56:16 5851b861e8e6: Pull complete 15:56:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:56:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:56:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:16 prd-ubuntu20.04-docker-8c-8g-17319 does not seem to be running inside a container 15:56:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:56:20 $ docker top 5fdcaac4d170940c00293322b44dced430305c373d0ffbf34b9a356074887fb5 -eo pid,comm 15:56:20 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). 15:56:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:56:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:56:20 [ssh-agent] Looking for ssh-agent implementation... 15:56:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:56:20 $ docker exec 5fdcaac4d170940c00293322b44dced430305c373d0ffbf34b9a356074887fb5 ssh-agent 15:56:20 SSH_AUTH_SOCK=/tmp/ssh-r0EWOQnVcBxz/agent.32 15:56:20 SSH_AGENT_PID=38 15:56:20 Running ssh-add (command line suppressed) 15:56:20 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12017069242059734520.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12017069242059734520.key) 15:56:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:56:21 + git tag --points-at HEAD [Pipeline] } 15:56:21 $ docker exec --env ******** --env ******** 5fdcaac4d170940c00293322b44dced430305c373d0ffbf34b9a356074887fb5 ssh-agent -k 15:56:21 unset SSH_AUTH_SOCK; 15:56:21 unset SSH_AGENT_PID; 15:56:21 echo Agent pid 38 killed; 15:56:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:56:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:56:21 [ssh-agent] Looking for ssh-agent implementation... 15:56:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:56:21 $ docker exec 5fdcaac4d170940c00293322b44dced430305c373d0ffbf34b9a356074887fb5 ssh-agent 15:56:21 SSH_AUTH_SOCK=/tmp/ssh-XZtQeZswaPYd/agent.70 15:56:21 SSH_AGENT_PID=76 15:56:21 Running ssh-add (command line suppressed) 15:56:21 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2116604380716008138.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2116604380716008138.key) 15:56:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:56:22 + git semver init 15:56:22 2023-05-30 15:56:22,214 [run_init] DEBUG init version:0.0.0 force:False 15:56:22 2023-05-30 15:56:22,214 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 15:56:22 2023-05-30 15:56:22,215 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 15:56:22 2023-05-30 15:56:22,215 [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) 15:56:23 2023-05-30 15:56:23,373 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 15:56:23 2023-05-30 15:56:23,374 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 15:56:23 2023-05-30 15:56:23,374 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:56:23 2023-05-30 15:56:23,374 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:56:23 3.0.0-dev.53 [Pipeline] } 15:56:23 $ docker exec --env ******** --env ******** 5fdcaac4d170940c00293322b44dced430305c373d0ffbf34b9a356074887fb5 ssh-agent -k 15:56:23 unset SSH_AUTH_SOCK; 15:56:23 unset SSH_AGENT_PID; 15:56:23 echo Agent pid 76 killed; 15:56:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:56:24 + git semver [Pipeline] } 15:56:24 $ docker stop --time=1 5fdcaac4d170940c00293322b44dced430305c373d0ffbf34b9a356074887fb5 15:56:25 $ docker rm -f --volumes 5fdcaac4d170940c00293322b44dced430305c373d0ffbf34b9a356074887fb5 [Pipeline] // withDockerContainer [Pipeline] sh 15:56:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:56:26 Stashed 1 file(s) [Pipeline] echo 15:56:26 [edgeXSemver]: initialized semver on version 3.0.0-dev.53 [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 15:56:26 provisioning config files... 15:56:26 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3596049516293560393tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:26 ---> docker-login.sh 15:56:26 nexus3.edgexfoundry.org:10001 15:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:26 Configure a credential helper to remove this warning. See 15:56:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:26 15:56:26 Login Succeeded 15:56:26 nexus3.edgexfoundry.org:10002 15:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:26 Configure a credential helper to remove this warning. See 15:56:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:26 15:56:26 Login Succeeded 15:56:26 nexus3.edgexfoundry.org:10003 15:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:26 Configure a credential helper to remove this warning. See 15:56:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:26 15:56:26 Login Succeeded 15:56:26 nexus3.edgexfoundry.org:10004 15:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:26 Configure a credential helper to remove this warning. See 15:56:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:26 15:56:26 Login Succeeded 15:56:26 docker.io 15:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:27 Configure a credential helper to remove this warning. See 15:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:27 15:56:27 Login Succeeded 15:56:27 ---> docker-login.sh ends [Pipeline] } 15:56:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:56:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:56:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:56:27 ========================================================= 15:56:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:56:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:27 + 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 . 15:56:27 Sending build context to Docker daemon 23.69MB 15:56:27 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:56:27 Step 2/12 : FROM ${BASE} AS builder 15:56:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:56:27 f56be85fc22e: Pulling fs layer 15:56:27 85791d961cd3: Pulling fs layer 15:56:27 d694b5ae8c79: Pulling fs layer 15:56:27 9f32a84ed3da: Pulling fs layer 15:56:27 4d19c01a9841: Pulling fs layer 15:56:27 9325e15d5711: Pulling fs layer 15:56:27 556b6ee489ea: Pulling fs layer 15:56:27 c5a4b2cf53e6: Pulling fs layer 15:56:27 9325e15d5711: Waiting 15:56:27 9f32a84ed3da: Waiting 15:56:27 4d19c01a9841: Waiting 15:56:27 556b6ee489ea: Waiting 15:56:27 c5a4b2cf53e6: Waiting 15:56:27 85791d961cd3: Verifying Checksum 15:56:27 85791d961cd3: Download complete 15:56:27 9f32a84ed3da: Download complete 15:56:27 4d19c01a9841: Verifying Checksum 15:56:27 4d19c01a9841: Download complete 15:56:27 f56be85fc22e: Download complete 15:56:27 9325e15d5711: Verifying Checksum 15:56:27 9325e15d5711: Download complete 15:56:28 f56be85fc22e: Pull complete 15:56:28 85791d961cd3: Pull complete 15:56:28 c5a4b2cf53e6: Verifying Checksum 15:56:28 c5a4b2cf53e6: Download complete 15:56:28 d694b5ae8c79: Verifying Checksum 15:56:28 d694b5ae8c79: Download complete 15:56:28 556b6ee489ea: Download complete 15:56:31 d694b5ae8c79: Pull complete 15:56:31 9f32a84ed3da: Pull complete 15:56:31 4d19c01a9841: Pull complete 15:56:31 9325e15d5711: Pull complete 15:56:34 556b6ee489ea: Pull complete 15:56:35 c5a4b2cf53e6: Pull complete 15:56:35 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 15:56:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:56:35 ---> c4be618373d6 15:56:35 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:56:41 Still waiting to schedule task 15:56:41 ‘prd-centos7-blackbox-4c-2g-17069’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:56:41 ‘prd-ubuntu20.04-docker-arm64-4c-16g-17318’ is offline 15:56:43 ---> Running in 448cd27dd1cd 15:56:43 Removing intermediate container 448cd27dd1cd 15:56:43 ---> a89a821ee2fe 15:56:43 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:56:43 ---> Running in 3e6736422338 15:56:43 Removing intermediate container 3e6736422338 15:56:43 ---> 30b97bd1031d 15:56:43 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:56:43 ---> Running in 2cb552610c85 15:56:43 Removing intermediate container 2cb552610c85 15:56:43 ---> 13ae9cb0ed11 15:56:43 Step 6/12 : WORKDIR /device-virtual-go 15:56:43 ---> Running in e8b2ba002e57 15:56:44 Removing intermediate container e8b2ba002e57 15:56:44 ---> d9c6e8f62f44 15:56:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:56:44 ---> Running in 96d36925dc62 15:56:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:56:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:56:44 (1/4) Installing openssh-keygen (9.1_p1-r3) 15:56:44 (2/4) Installing libedit (20221030.3.1-r0) 15:56:44 (3/4) Installing openssh-client-common (9.1_p1-r3) 15:56:44 (4/4) Installing openssh-client-default (9.1_p1-r3) 15:56:44 Executing busybox-1.35.0-r29.trigger 15:56:44 OK: 269 MiB in 57 packages 15:56:45 Removing intermediate container 96d36925dc62 15:56:45 ---> 800a0fcb3876 15:56:45 Step 8/12 : COPY go.mod vendor* ./ 15:56:45 ---> d64198650692 15:56:45 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:56:45 ---> Running in c2085d4ef818 15:56:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17318 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 15:56:52 Running in /w/workspace/device-virtual-go/125 [Pipeline] { [Pipeline] checkout 15:56:52 The recommended git tool is: git 15:56:58 using credential edgex-jenkins-ssh 15:56:58 Cloning the remote Git repository 15:56:58 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 15:56:58 > git init /w/workspace/device-virtual-go/125 # timeout=10 15:56:58 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:56:58 > git --version # timeout=10 15:56:58 > git --version # 'git version 2.25.1' 15:56:58 using GIT_SSH to set credentials SSH Credentials for GitHub 15:56:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:57:02 Avoid second fetch 15:57:02 Checking out Revision 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 (main) 15:57:01 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:57:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:57:02 > git config core.sparsecheckout # timeout=10 15:57:02 > git checkout -f 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 # timeout=10 15:57:02 Commit message: "docs: Update changelog for 3.0 (#414)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:57:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:57:03 % Total % Received % Xferd Average Speed Time Time Time Current 15:57:03 Dload Upload Total Spent Left Speed 15:57:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 15:57:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:57:04 + sudo tee /etc/docker/daemon.new 15:57:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:57:04 { 15:57:04 "registry-mirrors": [ 15:57:04 "https://nexus3.edgexfoundry.org:10001" 15:57:04 ], 15:57:04 "bip": "10.250.0.254/24", 15:57:04 "hosts": [ 15:57:04 "tcp://0.0.0.0:5555", 15:57:04 "unix:///var/run/docker.sock" 15:57:04 ], 15:57:04 "mtu": 1458, 15:57:04 "selinux-enabled": true, 15:57:04 "seccomp-profile": "/etc/docker/seccomp.json" 15:57:04 } [Pipeline] sh 15:57:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:57:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:57:23 provisioning config files... 15:57:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/125@tmp/config7327493137643063740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:57:24 ---> docker-login.sh 15:57:24 nexus3.edgexfoundry.org:10001 15:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:24 Configure a credential helper to remove this warning. See 15:57:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:24 15:57:24 Login Succeeded 15:57:24 nexus3.edgexfoundry.org:10002 15:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:25 Configure a credential helper to remove this warning. See 15:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:25 15:57:25 Login Succeeded 15:57:25 nexus3.edgexfoundry.org:10003 15:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:25 Configure a credential helper to remove this warning. See 15:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:25 15:57:25 Login Succeeded 15:57:25 nexus3.edgexfoundry.org:10004 15:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:26 Configure a credential helper to remove this warning. See 15:57:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:26 15:57:26 Login Succeeded 15:57:26 docker.io 15:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:26 Configure a credential helper to remove this warning. See 15:57:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:26 15:57:26 Login Succeeded 15:57:26 ---> docker-login.sh ends [Pipeline] } 15:57:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:57:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:57:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:57:26 ========================================================= 15:57:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:57:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:27 + 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 . 15:57:27 Sending build context to Docker daemon 12.01MB 15:57:27 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:57:27 Step 2/12 : FROM ${BASE} AS builder 15:57:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:57:27 c41833b44d91: Pulling fs layer 15:57:27 ed15518f5707: Pulling fs layer 15:57:27 feae8fd75edb: Pulling fs layer 15:57:27 242c74f7c9fa: Pulling fs layer 15:57:27 3cdef696dda3: Pulling fs layer 15:57:27 242c74f7c9fa: Waiting 15:57:27 2ced38df9373: Pulling fs layer 15:57:27 58f1dce35555: Pulling fs layer 15:57:27 3cdef696dda3: Waiting 15:57:27 58f1dce35555: Waiting 15:57:28 ed15518f5707: Verifying Checksum 15:57:28 ed15518f5707: Download complete 15:57:28 242c74f7c9fa: Download complete 15:57:28 3cdef696dda3: Download complete 15:57:28 c41833b44d91: Verifying Checksum 15:57:28 c41833b44d91: Download complete 15:57:29 c41833b44d91: Pull complete 15:57:29 58f1dce35555: Verifying Checksum 15:57:29 58f1dce35555: Download complete 15:57:29 ed15518f5707: Pull complete 15:57:30 feae8fd75edb: Verifying Checksum 15:57:30 feae8fd75edb: Download complete 15:57:30 2ced38df9373: Verifying Checksum 15:57:30 2ced38df9373: Download complete 15:57:32 Removing intermediate container c2085d4ef818 15:57:32 ---> 7de3d52b182d 15:57:32 Step 10/12 : COPY . . 15:57:32 ---> a9a34e0d6e16 15:57:32 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:57:32 ---> Running in e14b490483b7 15:57:32 Removing intermediate container e14b490483b7 15:57:32 ---> 7fbff5581bd4 15:57:32 Step 12/12 : RUN $MAKE 15:57:32 ---> Running in b43c49a38ef6 15:57:32 noop 15:57:32 Removing intermediate container b43c49a38ef6 15:57:32 ---> 5f0c3b455b7f 15:57:32 Successfully built 5f0c3b455b7f 15:57:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:32 + docker inspect -f . ci-base-image-x86_64 15:57:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:32 prd-ubuntu20.04-docker-8c-8g-17319 does not seem to be running inside a container 15:57:32 $ 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 15:57:33 $ docker top 96cf1ba4940cf03eddb511f2400a3c9dc18b4ea9fdf3c588de48e38b245c1f0d -eo pid,comm [Pipeline] { [Pipeline] sh 15:57:34 + go version 15:57:34 go version go1.20.2 linux/amd64 [Pipeline] } 15:57:34 $ docker stop --time=1 96cf1ba4940cf03eddb511f2400a3c9dc18b4ea9fdf3c588de48e38b245c1f0d 15:57:35 $ docker rm -f --volumes 96cf1ba4940cf03eddb511f2400a3c9dc18b4ea9fdf3c588de48e38b245c1f0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:36 + docker inspect -f . ci-base-image-x86_64 15:57:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:36 prd-ubuntu20.04-docker-8c-8g-17319 does not seem to be running inside a container 15:57:36 $ 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 15:57:37 $ docker top 76422dbb98d9732c04c5b3748a606ddbbb5181e57e3c09dc6642215dc9f50c7c -eo pid,comm [Pipeline] { [Pipeline] sh 15:57:37 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 15:57:37 + make test 15:57:37 go test ./... -coverprofile=coverage.out 15:57:42 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:57:43 feae8fd75edb: Pull complete 15:57:43 242c74f7c9fa: Pull complete 15:57:43 3cdef696dda3: Pull complete 15:57:49 2ced38df9373: Pull complete 15:57:52 58f1dce35555: Pull complete 15:57:52 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 15:57:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:57:52 ---> fadd8f120f05 15:57:52 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:57:52 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:57:52 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.015s coverage: 58.6% of statements 15:57:53 ---> Running in 3b1ee6132624 15:57:53 Removing intermediate container 3b1ee6132624 15:57:53 ---> 7d27448ac263 15:57:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:57:54 ---> Running in 4d6836c38a5d 15:57:54 Removing intermediate container 4d6836c38a5d 15:57:54 ---> 63dd5b58e59e 15:57:54 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:57:54 ---> Running in de47845cbb72 15:57:54 Removing intermediate container de47845cbb72 15:57:54 ---> b94c6202b947 15:57:54 Step 6/12 : WORKDIR /device-virtual-go 15:57:54 ---> Running in dad22489590d 15:57:55 Removing intermediate container dad22489590d 15:57:55 ---> baea238ba1a3 15:57:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:57:55 ---> Running in fd727c44008b 15:57:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:57:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:57:58 (1/4) Installing openssh-keygen (9.1_p1-r3) 15:57:58 (2/4) Installing libedit (20221030.3.1-r0) 15:57:58 (3/4) Installing openssh-client-common (9.1_p1-r3) 15:57:58 (4/4) Installing openssh-client-default (9.1_p1-r3) 15:57:58 Executing busybox-1.35.0-r29.trigger 15:57:58 OK: 268 MiB in 57 packages 15:57:59 go vet ./... 15:57:59 Removing intermediate container fd727c44008b 15:57:59 ---> bedd8208035c 15:57:59 Step 8/12 : COPY go.mod vendor* ./ 15:58:00 ---> a6bd146f1b3d 15:58:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:58:00 ---> Running in 5f7b26ff4434 15:58:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:58:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:58:03 ./bin/test-attribution-txt.sh [Pipeline] echo 15:58:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:58:03 $ docker stop --time=1 76422dbb98d9732c04c5b3748a606ddbbb5181e57e3c09dc6642215dc9f50c7c 15:58:08 $ docker rm -f --volumes 76422dbb98d9732c04c5b3748a606ddbbb5181e57e3c09dc6642215dc9f50c7c [Pipeline] // withDockerContainer [Pipeline] sh 15:58:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:58:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:58:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:58:09 + ls -al . 15:58:09 total 200 15:58:09 drwxrwxr-x 9 jenkins jenkins 4096 May 30 15:57 . 15:58:09 drwxrwxr-x 4 jenkins jenkins 4096 May 30 15:56 .. 15:58:09 drwxrwxr-x 8 jenkins jenkins 4096 May 30 15:56 .git 15:58:09 drwxrwxr-x 3 jenkins jenkins 4096 May 30 15:56 .github 15:58:09 -rw-rw-r-- 1 jenkins jenkins 337 May 30 15:56 .gitignore 15:58:09 -rw-rw-r-- 1 jenkins jenkins 41 May 30 15:56 .golangci.yml 15:58:09 drwxr-xr-x 3 jenkins jenkins 4096 May 30 15:56 .semver 15:58:09 -rw-rw-r-- 1 jenkins jenkins 8652 May 30 15:56 Attribution.txt 15:58:09 -rw-rw-r-- 1 jenkins jenkins 14372 May 30 15:56 CHANGELOG.md 15:58:09 -rw-rw-r-- 1 jenkins jenkins 1646 May 30 15:56 Dockerfile 15:58:09 -rw-rw-r-- 1 jenkins jenkins 677 May 30 15:56 GOVERNANCE.md 15:58:09 -rw-rw-r-- 1 jenkins jenkins 660 May 30 15:56 Jenkinsfile 15:58:09 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 15:56 LICENSE 15:58:09 -rw-rw-r-- 1 jenkins jenkins 1696 May 30 15:56 Makefile 15:58:09 -rw-rw-r-- 1 jenkins jenkins 623 May 30 15:56 OWNERS.md 15:58:09 -rw-rw-r-- 1 jenkins jenkins 4111 May 30 15:56 README.md 15:58:09 -rw-rw-r-- 1 jenkins jenkins 12 May 30 15:56 VERSION 15:58:09 drwxrwxr-x 2 jenkins jenkins 4096 May 30 15:56 bin 15:58:09 drwxrwxr-x 3 jenkins jenkins 4096 May 30 15:56 cmd 15:58:09 -rw-r--r-- 1 jenkins jenkins 43063 May 30 15:57 coverage.out 15:58:09 -rw-rw-r-- 1 jenkins jenkins 3161 May 30 15:56 go.mod 15:58:09 -rw-rw-r-- 1 jenkins jenkins 30898 May 30 15:56 go.sum 15:58:09 drwxrwxr-x 3 jenkins jenkins 4096 May 30 15:56 internal 15:58:09 drwxrwxr-x 4 jenkins jenkins 4096 May 30 15:56 snap 15:58:09 -rw-rw-r-- 1 jenkins jenkins 235 May 30 15:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:10 + 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=178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 --label arch=amd64 --label version=3.0.0-dev.53 . 15:58:10 Sending build context to Docker daemon 23.73MB 15:58:10 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 15:58:10 Step 2/25 : FROM ${BASE} AS builder 15:58:10 ---> 5f0c3b455b7f 15:58:10 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:58:10 ---> Running in 0b4ac5231a66 15:58:10 Removing intermediate container 0b4ac5231a66 15:58:10 ---> 7504fcb4cc1f 15:58:10 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:58:10 ---> Running in dc4ec0fdb2c7 15:58:10 Removing intermediate container dc4ec0fdb2c7 15:58:10 ---> aaaa176b93f4 15:58:10 Step 5/25 : ARG ADD_BUILD_TAGS="" 15:58:10 ---> Running in 134c2ef7097a 15:58:10 Removing intermediate container 134c2ef7097a 15:58:10 ---> afbedf6cf1c9 15:58:10 Step 6/25 : WORKDIR /device-virtual-go 15:58:10 ---> Running in f6c42653e5a6 15:58:10 Removing intermediate container f6c42653e5a6 15:58:10 ---> a43d5a5367d5 15:58:10 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:58:10 ---> Running in 0b7a5ffe3e82 15:58:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:58:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:58:11 OK: 269 MiB in 57 packages 15:58:11 Removing intermediate container 0b7a5ffe3e82 15:58:11 ---> 5b96bfd0b5f0 15:58:11 Step 8/25 : COPY go.mod vendor* ./ 15:58:11 ---> 2746f45f879f 15:58:11 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:58:11 ---> Running in d5512c135d14 15:58:12 Removing intermediate container d5512c135d14 15:58:12 ---> 5d9a1ade8e46 15:58:12 Step 10/25 : COPY . . 15:58:14 ---> 4d9204e1790e 15:58:14 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:58:14 ---> Running in 090c15e55fba 15:58:14 Removing intermediate container 090c15e55fba 15:58:14 ---> 9df5a4b97ac8 15:58:14 Step 12/25 : RUN $MAKE 15:58:14 ---> Running in 264440ba5a37 15:58:14 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.53" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 15:58:36 Removing intermediate container 264440ba5a37 15:58:36 ---> e36ae149c7c4 15:58:36 Step 13/25 : FROM alpine:3.17 15:58:37 3.17: Pulling from library/alpine 15:58:37 f56be85fc22e: Already exists 15:58:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 15:58:37 Status: Downloaded newer image for alpine:3.17 15:58:37 ---> 9ed4aefc74f6 15:58:37 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 15:58:37 ---> Running in 212d5a29e2c7 15:58:37 Removing intermediate container 212d5a29e2c7 15:58:37 ---> c91d62719a8a 15:58:37 Step 15/25 : RUN apk add --update --no-cache dumb-init 15:58:37 ---> Running in a7333f667b70 15:58:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:58:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:58:38 (1/1) Installing dumb-init (1.2.5-r2) 15:58:38 Executing busybox-1.35.0-r29.trigger 15:58:38 OK: 7 MiB in 16 packages 15:58:38 Removing intermediate container a7333f667b70 15:58:38 ---> cb18deabea2a 15:58:38 Step 16/25 : WORKDIR / 15:58:38 ---> Running in 3d7aee25f6ea 15:58:38 Removing intermediate container 3d7aee25f6ea 15:58:38 ---> 48010e1920d8 15:58:38 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 15:58:38 ---> 65b976db7a1b 15:58:38 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 15:58:38 ---> ec8814f50e21 15:58:38 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 15:58:39 ---> 404dcad85a73 15:58:39 Step 20/25 : EXPOSE 59900 15:58:39 ---> Running in 0d46b8a53786 15:58:39 Removing intermediate container 0d46b8a53786 15:58:39 ---> 26d87e6a1cac 15:58:39 Step 21/25 : ENTRYPOINT ["/device-virtual"] 15:58:39 ---> Running in 3f7b56d37fa7 15:58:39 Removing intermediate container 3f7b56d37fa7 15:58:39 ---> c5e28e254389 15:58:39 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:58:39 ---> Running in 78b93b1feb52 15:58:39 Removing intermediate container 78b93b1feb52 15:58:39 ---> 5fd95c9e1835 15:58:39 Step 23/25 : LABEL arch=amd64 15:58:39 ---> Running in 5f6494932fb8 15:58:40 Removing intermediate container 5f6494932fb8 15:58:40 ---> f5e27c72a625 15:58:40 Step 24/25 : LABEL git_sha=178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 15:58:40 ---> Running in b391c1226a1c 15:58:40 Removing intermediate container b391c1226a1c 15:58:40 ---> c2518e79488b 15:58:40 Step 25/25 : LABEL version=3.0.0-dev.53 15:58:40 ---> Running in 513a5beb6442 15:58:40 Removing intermediate container 513a5beb6442 15:58:40 ---> 1585403b8057 15:58:40 [Warning] One or more build-args [ARCH] were not consumed 15:58:40 Successfully built 1585403b8057 15:58:40 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:58:40 provisioning config files... 15:58:40 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3916681501500493895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:40 ---> docker-login.sh 15:58:40 nexus3.edgexfoundry.org:10001 15:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:40 Configure a credential helper to remove this warning. See 15:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:40 15:58:40 Login Succeeded 15:58:40 nexus3.edgexfoundry.org:10002 15:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:40 Configure a credential helper to remove this warning. See 15:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:40 15:58:40 Login Succeeded 15:58:40 nexus3.edgexfoundry.org:10003 15:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:40 Configure a credential helper to remove this warning. See 15:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:40 15:58:40 Login Succeeded 15:58:40 nexus3.edgexfoundry.org:10004 15:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:40 Configure a credential helper to remove this warning. See 15:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:40 15:58:40 Login Succeeded 15:58:40 docker.io 15:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:40 Configure a credential helper to remove this warning. See 15:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:40 15:58:40 Login Succeeded 15:58:40 ---> docker-login.sh ends [Pipeline] } 15:58:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:58:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:41 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 15:58:41 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 15:58:41 latest 15:58:41 3.0.0-dev.53 15:58:41 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3-3.0.0-dev.53 15:58:41 main 15:58:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:41 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual:178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 15:58:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 15:58:41 611fb1598d37: Preparing 15:58:41 db6f30c5c543: Preparing 15:58:41 be13b7706dc7: Preparing 15:58:41 fc007ec1adaa: Preparing 15:58:41 f1417ff83b31: Preparing 15:58:41 f1417ff83b31: Layer already exists 15:58:41 fc007ec1adaa: Pushed 15:58:41 db6f30c5c543: Pushed 15:58:41 be13b7706dc7: Pushed 15:58:44 611fb1598d37: Pushed 15:58:44 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3: digest: sha256:a11243dfca7c0d2150d1aabafe0b04080792c95d177d4a068d485dba0587f5fc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:44 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 15:58:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 15:58:45 611fb1598d37: Preparing 15:58:45 db6f30c5c543: Preparing 15:58:45 be13b7706dc7: Preparing 15:58:45 fc007ec1adaa: Preparing 15:58:45 f1417ff83b31: Preparing 15:58:45 f1417ff83b31: Layer already exists 15:58:45 fc007ec1adaa: Layer already exists 15:58:45 be13b7706dc7: Layer already exists 15:58:45 611fb1598d37: Layer already exists 15:58:45 db6f30c5c543: Layer already exists 15:58:45 latest: digest: sha256:a11243dfca7c0d2150d1aabafe0b04080792c95d177d4a068d485dba0587f5fc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:45 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.53 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.53 15:58:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 15:58:45 611fb1598d37: Preparing 15:58:45 db6f30c5c543: Preparing 15:58:45 be13b7706dc7: Preparing 15:58:45 fc007ec1adaa: Preparing 15:58:45 f1417ff83b31: Preparing 15:58:45 be13b7706dc7: Layer already exists 15:58:45 fc007ec1adaa: Layer already exists 15:58:45 db6f30c5c543: Layer already exists 15:58:45 611fb1598d37: Layer already exists 15:58:45 f1417ff83b31: Layer already exists 15:58:45 3.0.0-dev.53: digest: sha256:a11243dfca7c0d2150d1aabafe0b04080792c95d177d4a068d485dba0587f5fc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:46 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:178b9a158c9b2d1c2a09f5efb5db45d99958c0f3-3.0.0-dev.53 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual:178b9a158c9b2d1c2a09f5efb5db45d99958c0f3-3.0.0-dev.53 15:58:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 15:58:46 611fb1598d37: Preparing 15:58:46 db6f30c5c543: Preparing 15:58:46 be13b7706dc7: Preparing 15:58:46 fc007ec1adaa: Preparing 15:58:46 f1417ff83b31: Preparing 15:58:46 611fb1598d37: Layer already exists 15:58:46 be13b7706dc7: Layer already exists 15:58:46 db6f30c5c543: Layer already exists 15:58:46 f1417ff83b31: Layer already exists 15:58:46 fc007ec1adaa: Layer already exists 15:58:46 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3-3.0.0-dev.53: digest: sha256:a11243dfca7c0d2150d1aabafe0b04080792c95d177d4a068d485dba0587f5fc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:46 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:47 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 15:58:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 15:58:47 611fb1598d37: Preparing 15:58:47 db6f30c5c543: Preparing 15:58:47 be13b7706dc7: Preparing 15:58:47 fc007ec1adaa: Preparing 15:58:47 f1417ff83b31: Preparing 15:58:47 f1417ff83b31: Layer already exists 15:58:47 db6f30c5c543: Layer already exists 15:58:47 be13b7706dc7: Layer already exists 15:58:47 fc007ec1adaa: Layer already exists 15:58:47 611fb1598d37: Layer already exists 15:58:47 main: digest: sha256:a11243dfca7c0d2150d1aabafe0b04080792c95d177d4a068d485dba0587f5fc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:58:47 ===================================================== [Pipeline] echo 15:58:47 taggedImages: 15:58:47 - nexus3.edgexfoundry.org:10004/device-virtual:178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 15:58:47 - nexus3.edgexfoundry.org:10004/device-virtual:latest 15:58:47 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.53 15:58:47 - nexus3.edgexfoundry.org:10004/device-virtual:178b9a158c9b2d1c2a09f5efb5db45d99958c0f3-3.0.0-dev.53 15:58:47 - 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 15:58:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:58:47 15:58:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:58:47 latest: Pulling from edgex-lftools-log-publisher 15:58:47 5eb5b503b376: Pulling fs layer 15:58:47 5c69ac0246d0: Pulling fs layer 15:58:47 ec43610c2a17: Pulling fs layer 15:58:47 3a2ae6a8a46f: Pulling fs layer 15:58:47 33b1e0a273af: Pulling fs layer 15:58:47 5d3b04190fa2: Pulling fs layer 15:58:47 2f39f015ded8: Pulling fs layer 15:58:47 5d3b04190fa2: Waiting 15:58:47 2f39f015ded8: Waiting 15:58:47 3a2ae6a8a46f: Waiting 15:58:47 33b1e0a273af: Waiting 15:58:47 5c69ac0246d0: Verifying Checksum 15:58:47 5c69ac0246d0: Download complete 15:58:47 3a2ae6a8a46f: Verifying Checksum 15:58:47 3a2ae6a8a46f: Download complete 15:58:47 ec43610c2a17: Verifying Checksum 15:58:47 ec43610c2a17: Download complete 15:58:47 33b1e0a273af: Verifying Checksum 15:58:47 33b1e0a273af: Download complete 15:58:47 5d3b04190fa2: Verifying Checksum 15:58:47 5d3b04190fa2: Download complete 15:58:47 5eb5b503b376: Verifying Checksum 15:58:47 5eb5b503b376: Download complete 15:58:48 2f39f015ded8: Download complete 15:58:49 5eb5b503b376: Pull complete 15:58:49 5c69ac0246d0: Pull complete 15:58:49 ec43610c2a17: Pull complete 15:58:49 3a2ae6a8a46f: Pull complete 15:58:50 33b1e0a273af: Pull complete 15:58:50 5d3b04190fa2: Pull complete 15:58:55 2f39f015ded8: Pull complete 15:58:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:58:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:58:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:55 prd-ubuntu20.04-docker-8c-8g-17319 does not seem to be running inside a container 15:58:55 $ 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 15:59:00 $ docker top 940475be7047ecc55792e920053f159df6ea9b1d36f8ca4b4a2527f3d2760e1d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:59:00 ---> job-cost.sh 15:59:00 lf-activate-venv: SKIPPING 15:59:00 INFO: No Stack... 15:59:01 INFO: Retrieving Pricing Info for: v3-standard-8 15:59:01 INFO: Archiving Costs [Pipeline] sh 15:59:02 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 15:59:02 + cut -d, -f6 [Pipeline] lock 15:59:02 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-125-stack-cost] 15:59:02 Resource [jenkins-edgexfoundry-device-virtual-go-main-125-stack-cost] did not exist. Created. 15:59:02 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-125-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:59:02 + echo total: 0.2199999988079071 [Pipeline] stash 15:59:02 Stashed 1 file(s) [Pipeline] } 15:59:02 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-125-stack-cost] [Pipeline] // lock [Pipeline] } 15:59:02 $ docker stop --time=1 940475be7047ecc55792e920053f159df6ea9b1d36f8ca4b4a2527f3d2760e1d 15:59:03 $ docker rm -f --volumes 940475be7047ecc55792e920053f159df6ea9b1d36f8ca4b4a2527f3d2760e1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:59:08 Removing intermediate container 5f7b26ff4434 15:59:08 ---> ca5f36b3a279 15:59:08 Step 10/12 : COPY . . 15:59:08 ---> 295ae22dea8b 15:59:08 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:59:08 ---> Running in 430085a9b192 15:59:08 Removing intermediate container 430085a9b192 15:59:08 ---> 9390ce3861f1 15:59:08 Step 12/12 : RUN $MAKE 15:59:08 ---> Running in 737743eb2e40 15:59:08 noop 15:59:08 Removing intermediate container 737743eb2e40 15:59:08 ---> 1de9d2389e4b 15:59:08 Successfully built 1de9d2389e4b 15:59:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:08 + docker inspect -f . ci-base-image-arm64 15:59:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:08 prd-ubuntu20.04-docker-arm64-4c-16g-17318 does not seem to be running inside a container 15:59:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/125 -v /w/workspace/device-virtual-go/125:/w/workspace/device-virtual-go/125:rw,z -v /w/workspace/device-virtual-go/125@tmp:/w/workspace/device-virtual-go/125@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 15:59:10 $ docker top 313a44ce3f13334f32cef4ec6b83de3264b2e482805150de018198c395be5f57 -eo pid,comm [Pipeline] { [Pipeline] sh 15:59:11 + go version 15:59:11 go version go1.20.2 linux/arm64 [Pipeline] } 15:59:11 $ docker stop --time=1 313a44ce3f13334f32cef4ec6b83de3264b2e482805150de018198c395be5f57 15:59:12 $ docker rm -f --volumes 313a44ce3f13334f32cef4ec6b83de3264b2e482805150de018198c395be5f57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:13 + docker inspect -f . ci-base-image-arm64 15:59:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:13 prd-ubuntu20.04-docker-arm64-4c-16g-17318 does not seem to be running inside a container 15:59:13 $ 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/125 -v /w/workspace/device-virtual-go/125:/w/workspace/device-virtual-go/125:rw,z -v /w/workspace/device-virtual-go/125@tmp:/w/workspace/device-virtual-go/125@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 15:59:15 $ docker top 64fefe4bed3b49f6b8d98be711112bb2924ebd45f0de287c2c71554429ffe7f0 -eo pid,comm [Pipeline] { [Pipeline] sh 15:59:16 + git config --global --add safe.directory /w/workspace/device-virtual-go/125 [Pipeline] fileExists [Pipeline] sh 15:59:16 + make test 15:59:16 go test ./... -coverprofile=coverage.out 15:59:55 ? github.com/edgexfoundry/device-virtual-go [no test files] 16:02:17 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 16:02:17 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.095s coverage: 58.4% of statements 16:02:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:02:17 go vet ./... 16:02:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:02:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:02:39 ./bin/test-attribution-txt.sh [Pipeline] echo 16:02:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:02:39 $ docker stop --time=1 64fefe4bed3b49f6b8d98be711112bb2924ebd45f0de287c2c71554429ffe7f0 16:02:41 $ docker rm -f --volumes 64fefe4bed3b49f6b8d98be711112bb2924ebd45f0de287c2c71554429ffe7f0 [Pipeline] // withDockerContainer [Pipeline] sh 16:02:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:02:42 Warning: overwriting stash ‘coverage-report’ 16:02:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:02:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:02:43 + ls -al . 16:02:43 total 196 16:02:43 drwxrwxr-x 8 jenkins jenkins 4096 May 30 15:59 . 16:02:43 drwxrwxr-x 4 jenkins jenkins 4096 May 30 15:56 .. 16:02:43 drwxrwxr-x 8 jenkins jenkins 4096 May 30 15:57 .git 16:02:43 drwxrwxr-x 3 jenkins jenkins 4096 May 30 15:57 .github 16:02:43 -rw-rw-r-- 1 jenkins jenkins 337 May 30 15:57 .gitignore 16:02:43 -rw-rw-r-- 1 jenkins jenkins 41 May 30 15:57 .golangci.yml 16:02:43 -rw-rw-r-- 1 jenkins jenkins 8652 May 30 15:57 Attribution.txt 16:02:43 -rw-rw-r-- 1 jenkins jenkins 14372 May 30 15:57 CHANGELOG.md 16:02:43 -rw-rw-r-- 1 jenkins jenkins 1646 May 30 15:57 Dockerfile 16:02:43 -rw-rw-r-- 1 jenkins jenkins 677 May 30 15:57 GOVERNANCE.md 16:02:43 -rw-rw-r-- 1 jenkins jenkins 660 May 30 15:57 Jenkinsfile 16:02:43 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 15:57 LICENSE 16:02:43 -rw-rw-r-- 1 jenkins jenkins 1696 May 30 15:57 Makefile 16:02:43 -rw-rw-r-- 1 jenkins jenkins 623 May 30 15:57 OWNERS.md 16:02:43 -rw-rw-r-- 1 jenkins jenkins 4111 May 30 15:57 README.md 16:02:43 -rw-rw-r-- 1 jenkins jenkins 12 May 30 15:56 VERSION 16:02:43 drwxrwxr-x 2 jenkins jenkins 4096 May 30 15:57 bin 16:02:43 drwxrwxr-x 3 jenkins jenkins 4096 May 30 15:57 cmd 16:02:43 -rw-r--r-- 1 jenkins jenkins 43063 May 30 16:02 coverage.out 16:02:43 -rw-rw-r-- 1 jenkins jenkins 3161 May 30 15:57 go.mod 16:02:43 -rw-rw-r-- 1 jenkins jenkins 30898 May 30 15:57 go.sum 16:02:43 drwxrwxr-x 3 jenkins jenkins 4096 May 30 15:57 internal 16:02:43 drwxrwxr-x 4 jenkins jenkins 4096 May 30 15:57 snap 16:02:43 -rw-rw-r-- 1 jenkins jenkins 235 May 30 15:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:44 + 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=178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 --label arch=arm64 --label version=3.0.0-dev.53 . 16:02:44 Sending build context to Docker daemon 12.06MB 16:02:44 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 16:02:44 Step 2/25 : FROM ${BASE} AS builder 16:02:44 ---> 1de9d2389e4b 16:02:44 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:02:46 ---> Running in 36c976fee45a 16:02:46 Removing intermediate container 36c976fee45a 16:02:46 ---> 7c504c0547b8 16:02:46 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 16:02:46 ---> Running in ef6e1f701489 16:02:46 Removing intermediate container ef6e1f701489 16:02:46 ---> fd2611781f11 16:02:46 Step 5/25 : ARG ADD_BUILD_TAGS="" 16:02:46 ---> Running in 6fdf4a3c6eb7 16:02:47 Removing intermediate container 6fdf4a3c6eb7 16:02:47 ---> 8c1f18faae57 16:02:47 Step 6/25 : WORKDIR /device-virtual-go 16:02:47 ---> Running in 9d7652fa038b 16:02:47 Removing intermediate container 9d7652fa038b 16:02:47 ---> 7ad351d21289 16:02:47 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:02:47 ---> Running in 7c11fae15eee 16:02:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:02:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:02:51 OK: 268 MiB in 57 packages 16:02:51 Removing intermediate container 7c11fae15eee 16:02:51 ---> 1a1582698ab9 16:02:51 Step 8/25 : COPY go.mod vendor* ./ 16:02:52 ---> f38a3765d443 16:02:52 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:02:52 ---> Running in a89d893adb07 16:02:55 Removing intermediate container a89d893adb07 16:02:55 ---> 0607e1c05e4e 16:02:55 Step 10/25 : COPY . . 16:02:56 ---> 090465c9c622 16:02:56 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:02:56 ---> Running in 442c960bd26f 16:02:56 Removing intermediate container 442c960bd26f 16:02:56 ---> d788aa79e532 16:02:56 Step 12/25 : RUN $MAKE 16:02:56 ---> Running in 316c0db34069 16:02:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.53" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 16:05:19 Removing intermediate container 316c0db34069 16:05:19 ---> 1abf8246667c 16:05:19 Step 13/25 : FROM alpine:3.17 16:05:20 3.17: Pulling from library/alpine 16:05:20 c41833b44d91: Already exists 16:05:20 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 16:05:20 Status: Downloaded newer image for alpine:3.17 16:05:20 ---> 51e60588ff2c 16:05:20 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 16:05:20 ---> Running in 33861273fdca 16:05:20 Removing intermediate container 33861273fdca 16:05:20 ---> 461716bbddfe 16:05:20 Step 15/25 : RUN apk add --update --no-cache dumb-init 16:05:20 ---> Running in 05de87e16263 16:05:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:05:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:05:23 (1/1) Installing dumb-init (1.2.5-r2) 16:05:23 Executing busybox-1.35.0-r29.trigger 16:05:23 OK: 8 MiB in 16 packages 16:05:24 Removing intermediate container 05de87e16263 16:05:24 ---> 9a2b2bfd1e89 16:05:24 Step 16/25 : WORKDIR / 16:05:24 ---> Running in 0447d3416d2e 16:05:24 Removing intermediate container 0447d3416d2e 16:05:24 ---> 271dc1ca9695 16:05:24 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 16:05:25 ---> 501d92104108 16:05:25 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 16:05:26 ---> 5ab7ce19e169 16:05:26 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 16:05:27 ---> cc701df3a592 16:05:27 Step 20/25 : EXPOSE 59900 16:05:27 ---> Running in 78de040c0eb3 16:05:27 Removing intermediate container 78de040c0eb3 16:05:27 ---> 22fba55ae7a6 16:05:27 Step 21/25 : ENTRYPOINT ["/device-virtual"] 16:05:27 ---> Running in e182ef7bb945 16:05:28 Removing intermediate container e182ef7bb945 16:05:28 ---> 13ebedba6ba5 16:05:28 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:05:28 ---> Running in e7888ab1fe25 16:05:28 Removing intermediate container e7888ab1fe25 16:05:28 ---> 99aecd89de4c 16:05:28 Step 23/25 : LABEL arch=arm64 16:05:28 ---> Running in 809bdb42a2bf 16:05:28 Removing intermediate container 809bdb42a2bf 16:05:28 ---> 60a3993d6475 16:05:28 Step 24/25 : LABEL git_sha=178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 16:05:28 ---> Running in e533b2b8f178 16:05:29 Removing intermediate container e533b2b8f178 16:05:29 ---> 2abfc261e619 16:05:29 Step 25/25 : LABEL version=3.0.0-dev.53 16:05:29 ---> Running in 87d1fa16fc0b 16:05:30 Removing intermediate container 87d1fa16fc0b 16:05:30 ---> 3164d17f268f 16:05:30 [Warning] One or more build-args [ARCH] were not consumed 16:05:30 Successfully built 3164d17f268f 16:05:30 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 16:05:30 provisioning config files... 16:05:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/125@tmp/config10046851643714670175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:05:31 ---> docker-login.sh 16:05:31 nexus3.edgexfoundry.org:10001 16:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:31 Configure a credential helper to remove this warning. See 16:05:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:31 16:05:31 Login Succeeded 16:05:31 nexus3.edgexfoundry.org:10002 16:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:31 Configure a credential helper to remove this warning. See 16:05:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:31 16:05:31 Login Succeeded 16:05:31 nexus3.edgexfoundry.org:10003 16:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:32 Configure a credential helper to remove this warning. See 16:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:32 16:05:32 Login Succeeded 16:05:32 nexus3.edgexfoundry.org:10004 16:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:32 Configure a credential helper to remove this warning. See 16:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:32 16:05:32 Login Succeeded 16:05:32 docker.io 16:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:33 Configure a credential helper to remove this warning. See 16:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:33 16:05:33 Login Succeeded 16:05:33 ---> docker-login.sh ends [Pipeline] } 16:05:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:05:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:05:33 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 16:05:33 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 16:05:33 latest 16:05:33 3.0.0-dev.53 16:05:33 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3-3.0.0-dev.53 16:05:33 main 16:05:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:33 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:33 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 16:05:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:05:33 ae757b8a4517: Preparing 16:05:33 e7a575286049: Preparing 16:05:33 3852cddfd97e: Preparing 16:05:33 e616ab364c48: Preparing 16:05:33 26cbea5cba74: Preparing 16:05:33 26cbea5cba74: Layer already exists 16:05:34 3852cddfd97e: Pushed 16:05:34 e7a575286049: Pushed 16:05:34 e616ab364c48: Pushed 16:05:39 ae757b8a4517: Pushed 16:05:39 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3: digest: sha256:609429991d91dd4cdf5a3d956e26ec72347fbdb44177336f20742515d018592c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:39 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 16:05:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:05:40 ae757b8a4517: Preparing 16:05:40 e7a575286049: Preparing 16:05:40 3852cddfd97e: Preparing 16:05:40 e616ab364c48: Preparing 16:05:40 26cbea5cba74: Preparing 16:05:40 3852cddfd97e: Layer already exists 16:05:40 e616ab364c48: Layer already exists 16:05:40 e7a575286049: Layer already exists 16:05:40 26cbea5cba74: Layer already exists 16:05:40 ae757b8a4517: Layer already exists 16:05:40 latest: digest: sha256:609429991d91dd4cdf5a3d956e26ec72347fbdb44177336f20742515d018592c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:40 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.53 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.53 16:05:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:05:41 ae757b8a4517: Preparing 16:05:41 e7a575286049: Preparing 16:05:41 3852cddfd97e: Preparing 16:05:41 e616ab364c48: Preparing 16:05:41 26cbea5cba74: Preparing 16:05:41 e7a575286049: Layer already exists 16:05:41 e616ab364c48: Layer already exists 16:05:41 ae757b8a4517: Layer already exists 16:05:41 26cbea5cba74: Layer already exists 16:05:41 3852cddfd97e: Layer already exists 16:05:41 3.0.0-dev.53: digest: sha256:609429991d91dd4cdf5a3d956e26ec72347fbdb44177336f20742515d018592c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:41 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:178b9a158c9b2d1c2a09f5efb5db45d99958c0f3-3.0.0-dev.53 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:178b9a158c9b2d1c2a09f5efb5db45d99958c0f3-3.0.0-dev.53 16:05:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:05:41 ae757b8a4517: Preparing 16:05:41 e7a575286049: Preparing 16:05:41 3852cddfd97e: Preparing 16:05:41 e616ab364c48: Preparing 16:05:41 26cbea5cba74: Preparing 16:05:41 ae757b8a4517: Layer already exists 16:05:41 e616ab364c48: Layer already exists 16:05:41 26cbea5cba74: Layer already exists 16:05:41 e7a575286049: Layer already exists 16:05:41 3852cddfd97e: Layer already exists 16:05:41 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3-3.0.0-dev.53: digest: sha256:609429991d91dd4cdf5a3d956e26ec72347fbdb44177336f20742515d018592c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:42 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 16:05:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:05:42 ae757b8a4517: Preparing 16:05:42 e7a575286049: Preparing 16:05:42 3852cddfd97e: Preparing 16:05:42 e616ab364c48: Preparing 16:05:42 26cbea5cba74: Preparing 16:05:42 26cbea5cba74: Layer already exists 16:05:42 ae757b8a4517: Layer already exists 16:05:42 e616ab364c48: Layer already exists 16:05:42 3852cddfd97e: Layer already exists 16:05:42 e7a575286049: Layer already exists 16:05:42 main: digest: sha256:609429991d91dd4cdf5a3d956e26ec72347fbdb44177336f20742515d018592c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:05:42 ===================================================== [Pipeline] echo 16:05:42 taggedImages: 16:05:42 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 16:05:42 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 16:05:42 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.53 16:05:42 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:178b9a158c9b2d1c2a09f5efb5db45d99958c0f3-3.0.0-dev.53 16:05:42 - 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 16:05:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:05:42 16:05:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:05:43 arm64: Pulling from edgex-lftools-log-publisher 16:05:43 8998bd30e6a1: Pulling fs layer 16:05:43 04944245beec: Pulling fs layer 16:05:43 699f458cf7ca: Pulling fs layer 16:05:43 765212b225bb: Pulling fs layer 16:05:43 f23df028b6ca: Pulling fs layer 16:05:43 d65c8cfc05b1: Pulling fs layer 16:05:43 2437ff75d9bd: Pulling fs layer 16:05:43 f23df028b6ca: Waiting 16:05:43 2437ff75d9bd: Waiting 16:05:43 d65c8cfc05b1: Waiting 16:05:43 765212b225bb: Waiting 16:05:43 04944245beec: Verifying Checksum 16:05:43 04944245beec: Download complete 16:05:43 765212b225bb: Verifying Checksum 16:05:43 765212b225bb: Download complete 16:05:43 f23df028b6ca: Verifying Checksum 16:05:43 f23df028b6ca: Download complete 16:05:43 d65c8cfc05b1: Verifying Checksum 16:05:43 d65c8cfc05b1: Download complete 16:05:43 699f458cf7ca: Verifying Checksum 16:05:43 699f458cf7ca: Download complete 16:05:44 8998bd30e6a1: Download complete 16:05:46 2437ff75d9bd: Verifying Checksum 16:05:46 2437ff75d9bd: Download complete 16:05:48 8998bd30e6a1: Pull complete 16:05:48 04944245beec: Pull complete 16:05:49 699f458cf7ca: Pull complete 16:05:49 765212b225bb: Pull complete 16:05:50 f23df028b6ca: Pull complete 16:05:50 d65c8cfc05b1: Pull complete 16:06:05 2437ff75d9bd: Pull complete 16:06:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:06:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:06:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:06 prd-ubuntu20.04-docker-arm64-4c-16g-17318 does not seem to be running inside a container 16:06:06 $ 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/125 -v /w/workspace/device-virtual-go/125:/w/workspace/device-virtual-go/125:rw,z -v /w/workspace/device-virtual-go/125@tmp:/w/workspace/device-virtual-go/125@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 16:06:09 $ docker top e88befbe0dff501bb1a1023e59defdb74a7809627af2a8c75416cd2907e28352 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:06:10 ---> job-cost.sh 16:06:10 lf-activate-venv: SKIPPING 16:06:10 INFO: No Stack... 16:06:11 INFO: Retrieving Pricing Info for: v3-standard-4 16:06:11 INFO: Archiving Costs [Pipeline] sh 16:06:12 + cat /w/workspace/device-virtual-go/125/archives/cost.csv 16:06:12 + cut -d, -f6 [Pipeline] lock 16:06:12 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-125-stack-cost] 16:06:12 Resource [jenkins-edgexfoundry-device-virtual-go-main-125-stack-cost] did not exist. Created. 16:06:12 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-125-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:06:13 /w/workspace/device-virtual-go/125@tmp/durable-2cdc7ed1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:06:13 + echo total: 0.10999999940395355 [Pipeline] stash 16:06:13 Warning: overwriting stash ‘stack-cost’ 16:06:13 Stashed 1 file(s) [Pipeline] } 16:06:13 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-125-stack-cost] [Pipeline] // lock [Pipeline] } 16:06:13 $ docker stop --time=1 e88befbe0dff501bb1a1023e59defdb74a7809627af2a8c75416cd2907e28352 16:06:15 $ docker rm -f --volumes e88befbe0dff501bb1a1023e59defdb74a7809627af2a8c75416cd2907e28352 [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 16:06:15 provisioning config files... 16:06:15 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9822068593701263789tmp [Pipeline] { [Pipeline] sh 16:06:16 + set +x 16:06:16 + bash -s -- 16:06:16 + curl -s https://codecov.io/bash 16:06:16 16:06:16 _____ _ 16:06:16 / ____| | | 16:06:16 | | ___ __| | ___ ___ _____ __ 16:06:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:06:16 | |___| (_) | (_| | __/ (_| (_) \ V / 16:06:16 \_____\___/ \__,_|\___|\___\___/ \_/ 16:06:16 Bash-1.0.6 16:06:16 16:06:16 16:06:16 ==> git version 2.25.1 found 16:06:16 ==> 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 16:06:16 Release-Date: 2020-01-08 16:06:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:06:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:06:16 ==> Jenkins CI detected. 16:06:16 current dir:  /w/workspace/exfoundry_device-virtual-go_main 16:06:16 project root: . 16:06:16 --> token set from env 16:06:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:06:16 ==> Running gcov in . (disable via -X gcov) 16:06:16 ==> Python coveragepy not found 16:06:16 ==> Searching for coverage reports in: 16:06:16 + . 16:06:16 -> Found 1 reports 16:06:16 ==> Detecting git/mercurial file structure 16:06:16 ==> Reading reports 16:06:16 + ./coverage.out bytes=43063 16:06:16 ==> Appending adjustments 16:06:16 https://docs.codecov.io/docs/fixing-reports 16:06:16 + Found adjustments 16:06:16 ==> Gzipping contents 16:06:16 8.0K /tmp/codecov.cSF87b.gz 16:06:16 ==> Uploading reports 16:06:16 url: https://codecov.io 16:06:16 query: branch=main&commit=178b9a158c9b2d1c2a09f5efb5db45d99958c0f3&build=125&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F125%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:06:16 -> Pinging Codecov 16:06:16 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=178b9a158c9b2d1c2a09f5efb5db45d99958c0f3&build=125&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F125%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:06:16 -> Uploading to 16:06:16 https://storage.googleapis.com/codecov/v4/raw/2023-05-30/5E52B4B073DB2E39498172D8E973AA87/178b9a158c9b2d1c2a09f5efb5db45d99958c0f3/e7c028af-ed0e-4925-8323-0076a774a1d3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T160616Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e0de31378cec06d133b8eccc342ebf5207e73872d7378e95bbeaec826df20936 16:06:16 % Total % Received % Xferd Average Speed Time Time Time Current 16:06:16 Dload Upload Total Spent Left Speed 16:06:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 24000 --:--:-- --:--:-- --:--:-- 24111 16:06:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 [Pipeline] } 16:06:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:06:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:06:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:06:16 16:06:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:06:17 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:06:17 df9b9388f04a: Pulling fs layer 16:06:17 52dc419b0ee2: Pulling fs layer 16:06:17 25bc292e5bac: Pulling fs layer 16:06:17 114826534d7a: Pulling fs layer 16:06:17 4657fd5d0bcf: Pulling fs layer 16:06:17 6ad1cebc031e: Pulling fs layer 16:06:17 8a3aa393b2d8: Pulling fs layer 16:06:17 4657fd5d0bcf: Waiting 16:06:17 6ad1cebc031e: Waiting 16:06:17 8a3aa393b2d8: Waiting 16:06:17 114826534d7a: Waiting 16:06:17 25bc292e5bac: Verifying Checksum 16:06:17 25bc292e5bac: Download complete 16:06:17 52dc419b0ee2: Verifying Checksum 16:06:17 52dc419b0ee2: Download complete 16:06:17 4657fd5d0bcf: Verifying Checksum 16:06:17 4657fd5d0bcf: Download complete 16:06:17 df9b9388f04a: Download complete 16:06:17 6ad1cebc031e: Verifying Checksum 16:06:17 6ad1cebc031e: Download complete 16:06:17 df9b9388f04a: Pull complete 16:06:17 52dc419b0ee2: Pull complete 16:06:17 25bc292e5bac: Pull complete 16:06:18 114826534d7a: Download complete 16:06:18 8a3aa393b2d8: Verifying Checksum 16:06:18 8a3aa393b2d8: Download complete 16:06:21 114826534d7a: Pull complete 16:06:21 4657fd5d0bcf: Pull complete 16:06:21 6ad1cebc031e: Pull complete 16:06:27 8a3aa393b2d8: Pull complete 16:06:27 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:06:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:06:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:27 prd-ubuntu20.04-docker-8c-8g-17319 does not seem to be running inside a container 16:06:27 $ 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 16:06:31 $ docker top 50ea1a403f96a0d352cf7c17356b8c424be2b3e06dc70b8ca6d29e9975b6ae34 -eo pid,comm [Pipeline] { [Pipeline] echo 16:06:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 16:06:32 + set -o pipefail 16:06:32 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 16:06:37 16:06:37 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 16:06:37 16:06:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/ab6cb36a-7a6f-4063-806a-63c00a743ae7 16:06:37 16:06:37 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:06:37 16:06:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:06:37 16:06:37 16:06:37 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:06:37 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:06:37 More details here: https://snyk.co/ue1NS [Pipeline] } 16:06:37 $ docker stop --time=1 50ea1a403f96a0d352cf7c17356b8c424be2b3e06dc70b8ca6d29e9975b6ae34 16:06:41 $ docker rm -f --volumes 50ea1a403f96a0d352cf7c17356b8c424be2b3e06dc70b8ca6d29e9975b6ae34 [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 16:06:42 + git log --format=format:%s -1 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 [Pipeline] sh 16:06:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:06:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:06:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:42 prd-ubuntu20.04-docker-8c-8g-17319 does not seem to be running inside a container 16:06: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 16:06:43 $ docker top 2b0c7b16ffed2f0f68a9ae159ddfb7520b4f16486613de0cfaa185608afa5eeb -eo pid,comm 16:06:43 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). 16:06:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:06:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:06:43 [ssh-agent] Looking for ssh-agent implementation... 16:06:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:06:43 $ docker exec 2b0c7b16ffed2f0f68a9ae159ddfb7520b4f16486613de0cfaa185608afa5eeb ssh-agent 16:06:43 SSH_AUTH_SOCK=/tmp/ssh-EMOga3hZgorW/agent.32 16:06:43 SSH_AGENT_PID=39 16:06:43 Running ssh-add (command line suppressed) 16:06:43 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14160568216746297967.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14160568216746297967.key) 16:06:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:06:44 + git semver tag 16:06:44 2023-05-30 16:06:44,212 [run_tag] DEBUG tag force:False 16:06:44 2023-05-30 16:06:44,212 [check_head_tag] DEBUG check head tag 16:06:44 2023-05-30 16:06:44,214 [execute] INFO git cat-file --batch-check 16:06:44 2023-05-30 16:06:44,214 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 16:06:44 2023-05-30 16:06:44,219 [execute] INFO git cat-file --batch 16:06:44 2023-05-30 16:06:44,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 16:06:44 2023-05-30 16:06:44,256 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:06:44 2023-05-30 16:06:44,257 [execute] INFO git tag -a v3.0.0-dev.53 -m v3.0.0-dev.53 16:06:44 2023-05-30 16:06:44,257 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.53', '-m', 'v3.0.0-dev.53'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 16:06:44 2023-05-30 16:06:44,263 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:06:44 3.0.0-dev.53 [Pipeline] } 16:06:44 $ docker exec --env ******** --env ******** 2b0c7b16ffed2f0f68a9ae159ddfb7520b4f16486613de0cfaa185608afa5eeb ssh-agent -k 16:06:44 unset SSH_AUTH_SOCK; 16:06:44 unset SSH_AGENT_PID; 16:06:44 echo Agent pid 39 killed; 16:06:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:06:44 + git semver [Pipeline] } 16:06:45 $ docker stop --time=1 2b0c7b16ffed2f0f68a9ae159ddfb7520b4f16486613de0cfaa185608afa5eeb 16:06:46 $ docker rm -f --volumes 2b0c7b16ffed2f0f68a9ae159ddfb7520b4f16486613de0cfaa185608afa5eeb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:06:46 16:06:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:06:47 0.23.1-centos7: Pulling from edgex-lftools 16:06:47 ab5ef0e58194: Pulling fs layer 16:06:47 9712f1f96733: Pulling fs layer 16:06:47 63f879dbbcfc: Pulling fs layer 16:06:47 0d9ebad4ef96: Pulling fs layer 16:06:47 e9a5061849ea: Pulling fs layer 16:06:47 d747dcd14b5f: Pulling fs layer 16:06:47 2de7ff778b66: Pulling fs layer 16:06:47 e9a5061849ea: Waiting 16:06:47 d747dcd14b5f: Waiting 16:06:47 2de7ff778b66: Waiting 16:06:47 0d9ebad4ef96: Waiting 16:06:47 9712f1f96733: Verifying Checksum 16:06:47 9712f1f96733: Download complete 16:06:47 63f879dbbcfc: Verifying Checksum 16:06:47 63f879dbbcfc: Download complete 16:06:47 0d9ebad4ef96: Verifying Checksum 16:06:47 0d9ebad4ef96: Download complete 16:06:47 d747dcd14b5f: Download complete 16:06:47 e9a5061849ea: Verifying Checksum 16:06:47 e9a5061849ea: Download complete 16:06:47 ab5ef0e58194: Verifying Checksum 16:06:47 ab5ef0e58194: Download complete 16:06:47 2de7ff778b66: Verifying Checksum 16:06:47 2de7ff778b66: Download complete 16:06:50 ab5ef0e58194: Pull complete 16:06:50 9712f1f96733: Pull complete 16:06:51 63f879dbbcfc: Pull complete 16:06:55 0d9ebad4ef96: Pull complete 16:06:55 e9a5061849ea: Pull complete 16:06:55 d747dcd14b5f: Pull complete 16:06:57 2de7ff778b66: Pull complete 16:06:57 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:06:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:06:57 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:57 prd-ubuntu20.04-docker-8c-8g-17319 does not seem to be running inside a container 16:06:57 $ 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 16:07:03 $ docker top 11b09d0eaa9d98830aaba3a2089fd3c82ea8e65e3371ee6ba6c5a1ee963d72cb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:07:03 provisioning config files... 16:07:03 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6975546798904246344tmp 16:07:03 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11045068579048572734tmp 16:07:03 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2698387866063711679tmp [Pipeline] { [Pipeline] echo 16:07:03 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:07:03 ---> sigul-configuration.sh 16:07:03 gpg: directory `/root/.gnupg' created 16:07:03 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:07:03 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:07:03 gpg: keyring `/root/.gnupg/secring.gpg' created 16:07:03 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:07:03 gpg: CAST5 encrypted data 16:07:03 gpg: encrypted with 1 passphrase 16:07:03 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:07:04 + mkdir /home/jenkins 16:07:04 + mkdir /home/jenkins/sigul [Pipeline] sh 16:07:04 + 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 16:07:04 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:07:04 ---> sigul-install.sh 16:07:04 Sigul already installed; skipping installation. [Pipeline] sh 16:07:05 + git tag --list 16:07:05 v1.0.0 16:07:05 v1.1.0 16:07:05 v1.1.1 16:07:05 v1.2.1 16:07:05 v1.2.2 16:07:05 v1.2.3 16:07:05 v1.3.0 16:07:05 v1.3.1 16:07:05 v2.0.0 16:07:05 v2.1.0 16:07:05 v2.1.1 16:07:05 v2.1.1-dev.1 16:07:05 v2.1.1-dev.2 16:07:05 v2.2.0 16:07:05 v2.2.1-dev.1 16:07:05 v2.2.1-dev.2 16:07:05 v2.2.1-dev.3 16:07:05 v2.2.1-dev.4 16:07:05 v2.2.1-dev.5 16:07:05 v2.2.1-dev.6 16:07:05 v2.2.1-dev.7 16:07:05 v2.2.1-dev.8 16:07:05 v2.3.0 16:07:05 v2.3.0-dev.10 16:07:05 v2.3.0-dev.11 16:07:05 v2.3.0-dev.12 16:07:05 v2.3.0-dev.13 16:07:05 v2.3.0-dev.14 16:07:05 v2.3.0-dev.15 16:07:05 v2.3.0-dev.16 16:07:05 v2.3.0-dev.17 16:07:05 v2.3.0-dev.18 16:07:05 v2.3.0-dev.19 16:07:05 v2.3.0-dev.20 16:07:05 v2.3.0-dev.21 16:07:05 v2.3.0-dev.22 16:07:05 v2.3.0-dev.23 16:07:05 v2.3.0-dev.24 16:07:05 v2.3.0-dev.25 16:07:05 v2.3.0-dev.26 16:07:05 v2.3.0-dev.27 16:07:05 v2.3.0-dev.28 16:07:05 v2.3.0-dev.29 16:07:05 v2.3.0-dev.30 16:07:05 v2.3.0-dev.8 16:07:05 v2.3.0-dev.9 16:07:05 v3.0.0-dev.1 16:07:05 v3.0.0-dev.10 16:07:05 v3.0.0-dev.11 16:07:05 v3.0.0-dev.12 16:07:05 v3.0.0-dev.13 16:07:05 v3.0.0-dev.14 16:07:05 v3.0.0-dev.15 16:07:05 v3.0.0-dev.16 16:07:05 v3.0.0-dev.17 16:07:05 v3.0.0-dev.18 16:07:05 v3.0.0-dev.19 16:07:05 v3.0.0-dev.2 16:07:05 v3.0.0-dev.20 16:07:05 v3.0.0-dev.21 16:07:05 v3.0.0-dev.22 16:07:05 v3.0.0-dev.23 16:07:05 v3.0.0-dev.24 16:07:05 v3.0.0-dev.25 16:07:05 v3.0.0-dev.26 16:07:05 v3.0.0-dev.27 16:07:05 v3.0.0-dev.28 16:07:05 v3.0.0-dev.29 16:07:05 v3.0.0-dev.3 16:07:05 v3.0.0-dev.30 16:07:05 v3.0.0-dev.31 16:07:05 v3.0.0-dev.32 16:07:05 v3.0.0-dev.33 16:07:05 v3.0.0-dev.34 16:07:05 v3.0.0-dev.35 16:07:05 v3.0.0-dev.36 16:07:05 v3.0.0-dev.37 16:07:05 v3.0.0-dev.38 16:07:05 v3.0.0-dev.39 16:07:05 v3.0.0-dev.4 16:07:05 v3.0.0-dev.40 16:07:05 v3.0.0-dev.41 16:07:05 v3.0.0-dev.42 16:07:05 v3.0.0-dev.43 16:07:05 v3.0.0-dev.44 16:07:05 v3.0.0-dev.45 16:07:05 v3.0.0-dev.46 16:07:05 v3.0.0-dev.47 16:07:05 v3.0.0-dev.48 16:07:05 v3.0.0-dev.49 16:07:05 v3.0.0-dev.5 16:07:05 v3.0.0-dev.50 16:07:05 v3.0.0-dev.51 16:07:05 v3.0.0-dev.52 16:07:05 v3.0.0-dev.53 16:07:05 v3.0.0-dev.6 16:07:05 v3.0.0-dev.7 16:07:05 v3.0.0-dev.8 16:07:05 v3.0.0-dev.9 [Pipeline] sh 16:07:05 + lftools sign git-tag v3.0.0-dev.53 16:07:06 Signing Git tag with Sigul... 16:07:06 Signing v3.0.0-dev.53 [Pipeline] echo 16:07:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:07:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:07:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:07:06 $ docker stop --time=1 11b09d0eaa9d98830aaba3a2089fd3c82ea8e65e3371ee6ba6c5a1ee963d72cb 16:07:07 $ docker rm -f --volumes 11b09d0eaa9d98830aaba3a2089fd3c82ea8e65e3371ee6ba6c5a1ee963d72cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:07:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:07:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:07:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:08 prd-ubuntu20.04-docker-8c-8g-17319 does not seem to be running inside a container 16:07:08 $ 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 16:07:09 $ docker top 19b742018f37e6813ae3029cc5f57e5af6f4556936c175a04e89d906b1378dfd -eo pid,comm 16:07:09 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). 16:07:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:07:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:07:09 [ssh-agent] Looking for ssh-agent implementation... 16:07:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:07:09 $ docker exec 19b742018f37e6813ae3029cc5f57e5af6f4556936c175a04e89d906b1378dfd ssh-agent 16:07:09 SSH_AUTH_SOCK=/tmp/ssh-JJ11z0SUXMuE/agent.33 16:07:09 SSH_AGENT_PID=39 16:07:09 Running ssh-add (command line suppressed) 16:07:09 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15679599104632715627.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15679599104632715627.key) 16:07:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:07:09 + git semver bump pre 16:07:10 2023-05-30 16:07:10,061 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:07:10 2023-05-30 16:07:10,061 [bump_version] DEBUG bumping version:3.0.0-dev.53 on axis:pre with prefix:dev 16:07:10 2023-05-30 16:07:10,061 [bump_version] DEBUG bumped version:3.0.0-dev.54 16:07:10 2023-05-30 16:07:10,061 [write_version] DEBUG write version:3.0.0-dev.54 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 16:07:10 2023-05-30 16:07:10,061 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:07:10 2023-05-30 16:07:10,061 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:07:10 2023-05-30 16:07:10,063 [execute] INFO git cat-file --batch-check 16:07:10 2023-05-30 16:07:10,063 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:07:10 2023-05-30 16:07:10,069 [execute] INFO git cat-file --batch 16:07:10 2023-05-30 16:07:10,070 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:07:10 2023-05-30 16:07:10,076 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:07:10 3.0.0-dev.54 [Pipeline] } 16:07:10 $ docker exec --env ******** --env ******** 19b742018f37e6813ae3029cc5f57e5af6f4556936c175a04e89d906b1378dfd ssh-agent -k 16:07:10 unset SSH_AUTH_SOCK; 16:07:10 unset SSH_AGENT_PID; 16:07:10 echo Agent pid 39 killed; 16:07:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:07:10 + git semver [Pipeline] } 16:07:10 $ docker stop --time=1 19b742018f37e6813ae3029cc5f57e5af6f4556936c175a04e89d906b1378dfd 16:07:12 $ docker rm -f --volumes 19b742018f37e6813ae3029cc5f57e5af6f4556936c175a04e89d906b1378dfd [Pipeline] // withDockerContainer [Pipeline] sh 16:07:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:07:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:07:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:12 prd-ubuntu20.04-docker-8c-8g-17319 does not seem to be running inside a container 16:07:12 $ 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 16:07:13 $ docker top 33e25ad283dc2752481cf379834e31260d24f07dd4543e9a44cfadec7e258b20 -eo pid,comm 16:07:13 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). 16:07:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:07:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:07:13 [ssh-agent] Looking for ssh-agent implementation... 16:07:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:07:13 $ docker exec 33e25ad283dc2752481cf379834e31260d24f07dd4543e9a44cfadec7e258b20 ssh-agent 16:07:13 SSH_AUTH_SOCK=/tmp/ssh-QVZVoqhnLq5a/agent.32 16:07:13 SSH_AGENT_PID=38 16:07:13 Running ssh-add (command line suppressed) 16:07:13 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18367010224051831766.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18367010224051831766.key) 16:07:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:07:13 + git semver push 16:07:14 2023-05-30 16:07:14,168 [run_push] DEBUG push 16:07:14 2023-05-30 16:07:14,169 [execute] INFO git cat-file --batch-check 16:07:14 2023-05-30 16:07:14,169 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:07:14 2023-05-30 16:07:14,172 [execute] INFO git rev-list 71062e48e3d51306edbd7e40a7dc458af8458a9d -- 16:07:14 2023-05-30 16:07:14,172 [execute] DEBUG Popen(['git', 'rev-list', '71062e48e3d51306edbd7e40a7dc458af8458a9d', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:07:14 2023-05-30 16:07:14,182 [execute] INFO git fetch -v origin 16:07:14 2023-05-30 16:07:14,182 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:07:14 2023-05-30 16:07:14,682 [run_push] DEBUG no remote changes detected 16:07:14 2023-05-30 16:07:14,682 [execute] INFO git push origin semver 16:07:14 2023-05-30 16:07:14,683 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:07:16 2023-05-30 16:07:16,151 [run_push] DEBUG push all version tags 16:07:16 2023-05-30 16:07:16,152 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:07:16 2023-05-30 16:07:16,152 [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) 16:07:17 2023-05-30 16:07:17,073 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:07:17 3.0.0-dev.54 [Pipeline] } 16:07:17 $ docker exec --env ******** --env ******** 33e25ad283dc2752481cf379834e31260d24f07dd4543e9a44cfadec7e258b20 ssh-agent -k 16:07:17 unset SSH_AUTH_SOCK; 16:07:17 unset SSH_AGENT_PID; 16:07:17 echo Agent pid 38 killed; 16:07:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:07:17 + git semver [Pipeline] } 16:07:17 $ docker stop --time=1 33e25ad283dc2752481cf379834e31260d24f07dd4543e9a44cfadec7e258b20 16:07:19 $ docker rm -f --volumes 33e25ad283dc2752481cf379834e31260d24f07dd4543e9a44cfadec7e258b20 [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 16:07:19 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 16:07:19 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 16:07:19 total 16 16:07:19 drwxr-xr-x 3 root root 4096 May 30 15:59 . 16:07:19 drwxrwxr-x 10 jenkins jenkins 4096 May 30 16:07 .. 16:07:19 drwxr-xr-x 2 root root 4096 May 30 15:59 cost 16:07:19 -rw-r--r-- 1 root root 89 May 30 15:59 cost.csv 16:07:19 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 16:07:19 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 16:07:19 total 16 16:07:19 drwxr-xr-x 3 jenkins jenkins 4096 May 30 15:59 . 16:07:19 drwxrwxr-x 10 jenkins jenkins 4096 May 30 16:07 .. 16:07:19 drwxr-xr-x 2 jenkins jenkins 4096 May 30 15:59 cost 16:07:19 -rw-r--r-- 1 jenkins jenkins 89 May 30 15:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:07:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:07:21 ---> package-listing.sh 16:07:21 ++ facter osfamily 16:07:21 ++ tr '[:upper:]' '[:lower:]' 16:07:21 + OS_FAMILY=debian 16:07:21 + workspace=/w/workspace/exfoundry_device-virtual-go_main 16:07:21 + START_PACKAGES=/tmp/packages_start.txt 16:07:21 + END_PACKAGES=/tmp/packages_end.txt 16:07:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:07:21 + PACKAGES=/tmp/packages_start.txt 16:07:21 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 16:07:21 + PACKAGES=/tmp/packages_end.txt 16:07:21 + case "${OS_FAMILY}" in 16:07:21 + dpkg -l 16:07:21 + grep '^ii' 16:07:21 + '[' -f /tmp/packages_start.txt ']' 16:07:21 + '[' -f /tmp/packages_end.txt ']' 16:07:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:07:21 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 16:07:21 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 16:07:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 16:07:21 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 16:07:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:07:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:22 prd-ubuntu20.04-docker-8c-8g-17319 does not seem to be running inside a container 16:07:22 $ 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 16:07:22 $ docker top 3730f22d034e5282f28e44070286f6d9203de97a0a7451f0554e36ecd6cef555 -eo pid,comm [Pipeline] { [Pipeline] sh 16:07:22 + touch /tmp/pre-build-complete [Pipeline] sh 16:07:23 + mkdir -p /var/log/sysstat [Pipeline] sh 16:07:23 + ls /var/log/sa-host 16:07:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:07:23 provisioning config files... 16:07:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2909021480837021972tmp [Pipeline] { [Pipeline] echo 16:07:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:07:23 ---> create-netrc.sh [Pipeline] } 16:07:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:07:24 ---> python-tools-install.sh [Pipeline] echo 16:07:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:07:24 ---> sudo-logs.sh 16:07:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:07:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:07:24 ---> job-cost.sh 16:07:24 lf-activate-venv: SKIPPING 16:07:24 DEBUG: total: 0.2199999988079071 16:07:24 INFO: Retrieving Stack Cost... 16:07:25 INFO: Retrieving Pricing Info for: v3-standard-8 16:07:25 INFO: Archiving Costs [Pipeline] echo 16:07:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:07:25 ---> logs-deploy.sh 16:07:25 lf-activate-venv: SKIPPING 16:07:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/125 16:07:25 INFO: archiving workspace using pattern(s): 16:07:26 Archives upload complete. 16:07:26 INFO: archiving logs to Nexus