Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b76ffb3f756266f027a45c1155223ddd586b2bad 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-ssh4564591097333992506.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh15747380488186253143.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh6171547793191108548.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh4564467866483467512.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-ssh10151422966631102929.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-6151 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b76ffb3f756266f027a45c1155223ddd586b2bad (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b76ffb3f756266f027a45c1155223ddd586b2bad # timeout=10 Commit message: "refactor!: Changed configuration and devices files format to YAML (#368)" > git rev-list --no-walk 8ed51eb9eaa0a405dde043671b4ac8557819634f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:31:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:31:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:31:52 ========================================================= 00:31:52 EdgeX Global Pipelines Version Info 00:31:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:31:53 ------------------- 00:31:53 stable info: 00:31:53 ------------------- 00:31:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:31:53 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 00:31:53 Message: update stable to v1.0.245 00:31:53 ------------------- 00:31:53 experimental info: 00:31:53 ------------------- 00:31:53 Commited By: **** collab-it+edgex@linuxfoundation.org 00:31:53 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 00:31:53 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b76ffb3f756266f027a45c1155223ddd586b2bad [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b76ffb3 [Pipeline] echo 00:31:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:31:54 provisioning config files... 00:31:54 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2410709663567867179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:31:54 ---> docker-login.sh 00:31:54 nexus3.edgexfoundry.org:10001 00:31:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:55 Configure a credential helper to remove this warning. See 00:31:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:55 00:31:55 Login Succeeded 00:31:55 nexus3.edgexfoundry.org:10002 00:31:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:55 Configure a credential helper to remove this warning. See 00:31:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:55 00:31:55 Login Succeeded 00:31:55 nexus3.edgexfoundry.org:10003 00:31:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:55 Configure a credential helper to remove this warning. See 00:31:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:55 00:31:55 Login Succeeded 00:31:55 nexus3.edgexfoundry.org:10004 00:31:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:55 Configure a credential helper to remove this warning. See 00:31:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:55 00:31:55 Login Succeeded 00:31:55 docker.io 00:31:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:55 Configure a credential helper to remove this warning. See 00:31:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:55 00:31:55 Login Succeeded 00:31:55 ---> docker-login.sh ends [Pipeline] } 00:31:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:31:55 + git rev-list -1 --merges b76ffb3f756266f027a45c1155223ddd586b2bad~1..b76ffb3f756266f027a45c1155223ddd586b2bad [Pipeline] echo 00:31:55 -----------> git rev-list -1 --merges b76ffb3f756266f027a45c1155223ddd586b2bad~1..b76ffb3f756266f027a45c1155223ddd586b2bad b76ffb3f756266f027a45c1155223ddd586b2bad [false] [Pipeline] sh 00:31:56 + git log --format=format:%s -1 b76ffb3f756266f027a45c1155223ddd586b2bad [Pipeline] echo 00:31:56 ========================================================= 00:31:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:31:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:31:56 + git log --format=format:%s -1 b76ffb3f756266f027a45c1155223ddd586b2bad [Pipeline] echo 00:31:56 [semverPrep] GIT_COMMIT: b76ffb3f756266f027a45c1155223ddd586b2bad, Commit Message: refactor!: Changed configuration and devices files format to YAML (#368) [Pipeline] echo 00:31:56 [semverPrep] This is not a build commit. [Pipeline] sh 00:31:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:31:56 + grep -v github /etc/ssh/ssh_known_hosts 00:31:56 + [ -e /tmp/ssh_known_hosts ] 00:31:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:31:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:31:56 + sudo tee -a /etc/ssh/ssh_known_hosts 00:31:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:31:57 00:31:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:31:57 0.1.4: Pulling from edgex-devops/py-git-semver 00:31:57 b85a868b505f: Pulling fs layer 00:31:57 e2be974225ed: Pulling fs layer 00:31:57 339a4e72a1f5: Pulling fs layer 00:31:57 988bab9f4d93: Pulling fs layer 00:31:57 1469e6f7b9e6: Pulling fs layer 00:31:57 eaf3925da568: Pulling fs layer 00:31:57 bab4dde63d76: Pulling fs layer 00:31:57 bde34c3a00c8: Pulling fs layer 00:31:57 b352a97aabf1: Pulling fs layer 00:31:57 4872d77fe225: Pulling fs layer 00:31:57 5851b861e8e6: Pulling fs layer 00:31:57 988bab9f4d93: Waiting 00:31:57 1469e6f7b9e6: Waiting 00:31:57 eaf3925da568: Waiting 00:31:57 bab4dde63d76: Waiting 00:31:57 bde34c3a00c8: Waiting 00:31:57 b352a97aabf1: Waiting 00:31:57 4872d77fe225: Waiting 00:31:57 5851b861e8e6: Waiting 00:31:57 e2be974225ed: Verifying Checksum 00:31:57 e2be974225ed: Download complete 00:31:57 988bab9f4d93: Verifying Checksum 00:31:57 988bab9f4d93: Download complete 00:31:57 1469e6f7b9e6: Verifying Checksum 00:31:57 1469e6f7b9e6: Download complete 00:31:57 339a4e72a1f5: Verifying Checksum 00:31:57 339a4e72a1f5: Download complete 00:31:57 eaf3925da568: Verifying Checksum 00:31:57 eaf3925da568: Download complete 00:31:57 bde34c3a00c8: Verifying Checksum 00:31:57 bde34c3a00c8: Download complete 00:31:57 b352a97aabf1: Verifying Checksum 00:31:57 b352a97aabf1: Download complete 00:31:57 4872d77fe225: Verifying Checksum 00:31:57 4872d77fe225: Download complete 00:31:57 5851b861e8e6: Download complete 00:31:57 b85a868b505f: Verifying Checksum 00:31:57 b85a868b505f: Download complete 00:31:58 bab4dde63d76: Verifying Checksum 00:31:58 bab4dde63d76: Download complete 00:31:59 b85a868b505f: Pull complete 00:31:59 e2be974225ed: Pull complete 00:31:59 339a4e72a1f5: Pull complete 00:32:00 988bab9f4d93: Pull complete 00:32:00 1469e6f7b9e6: Pull complete 00:32:00 eaf3925da568: Pull complete 00:32:02 bab4dde63d76: Pull complete 00:32:02 bde34c3a00c8: Pull complete 00:32:02 b352a97aabf1: Pull complete 00:32:02 4872d77fe225: Pull complete 00:32:02 5851b861e8e6: Pull complete 00:32:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:32:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:32:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:32:02 prd-ubuntu20.04-docker-8c-8g-6151 does not seem to be running inside a container 00:32:02 $ 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 00:32:05 $ docker top 553a969758e9c4908f72e92e92e2a43682f0a918b017ed5f17bf969d9bff6854 -eo pid,comm 00:32:05 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). 00:32:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:32:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:32:05 [ssh-agent] Looking for ssh-agent implementation... 00:32:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:32:05 $ docker exec 553a969758e9c4908f72e92e92e2a43682f0a918b017ed5f17bf969d9bff6854 ssh-agent 00:32:05 SSH_AUTH_SOCK=/tmp/ssh-XgqVez1TbP4E/agent.32 00:32:05 SSH_AGENT_PID=38 00:32:05 Running ssh-add (command line suppressed) 00:32:05 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14868254068838344573.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14868254068838344573.key) 00:32:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:32:05 + git tag --points-at HEAD [Pipeline] } 00:32:05 $ docker exec --env ******** --env ******** 553a969758e9c4908f72e92e92e2a43682f0a918b017ed5f17bf969d9bff6854 ssh-agent -k 00:32:05 unset SSH_AUTH_SOCK; 00:32:05 unset SSH_AGENT_PID; 00:32:05 echo Agent pid 38 killed; 00:32:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:32:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:32:05 [ssh-agent] Looking for ssh-agent implementation... 00:32:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:32:06 $ docker exec 553a969758e9c4908f72e92e92e2a43682f0a918b017ed5f17bf969d9bff6854 ssh-agent 00:32:06 SSH_AUTH_SOCK=/tmp/ssh-waxRzmv5rsTl/agent.70 00:32:06 SSH_AGENT_PID=76 00:32:06 Running ssh-add (command line suppressed) 00:32:06 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8377385796987074386.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8377385796987074386.key) 00:32:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:32:06 + git semver init 00:32:06 2023-03-29 00:32:06,816 [run_init] DEBUG init version:0.0.0 force:False 00:32:06 2023-03-29 00:32:06,817 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 00:32:06 2023-03-29 00:32:06,817 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 00:32:06 2023-03-29 00:32:06,817 [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) 00:32:08 2023-03-29 00:32:07,861 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 00:32:08 2023-03-29 00:32:07,862 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 00:32:08 2023-03-29 00:32:07,862 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:32:08 2023-03-29 00:32:07,862 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:32:08 3.0.0-dev.25 [Pipeline] } 00:32:08 $ docker exec --env ******** --env ******** 553a969758e9c4908f72e92e92e2a43682f0a918b017ed5f17bf969d9bff6854 ssh-agent -k 00:32:08 unset SSH_AUTH_SOCK; 00:32:08 unset SSH_AGENT_PID; 00:32:08 echo Agent pid 76 killed; 00:32:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:32:08 + git semver [Pipeline] } 00:32:08 $ docker stop --time=1 553a969758e9c4908f72e92e92e2a43682f0a918b017ed5f17bf969d9bff6854 00:32:10 $ docker rm -f --volumes 553a969758e9c4908f72e92e92e2a43682f0a918b017ed5f17bf969d9bff6854 [Pipeline] // withDockerContainer [Pipeline] sh 00:32:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:32:10 Stashed 1 file(s) [Pipeline] echo 00:32:10 [edgeXSemver]: initialized semver on version 3.0.0-dev.25 [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 00:32:10 provisioning config files... 00:32:10 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2274138456469758626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:32:11 ---> docker-login.sh 00:32:11 nexus3.edgexfoundry.org:10001 00:32:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:11 Configure a credential helper to remove this warning. See 00:32:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:11 00:32:11 Login Succeeded 00:32:11 nexus3.edgexfoundry.org:10002 00:32:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:11 Configure a credential helper to remove this warning. See 00:32:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:11 00:32:11 Login Succeeded 00:32:11 nexus3.edgexfoundry.org:10003 00:32:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:11 Configure a credential helper to remove this warning. See 00:32:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:11 00:32:11 Login Succeeded 00:32:11 nexus3.edgexfoundry.org:10004 00:32:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:11 Configure a credential helper to remove this warning. See 00:32:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:11 00:32:11 Login Succeeded 00:32:11 docker.io 00:32:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:11 Configure a credential helper to remove this warning. See 00:32:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:11 00:32:11 Login Succeeded 00:32:11 ---> docker-login.sh ends [Pipeline] } 00:32:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:32:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:32:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:32:12 ========================================================= 00:32:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:32:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:12 + 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 . 00:32:12 Sending build context to Docker daemon 23.49MB 00:32:12 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:32:12 Step 2/12 : FROM ${BASE} AS builder 00:32:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:32:12 63b65145d645: Pulling fs layer 00:32:12 a2d21d5440eb: Pulling fs layer 00:32:12 935e6c44a52c: Pulling fs layer 00:32:12 94cc34f8dd06: Pulling fs layer 00:32:12 30dea6a524f1: Pulling fs layer 00:32:12 a2aff8979fd8: Pulling fs layer 00:32:12 6808be2612f2: Pulling fs layer 00:32:12 f25807f1079a: Pulling fs layer 00:32:12 30dea6a524f1: Waiting 00:32:12 a2aff8979fd8: Waiting 00:32:12 6808be2612f2: Waiting 00:32:12 f25807f1079a: Waiting 00:32:12 a2d21d5440eb: Download complete 00:32:12 94cc34f8dd06: Download complete 00:32:12 30dea6a524f1: Verifying Checksum 00:32:12 30dea6a524f1: Download complete 00:32:12 63b65145d645: Verifying Checksum 00:32:12 63b65145d645: Download complete 00:32:12 a2aff8979fd8: Verifying Checksum 00:32:12 a2aff8979fd8: Download complete 00:32:12 63b65145d645: Pull complete 00:32:12 a2d21d5440eb: Pull complete 00:32:13 f25807f1079a: Verifying Checksum 00:32:13 f25807f1079a: Download complete 00:32:13 935e6c44a52c: Verifying Checksum 00:32:13 935e6c44a52c: Download complete 00:32:13 6808be2612f2: Verifying Checksum 00:32:13 6808be2612f2: Download complete 00:32:16 935e6c44a52c: Pull complete 00:32:16 94cc34f8dd06: Pull complete 00:32:16 30dea6a524f1: Pull complete 00:32:17 a2aff8979fd8: Pull complete 00:32:19 6808be2612f2: Pull complete 00:32:20 f25807f1079a: Pull complete 00:32:20 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 00:32:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:32:20 ---> 3b553350e43f 00:32:20 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:32:23 ---> Running in a1c7361182d5 00:32:23 Removing intermediate container a1c7361182d5 00:32:23 ---> b8a50191ba69 00:32:23 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:32:23 ---> Running in 4c7c1897192e 00:32:23 Removing intermediate container 4c7c1897192e 00:32:23 ---> bad3353bb046 00:32:23 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:32:23 ---> Running in 74c3966b611a 00:32:23 Removing intermediate container 74c3966b611a 00:32:23 ---> a60f56dd8e50 00:32:23 Step 6/12 : WORKDIR /device-virtual-go 00:32:23 ---> Running in 3649916108bc 00:32:23 Removing intermediate container 3649916108bc 00:32:23 ---> 274536f05158 00:32:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:32:23 ---> Running in 8c33d13593b0 00:32:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:32:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:32:24 (1/4) Installing openssh-keygen (9.1_p1-r2) 00:32:24 (2/4) Installing libedit (20221030.3.1-r0) 00:32:24 (3/4) Installing openssh-client-common (9.1_p1-r2) 00:32:24 (4/4) Installing openssh-client-default (9.1_p1-r2) 00:32:24 Executing busybox-1.35.0-r29.trigger 00:32:24 OK: 269 MiB in 57 packages 00:32:24 Removing intermediate container 8c33d13593b0 00:32:24 ---> fe94efafb986 00:32:24 Step 8/12 : COPY go.mod vendor* ./ 00:32:25 ---> f1cac6f972ec 00:32:25 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:32:25 ---> Running in 72b676688df0 00:32:25 Still waiting to schedule task 00:32:25 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:32:57 Removing intermediate container 72b676688df0 00:32:57 ---> 2b4df9163fe8 00:32:57 Step 10/12 : COPY . . 00:32:57 ---> 2c2f4facf47d 00:32:57 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:32:57 ---> Running in 7ea9f89258ff 00:32:57 Removing intermediate container 7ea9f89258ff 00:32:57 ---> c97cf52df016 00:32:57 Step 12/12 : RUN $MAKE 00:32:57 ---> Running in 43b30202d621 00:32:57 noop 00:32:57 Removing intermediate container 43b30202d621 00:32:57 ---> 3df02b01e3f2 00:32:57 Successfully built 3df02b01e3f2 00:32:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:57 + docker inspect -f . ci-base-image-x86_64 00:32:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:32:57 prd-ubuntu20.04-docker-8c-8g-6151 does not seem to be running inside a container 00:32: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 ******** -e ******** ci-base-image-x86_64 cat 00:32:58 $ docker top d7bc00d1c382c989d9ecfc44564786dd3fc8134da940f3a900427dd521dce4f4 -eo pid,comm [Pipeline] { [Pipeline] sh 00:32:58 + go version 00:32:58 go version go1.20.2 linux/amd64 [Pipeline] } 00:32:58 $ docker stop --time=1 d7bc00d1c382c989d9ecfc44564786dd3fc8134da940f3a900427dd521dce4f4 00:32:59 $ docker rm -f --volumes d7bc00d1c382c989d9ecfc44564786dd3fc8134da940f3a900427dd521dce4f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:00 + docker inspect -f . ci-base-image-x86_64 00:33:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:33:00 prd-ubuntu20.04-docker-8c-8g-6151 does not seem to be running inside a container 00:33:00 $ 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 00:33:00 $ docker top b359cc65d46138a6f578210ee2a3582e1653f3ee5f7fd59e4b48e632580817d7 -eo pid,comm [Pipeline] { [Pipeline] sh 00:33:00 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 00:33:01 + make test 00:33:01 go test ./... -coverprofile=coverage.out 00:33:06 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:33:16 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:33:16 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements 00:33:23 go vet ./... 00:33:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:33:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:33:26 ./bin/test-attribution-txt.sh [Pipeline] echo 00:33:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:33:26 $ docker stop --time=1 b359cc65d46138a6f578210ee2a3582e1653f3ee5f7fd59e4b48e632580817d7 00:33:29 $ docker rm -f --volumes b359cc65d46138a6f578210ee2a3582e1653f3ee5f7fd59e4b48e632580817d7 [Pipeline] // withDockerContainer [Pipeline] sh 00:33:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:33:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:33:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:33:30 + ls -al . 00:33:30 total 192 00:33:30 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 00:33 . 00:33:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 00:31 .. 00:33:30 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 00:32 .git 00:33:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 00:31 .github 00:33:30 -rw-rw-r-- 1 jenkins jenkins 337 Mar 29 00:31 .gitignore 00:33:30 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 00:31 .golangci.yml 00:33:30 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 00:32 .semver 00:33:30 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 29 00:31 Attribution.txt 00:33:30 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 29 00:31 CHANGELOG.md 00:33:30 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 29 00:31 Dockerfile 00:33:30 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 00:31 GOVERNANCE.md 00:33:30 -rw-rw-r-- 1 jenkins jenkins 660 Mar 29 00:31 Jenkinsfile 00:33:30 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 00:31 LICENSE 00:33:30 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 29 00:31 Makefile 00:33:30 -rw-rw-r-- 1 jenkins jenkins 623 Mar 29 00:31 OWNERS.md 00:33:30 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 29 00:31 README.md 00:33:30 -rw-rw-r-- 1 jenkins jenkins 12 Mar 29 00:32 VERSION 00:33:30 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 00:31 bin 00:33:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 00:31 cmd 00:33:30 -rw-r--r-- 1 jenkins jenkins 44311 Mar 29 00:33 coverage.out 00:33:30 -rw-rw-r-- 1 jenkins jenkins 3254 Mar 29 00:31 go.mod 00:33:30 -rw-rw-r-- 1 jenkins jenkins 30610 Mar 29 00:31 go.sum 00:33:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 00:31 internal 00:33:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 00:31 snap 00:33:30 -rw-rw-r-- 1 jenkins jenkins 235 Mar 29 00:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:31 + 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=b76ffb3f756266f027a45c1155223ddd586b2bad --label arch=amd64 --label version=3.0.0-dev.25 . 00:33:31 Sending build context to Docker daemon 23.53MB 00:33:31 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 00:33:31 Step 2/25 : FROM ${BASE} AS builder 00:33:31 ---> 3df02b01e3f2 00:33:31 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:33:31 ---> Running in 7ae72437cf0f 00:33:31 Removing intermediate container 7ae72437cf0f 00:33:31 ---> 4bd0b52d95ad 00:33:31 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:33:31 ---> Running in 619037d97465 00:33:31 Removing intermediate container 619037d97465 00:33:31 ---> 244927b89bff 00:33:31 Step 5/25 : ARG ADD_BUILD_TAGS="" 00:33:31 ---> Running in 4a79b2b08fd7 00:33:31 Removing intermediate container 4a79b2b08fd7 00:33:31 ---> 252d514e7224 00:33:31 Step 6/25 : WORKDIR /device-virtual-go 00:33:31 ---> Running in e7454223602a 00:33:32 Removing intermediate container e7454223602a 00:33:32 ---> 8c44f9e5713f 00:33:32 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:33:32 ---> Running in 3a7fa764f313 00:33:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:33:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:33:32 OK: 269 MiB in 57 packages 00:33:32 Removing intermediate container 3a7fa764f313 00:33:32 ---> 2f82b8c87239 00:33:32 Step 8/25 : COPY go.mod vendor* ./ 00:33:33 ---> 526d8157aec2 00:33:33 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:33:33 ---> Running in 67491441e890 00:33:34 Removing intermediate container 67491441e890 00:33:34 ---> c9135f000866 00:33:34 Step 10/25 : COPY . . 00:33:34 ---> d3093de177d2 00:33:34 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:33:34 ---> Running in 62cf44dbc0c1 00:33:34 Removing intermediate container 62cf44dbc0c1 00:33:34 ---> 8be231f61da6 00:33:34 Step 12/25 : RUN $MAKE 00:33:34 ---> Running in 8b0c2ee26f29 00:33:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.25" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 00:33:52 Removing intermediate container 8b0c2ee26f29 00:33:52 ---> 0029acdce560 00:33:52 Step 13/25 : FROM alpine:3.17 00:33:53 3.17: Pulling from library/alpine 00:33:53 63b65145d645: Already exists 00:33:53 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 00:33:53 Status: Downloaded newer image for alpine:3.17 00:33:53 ---> b2aa39c304c2 00:33:53 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 00:33:53 ---> Running in 088e153009bb 00:33:53 Removing intermediate container 088e153009bb 00:33:53 ---> ccb94b2ee454 00:33:53 Step 15/25 : RUN apk add --update --no-cache dumb-init 00:33:53 ---> Running in a5b9ac7be913 00:33:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:33:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:33:54 (1/1) Installing dumb-init (1.2.5-r2) 00:33:54 Executing busybox-1.35.0-r29.trigger 00:33:54 OK: 7 MiB in 16 packages 00:33:54 Removing intermediate container a5b9ac7be913 00:33:54 ---> ff6463d2e114 00:33:54 Step 16/25 : WORKDIR / 00:33:54 ---> Running in b3d33fd77392 00:33:54 Removing intermediate container b3d33fd77392 00:33:54 ---> 2ee29be6d4ce 00:33:54 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 00:33:54 ---> 2b4645f68818 00:33:54 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 00:33:55 ---> f76ab6296947 00:33:55 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 00:33:55 ---> 8e0208207ad9 00:33:55 Step 20/25 : EXPOSE 59900 00:33:55 ---> Running in 60d485e08c4d 00:33:55 Removing intermediate container 60d485e08c4d 00:33:55 ---> 99ed0e20c798 00:33:55 Step 21/25 : ENTRYPOINT ["/device-virtual"] 00:33:55 ---> Running in d135bc2bc7c4 00:33:55 Removing intermediate container d135bc2bc7c4 00:33:55 ---> 450c09e3dfbc 00:33:55 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:33:55 ---> Running in b811df3db5eb 00:33:56 Removing intermediate container b811df3db5eb 00:33:56 ---> a3c49b1635a4 00:33:56 Step 23/25 : LABEL arch=amd64 00:33:56 ---> Running in 85317fbcb159 00:33:56 Removing intermediate container 85317fbcb159 00:33:56 ---> 6aa77f8638ee 00:33:56 Step 24/25 : LABEL git_sha=b76ffb3f756266f027a45c1155223ddd586b2bad 00:33:56 ---> Running in c4ad26d4624f 00:33:56 Removing intermediate container c4ad26d4624f 00:33:56 ---> 73eeb3afee07 00:33:56 Step 25/25 : LABEL version=3.0.0-dev.25 00:33:56 ---> Running in 1b2963dcba81 00:33:56 Removing intermediate container 1b2963dcba81 00:33:56 ---> 8089237d3ff6 00:33:56 [Warning] One or more build-args [ARCH] were not consumed 00:33:56 Successfully built 8089237d3ff6 00:33:56 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:33:56 provisioning config files... 00:33:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9068991286652937475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:33:56 ---> docker-login.sh 00:33:56 nexus3.edgexfoundry.org:10001 00:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:56 Configure a credential helper to remove this warning. See 00:33:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:56 00:33:56 Login Succeeded 00:33:56 nexus3.edgexfoundry.org:10002 00:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:56 Configure a credential helper to remove this warning. See 00:33:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:56 00:33:56 Login Succeeded 00:33:56 nexus3.edgexfoundry.org:10003 00:33:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:57 Configure a credential helper to remove this warning. See 00:33:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:57 00:33:57 Login Succeeded 00:33:57 nexus3.edgexfoundry.org:10004 00:33:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:57 Configure a credential helper to remove this warning. See 00:33:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:57 00:33:57 Login Succeeded 00:33:57 docker.io 00:33:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:57 Configure a credential helper to remove this warning. See 00:33:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:57 00:33:57 Login Succeeded 00:33:57 ---> docker-login.sh ends [Pipeline] } 00:33:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:33:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:33:57 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 00:33:57 b76ffb3f756266f027a45c1155223ddd586b2bad 00:33:57 latest 00:33:57 3.0.0-dev.25 00:33:57 b76ffb3f756266f027a45c1155223ddd586b2bad-3.0.0-dev.25 00:33:57 main 00:33:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:57 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b76ffb3f756266f027a45c1155223ddd586b2bad [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual:b76ffb3f756266f027a45c1155223ddd586b2bad 00:33:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 00:33:58 ab9ad9cd6cb0: Preparing 00:33:58 47c7815f078b: Preparing 00:33:58 abbd2fa991bd: Preparing 00:33:58 b0ae05ca6d7c: Preparing 00:33:58 7cd52847ad77: Preparing 00:33:58 7cd52847ad77: Layer already exists 00:33:58 abbd2fa991bd: Pushed 00:33:58 47c7815f078b: Pushed 00:33:58 b0ae05ca6d7c: Pushed 00:34:01 ab9ad9cd6cb0: Pushed 00:34:01 b76ffb3f756266f027a45c1155223ddd586b2bad: digest: sha256:8c9b68386bf1b0cb20fa2f9b165a9c9ba253db72782dcd05340c51506cef241a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:01 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:02 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 00:34:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 00:34:02 ab9ad9cd6cb0: Preparing 00:34:02 47c7815f078b: Preparing 00:34:02 abbd2fa991bd: Preparing 00:34:02 b0ae05ca6d7c: Preparing 00:34:02 7cd52847ad77: Preparing 00:34:02 abbd2fa991bd: Layer already exists 00:34:02 47c7815f078b: Layer already exists 00:34:02 b0ae05ca6d7c: Layer already exists 00:34:02 7cd52847ad77: Layer already exists 00:34:02 ab9ad9cd6cb0: Layer already exists 00:34:02 latest: digest: sha256:8c9b68386bf1b0cb20fa2f9b165a9c9ba253db72782dcd05340c51506cef241a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:02 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:02 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.25 00:34:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 00:34:02 ab9ad9cd6cb0: Preparing 00:34:02 47c7815f078b: Preparing 00:34:02 abbd2fa991bd: Preparing 00:34:02 b0ae05ca6d7c: Preparing 00:34:02 7cd52847ad77: Preparing 00:34:02 abbd2fa991bd: Layer already exists 00:34:02 ab9ad9cd6cb0: Layer already exists 00:34:02 7cd52847ad77: Layer already exists 00:34:02 b0ae05ca6d7c: Layer already exists 00:34:02 47c7815f078b: Layer already exists 00:34:02 3.0.0-dev.25: digest: sha256:8c9b68386bf1b0cb20fa2f9b165a9c9ba253db72782dcd05340c51506cef241a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:02 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b76ffb3f756266f027a45c1155223ddd586b2bad-3.0.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:03 + docker push nexus3.edgexfoundry.org:10004/device-virtual:b76ffb3f756266f027a45c1155223ddd586b2bad-3.0.0-dev.25 00:34:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 00:34:03 ab9ad9cd6cb0: Preparing 00:34:03 47c7815f078b: Preparing 00:34:03 abbd2fa991bd: Preparing 00:34:03 b0ae05ca6d7c: Preparing 00:34:03 7cd52847ad77: Preparing 00:34:03 47c7815f078b: Layer already exists 00:34:03 abbd2fa991bd: Layer already exists 00:34:03 7cd52847ad77: Layer already exists 00:34:03 ab9ad9cd6cb0: Layer already exists 00:34:03 b0ae05ca6d7c: Layer already exists 00:34:03 b76ffb3f756266f027a45c1155223ddd586b2bad-3.0.0-dev.25: digest: sha256:8c9b68386bf1b0cb20fa2f9b165a9c9ba253db72782dcd05340c51506cef241a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:03 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6153 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 00:34:03 Running in /w/workspace/device-virtual-go/97 [Pipeline] { [Pipeline] checkout 00:34:03 The recommended git tool is: git 00:34:03 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 00:34:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 00:34:03 ab9ad9cd6cb0: Preparing 00:34:03 47c7815f078b: Preparing 00:34:03 abbd2fa991bd: Preparing 00:34:03 b0ae05ca6d7c: Preparing 00:34:03 7cd52847ad77: Preparing 00:34:03 7cd52847ad77: Layer already exists 00:34:03 ab9ad9cd6cb0: Layer already exists 00:34:03 abbd2fa991bd: Layer already exists 00:34:03 47c7815f078b: Layer already exists 00:34:03 b0ae05ca6d7c: Layer already exists 00:34:03 main: digest: sha256:8c9b68386bf1b0cb20fa2f9b165a9c9ba253db72782dcd05340c51506cef241a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:34:03 ===================================================== [Pipeline] echo 00:34:03 taggedImages: 00:34:03 - nexus3.edgexfoundry.org:10004/device-virtual:b76ffb3f756266f027a45c1155223ddd586b2bad 00:34:03 - nexus3.edgexfoundry.org:10004/device-virtual:latest 00:34:03 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.25 00:34:03 - nexus3.edgexfoundry.org:10004/device-virtual:b76ffb3f756266f027a45c1155223ddd586b2bad-3.0.0-dev.25 00:34:03 - 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 00:34:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:34:04 00:34:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:34:04 latest: Pulling from edgex-lftools-log-publisher 00:34:04 5eb5b503b376: Pulling fs layer 00:34:04 5c69ac0246d0: Pulling fs layer 00:34:04 ec43610c2a17: Pulling fs layer 00:34:04 3a2ae6a8a46f: Pulling fs layer 00:34:04 33b1e0a273af: Pulling fs layer 00:34:04 5d3b04190fa2: Pulling fs layer 00:34:04 2f39f015ded8: Pulling fs layer 00:34:04 3a2ae6a8a46f: Waiting 00:34:04 33b1e0a273af: Waiting 00:34:04 5d3b04190fa2: Waiting 00:34:04 5c69ac0246d0: Verifying Checksum 00:34:04 5c69ac0246d0: Download complete 00:34:04 3a2ae6a8a46f: Verifying Checksum 00:34:04 3a2ae6a8a46f: Download complete 00:34:04 33b1e0a273af: Verifying Checksum 00:34:04 33b1e0a273af: Download complete 00:34:04 ec43610c2a17: Verifying Checksum 00:34:04 ec43610c2a17: Download complete 00:34:04 5d3b04190fa2: Verifying Checksum 00:34:04 5d3b04190fa2: Download complete 00:34:04 5eb5b503b376: Verifying Checksum 00:34:04 5eb5b503b376: Download complete 00:34:05 2f39f015ded8: Download complete 00:34:05 5eb5b503b376: Pull complete 00:34:06 5c69ac0246d0: Pull complete 00:34:06 ec43610c2a17: Pull complete 00:34:06 3a2ae6a8a46f: Pull complete 00:34:07 33b1e0a273af: Pull complete 00:34:07 5d3b04190fa2: Pull complete 00:34:09 using credential edgex-jenkins-ssh 00:34:09 Cloning the remote Git repository 00:34:10 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:34:10 > git init /w/workspace/device-virtual-go/97 # timeout=10 00:34:10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:34:10 > git --version # timeout=10 00:34:10 > git --version # 'git version 2.25.1' 00:34:10 using GIT_SSH to set credentials SSH Credentials for GitHub 00:34:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:12 2f39f015ded8: Pull complete 00:34:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:34:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:34:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:34:12 prd-ubuntu20.04-docker-8c-8g-6151 does not seem to be running inside a container 00:34:12 $ 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 00:34:13 Avoid second fetch 00:34:13 Checking out Revision b76ffb3f756266f027a45c1155223ddd586b2bad (main) 00:34:13 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:34:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:13 > git config core.sparsecheckout # timeout=10 00:34:14 Commit message: "refactor!: Changed configuration and devices files format to YAML (#368)" 00:34:14 00:34:14 GitHub has been notified of this commit’s build result 00:34:14 00:34:14 > git checkout -f b76ffb3f756266f027a45c1155223ddd586b2bad # timeout=10 00:34:15 $ docker top 2e4ceabb5bbe813c55186dac626b04149814e70042020aa00f7f4d82040bbffd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:34:16 ---> job-cost.sh 00:34:16 lf-activate-venv: SKIPPING 00:34:16 INFO: No Stack... 00:34:16 INFO: Retrieving Pricing Info for: v3-standard-8 00:34:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:34:16 % Total % Received % Xferd Average Speed Time Time Time Current 00:34:16 Dload Upload Total Spent Left Speed 00:34:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 83888 [Pipeline] sh 00:34:16 INFO: Archiving Costs [Pipeline] sh 00:34:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:34:17 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 00:34:17 + cut -d, -f6 [Pipeline] lock 00:34:17 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-97-stack-cost] 00:34:17 Resource [jenkins-edgexfoundry-device-virtual-go-main-97-stack-cost] did not exist. Created. 00:34:17 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-97-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:34:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:34:17 + sudo tee /etc/docker/daemon.new 00:34:17 { 00:34:17 "registry-mirrors": [ 00:34:17 "https://nexus3.edgexfoundry.org:10001" 00:34:17 ], 00:34:17 "bip": "10.250.0.254/24", 00:34:17 "hosts": [ 00:34:17 "tcp://0.0.0.0:5555", 00:34:17 "unix:///var/run/docker.sock" 00:34:17 ], 00:34:17 "mtu": 1458, 00:34:17 "selinux-enabled": true, 00:34:17 "seccomp-profile": "/etc/docker/seccomp.json" 00:34:17 } [Pipeline] sh 00:34:17 + echo total: 0.2199999988079071 [Pipeline] stash 00:34:17 Stashed 1 file(s) [Pipeline] } 00:34:17 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-97-stack-cost] [Pipeline] // lock [Pipeline] } 00:34:17 $ docker stop --time=1 2e4ceabb5bbe813c55186dac626b04149814e70042020aa00f7f4d82040bbffd 00:34:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 00:34:18 $ docker rm -f --volumes 2e4ceabb5bbe813c55186dac626b04149814e70042020aa00f7f4d82040bbffd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:34:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:34:37 provisioning config files... 00:34:37 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/97@tmp/config9304787245968908394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:34:37 ---> docker-login.sh 00:34:37 nexus3.edgexfoundry.org:10001 00:34:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:38 Configure a credential helper to remove this warning. See 00:34:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:38 00:34:38 Login Succeeded 00:34:38 nexus3.edgexfoundry.org:10002 00:34:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:38 Configure a credential helper to remove this warning. See 00:34:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:38 00:34:38 Login Succeeded 00:34:38 nexus3.edgexfoundry.org:10003 00:34:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:39 Configure a credential helper to remove this warning. See 00:34:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:39 00:34:39 Login Succeeded 00:34:39 nexus3.edgexfoundry.org:10004 00:34:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:39 Configure a credential helper to remove this warning. See 00:34:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:39 00:34:39 Login Succeeded 00:34:39 docker.io 00:34:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:40 Configure a credential helper to remove this warning. See 00:34:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:40 00:34:40 Login Succeeded 00:34:40 ---> docker-login.sh ends [Pipeline] } 00:34:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:34:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:34:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:34:40 ========================================================= 00:34:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:34:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:40 + 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 . 00:34:41 Sending build context to Docker daemon 11.9MB 00:34:41 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:34:41 Step 2/12 : FROM ${BASE} AS builder 00:34:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:34:41 af6eaf76a39c: Pulling fs layer 00:34:41 55522c791124: Pulling fs layer 00:34:41 ce5c4a1c91eb: Pulling fs layer 00:34:41 169dfbe0d373: Pulling fs layer 00:34:41 e1ff8fa3b103: Pulling fs layer 00:34:41 52ebb69f0ebf: Pulling fs layer 00:34:41 5abe8eddf0d5: Pulling fs layer 00:34:41 e1ff8fa3b103: Waiting 00:34:41 52ebb69f0ebf: Waiting 00:34:41 5abe8eddf0d5: Waiting 00:34:41 169dfbe0d373: Waiting 00:34:41 55522c791124: Verifying Checksum 00:34:41 55522c791124: Download complete 00:34:41 169dfbe0d373: Verifying Checksum 00:34:41 169dfbe0d373: Download complete 00:34:41 e1ff8fa3b103: Download complete 00:34:41 af6eaf76a39c: Verifying Checksum 00:34:41 af6eaf76a39c: Download complete 00:34:42 af6eaf76a39c: Pull complete 00:34:42 5abe8eddf0d5: Verifying Checksum 00:34:42 5abe8eddf0d5: Download complete 00:34:43 55522c791124: Pull complete 00:34:44 ce5c4a1c91eb: Verifying Checksum 00:34:44 ce5c4a1c91eb: Download complete 00:34:44 52ebb69f0ebf: Verifying Checksum 00:34:44 52ebb69f0ebf: Download complete 00:34:56 ce5c4a1c91eb: Pull complete 00:34:56 169dfbe0d373: Pull complete 00:34:56 e1ff8fa3b103: Pull complete 00:35:03 52ebb69f0ebf: Pull complete 00:35:04 5abe8eddf0d5: Pull complete 00:35:04 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 00:35:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:35:04 ---> 6cb57ee374ae 00:35:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:35:06 ---> Running in bbe4882e9f90 00:35:06 Removing intermediate container bbe4882e9f90 00:35:06 ---> c94c2dea0c86 00:35:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:35:06 ---> Running in 1e40d136e221 00:35:07 Removing intermediate container 1e40d136e221 00:35:07 ---> 2673b932a278 00:35:07 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:35:07 ---> Running in 298fb6b0765f 00:35:07 Removing intermediate container 298fb6b0765f 00:35:07 ---> f9570fbdf059 00:35:07 Step 6/12 : WORKDIR /device-virtual-go 00:35:07 ---> Running in 51e352166816 00:35:07 Removing intermediate container 51e352166816 00:35:07 ---> e757d1a9cacb 00:35:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:35:08 ---> Running in a6396e51b17e 00:35:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:35:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:35:11 (1/4) Installing openssh-keygen (9.1_p1-r2) 00:35:11 (2/4) Installing libedit (20221030.3.1-r0) 00:35:11 (3/4) Installing openssh-client-common (9.1_p1-r2) 00:35:11 (4/4) Installing openssh-client-default (9.1_p1-r2) 00:35:11 Executing busybox-1.35.0-r29.trigger 00:35:11 OK: 268 MiB in 57 packages 00:35:11 Removing intermediate container a6396e51b17e 00:35:11 ---> eec1ed371a99 00:35:11 Step 8/12 : COPY go.mod vendor* ./ 00:35:12 ---> 8285e0fb015f 00:35:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:35:12 ---> Running in cb82412eb460 00:36:08 Removing intermediate container cb82412eb460 00:36:08 ---> 9c1f69dd2977 00:36:08 Step 10/12 : COPY . . 00:36:10 ---> 185e095e8370 00:36:10 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:36:10 ---> Running in a053f83804d3 00:36:10 Removing intermediate container a053f83804d3 00:36:10 ---> f538710de622 00:36:10 Step 12/12 : RUN $MAKE 00:36:10 ---> Running in 0a606e528f55 00:36:11 noop 00:36:11 Removing intermediate container 0a606e528f55 00:36:11 ---> d1fb067a5a6c 00:36:11 Successfully built d1fb067a5a6c 00:36:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:12 + docker inspect -f . ci-base-image-arm64 00:36:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:36:12 prd-ubuntu20.04-docker-arm64-4c-16g-6153 does not seem to be running inside a container 00:36:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/97 -v /w/workspace/device-virtual-go/97:/w/workspace/device-virtual-go/97:rw,z -v /w/workspace/device-virtual-go/97@tmp:/w/workspace/device-virtual-go/97@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 00:36:13 $ docker top ae52764491f88b506b020383230cedd3f019d8dd9c847849551d945e97cb5e9d -eo pid,comm [Pipeline] { [Pipeline] sh 00:36:14 + go version 00:36:14 go version go1.20.2 linux/arm64 [Pipeline] } 00:36:14 $ docker stop --time=1 ae52764491f88b506b020383230cedd3f019d8dd9c847849551d945e97cb5e9d 00:36:16 $ docker rm -f --volumes ae52764491f88b506b020383230cedd3f019d8dd9c847849551d945e97cb5e9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:16 + docker inspect -f . ci-base-image-arm64 00:36:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:36:17 prd-ubuntu20.04-docker-arm64-4c-16g-6153 does not seem to be running inside a container 00:36:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/97 -v /w/workspace/device-virtual-go/97:/w/workspace/device-virtual-go/97:rw,z -v /w/workspace/device-virtual-go/97@tmp:/w/workspace/device-virtual-go/97@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 00:36:18 $ docker top 792bb43ecb110b8f8f80ff14566751e81d35f56409855bf9f636cfc61483885c -eo pid,comm [Pipeline] { [Pipeline] sh 00:36:18 + git config --global --add safe.directory /w/workspace/device-virtual-go/97 [Pipeline] fileExists [Pipeline] sh 00:36:19 + make test 00:36:19 go test ./... -coverprofile=coverage.out 00:36:51 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:38:43 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:38:43 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.131s coverage: 65.7% of statements 00:38:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:38:43 go vet ./... 00:39:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:39:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:39:15 ./bin/test-attribution-txt.sh [Pipeline] echo 00:39:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:39:15 $ docker stop --time=1 792bb43ecb110b8f8f80ff14566751e81d35f56409855bf9f636cfc61483885c 00:39:17 $ docker rm -f --volumes 792bb43ecb110b8f8f80ff14566751e81d35f56409855bf9f636cfc61483885c [Pipeline] // withDockerContainer [Pipeline] sh 00:39:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:39:18 Warning: overwriting stash ‘coverage-report’ 00:39:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:39:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:39:20 + ls -al . 00:39:20 total 188 00:39:20 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 00:36 . 00:39:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 00:34 .. 00:39:20 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 00:34 .git 00:39:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 00:34 .github 00:39:20 -rw-rw-r-- 1 jenkins jenkins 337 Mar 29 00:34 .gitignore 00:39:20 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 00:34 .golangci.yml 00:39:20 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 29 00:34 Attribution.txt 00:39:20 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 29 00:34 CHANGELOG.md 00:39:20 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 29 00:34 Dockerfile 00:39:20 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 00:34 GOVERNANCE.md 00:39:20 -rw-rw-r-- 1 jenkins jenkins 660 Mar 29 00:34 Jenkinsfile 00:39:20 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 00:34 LICENSE 00:39:20 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 29 00:34 Makefile 00:39:20 -rw-rw-r-- 1 jenkins jenkins 623 Mar 29 00:34 OWNERS.md 00:39:20 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 29 00:34 README.md 00:39:20 -rw-rw-r-- 1 jenkins jenkins 12 Mar 29 00:32 VERSION 00:39:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 00:34 bin 00:39:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 00:34 cmd 00:39:20 -rw-r--r-- 1 jenkins jenkins 44311 Mar 29 00:38 coverage.out 00:39:20 -rw-rw-r-- 1 jenkins jenkins 3254 Mar 29 00:34 go.mod 00:39:20 -rw-rw-r-- 1 jenkins jenkins 30610 Mar 29 00:34 go.sum 00:39:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 00:34 internal 00:39:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 00:34 snap 00:39:20 -rw-rw-r-- 1 jenkins jenkins 235 Mar 29 00:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:39:20 + 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=b76ffb3f756266f027a45c1155223ddd586b2bad --label arch=arm64 --label version=3.0.0-dev.25 . 00:39:21 Sending build context to Docker daemon 11.94MB 00:39:21 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 00:39:21 Step 2/25 : FROM ${BASE} AS builder 00:39:21 ---> d1fb067a5a6c 00:39:21 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:39:21 ---> Running in bead8fd2bcd1 00:39:21 Removing intermediate container bead8fd2bcd1 00:39:21 ---> 4cd9f03d0e17 00:39:21 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:39:21 ---> Running in 1be2a8c56ab4 00:39:22 Removing intermediate container 1be2a8c56ab4 00:39:22 ---> a1d92b17a930 00:39:22 Step 5/25 : ARG ADD_BUILD_TAGS="" 00:39:22 ---> Running in 37220d4b5963 00:39:23 Removing intermediate container 37220d4b5963 00:39:23 ---> df99ecf9b214 00:39:23 Step 6/25 : WORKDIR /device-virtual-go 00:39:23 ---> Running in c2429c36e1c9 00:39:24 Removing intermediate container c2429c36e1c9 00:39:24 ---> a1a9c555a22d 00:39:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:39:24 ---> Running in 209451d4cec8 00:39:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:39:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:39:28 OK: 268 MiB in 57 packages 00:39:29 Removing intermediate container 209451d4cec8 00:39:29 ---> c0d6586dc195 00:39:29 Step 8/25 : COPY go.mod vendor* ./ 00:39:29 ---> 82342de045ba 00:39:29 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:39:29 ---> Running in ae5ea957cc7a 00:39:32 Removing intermediate container ae5ea957cc7a 00:39:32 ---> 0e7ecb90541b 00:39:32 Step 10/25 : COPY . . 00:39:33 ---> a8be5b42c696 00:39:33 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:39:33 ---> Running in 3055eeb74e34 00:39:34 Removing intermediate container 3055eeb74e34 00:39:34 ---> 898f3ae52b47 00:39:34 Step 12/25 : RUN $MAKE 00:39:34 ---> Running in a5abfe85d36e 00:39:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.25" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 00:41:56 Removing intermediate container a5abfe85d36e 00:41:56 ---> 68364018a7cc 00:41:56 Step 13/25 : FROM alpine:3.17 00:41:56 3.17: Pulling from library/alpine 00:41:56 af6eaf76a39c: Already exists 00:41:56 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 00:41:56 Status: Downloaded newer image for alpine:3.17 00:41:56 ---> d74e625d9115 00:41:56 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 00:41:56 ---> Running in 885286b62deb 00:41:56 Removing intermediate container 885286b62deb 00:41:56 ---> d424684423d9 00:41:56 Step 15/25 : RUN apk add --update --no-cache dumb-init 00:41:56 ---> Running in 11f6548e3aaa 00:41:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:41:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:41:56 (1/1) Installing dumb-init (1.2.5-r2) 00:41:56 Executing busybox-1.35.0-r29.trigger 00:41:56 OK: 8 MiB in 16 packages 00:41:56 Removing intermediate container 11f6548e3aaa 00:41:56 ---> 4c4c4b488537 00:41:56 Step 16/25 : WORKDIR / 00:41:56 ---> Running in af9c31691a80 00:41:56 Removing intermediate container af9c31691a80 00:41:56 ---> ddc0e0255196 00:41:56 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 00:41:56 ---> fd1de6851425 00:41:56 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 00:41:56 ---> 34ef648bde06 00:41:56 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 00:41:56 ---> 8541c203719f 00:41:56 Step 20/25 : EXPOSE 59900 00:41:56 ---> Running in edf3c74b1394 00:41:56 Removing intermediate container edf3c74b1394 00:41:56 ---> 53d425b97eae 00:41:56 Step 21/25 : ENTRYPOINT ["/device-virtual"] 00:41:56 ---> Running in ab41a2cd4c7b 00:41:56 Removing intermediate container ab41a2cd4c7b 00:41:56 ---> 61cce3834ca4 00:41:56 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:41:56 ---> Running in 8e3d2fc7755a 00:41:56 Removing intermediate container 8e3d2fc7755a 00:41:56 ---> b15d17cc7fd3 00:41:56 Step 23/25 : LABEL arch=arm64 00:41:56 ---> Running in e57fe11feccd 00:41:56 Removing intermediate container e57fe11feccd 00:41:56 ---> 4281e894e5ed 00:41:56 Step 24/25 : LABEL git_sha=b76ffb3f756266f027a45c1155223ddd586b2bad 00:41:56 ---> Running in 3594363919a3 00:41:56 Removing intermediate container 3594363919a3 00:41:56 ---> 96281a8537d2 00:41:56 Step 25/25 : LABEL version=3.0.0-dev.25 00:41:56 ---> Running in eb2363ba1cfa 00:41:56 Removing intermediate container eb2363ba1cfa 00:41:56 ---> 00796cf7dd03 00:41:56 [Warning] One or more build-args [ARCH] were not consumed 00:41:56 Successfully built 00796cf7dd03 00:41:56 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 00:41:56 provisioning config files... 00:41:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/97@tmp/config12266318919148021283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:41:57 ---> docker-login.sh 00:41:57 nexus3.edgexfoundry.org:10001 00:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:57 Configure a credential helper to remove this warning. See 00:41:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:57 00:41:57 Login Succeeded 00:41:57 nexus3.edgexfoundry.org:10002 00:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:57 Configure a credential helper to remove this warning. See 00:41:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:57 00:41:57 Login Succeeded 00:41:57 nexus3.edgexfoundry.org:10003 00:41:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:58 Configure a credential helper to remove this warning. See 00:41:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:58 00:41:58 Login Succeeded 00:41:58 nexus3.edgexfoundry.org:10004 00:41:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:58 Configure a credential helper to remove this warning. See 00:41:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:58 00:41:58 Login Succeeded 00:41:58 docker.io 00:41:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:59 Configure a credential helper to remove this warning. See 00:41:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:59 00:41:59 Login Succeeded 00:41:59 ---> docker-login.sh ends [Pipeline] } 00:41:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:41:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:41:59 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 00:41:59 b76ffb3f756266f027a45c1155223ddd586b2bad 00:41:59 latest 00:41:59 3.0.0-dev.25 00:41:59 b76ffb3f756266f027a45c1155223ddd586b2bad-3.0.0-dev.25 00:41:59 main 00:41:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:41:59 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b76ffb3f756266f027a45c1155223ddd586b2bad [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:41:59 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b76ffb3f756266f027a45c1155223ddd586b2bad 00:41:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:41:59 c9629c9b7a01: Preparing 00:41:59 822fa2d62ca5: Preparing 00:41:59 2df3feada49d: Preparing 00:41:59 b5a227151230: Preparing 00:41:59 edf70074bd40: Preparing 00:41:59 edf70074bd40: Layer already exists 00:42:00 822fa2d62ca5: Pushed 00:42:00 2df3feada49d: Pushed 00:42:00 b5a227151230: Pushed 00:42:05 c9629c9b7a01: Pushed 00:42:05 b76ffb3f756266f027a45c1155223ddd586b2bad: digest: sha256:763e2822acce1c3275e3ed06ef0976b3bb582fc7afed956a15bdb0d9d76410d7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:06 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:06 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 00:42:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:42:06 c9629c9b7a01: Preparing 00:42:06 822fa2d62ca5: Preparing 00:42:06 2df3feada49d: Preparing 00:42:06 b5a227151230: Preparing 00:42:06 edf70074bd40: Preparing 00:42:06 edf70074bd40: Layer already exists 00:42:06 b5a227151230: Layer already exists 00:42:06 2df3feada49d: Layer already exists 00:42:06 c9629c9b7a01: Layer already exists 00:42:06 822fa2d62ca5: Layer already exists 00:42:06 latest: digest: sha256:763e2822acce1c3275e3ed06ef0976b3bb582fc7afed956a15bdb0d9d76410d7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:07 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:07 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.25 00:42:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:42:07 c9629c9b7a01: Preparing 00:42:07 822fa2d62ca5: Preparing 00:42:07 2df3feada49d: Preparing 00:42:07 b5a227151230: Preparing 00:42:07 edf70074bd40: Preparing 00:42:07 edf70074bd40: Layer already exists 00:42:07 c9629c9b7a01: Layer already exists 00:42:07 b5a227151230: Layer already exists 00:42:07 822fa2d62ca5: Layer already exists 00:42:07 2df3feada49d: Layer already exists 00:42:07 3.0.0-dev.25: digest: sha256:763e2822acce1c3275e3ed06ef0976b3bb582fc7afed956a15bdb0d9d76410d7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:07 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b76ffb3f756266f027a45c1155223ddd586b2bad-3.0.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:08 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b76ffb3f756266f027a45c1155223ddd586b2bad-3.0.0-dev.25 00:42:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:42:08 c9629c9b7a01: Preparing 00:42:08 822fa2d62ca5: Preparing 00:42:08 2df3feada49d: Preparing 00:42:08 b5a227151230: Preparing 00:42:08 edf70074bd40: Preparing 00:42:08 822fa2d62ca5: Layer already exists 00:42:08 2df3feada49d: Layer already exists 00:42:08 c9629c9b7a01: Layer already exists 00:42:08 b5a227151230: Layer already exists 00:42:08 edf70074bd40: Layer already exists 00:42:08 b76ffb3f756266f027a45c1155223ddd586b2bad-3.0.0-dev.25: digest: sha256:763e2822acce1c3275e3ed06ef0976b3bb582fc7afed956a15bdb0d9d76410d7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:08 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:08 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 00:42:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:42:08 c9629c9b7a01: Preparing 00:42:08 822fa2d62ca5: Preparing 00:42:08 2df3feada49d: Preparing 00:42:08 b5a227151230: Preparing 00:42:08 edf70074bd40: Preparing 00:42:08 822fa2d62ca5: Layer already exists 00:42:08 c9629c9b7a01: Layer already exists 00:42:08 edf70074bd40: Layer already exists 00:42:08 2df3feada49d: Layer already exists 00:42:08 b5a227151230: Layer already exists 00:42:08 main: digest: sha256:763e2822acce1c3275e3ed06ef0976b3bb582fc7afed956a15bdb0d9d76410d7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:42:09 ===================================================== [Pipeline] echo 00:42:09 taggedImages: 00:42:09 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b76ffb3f756266f027a45c1155223ddd586b2bad 00:42:09 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 00:42:09 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.25 00:42:09 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b76ffb3f756266f027a45c1155223ddd586b2bad-3.0.0-dev.25 00:42:09 - 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 00:42:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:42:09 00:42:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:42:09 arm64: Pulling from edgex-lftools-log-publisher 00:42:09 8998bd30e6a1: Pulling fs layer 00:42:09 04944245beec: Pulling fs layer 00:42:09 699f458cf7ca: Pulling fs layer 00:42:09 765212b225bb: Pulling fs layer 00:42:09 f23df028b6ca: Pulling fs layer 00:42:09 d65c8cfc05b1: Pulling fs layer 00:42:09 2437ff75d9bd: Pulling fs layer 00:42:09 765212b225bb: Waiting 00:42:09 f23df028b6ca: Waiting 00:42:09 d65c8cfc05b1: Waiting 00:42:09 2437ff75d9bd: Waiting 00:42:10 04944245beec: Verifying Checksum 00:42:10 04944245beec: Download complete 00:42:10 765212b225bb: Verifying Checksum 00:42:10 765212b225bb: Download complete 00:42:10 f23df028b6ca: Verifying Checksum 00:42:10 f23df028b6ca: Download complete 00:42:10 d65c8cfc05b1: Verifying Checksum 00:42:10 d65c8cfc05b1: Download complete 00:42:10 699f458cf7ca: Verifying Checksum 00:42:10 699f458cf7ca: Download complete 00:42:10 8998bd30e6a1: Download complete 00:42:13 2437ff75d9bd: Verifying Checksum 00:42:13 2437ff75d9bd: Download complete 00:42:14 8998bd30e6a1: Pull complete 00:42:15 04944245beec: Pull complete 00:42:16 699f458cf7ca: Pull complete 00:42:19 765212b225bb: Pull complete 00:42:19 f23df028b6ca: Pull complete 00:42:19 d65c8cfc05b1: Pull complete 00:42:34 2437ff75d9bd: Pull complete 00:42:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:42:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:42:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:35 prd-ubuntu20.04-docker-arm64-4c-16g-6153 does not seem to be running inside a container 00:42:35 $ 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/97 -v /w/workspace/device-virtual-go/97:/w/workspace/device-virtual-go/97:rw,z -v /w/workspace/device-virtual-go/97@tmp:/w/workspace/device-virtual-go/97@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 00:42:37 $ docker top 564a68f7da68733c2c1e810dd4389e3c0b59f2070c6c9155153a5534f791b8a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:38 ---> job-cost.sh 00:42:38 lf-activate-venv: SKIPPING 00:42:38 INFO: No Stack... 00:42:38 INFO: Retrieving Pricing Info for: v3-standard-4 00:42:39 INFO: Archiving Costs [Pipeline] sh 00:42:39 + cat+ /w/workspace/device-virtual-go/97/archives/cost.csv 00:42:39 cut -d, -f6 [Pipeline] lock 00:42:40 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-97-stack-cost] 00:42:40 Resource [jenkins-edgexfoundry-device-virtual-go-main-97-stack-cost] did not exist. Created. 00:42:40 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-97-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:42:40 /w/workspace/device-virtual-go/97@tmp/durable-20b70828/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:42:41 + echo total: 0.10999999940395355 [Pipeline] stash 00:42:41 Warning: overwriting stash ‘stack-cost’ 00:42:41 Stashed 1 file(s) [Pipeline] } 00:42:41 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-97-stack-cost] [Pipeline] // lock [Pipeline] } 00:42:41 $ docker stop --time=1 564a68f7da68733c2c1e810dd4389e3c0b59f2070c6c9155153a5534f791b8a9 00:42:42 $ docker rm -f --volumes 564a68f7da68733c2c1e810dd4389e3c0b59f2070c6c9155153a5534f791b8a9 [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 00:42:42 provisioning config files... 00:42:42 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1105932909331466519tmp [Pipeline] { [Pipeline] sh 00:42:43 + set +x 00:42:43 + + bash -s -- 00:42:43 curl -s https://codecov.io/bash 00:42:43 00:42:43 _____ _ 00:42:43 / ____| | | 00:42:43 | | ___ __| | ___ ___ _____ __ 00:42:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:42:43 | |___| (_) | (_| | __/ (_| (_) \ V / 00:42:43 \_____\___/ \__,_|\___|\___\___/ \_/ 00:42:43 Bash-1.0.6 00:42:43 00:42:43 00:42:43 ==> git version 2.25.1 found 00:42:43 ==> 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 00:42:43 Release-Date: 2020-01-08 00:42:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:42:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:42:43 ==> Jenkins CI detected. 00:42:43 current dir:  /w/workspace/exfoundry_device-virtual-go_main 00:42:43 project root: . 00:42:43 --> token set from env 00:42:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:42:43 ==> Running gcov in . (disable via -X gcov) 00:42:43 ==> Python coveragepy not found 00:42:43 ==> Searching for coverage reports in: 00:42:43 + . 00:42:43 -> Found 1 reports 00:42:43 ==> Detecting git/mercurial file structure 00:42:43 ==> Reading reports 00:42:43 + ./coverage.out bytes=44311 00:42:43 ==> Appending adjustments 00:42:43 https://docs.codecov.io/docs/fixing-reports 00:42:43 + Found adjustments 00:42:43 ==> Gzipping contents 00:42:43 8.0K /tmp/codecov.378k4p.gz 00:42:43 ==> Uploading reports 00:42:43 url: https://codecov.io 00:42:43 query: branch=main&commit=b76ffb3f756266f027a45c1155223ddd586b2bad&build=97&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F97%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:42:43 -> Pinging Codecov 00:42:43 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=b76ffb3f756266f027a45c1155223ddd586b2bad&build=97&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F97%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:42:43 -> Uploading to 00:42:43 https://storage.googleapis.com/codecov/v4/raw/2023-03-29/5E52B4B073DB2E39498172D8E973AA87/b76ffb3f756266f027a45c1155223ddd586b2bad/72b58f3f-0091-4514-8395-c7e46d778efb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230329T004243Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=390e36d91efca7ae177ddd695398d75e85400f47b75481fec3dbafa8e315e856 00:42:43 % Total % Received % Xferd Average Speed Time Time Time Current 00:42:43 Dload Upload Total Spent Left Speed 00:42:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5413 0 0 100 5413 0 18537 --:--:-- --:--:-- --:--:-- 18537 00:42:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/b76ffb3f756266f027a45c1155223ddd586b2bad [Pipeline] } 00:42:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:42:44 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:42:44 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:42:44 00:42:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:42:44 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:42:44 df9b9388f04a: Pulling fs layer 00:42:44 52dc419b0ee2: Pulling fs layer 00:42:44 25bc292e5bac: Pulling fs layer 00:42:44 114826534d7a: Pulling fs layer 00:42:44 4657fd5d0bcf: Pulling fs layer 00:42:44 6ad1cebc031e: Pulling fs layer 00:42:44 8a3aa393b2d8: Pulling fs layer 00:42:44 114826534d7a: Waiting 00:42:44 6ad1cebc031e: Waiting 00:42:44 4657fd5d0bcf: Waiting 00:42:44 8a3aa393b2d8: Waiting 00:42:44 25bc292e5bac: Verifying Checksum 00:42:44 25bc292e5bac: Download complete 00:42:44 52dc419b0ee2: Verifying Checksum 00:42:44 52dc419b0ee2: Download complete 00:42:44 4657fd5d0bcf: Verifying Checksum 00:42:44 4657fd5d0bcf: Download complete 00:42:44 df9b9388f04a: Download complete 00:42:45 6ad1cebc031e: Verifying Checksum 00:42:45 6ad1cebc031e: Download complete 00:42:45 df9b9388f04a: Pull complete 00:42:45 52dc419b0ee2: Pull complete 00:42:45 25bc292e5bac: Pull complete 00:42:45 114826534d7a: Verifying Checksum 00:42:45 114826534d7a: Download complete 00:42:45 8a3aa393b2d8: Verifying Checksum 00:42:45 8a3aa393b2d8: Download complete 00:42:49 114826534d7a: Pull complete 00:42:49 4657fd5d0bcf: Pull complete 00:42:49 6ad1cebc031e: Pull complete 00:42:53 8a3aa393b2d8: Pull complete 00:42:53 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:42:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:42:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:53 prd-ubuntu20.04-docker-8c-8g-6151 does not seem to be running inside a container 00:42:53 $ 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 00:42:57 $ docker top 60530d00ad3cbc9a4138c6f2d62bb3d86183f5b037c9f8dad955565c180b2460 -eo pid,comm [Pipeline] { [Pipeline] echo 00:42:57 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 00:42:57 + set -o pipefail 00:42:57 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 00:43:02 00:43:02 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 00:43:02 00:43:02 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/0749aae9-0423-42d6-aab0-b951c47e5676 00:43:02 00:43:02 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:43:02 00:43:02 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:43:02 00:43:02 00:43:02 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:43:02 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:43:02 More details here: https://snyk.co/ue1NS [Pipeline] } 00:43:02 $ docker stop --time=1 60530d00ad3cbc9a4138c6f2d62bb3d86183f5b037c9f8dad955565c180b2460 00:43:06 $ docker rm -f --volumes 60530d00ad3cbc9a4138c6f2d62bb3d86183f5b037c9f8dad955565c180b2460 [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 00:43:06 + git log --format=format:%s -1 b76ffb3f756266f027a45c1155223ddd586b2bad [Pipeline] sh 00:43:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:43:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:07 prd-ubuntu20.04-docker-8c-8g-6151 does not seem to be running inside a container 00:43:07 $ 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 00:43:07 $ docker top b01d585d73704d5f3a8506acb2679f64075ea199bcc0166b1d931f534ae94d56 -eo pid,comm 00:43:08 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). 00:43:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:43:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:08 [ssh-agent] Looking for ssh-agent implementation... 00:43:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:08 $ docker exec b01d585d73704d5f3a8506acb2679f64075ea199bcc0166b1d931f534ae94d56 ssh-agent 00:43:08 SSH_AUTH_SOCK=/tmp/ssh-87jsI2XJFsmQ/agent.32 00:43:08 SSH_AGENT_PID=38 00:43:08 Running ssh-add (command line suppressed) 00:43:08 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18094730636069982404.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18094730636069982404.key) 00:43:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:08 + git semver tag 00:43:08 2023-03-29 00:43:08,974 [run_tag] DEBUG tag force:False 00:43:08 2023-03-29 00:43:08,974 [check_head_tag] DEBUG check head tag 00:43:08 2023-03-29 00:43:08,975 [execute] INFO git cat-file --batch-check 00:43:08 2023-03-29 00:43:08,976 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 00:43:08 2023-03-29 00:43:08,981 [execute] INFO git cat-file --batch 00:43:08 2023-03-29 00:43:08,981 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 00:43:08 2023-03-29 00:43:09,003 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:43:09 2023-03-29 00:43:09,003 [execute] INFO git tag -a v3.0.0-dev.25 -m v3.0.0-dev.25 00:43:09 2023-03-29 00:43:09,004 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.25', '-m', 'v3.0.0-dev.25'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 00:43:09 2023-03-29 00:43:09,009 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:43:09 3.0.0-dev.25 [Pipeline] } 00:43:09 $ docker exec --env ******** --env ******** b01d585d73704d5f3a8506acb2679f64075ea199bcc0166b1d931f534ae94d56 ssh-agent -k 00:43:09 unset SSH_AUTH_SOCK; 00:43:09 unset SSH_AGENT_PID; 00:43:09 echo Agent pid 38 killed; 00:43:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:43:09 + git semver [Pipeline] } 00:43:09 $ docker stop --time=1 b01d585d73704d5f3a8506acb2679f64075ea199bcc0166b1d931f534ae94d56 00:43:11 $ docker rm -f --volumes b01d585d73704d5f3a8506acb2679f64075ea199bcc0166b1d931f534ae94d56 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:43:11 00:43:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:43:11 0.23.1-centos7: Pulling from edgex-lftools 00:43:11 ab5ef0e58194: Pulling fs layer 00:43:11 9712f1f96733: Pulling fs layer 00:43:11 63f879dbbcfc: Pulling fs layer 00:43:11 0d9ebad4ef96: Pulling fs layer 00:43:11 e9a5061849ea: Pulling fs layer 00:43:11 0d9ebad4ef96: Waiting 00:43:11 e9a5061849ea: Waiting 00:43:11 d747dcd14b5f: Pulling fs layer 00:43:11 2de7ff778b66: Pulling fs layer 00:43:11 d747dcd14b5f: Waiting 00:43:11 2de7ff778b66: Waiting 00:43:11 9712f1f96733: Verifying Checksum 00:43:11 9712f1f96733: Download complete 00:43:12 63f879dbbcfc: Verifying Checksum 00:43:12 63f879dbbcfc: Download complete 00:43:12 e9a5061849ea: Verifying Checksum 00:43:12 e9a5061849ea: Download complete 00:43:12 d747dcd14b5f: Download complete 00:43:12 0d9ebad4ef96: Verifying Checksum 00:43:12 0d9ebad4ef96: Download complete 00:43:12 ab5ef0e58194: Verifying Checksum 00:43:12 ab5ef0e58194: Download complete 00:43:12 2de7ff778b66: Verifying Checksum 00:43:15 ab5ef0e58194: Pull complete 00:43:15 9712f1f96733: Pull complete 00:43:16 63f879dbbcfc: Pull complete 00:43:20 0d9ebad4ef96: Pull complete 00:43:20 e9a5061849ea: Pull complete 00:43:20 d747dcd14b5f: Pull complete 00:43:21 2de7ff778b66: Pull complete 00:43:21 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:43:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:43:21 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:22 prd-ubuntu20.04-docker-8c-8g-6151 does not seem to be running inside a container 00:43:22 $ 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 00:43:26 $ docker top 4656a1a2ca342296da0595874d5705ec6c9e01ed6a079531e9f7018a787fbc78 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:43:26 provisioning config files... 00:43:26 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5027522529621308686tmp 00:43:26 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15762471936923896709tmp 00:43:26 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13279684956915837134tmp [Pipeline] { [Pipeline] echo 00:43:26 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:43:26 ---> sigul-configuration.sh 00:43:26 gpg: directory `/root/.gnupg' created 00:43:26 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:43:26 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:43:26 gpg: keyring `/root/.gnupg/secring.gpg' created 00:43:26 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:43:26 gpg: CAST5 encrypted data 00:43:26 gpg: encrypted with 1 passphrase 00:43:26 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:43:26 + mkdir /home/jenkins 00:43:26 + mkdir /home/jenkins/sigul [Pipeline] sh 00:43:27 + 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 00:43:27 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:43:27 ---> sigul-install.sh 00:43:27 Sigul already installed; skipping installation. [Pipeline] sh 00:43:27 + git tag --list 00:43:27 v1.0.0 00:43:27 v1.1.0 00:43:27 v1.1.1 00:43:27 v1.2.1 00:43:27 v1.2.2 00:43:27 v1.2.3 00:43:27 v1.3.0 00:43:27 v1.3.1 00:43:27 v2.0.0 00:43:27 v2.1.0 00:43:27 v2.1.1 00:43:27 v2.1.1-dev.1 00:43:27 v2.1.1-dev.2 00:43:27 v2.2.0 00:43:27 v2.2.1-dev.1 00:43:27 v2.2.1-dev.2 00:43:27 v2.2.1-dev.3 00:43:27 v2.2.1-dev.4 00:43:27 v2.2.1-dev.5 00:43:27 v2.2.1-dev.6 00:43:27 v2.2.1-dev.7 00:43:27 v2.2.1-dev.8 00:43:27 v2.3.0 00:43:27 v2.3.0-dev.10 00:43:27 v2.3.0-dev.11 00:43:27 v2.3.0-dev.12 00:43:27 v2.3.0-dev.13 00:43:27 v2.3.0-dev.14 00:43:27 v2.3.0-dev.15 00:43:27 v2.3.0-dev.16 00:43:27 v2.3.0-dev.17 00:43:27 v2.3.0-dev.18 00:43:27 v2.3.0-dev.19 00:43:27 v2.3.0-dev.20 00:43:27 v2.3.0-dev.21 00:43:27 v2.3.0-dev.22 00:43:27 v2.3.0-dev.23 00:43:27 v2.3.0-dev.24 00:43:27 v2.3.0-dev.25 00:43:27 v2.3.0-dev.26 00:43:27 v2.3.0-dev.27 00:43:27 v2.3.0-dev.28 00:43:27 v2.3.0-dev.29 00:43:27 v2.3.0-dev.30 00:43:27 v2.3.0-dev.8 00:43:27 v2.3.0-dev.9 00:43:27 v3.0.0-dev.1 00:43:27 v3.0.0-dev.10 00:43:27 v3.0.0-dev.11 00:43:27 v3.0.0-dev.12 00:43:27 v3.0.0-dev.13 00:43:27 v3.0.0-dev.14 00:43:27 v3.0.0-dev.15 00:43:27 v3.0.0-dev.16 00:43:27 v3.0.0-dev.17 00:43:27 v3.0.0-dev.18 00:43:27 v3.0.0-dev.19 00:43:27 v3.0.0-dev.2 00:43:27 v3.0.0-dev.20 00:43:27 v3.0.0-dev.21 00:43:27 v3.0.0-dev.22 00:43:27 v3.0.0-dev.23 00:43:27 v3.0.0-dev.24 00:43:27 v3.0.0-dev.25 00:43:27 v3.0.0-dev.3 00:43:27 v3.0.0-dev.4 00:43:27 v3.0.0-dev.5 00:43:27 v3.0.0-dev.6 00:43:27 v3.0.0-dev.7 00:43:27 v3.0.0-dev.8 00:43:27 v3.0.0-dev.9 [Pipeline] sh 00:43:28 + lftools sign git-tag v3.0.0-dev.25 00:43:28 Signing Git tag with Sigul... 00:43:28 Signing v3.0.0-dev.25 [Pipeline] echo 00:43:29 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:43:29 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:43:29 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:43:29 $ docker stop --time=1 4656a1a2ca342296da0595874d5705ec6c9e01ed6a079531e9f7018a787fbc78 00:43:30 $ docker rm -f --volumes 4656a1a2ca342296da0595874d5705ec6c9e01ed6a079531e9f7018a787fbc78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:43:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:43:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:31 prd-ubuntu20.04-docker-8c-8g-6151 does not seem to be running inside a container 00:43:31 $ 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 00:43:31 $ docker top 116d9f118cedb1fc91a1f175442e9cb00043f94778c01062c3737137c32a20eb -eo pid,comm 00:43:32 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). 00:43:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:43:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:32 [ssh-agent] Looking for ssh-agent implementation... 00:43:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:32 $ docker exec 116d9f118cedb1fc91a1f175442e9cb00043f94778c01062c3737137c32a20eb ssh-agent 00:43:32 SSH_AUTH_SOCK=/tmp/ssh-YTvQ6RpBBr3r/agent.33 00:43:32 SSH_AGENT_PID=39 00:43:32 Running ssh-add (command line suppressed) 00:43:32 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2078082951312661113.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2078082951312661113.key) 00:43:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:32 + git semver bump pre 00:43:32 2023-03-29 00:43:32,892 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:43:32 2023-03-29 00:43:32,892 [bump_version] DEBUG bumping version:3.0.0-dev.25 on axis:pre with prefix:dev 00:43:32 2023-03-29 00:43:32,892 [bump_version] DEBUG bumped version:3.0.0-dev.26 00:43:32 2023-03-29 00:43:32,892 [write_version] DEBUG write version:3.0.0-dev.26 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 00:43:32 2023-03-29 00:43:32,892 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:43:32 2023-03-29 00:43:32,892 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:43:32 2023-03-29 00:43:32,894 [execute] INFO git cat-file --batch-check 00:43:32 2023-03-29 00:43:32,894 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:43:32 2023-03-29 00:43:32,900 [execute] INFO git cat-file --batch 00:43:32 2023-03-29 00:43:32,900 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:43:32 2023-03-29 00:43:32,905 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:43:32 3.0.0-dev.26 [Pipeline] } 00:43:32 $ docker exec --env ******** --env ******** 116d9f118cedb1fc91a1f175442e9cb00043f94778c01062c3737137c32a20eb ssh-agent -k 00:43:33 unset SSH_AUTH_SOCK; 00:43:33 unset SSH_AGENT_PID; 00:43:33 echo Agent pid 39 killed; 00:43:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:43:33 + git semver [Pipeline] } 00:43:33 $ docker stop --time=1 116d9f118cedb1fc91a1f175442e9cb00043f94778c01062c3737137c32a20eb 00:43:34 $ docker rm -f --volumes 116d9f118cedb1fc91a1f175442e9cb00043f94778c01062c3737137c32a20eb [Pipeline] // withDockerContainer [Pipeline] sh 00:43:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:43:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:35 prd-ubuntu20.04-docker-8c-8g-6151 does not seem to be running inside a container 00:43:35 $ 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 00:43:36 $ docker top ce6dff029b8f108f97b47e0f47e1daa6175195075b0f74968221f0c0ad5b1cad -eo pid,comm 00:43:36 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). 00:43:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:43:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:36 [ssh-agent] Looking for ssh-agent implementation... 00:43:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:36 $ docker exec ce6dff029b8f108f97b47e0f47e1daa6175195075b0f74968221f0c0ad5b1cad ssh-agent 00:43:36 SSH_AUTH_SOCK=/tmp/ssh-agCYwTWTWeFH/agent.32 00:43:36 SSH_AGENT_PID=38 00:43:36 Running ssh-add (command line suppressed) 00:43:36 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16924493805483703031.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16924493805483703031.key) 00:43:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:36 + git semver push 00:43:37 2023-03-29 00:43:37,003 [run_push] DEBUG push 00:43:37 2023-03-29 00:43:37,003 [execute] INFO git cat-file --batch-check 00:43:37 2023-03-29 00:43:37,004 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:43:37 2023-03-29 00:43:37,008 [execute] INFO git rev-list 2191c86a69009c8b26903c9ab64cb8cfc83bd048 -- 00:43:37 2023-03-29 00:43:37,008 [execute] DEBUG Popen(['git', 'rev-list', '2191c86a69009c8b26903c9ab64cb8cfc83bd048', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:43:37 2023-03-29 00:43:37,018 [execute] INFO git fetch -v origin 00:43:37 2023-03-29 00:43:37,018 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:43:37 2023-03-29 00:43:37,510 [run_push] DEBUG no remote changes detected 00:43:37 2023-03-29 00:43:37,511 [execute] INFO git push origin semver 00:43:37 2023-03-29 00:43:37,511 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:43:38 2023-03-29 00:43:38,241 [run_push] DEBUG push all version tags 00:43:38 2023-03-29 00:43:38,242 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:43:38 2023-03-29 00:43:38,243 [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) 00:43:39 2023-03-29 00:43:39,040 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 00:43:39 3.0.0-dev.26 [Pipeline] } 00:43:39 $ docker exec --env ******** --env ******** ce6dff029b8f108f97b47e0f47e1daa6175195075b0f74968221f0c0ad5b1cad ssh-agent -k 00:43:39 unset SSH_AUTH_SOCK; 00:43:39 unset SSH_AGENT_PID; 00:43:39 echo Agent pid 38 killed; 00:43:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:43:39 + git semver [Pipeline] } 00:43:39 $ docker stop --time=1 ce6dff029b8f108f97b47e0f47e1daa6175195075b0f74968221f0c0ad5b1cad 00:43:41 $ docker rm -f --volumes ce6dff029b8f108f97b47e0f47e1daa6175195075b0f74968221f0c0ad5b1cad [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 00:43:41 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 00:43:41 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 00:43:41 total 16 00:43:41 drwxr-xr-x 3 root root 4096 Mar 29 00:34 . 00:43:41 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 00:43 .. 00:43:41 drwxr-xr-x 2 root root 4096 Mar 29 00:34 cost 00:43:41 -rw-r--r-- 1 root root 88 Mar 29 00:34 cost.csv 00:43:41 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 00:43:41 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 00:43:41 total 16 00:43:41 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 00:34 . 00:43:41 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 00:43 .. 00:43:41 drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 00:34 cost 00:43:41 -rw-r--r-- 1 jenkins jenkins 88 Mar 29 00:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:43:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:43:42 ---> package-listing.sh 00:43:42 ++ facter osfamily 00:43:42 ++ tr '[:upper:]' '[:lower:]' 00:43:43 + OS_FAMILY=debian 00:43:43 + workspace=/w/workspace/exfoundry_device-virtual-go_main 00:43:43 + START_PACKAGES=/tmp/packages_start.txt 00:43:43 + END_PACKAGES=/tmp/packages_end.txt 00:43:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:43:43 + PACKAGES=/tmp/packages_start.txt 00:43:43 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 00:43:43 + PACKAGES=/tmp/packages_end.txt 00:43:43 + case "${OS_FAMILY}" in 00:43:43 + dpkg -l 00:43:43 + grep '^ii' 00:43:43 + '[' -f /tmp/packages_start.txt ']' 00:43:43 + '[' -f /tmp/packages_end.txt ']' 00:43:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:43:43 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 00:43:43 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 00:43:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 00:43:43 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 00:43:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:43:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:44 prd-ubuntu20.04-docker-8c-8g-6151 does not seem to be running inside a container 00:43:44 $ 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 00:43:44 $ docker top 35016b3dbbb36e7d1fb36d7364ff7be2c08795fa2f5a8717ddf7971b9a4bc67c -eo pid,comm [Pipeline] { [Pipeline] sh 00:43:44 + touch /tmp/pre-build-complete [Pipeline] sh 00:43:45 + mkdir -p /var/log/sysstat [Pipeline] sh 00:43:45 + ls /var/log/sa-host 00:43:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:43:45 provisioning config files... 00:43:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15553758326667350690tmp [Pipeline] { [Pipeline] echo 00:43:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:43:45 ---> create-netrc.sh [Pipeline] } 00:43:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:43:45 ---> python-tools-install.sh [Pipeline] echo 00:43:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:43:46 ---> sudo-logs.sh 00:43:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:43:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:43:46 ---> job-cost.sh 00:43:46 lf-activate-venv: SKIPPING 00:43:46 DEBUG: total: 0.2199999988079071 00:43:46 INFO: Retrieving Stack Cost... 00:43:47 INFO: Retrieving Pricing Info for: v3-standard-8 00:43:47 INFO: Archiving Costs [Pipeline] echo 00:43:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:43:47 ---> logs-deploy.sh 00:43:47 lf-activate-venv: SKIPPING 00:43:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/97 00:43:47 INFO: archiving workspace using pattern(s): 00:43:48 Archives upload complete. 00:43:48 INFO: archiving logs to Nexus