Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 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-ssh12919306110720780185.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh13823513220415397445.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10037071515928167857.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh14901428828083066062.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-ssh17050079165921226748.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.18 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-5501 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 (main) Commit message: "Merge pull request #338 from jinlinGuan/edgex-go-issue-4273" > git config core.sparsecheckout # timeout=10 > git checkout -f 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 # timeout=10 > git rev-list --no-walk bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:32:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:32:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:32:35 ========================================================= 07:32:35 EdgeX Global Pipelines Version Info 07:32:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:32:36 ------------------- 07:32:36 stable info: 07:32:36 ------------------- 07:32:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:32:36 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 07:32:36 Message: update stable to v1.0.244 07:32:37 ------------------- 07:32:37 experimental info: 07:32:37 ------------------- 07:32:37 Commited By: **** collab-it+edgex@linuxfoundation.org 07:32:37 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 07:32:37 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 36cfc47 [Pipeline] echo 07:32:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:32:37 provisioning config files... 07:32:37 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14081508572543350537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:32:38 ---> docker-login.sh 07:32:38 nexus3.edgexfoundry.org:10001 07:32:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:32:38 Configure a credential helper to remove this warning. See 07:32:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:32:38 07:32:38 Login Succeeded 07:32:38 nexus3.edgexfoundry.org:10002 07:32:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:32:38 Configure a credential helper to remove this warning. See 07:32:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:32:38 07:32:38 Login Succeeded 07:32:38 nexus3.edgexfoundry.org:10003 07:32:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:32:38 Configure a credential helper to remove this warning. See 07:32:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:32:38 07:32:38 Login Succeeded 07:32:38 nexus3.edgexfoundry.org:10004 07:32:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:32:38 Configure a credential helper to remove this warning. See 07:32:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:32:38 07:32:38 Login Succeeded 07:32:38 docker.io 07:32:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:32:39 Configure a credential helper to remove this warning. See 07:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:32:39 07:32:39 Login Succeeded 07:32:39 ---> docker-login.sh ends [Pipeline] } 07:32:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:32:39 + git rev-list -1 --merges 36cfc47f60822cf39bc0d17e26bed27cbab57cb6~1..36cfc47f60822cf39bc0d17e26bed27cbab57cb6 [Pipeline] echo 07:32:39 -----------> git rev-list -1 --merges 36cfc47f60822cf39bc0d17e26bed27cbab57cb6~1..36cfc47f60822cf39bc0d17e26bed27cbab57cb6 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 07:32:39 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 [false] [Pipeline] sh 07:32:39 + git log --format=format:%s -1 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 [Pipeline] echo 07:32:39 ========================================================= 07:32:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:32:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:32:40 + git log --format=format:%s -1 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 [Pipeline] echo 07:32:40 [semverPrep] GIT_COMMIT: 36cfc47f60822cf39bc0d17e26bed27cbab57cb6, Commit Message: Merge pull request #338 from jinlinGuan/edgex-go-issue-4273 [Pipeline] echo 07:32:40 [semverPrep] This is not a build commit. [Pipeline] sh 07:32:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:32:40 + grep -v github /etc/ssh/ssh_known_hosts 07:32:40 + [ -e /tmp/ssh_known_hosts ] 07:32:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:32:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:32:40 + sudo tee -a /etc/ssh/ssh_known_hosts 07:32:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:32:40 07:32:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:32:41 0.1.4: Pulling from edgex-devops/py-git-semver 07:32:41 b85a868b505f: Pulling fs layer 07:32:41 e2be974225ed: Pulling fs layer 07:32:41 339a4e72a1f5: Pulling fs layer 07:32:41 988bab9f4d93: Pulling fs layer 07:32:41 1469e6f7b9e6: Pulling fs layer 07:32:41 eaf3925da568: Pulling fs layer 07:32:41 bab4dde63d76: Pulling fs layer 07:32:41 bde34c3a00c8: Pulling fs layer 07:32:41 b352a97aabf1: Pulling fs layer 07:32:41 4872d77fe225: Pulling fs layer 07:32:41 5851b861e8e6: Pulling fs layer 07:32:41 4872d77fe225: Waiting 07:32:41 5851b861e8e6: Waiting 07:32:41 988bab9f4d93: Waiting 07:32:41 bab4dde63d76: Waiting 07:32:41 bde34c3a00c8: Waiting 07:32:41 1469e6f7b9e6: Waiting 07:32:41 eaf3925da568: Waiting 07:32:41 b352a97aabf1: Waiting 07:32:41 e2be974225ed: Verifying Checksum 07:32:41 e2be974225ed: Download complete 07:32:41 988bab9f4d93: Verifying Checksum 07:32:41 988bab9f4d93: Download complete 07:32:41 1469e6f7b9e6: Verifying Checksum 07:32:41 1469e6f7b9e6: Download complete 07:32:41 eaf3925da568: Download complete 07:32:41 339a4e72a1f5: Download complete 07:32:41 bde34c3a00c8: Verifying Checksum 07:32:41 bde34c3a00c8: Download complete 07:32:41 b352a97aabf1: Verifying Checksum 07:32:41 b352a97aabf1: Download complete 07:32:41 4872d77fe225: Verifying Checksum 07:32:41 4872d77fe225: Download complete 07:32:41 5851b861e8e6: Verifying Checksum 07:32:41 5851b861e8e6: Download complete 07:32:41 b85a868b505f: Verifying Checksum 07:32:41 b85a868b505f: Download complete 07:32:41 bab4dde63d76: Download complete 07:32:42 b85a868b505f: Pull complete 07:32:43 e2be974225ed: Pull complete 07:32:43 339a4e72a1f5: Pull complete 07:32:43 988bab9f4d93: Pull complete 07:32:43 1469e6f7b9e6: Pull complete 07:32:43 eaf3925da568: Pull complete 07:32:45 bab4dde63d76: Pull complete 07:32:45 bde34c3a00c8: Pull complete 07:32:45 b352a97aabf1: Pull complete 07:32:45 4872d77fe225: Pull complete 07:32:45 5851b861e8e6: Pull complete 07:32:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:32:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:32:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:32:45 prd-ubuntu20.04-docker-8c-8g-5501 does not seem to be running inside a container 07:32:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:32:49 $ docker top 5a0956aff62003f1366542ddf116ea1af846d2baae7feb6eef665dbfd5fbc648 -eo pid,comm 07:32:49 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). 07:32:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:32:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:32:49 [ssh-agent] Looking for ssh-agent implementation... 07:32:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:32:50 $ docker exec 5a0956aff62003f1366542ddf116ea1af846d2baae7feb6eef665dbfd5fbc648 ssh-agent 07:32:50 SSH_AUTH_SOCK=/tmp/ssh-qADkkW1l4yv7/agent.32 07:32:50 SSH_AGENT_PID=38 07:32:50 Running ssh-add (command line suppressed) 07:32:50 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11698984124766172657.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11698984124766172657.key) 07:32:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:32:50 + git tag --points-at HEAD [Pipeline] } 07:32:50 $ docker exec --env ******** --env ******** 5a0956aff62003f1366542ddf116ea1af846d2baae7feb6eef665dbfd5fbc648 ssh-agent -k 07:32:50 unset SSH_AUTH_SOCK; 07:32:50 unset SSH_AGENT_PID; 07:32:50 echo Agent pid 38 killed; 07:32:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:32:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:32:50 [ssh-agent] Looking for ssh-agent implementation... 07:32:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:32:50 $ docker exec 5a0956aff62003f1366542ddf116ea1af846d2baae7feb6eef665dbfd5fbc648 ssh-agent 07:32:50 SSH_AUTH_SOCK=/tmp/ssh-R5Zs7C56uFEY/agent.70 07:32:50 SSH_AGENT_PID=77 07:32:50 Running ssh-add (command line suppressed) 07:32:51 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14386474330250517846.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14386474330250517846.key) 07:32:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:32:51 + git semver init 07:32:51 2023-02-13 07:32:51,489 [run_init] DEBUG init version:0.0.0 force:False 07:32:51 2023-02-13 07:32:51,490 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 07:32:51 2023-02-13 07:32:51,490 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 07:32:51 2023-02-13 07:32:51,490 [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) 07:32:52 2023-02-13 07:32:52,743 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 07:32:52 2023-02-13 07:32:52,744 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 07:32:52 2023-02-13 07:32:52,744 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:32:52 2023-02-13 07:32:52,744 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:32:52 3.0.0-dev.10 [Pipeline] } 07:32:52 $ docker exec --env ******** --env ******** 5a0956aff62003f1366542ddf116ea1af846d2baae7feb6eef665dbfd5fbc648 ssh-agent -k 07:32:53 unset SSH_AUTH_SOCK; 07:32:53 unset SSH_AGENT_PID; 07:32:53 echo Agent pid 77 killed; 07:32:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:32:53 + git semver [Pipeline] } 07:32:53 $ docker stop --time=1 5a0956aff62003f1366542ddf116ea1af846d2baae7feb6eef665dbfd5fbc648 07:32:54 $ docker rm -f --volumes 5a0956aff62003f1366542ddf116ea1af846d2baae7feb6eef665dbfd5fbc648 [Pipeline] // withDockerContainer [Pipeline] sh 07:32:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:32:55 Stashed 1 file(s) [Pipeline] echo 07:32:55 [edgeXSemver]: initialized semver on version 3.0.0-dev.10 [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 07:32:55 provisioning config files... 07:32:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8590965289864594246tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:32:55 ---> docker-login.sh 07:32:55 nexus3.edgexfoundry.org:10001 07:32:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:32:55 Configure a credential helper to remove this warning. See 07:32:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:32:55 07:32:55 Login Succeeded 07:32:55 nexus3.edgexfoundry.org:10002 07:32:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:32:55 Configure a credential helper to remove this warning. See 07:32:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:32:55 07:32:55 Login Succeeded 07:32:55 nexus3.edgexfoundry.org:10003 07:32:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:32:56 Configure a credential helper to remove this warning. See 07:32:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:32:56 07:32:56 Login Succeeded 07:32:56 nexus3.edgexfoundry.org:10004 07:32:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:32:56 Configure a credential helper to remove this warning. See 07:32:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:32:56 07:32:56 Login Succeeded 07:32:56 docker.io 07:32:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:32:56 Configure a credential helper to remove this warning. See 07:32:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:32:56 07:32:56 Login Succeeded 07:32:56 ---> docker-login.sh ends [Pipeline] } 07:32:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:32:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:32:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:32:56 ========================================================= 07:32:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 07:32:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:56 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 07:32:56 Sending build context to Docker daemon 23.35MB 07:32:56 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 07:32:56 Step 2/12 : FROM ${BASE} AS builder 07:32:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 07:32:56 213ec9aee27d: Pulling fs layer 07:32:56 4583459ba037: Pulling fs layer 07:32:56 93c1e223e6f2: Pulling fs layer 07:32:56 53926ce57604: Pulling fs layer 07:32:56 21b2b0c7a3f4: Pulling fs layer 07:32:56 22ff95d597cd: Pulling fs layer 07:32:56 12d6caf4c0d1: Pulling fs layer 07:32:56 96b7cbca73a9: Pulling fs layer 07:32:56 a7acece74701: Pulling fs layer 07:32:56 21b2b0c7a3f4: Waiting 07:32:56 22ff95d597cd: Waiting 07:32:56 12d6caf4c0d1: Waiting 07:32:56 96b7cbca73a9: Waiting 07:32:56 a7acece74701: Waiting 07:32:56 53926ce57604: Waiting 07:32:56 93c1e223e6f2: Verifying Checksum 07:32:56 93c1e223e6f2: Download complete 07:32:57 4583459ba037: Verifying Checksum 07:32:57 4583459ba037: Download complete 07:32:57 21b2b0c7a3f4: Verifying Checksum 07:32:57 22ff95d597cd: Verifying Checksum 07:32:57 22ff95d597cd: Download complete 07:32:57 213ec9aee27d: Verifying Checksum 07:32:57 213ec9aee27d: Download complete 07:32:57 12d6caf4c0d1: Download complete 07:32:57 213ec9aee27d: Pull complete 07:32:57 4583459ba037: Pull complete 07:32:57 93c1e223e6f2: Pull complete 07:32:58 a7acece74701: Verifying Checksum 07:32:58 a7acece74701: Download complete 07:32:58 53926ce57604: Verifying Checksum 07:32:58 53926ce57604: Download complete 07:32:58 96b7cbca73a9: Verifying Checksum 07:32:58 96b7cbca73a9: Download complete 07:33:02 53926ce57604: Pull complete 07:33:02 21b2b0c7a3f4: Pull complete 07:33:02 22ff95d597cd: Pull complete 07:33:02 12d6caf4c0d1: Pull complete 07:33:04 96b7cbca73a9: Pull complete 07:33:04 a7acece74701: Pull complete 07:33:04 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 07:33:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 07:33:04 ---> db6d94c90886 07:33:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:33:10 Still waiting to schedule task 07:33:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:33:13 ---> Running in db8a584fe9cf 07:33:13 Removing intermediate container db8a584fe9cf 07:33:13 ---> 836bb81bea4d 07:33:13 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:33:13 ---> Running in c398184b3371 07:33:13 Removing intermediate container c398184b3371 07:33:13 ---> 875469db14ab 07:33:13 Step 5/12 : ARG ADD_BUILD_TAGS="" 07:33:13 ---> Running in c8e20d0a8cb5 07:33:13 Removing intermediate container c8e20d0a8cb5 07:33:13 ---> 88940423c2d4 07:33:13 Step 6/12 : WORKDIR /device-virtual-go 07:33:13 ---> Running in fe9d5e006e96 07:33:13 Removing intermediate container fe9d5e006e96 07:33:13 ---> 2577cbaeef2f 07:33:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:33:13 ---> Running in e44884047d04 07:33:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:33:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:33:13 (1/4) Installing openssh-keygen (9.0_p1-r2) 07:33:13 (2/4) Installing libedit (20210910.3.1-r0) 07:33:13 (3/4) Installing openssh-client-common (9.0_p1-r2) 07:33:13 (4/4) Installing openssh-client-default (9.0_p1-r2) 07:33:13 Executing busybox-1.35.0-r17.trigger 07:33:13 OK: 216 MiB in 55 packages 07:33:13 Removing intermediate container e44884047d04 07:33:13 ---> 2b6594b190ac 07:33:13 Step 8/12 : COPY go.mod vendor* ./ 07:33:14 ---> f34012dd1202 07:33:14 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:33:14 ---> Running in 27b25519e9e2 07:34:21 Removing intermediate container 27b25519e9e2 07:34:21 ---> 83a82c3c4bf5 07:34:21 Step 10/12 : COPY . . 07:34:21 ---> f4d18ee65bb7 07:34:21 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:34:21 ---> Running in dee7bf03c6be 07:34:21 Removing intermediate container dee7bf03c6be 07:34:21 ---> ec8f87a53914 07:34:21 Step 12/12 : RUN $MAKE 07:34:21 ---> Running in 338aada571e1 07:34:21 noop 07:34:21 Removing intermediate container 338aada571e1 07:34:21 ---> 1553974e5e6a 07:34:21 Successfully built 1553974e5e6a 07:34:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:22 + docker inspect -f . ci-base-image-x86_64 07:34:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:34:22 prd-ubuntu20.04-docker-8c-8g-5501 does not seem to be running inside a container 07:34: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 ******** ci-base-image-x86_64 cat 07:34:23 $ docker top 3c52cdeddb487d8ee784a9b6f7d55fce7c82d68d83d9e2a1801de5d2082539e0 -eo pid,comm [Pipeline] { [Pipeline] sh 07:34:23 + go version 07:34:23 go version go1.18.7 linux/amd64 [Pipeline] } 07:34:23 $ docker stop --time=1 3c52cdeddb487d8ee784a9b6f7d55fce7c82d68d83d9e2a1801de5d2082539e0 07:34:25 $ docker rm -f --volumes 3c52cdeddb487d8ee784a9b6f7d55fce7c82d68d83d9e2a1801de5d2082539e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:26 + docker inspect -f . ci-base-image-x86_64 07:34:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:34:26 prd-ubuntu20.04-docker-8c-8g-5501 does not seem to be running inside a container 07:34:26 $ 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 ******** ci-base-image-x86_64 cat 07:34:26 $ docker top fe51cf6b7ccc561e43f381690c115bf9377c7537343d8e8ccdd04350f31ca8af -eo pid,comm [Pipeline] { [Pipeline] sh 07:34:27 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 07:34:27 + make test 07:34:27 go test ./... -coverprofile=coverage.out 07:34:27 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:34:37 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:34:37 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.045s coverage: 65.7% of statements 07:34:43 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 07:34:43 go vet ./... 07:34:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:34:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:34:46 ./bin/test-attribution-txt.sh 07:34:46 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 07:34:46 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 07:34:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:34:46 $ docker stop --time=1 fe51cf6b7ccc561e43f381690c115bf9377c7537343d8e8ccdd04350f31ca8af 07:34:49 $ docker rm -f --volumes fe51cf6b7ccc561e43f381690c115bf9377c7537343d8e8ccdd04350f31ca8af [Pipeline] // withDockerContainer [Pipeline] sh 07:34:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:34:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:34:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:34:51 + ls -al . 07:34:51 total 192 07:34:51 drwxrwxr-x 9 jenkins jenkins 4096 Feb 13 07:34 . 07:34:51 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:32 .. 07:34:51 drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 07:34 .git 07:34:51 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:32 .github 07:34:51 -rw-rw-r-- 1 jenkins jenkins 337 Feb 13 07:32 .gitignore 07:34:51 -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 07:32 .golangci.yml 07:34:51 drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 07:32 .semver 07:34:51 -rw-rw-r-- 1 jenkins jenkins 8423 Feb 13 07:32 Attribution.txt 07:34:51 -rw-rw-r-- 1 jenkins jenkins 11367 Feb 13 07:32 CHANGELOG.md 07:34:51 -rw-rw-r-- 1 jenkins jenkins 1646 Feb 13 07:32 Dockerfile 07:34:51 -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 07:32 GOVERNANCE.md 07:34:51 -rw-rw-r-- 1 jenkins jenkins 660 Feb 13 07:32 Jenkinsfile 07:34:51 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 07:32 LICENSE 07:34:51 -rw-rw-r-- 1 jenkins jenkins 1661 Feb 13 07:32 Makefile 07:34:51 -rw-rw-r-- 1 jenkins jenkins 623 Feb 13 07:32 OWNERS.md 07:34:51 -rw-rw-r-- 1 jenkins jenkins 3578 Feb 13 07:32 README.md 07:34:51 -rw-rw-r-- 1 jenkins jenkins 12 Feb 13 07:32 VERSION 07:34:51 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:32 bin 07:34:51 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:32 cmd 07:34:51 -rw-r--r-- 1 jenkins jenkins 44128 Feb 13 07:34 coverage.out 07:34:51 -rw-rw-r-- 1 jenkins jenkins 3252 Feb 13 07:32 go.mod 07:34:51 -rw-rw-r-- 1 jenkins jenkins 32588 Feb 13 07:32 go.sum 07:34:51 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:32 internal 07:34:51 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:32 snap 07:34:51 -rw-rw-r-- 1 jenkins jenkins 235 Feb 13 07:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:51 + 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=36cfc47f60822cf39bc0d17e26bed27cbab57cb6 --label arch=amd64 --label version=3.0.0-dev.10 . 07:34:51 Sending build context to Docker daemon 23.39MB 07:34:51 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 07:34:51 Step 2/25 : FROM ${BASE} AS builder 07:34:51 ---> 1553974e5e6a 07:34:51 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:34:51 ---> Running in cb1141496b16 07:34:52 Removing intermediate container cb1141496b16 07:34:52 ---> ac7032d06c33 07:34:52 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 07:34:52 ---> Running in 466aa6c12bf0 07:34:52 Removing intermediate container 466aa6c12bf0 07:34:52 ---> 7b7d1fdee4fe 07:34:52 Step 5/25 : ARG ADD_BUILD_TAGS="" 07:34:52 ---> Running in feee5d367972 07:34:52 Removing intermediate container feee5d367972 07:34:52 ---> 5eb9a692f2ea 07:34:52 Step 6/25 : WORKDIR /device-virtual-go 07:34:52 ---> Running in d4c077077a91 07:34:52 Removing intermediate container d4c077077a91 07:34:52 ---> e3654f3e34fe 07:34:52 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:34:52 ---> Running in b48e833c62ba 07:34:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:34:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:34:53 OK: 216 MiB in 55 packages 07:34:53 Removing intermediate container b48e833c62ba 07:34:53 ---> db4e9c0f0bd9 07:34:53 Step 8/25 : COPY go.mod vendor* ./ 07:34:53 ---> eabfa38817ee 07:34:53 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:34:53 ---> Running in 42a3012ee418 07:34:54 Removing intermediate container 42a3012ee418 07:34:54 ---> 2b460e16f82c 07:34:54 Step 10/25 : COPY . . 07:34:55 ---> f7344c550aa7 07:34:55 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:34:55 ---> Running in 61eeed920d40 07:34:55 Removing intermediate container 61eeed920d40 07:34:55 ---> 4ca22b93396d 07:34:55 Step 12/25 : RUN $MAKE 07:34:55 ---> Running in 4d5d82a296eb 07:34:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.10" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 07:34:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5502 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 07:34:57 Running in /w/workspace/device-virtual-go/81 [Pipeline] { [Pipeline] checkout 07:34:57 The recommended git tool is: git 07:35:05 using credential edgex-jenkins-ssh 07:35:05 Cloning the remote Git repository 07:35:05 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:35:05 > git init /w/workspace/device-virtual-go/81 # timeout=10 07:35:05 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:35:05 > git --version # timeout=10 07:35:05 > git --version # 'git version 2.25.1' 07:35:05 using GIT_SSH to set credentials SSH Credentials for GitHub 07:35:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:35:08 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:35:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:35:08 Avoid second fetch 07:35:08 Checking out Revision 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 (main) 07:35:09 Commit message: "Merge pull request #338 from jinlinGuan/edgex-go-issue-4273" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:35:08 > git config core.sparsecheckout # timeout=10 07:35:08 > git checkout -f 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 # timeout=10 07:35:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:35:10 % Total % Received % Xferd Average Speed Time Time Time Current 07:35:10 Dload Upload Total Spent Left Speed 07:35:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 07:35:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:35:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:35:11 + sudo tee /etc/docker/daemon.new 07:35:11 { 07:35:11 "registry-mirrors": [ 07:35:11 "https://nexus3.edgexfoundry.org:10001" 07:35:11 ], 07:35:11 "bip": "10.250.0.254/24", 07:35:11 "hosts": [ 07:35:11 "tcp://0.0.0.0:5555", 07:35:11 "unix:///var/run/docker.sock" 07:35:11 ], 07:35:11 "mtu": 1458, 07:35:11 "selinux-enabled": true, 07:35:11 "seccomp-profile": "/etc/docker/seccomp.json" 07:35:11 } [Pipeline] sh 07:35:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:35:11 + sudo service docker restart 07:35:17 Removing intermediate container 4d5d82a296eb 07:35:17 ---> 6f684d5701e6 07:35:17 Step 13/25 : FROM alpine:3.16 07:35:18 3.16: Pulling from library/alpine 07:35:18 ef5531b6e74e: Pulling fs layer 07:35:18 ef5531b6e74e: Verifying Checksum 07:35:18 ef5531b6e74e: Download complete 07:35:18 ef5531b6e74e: Pull complete 07:35:18 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 07:35:18 Status: Downloaded newer image for alpine:3.16 07:35:18 ---> dfd21b5a31f5 07:35:18 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:35:18 ---> Running in 0eed4bebe3ea 07:35:18 Removing intermediate container 0eed4bebe3ea 07:35:18 ---> 99571d1fec2d 07:35:18 Step 15/25 : RUN apk add --update --no-cache dumb-init 07:35:18 ---> Running in a1f1279104d1 07:35:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:35:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:35:19 (1/1) Installing dumb-init (1.2.5-r1) 07:35:19 Executing busybox-1.35.0-r17.trigger 07:35:19 OK: 6 MiB in 15 packages 07:35:19 Removing intermediate container a1f1279104d1 07:35:19 ---> 424648a166ab 07:35:19 Step 16/25 : WORKDIR / 07:35:19 ---> Running in 9f8dfef8b368 07:35:19 Removing intermediate container 9f8dfef8b368 07:35:19 ---> 7d3d192a730c 07:35:19 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:35:19 ---> 1ee12912433a 07:35:19 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 07:35:20 ---> 0969490cbb5c 07:35:20 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 07:35:21 ---> aabe248aeccf 07:35:21 Step 20/25 : EXPOSE 59900 07:35:21 ---> Running in c1587aab01c9 07:35:21 Removing intermediate container c1587aab01c9 07:35:21 ---> 3f137e064462 07:35:21 Step 21/25 : ENTRYPOINT ["/device-virtual"] 07:35:21 ---> Running in 8bbe1b0a3302 07:35:21 Removing intermediate container 8bbe1b0a3302 07:35:21 ---> 29a3bc8eadad 07:35:21 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:35:21 ---> Running in 359760928b47 07:35:21 Removing intermediate container 359760928b47 07:35:21 ---> 04060933d671 07:35:21 Step 23/25 : LABEL arch=amd64 07:35:21 ---> Running in 885662df619a 07:35:21 Removing intermediate container 885662df619a 07:35:21 ---> dc5a9e9de74c 07:35:21 Step 24/25 : LABEL git_sha=36cfc47f60822cf39bc0d17e26bed27cbab57cb6 07:35:21 ---> Running in a88093912046 07:35:21 Removing intermediate container a88093912046 07:35:21 ---> 7005100bcbfb 07:35:21 Step 25/25 : LABEL version=3.0.0-dev.10 07:35:21 ---> Running in 74a24cd52ccd 07:35:21 Removing intermediate container 74a24cd52ccd 07:35:21 ---> af583138e0e8 07:35:21 [Warning] One or more build-args [ARCH] were not consumed 07:35:21 Successfully built af583138e0e8 07:35:21 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:35:21 provisioning config files... 07:35:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17660335628366657499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:35:22 ---> docker-login.sh 07:35:22 nexus3.edgexfoundry.org:10001 07:35:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:22 Configure a credential helper to remove this warning. See 07:35:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:22 07:35:22 Login Succeeded 07:35:22 nexus3.edgexfoundry.org:10002 07:35:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:22 Configure a credential helper to remove this warning. See 07:35:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:22 07:35:22 Login Succeeded 07:35:22 nexus3.edgexfoundry.org:10003 07:35:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:22 Configure a credential helper to remove this warning. See 07:35:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:22 07:35:22 Login Succeeded 07:35:22 nexus3.edgexfoundry.org:10004 07:35:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:22 Configure a credential helper to remove this warning. See 07:35:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:22 07:35:22 Login Succeeded 07:35:22 docker.io 07:35:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:22 Configure a credential helper to remove this warning. See 07:35:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:22 07:35:22 Login Succeeded 07:35:22 ---> docker-login.sh ends [Pipeline] } 07:35:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:35:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:35:22 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 07:35:22 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 07:35:22 latest 07:35:22 3.0.0-dev.10 07:35:22 36cfc47f60822cf39bc0d17e26bed27cbab57cb6-3.0.0-dev.10 07:35:22 main 07:35:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:22 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:36cfc47f60822cf39bc0d17e26bed27cbab57cb6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:23 + docker push nexus3.edgexfoundry.org:10004/device-virtual:36cfc47f60822cf39bc0d17e26bed27cbab57cb6 07:35:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:35:23 12c4d16f12d1: Preparing 07:35:23 78c1311c8b92: Preparing 07:35:23 9a05a8f281da: Preparing 07:35:23 0cfb7f857f3b: Preparing 07:35:23 aa5968d388b8: Preparing 07:35:23 aa5968d388b8: Layer already exists 07:35:23 78c1311c8b92: Pushed 07:35:23 0cfb7f857f3b: Pushed 07:35:23 9a05a8f281da: Pushed 07:35:25 12c4d16f12d1: Pushed 07:35:25 36cfc47f60822cf39bc0d17e26bed27cbab57cb6: digest: sha256:09c1dfab01a457cf997a976921868173fe51166f7df27dda1a01dd04fe4959c2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:26 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 07:35:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:35:26 12c4d16f12d1: Preparing 07:35:26 78c1311c8b92: Preparing 07:35:26 9a05a8f281da: Preparing 07:35:26 0cfb7f857f3b: Preparing 07:35:26 aa5968d388b8: Preparing 07:35:26 0cfb7f857f3b: Layer already exists 07:35:26 12c4d16f12d1: Layer already exists 07:35:26 78c1311c8b92: Layer already exists 07:35:26 9a05a8f281da: Layer already exists 07:35:26 aa5968d388b8: Layer already exists 07:35:26 latest: digest: sha256:09c1dfab01a457cf997a976921868173fe51166f7df27dda1a01dd04fe4959c2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:26 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.10 07:35:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:35:27 12c4d16f12d1: Preparing 07:35:27 78c1311c8b92: Preparing 07:35:27 9a05a8f281da: Preparing 07:35:27 0cfb7f857f3b: Preparing 07:35:27 aa5968d388b8: Preparing 07:35:27 9a05a8f281da: Layer already exists 07:35:27 aa5968d388b8: Layer already exists 07:35:27 12c4d16f12d1: Layer already exists 07:35:27 78c1311c8b92: Layer already exists 07:35:27 0cfb7f857f3b: Layer already exists 07:35:27 3.0.0-dev.10: digest: sha256:09c1dfab01a457cf997a976921868173fe51166f7df27dda1a01dd04fe4959c2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:27 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:36cfc47f60822cf39bc0d17e26bed27cbab57cb6-3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual:36cfc47f60822cf39bc0d17e26bed27cbab57cb6-3.0.0-dev.10 07:35:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:35:27 12c4d16f12d1: Preparing 07:35:27 78c1311c8b92: Preparing 07:35:27 9a05a8f281da: Preparing 07:35:27 0cfb7f857f3b: Preparing 07:35:27 aa5968d388b8: Preparing 07:35:27 78c1311c8b92: Layer already exists 07:35:27 aa5968d388b8: Layer already exists 07:35:27 0cfb7f857f3b: Layer already exists 07:35:27 12c4d16f12d1: Layer already exists 07:35:27 9a05a8f281da: Layer already exists 07:35:27 36cfc47f60822cf39bc0d17e26bed27cbab57cb6-3.0.0-dev.10: digest: sha256:09c1dfab01a457cf997a976921868173fe51166f7df27dda1a01dd04fe4959c2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:27 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:28 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 07:35:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:35:28 12c4d16f12d1: Preparing 07:35:28 78c1311c8b92: Preparing 07:35:28 9a05a8f281da: Preparing 07:35:28 0cfb7f857f3b: Preparing 07:35:28 aa5968d388b8: Preparing 07:35:28 78c1311c8b92: Layer already exists 07:35:28 aa5968d388b8: Layer already exists 07:35:28 0cfb7f857f3b: Layer already exists 07:35:28 9a05a8f281da: Layer already exists 07:35:28 12c4d16f12d1: Layer already exists 07:35:28 main: digest: sha256:09c1dfab01a457cf997a976921868173fe51166f7df27dda1a01dd04fe4959c2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:35:28 ===================================================== [Pipeline] echo 07:35:28 taggedImages: 07:35:28 - nexus3.edgexfoundry.org:10004/device-virtual:36cfc47f60822cf39bc0d17e26bed27cbab57cb6 07:35:28 - nexus3.edgexfoundry.org:10004/device-virtual:latest 07:35:28 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.10 07:35:28 - nexus3.edgexfoundry.org:10004/device-virtual:36cfc47f60822cf39bc0d17e26bed27cbab57cb6-3.0.0-dev.10 07:35:28 - 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 07:35:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:35:28 07:35:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:35:29 latest: Pulling from edgex-lftools-log-publisher 07:35:29 5eb5b503b376: Pulling fs layer 07:35:29 5c69ac0246d0: Pulling fs layer 07:35:29 ec43610c2a17: Pulling fs layer 07:35:29 3a2ae6a8a46f: Pulling fs layer 07:35:29 33b1e0a273af: Pulling fs layer 07:35:29 5d3b04190fa2: Pulling fs layer 07:35:29 2f39f015ded8: Pulling fs layer 07:35:29 2f39f015ded8: Waiting 07:35:29 33b1e0a273af: Waiting 07:35:29 3a2ae6a8a46f: Waiting 07:35:29 5c69ac0246d0: Verifying Checksum 07:35:29 5c69ac0246d0: Download complete 07:35:29 3a2ae6a8a46f: Verifying Checksum 07:35:29 3a2ae6a8a46f: Download complete 07:35:29 33b1e0a273af: Verifying Checksum 07:35:29 33b1e0a273af: Download complete 07:35:29 ec43610c2a17: Verifying Checksum 07:35:29 ec43610c2a17: Download complete 07:35:29 5d3b04190fa2: Verifying Checksum 07:35:29 5d3b04190fa2: Download complete 07:35:29 5eb5b503b376: Verifying Checksum 07:35:29 5eb5b503b376: Download complete 07:35:30 2f39f015ded8: Verifying Checksum 07:35:30 2f39f015ded8: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:35:30 provisioning config files... 07:35:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/81@tmp/config1936026621715172665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:35:30 ---> docker-login.sh 07:35:30 nexus3.edgexfoundry.org:10001 07:35:30 5eb5b503b376: Pull complete 07:35:30 5c69ac0246d0: Pull complete 07:35:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:31 ec43610c2a17: Pull complete 07:35:31 3a2ae6a8a46f: Pull complete 07:35:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:31 Configure a credential helper to remove this warning. See 07:35:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:31 07:35:31 Login Succeeded 07:35:31 nexus3.edgexfoundry.org:10002 07:35:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:31 33b1e0a273af: Pull complete 07:35:31 5d3b04190fa2: Pull complete 07:35:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:31 Configure a credential helper to remove this warning. See 07:35:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:31 07:35:31 Login Succeeded 07:35:31 nexus3.edgexfoundry.org:10003 07:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:32 Configure a credential helper to remove this warning. See 07:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:32 07:35:32 Login Succeeded 07:35:32 nexus3.edgexfoundry.org:10004 07:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:32 Configure a credential helper to remove this warning. See 07:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:32 07:35:32 Login Succeeded 07:35:32 docker.io 07:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:32 Configure a credential helper to remove this warning. See 07:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:32 07:35:32 Login Succeeded 07:35:32 ---> docker-login.sh ends [Pipeline] } 07:35:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:35:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:35:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:35:33 ========================================================= 07:35:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 07:35:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:33 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 07:35:33 Sending build context to Docker daemon 11.82MB 07:35:33 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 07:35:33 Step 2/12 : FROM ${BASE} AS builder 07:35:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:35:34 9b18e9b68314: Pulling fs layer 07:35:34 35d82f9e3411: Pulling fs layer 07:35:34 e16973657156: Pulling fs layer 07:35:34 fc693d55d65f: Pulling fs layer 07:35:34 7e9fc2657dce: Pulling fs layer 07:35:34 dda99020689f: Pulling fs layer 07:35:34 db1c61fa0a46: Pulling fs layer 07:35:34 891c053d2c06: Pulling fs layer 07:35:34 dda99020689f: Waiting 07:35:34 db1c61fa0a46: Waiting 07:35:34 fc693d55d65f: Waiting 07:35:34 891c053d2c06: Waiting 07:35:34 7e9fc2657dce: Waiting 07:35:34 e16973657156: Verifying Checksum 07:35:34 e16973657156: Download complete 07:35:34 35d82f9e3411: Verifying Checksum 07:35:34 35d82f9e3411: Download complete 07:35:34 7e9fc2657dce: Download complete 07:35:34 dda99020689f: Verifying Checksum 07:35:34 dda99020689f: Download complete 07:35:34 9b18e9b68314: Verifying Checksum 07:35:34 9b18e9b68314: Download complete 07:35:35 9b18e9b68314: Pull complete 07:35:35 891c053d2c06: Verifying Checksum 07:35:35 891c053d2c06: Download complete 07:35:35 2f39f015ded8: Pull complete 07:35:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:35:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:35:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:35:35 prd-ubuntu20.04-docker-8c-8g-5501 does not seem to be running inside a container 07:35: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/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 07:35:36 db1c61fa0a46: Verifying Checksum 07:35:36 db1c61fa0a46: Download complete 07:35:37 fc693d55d65f: Verifying Checksum 07:35:37 fc693d55d65f: Download complete 07:35:37 35d82f9e3411: Pull complete 07:35:37 e16973657156: Pull complete 07:35:43 $ docker top 6c29a42ab61449e2362efbeebeab53d5e66d25318c003cd9ff9c834c32f12941 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:35:44 ---> job-cost.sh 07:35:44 lf-activate-venv: SKIPPING 07:35:44 INFO: No Stack... 07:35:44 INFO: Retrieving Pricing Info for: v3-standard-8 07:35:44 INFO: Archiving Costs [Pipeline] sh 07:35:45 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 07:35:45 + cut -d, -f6 [Pipeline] lock 07:35:45 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-81-stack-cost] 07:35:45 Resource [jenkins-edgexfoundry-device-virtual-go-main-81-stack-cost] did not exist. Created. 07:35:45 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-81-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:35:45 + echo total: 0.2199999988079071 [Pipeline] stash 07:35:45 Stashed 1 file(s) [Pipeline] } 07:35:45 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-81-stack-cost] [Pipeline] // lock [Pipeline] } 07:35:45 $ docker stop --time=1 6c29a42ab61449e2362efbeebeab53d5e66d25318c003cd9ff9c834c32f12941 07:35:46 $ docker rm -f --volumes 6c29a42ab61449e2362efbeebeab53d5e66d25318c003cd9ff9c834c32f12941 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:35:49 fc693d55d65f: Pull complete 07:35:50 7e9fc2657dce: Pull complete 07:35:50 dda99020689f: Pull complete 07:35:56 db1c61fa0a46: Pull complete 07:35:58 891c053d2c06: Pull complete 07:35:59 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 07:35:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 07:35:59 ---> f96f9c87975a 07:35:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:36:00 ---> Running in 2d101a4d9762 07:36:00 Removing intermediate container 2d101a4d9762 07:36:00 ---> 1973ef133e93 07:36:00 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:36:00 ---> Running in a6c3ebbf7cd1 07:36:00 Removing intermediate container a6c3ebbf7cd1 07:36:00 ---> 91eccedf8bca 07:36:00 Step 5/12 : ARG ADD_BUILD_TAGS="" 07:36:00 ---> Running in 09efee3e1598 07:36:00 Removing intermediate container 09efee3e1598 07:36:00 ---> 6bb9c36c8ad0 07:36:00 Step 6/12 : WORKDIR /device-virtual-go 07:36:00 ---> Running in 2af515e78b39 07:36:01 Removing intermediate container 2af515e78b39 07:36:01 ---> 5bbae6433a53 07:36:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:36:01 ---> Running in fb18beb83ecf 07:36:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:36:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:36:03 (1/4) Installing openssh-keygen (9.0_p1-r2) 07:36:03 (2/4) Installing libedit (20210910.3.1-r0) 07:36:03 (3/4) Installing openssh-client-common (9.0_p1-r2) 07:36:03 (4/4) Installing openssh-client-default (9.0_p1-r2) 07:36:03 Executing busybox-1.35.0-r17.trigger 07:36:03 OK: 226 MiB in 55 packages 07:36:04 Removing intermediate container fb18beb83ecf 07:36:04 ---> c32a904197e5 07:36:04 Step 8/12 : COPY go.mod vendor* ./ 07:36:05 ---> 93969346f121 07:36:05 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:36:05 ---> Running in fd1d8f0519ad 07:37:27 Removing intermediate container fd1d8f0519ad 07:37:27 ---> 4f2b8666e97f 07:37:27 Step 10/12 : COPY . . 07:37:27 ---> 8b747e5f7daf 07:37:27 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:37:27 ---> Running in 11627d85229b 07:37:27 Removing intermediate container 11627d85229b 07:37:27 ---> 01737337927a 07:37:27 Step 12/12 : RUN $MAKE 07:37:27 ---> Running in 8ffcac33ad02 07:37:27 noop 07:37:27 Removing intermediate container 8ffcac33ad02 07:37:27 ---> 7e8fea4b8429 07:37:27 Successfully built 7e8fea4b8429 07:37:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:27 + docker inspect -f . ci-base-image-arm64 07:37:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:37:27 prd-ubuntu20.04-docker-arm64-4c-16g-5502 does not seem to be running inside a container 07:37:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/81 -v /w/workspace/device-virtual-go/81:/w/workspace/device-virtual-go/81:rw,z -v /w/workspace/device-virtual-go/81@tmp:/w/workspace/device-virtual-go/81@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 07:37:29 $ docker top c287c0c86bfb1f56238bb538fbe4899bb00d71dac227c7402f4bf80335c5151a -eo pid,comm [Pipeline] { [Pipeline] sh 07:37:29 + go version 07:37:29 go version go1.18.7 linux/arm64 [Pipeline] } 07:37:29 $ docker stop --time=1 c287c0c86bfb1f56238bb538fbe4899bb00d71dac227c7402f4bf80335c5151a 07:37:31 $ docker rm -f --volumes c287c0c86bfb1f56238bb538fbe4899bb00d71dac227c7402f4bf80335c5151a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:32 + docker inspect -f . ci-base-image-arm64 07:37:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:37:32 prd-ubuntu20.04-docker-arm64-4c-16g-5502 does not seem to be running inside a container 07:37:32 $ 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/81 -v /w/workspace/device-virtual-go/81:/w/workspace/device-virtual-go/81:rw,z -v /w/workspace/device-virtual-go/81@tmp:/w/workspace/device-virtual-go/81@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 07:37:33 $ docker top 89c79ae624c9f1b61bcd3ac59b4d8f8c7c610ad8357c1f7cbc5bfeae27893da4 -eo pid,comm [Pipeline] { [Pipeline] sh 07:37:33 + git config --global --add safe.directory /w/workspace/device-virtual-go/81 [Pipeline] fileExists [Pipeline] sh 07:37:34 + make test 07:37:34 go test ./... -coverprofile=coverage.out 07:37:36 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:38:57 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:38:57 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.120s coverage: 65.7% of statements 07:38:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:38:57 go vet ./... 07:39:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:39:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:39:10 ./bin/test-attribution-txt.sh 07:39:10 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 07:39:10 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 07:39:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:39:10 $ docker stop --time=1 89c79ae624c9f1b61bcd3ac59b4d8f8c7c610ad8357c1f7cbc5bfeae27893da4 07:39:12 $ docker rm -f --volumes 89c79ae624c9f1b61bcd3ac59b4d8f8c7c610ad8357c1f7cbc5bfeae27893da4 [Pipeline] // withDockerContainer [Pipeline] sh 07:39:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:39:13 Warning: overwriting stash ‘coverage-report’ 07:39:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:39:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:39:14 + ls -al . 07:39:14 total 188 07:39:14 drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 07:37 . 07:39:14 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:35 .. 07:39:14 drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 07:35 .git 07:39:14 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:35 .github 07:39:14 -rw-rw-r-- 1 jenkins jenkins 337 Feb 13 07:35 .gitignore 07:39:14 -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 07:35 .golangci.yml 07:39:14 -rw-rw-r-- 1 jenkins jenkins 8423 Feb 13 07:35 Attribution.txt 07:39:14 -rw-rw-r-- 1 jenkins jenkins 11367 Feb 13 07:35 CHANGELOG.md 07:39:14 -rw-rw-r-- 1 jenkins jenkins 1646 Feb 13 07:35 Dockerfile 07:39:14 -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 07:35 GOVERNANCE.md 07:39:14 -rw-rw-r-- 1 jenkins jenkins 660 Feb 13 07:35 Jenkinsfile 07:39:14 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 07:35 LICENSE 07:39:14 -rw-rw-r-- 1 jenkins jenkins 1661 Feb 13 07:35 Makefile 07:39:14 -rw-rw-r-- 1 jenkins jenkins 623 Feb 13 07:35 OWNERS.md 07:39:14 -rw-rw-r-- 1 jenkins jenkins 3578 Feb 13 07:35 README.md 07:39:14 -rw-rw-r-- 1 jenkins jenkins 12 Feb 13 07:32 VERSION 07:39:14 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:35 bin 07:39:14 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:35 cmd 07:39:14 -rw-r--r-- 1 jenkins jenkins 44128 Feb 13 07:38 coverage.out 07:39:14 -rw-rw-r-- 1 jenkins jenkins 3252 Feb 13 07:35 go.mod 07:39:14 -rw-rw-r-- 1 jenkins jenkins 32588 Feb 13 07:35 go.sum 07:39:14 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:35 internal 07:39:14 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:35 snap 07:39:14 -rw-rw-r-- 1 jenkins jenkins 235 Feb 13 07:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:14 + 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=36cfc47f60822cf39bc0d17e26bed27cbab57cb6 --label arch=arm64 --label version=3.0.0-dev.10 . 07:39:15 Sending build context to Docker daemon 11.87MB 07:39:15 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 07:39:15 Step 2/25 : FROM ${BASE} AS builder 07:39:15 ---> 7e8fea4b8429 07:39:15 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:39:17 ---> Running in bed0350d8462 07:39:17 Removing intermediate container bed0350d8462 07:39:17 ---> 3443cce50307 07:39:17 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 07:39:17 ---> Running in ed2b7d67d1e3 07:39:18 Removing intermediate container ed2b7d67d1e3 07:39:18 ---> af1ae2ee1636 07:39:18 Step 5/25 : ARG ADD_BUILD_TAGS="" 07:39:18 ---> Running in 670130b5e8b2 07:39:18 Removing intermediate container 670130b5e8b2 07:39:18 ---> 887b116fcdcf 07:39:18 Step 6/25 : WORKDIR /device-virtual-go 07:39:18 ---> Running in 520a7cc5c783 07:39:19 Removing intermediate container 520a7cc5c783 07:39:19 ---> c92d397642c9 07:39:19 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:39:19 ---> Running in 0d93e949a7c0 07:39:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:39:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:39:21 OK: 226 MiB in 55 packages 07:39:21 Removing intermediate container 0d93e949a7c0 07:39:21 ---> 81580daf806c 07:39:21 Step 8/25 : COPY go.mod vendor* ./ 07:39:22 ---> fb8a53550772 07:39:22 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:39:22 ---> Running in a84e0abcb703 07:39:24 Removing intermediate container a84e0abcb703 07:39:24 ---> 9f9e2785d94b 07:39:24 Step 10/25 : COPY . . 07:39:25 ---> d3c4d5e8e0cc 07:39:25 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:39:25 ---> Running in 9948a79e94c4 07:39:26 Removing intermediate container 9948a79e94c4 07:39:26 ---> 3e846cf10eb7 07:39:26 Step 12/25 : RUN $MAKE 07:39:26 ---> Running in 09717a7d24d6 07:39:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.10" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 07:41:33 Removing intermediate container 09717a7d24d6 07:41:33 ---> 5bbad83629ef 07:41:33 Step 13/25 : FROM alpine:3.16 07:41:33 3.16: Pulling from library/alpine 07:41:33 3760b48202b3: Pulling fs layer 07:41:33 3760b48202b3: Verifying Checksum 07:41:33 3760b48202b3: Download complete 07:41:33 3760b48202b3: Pull complete 07:41:33 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 07:41:33 Status: Downloaded newer image for alpine:3.16 07:41:33 ---> 4c81e5bf8899 07:41:33 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:41:33 ---> Running in b804a3b1351b 07:41:33 Removing intermediate container b804a3b1351b 07:41:33 ---> 6313bdf03bea 07:41:33 Step 15/25 : RUN apk add --update --no-cache dumb-init 07:41:33 ---> Running in 8e1f7f9e2fa2 07:41:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:41:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:41:33 (1/1) Installing dumb-init (1.2.5-r1) 07:41:33 Executing busybox-1.35.0-r17.trigger 07:41:33 OK: 5 MiB in 15 packages 07:41:33 Removing intermediate container 8e1f7f9e2fa2 07:41:33 ---> 1b1939ac1b26 07:41:33 Step 16/25 : WORKDIR / 07:41:33 ---> Running in 3ba55b40d5ea 07:41:33 Removing intermediate container 3ba55b40d5ea 07:41:33 ---> f4cd89b536af 07:41:33 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:41:33 ---> a2d992f91886 07:41:33 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 07:41:33 ---> 8c10e2706222 07:41:33 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 07:41:33 ---> 1c8e98f1abda 07:41:33 Step 20/25 : EXPOSE 59900 07:41:33 ---> Running in fd42ddc4bfc5 07:41:33 Removing intermediate container fd42ddc4bfc5 07:41:33 ---> f3be81d05d41 07:41:33 Step 21/25 : ENTRYPOINT ["/device-virtual"] 07:41:33 ---> Running in 9d2b9dc58d44 07:41:33 Removing intermediate container 9d2b9dc58d44 07:41:33 ---> 4cc54f39a103 07:41:33 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:41:34 ---> Running in 115dbdcb96b6 07:41:34 Removing intermediate container 115dbdcb96b6 07:41:34 ---> 1ca5946cf487 07:41:34 Step 23/25 : LABEL arch=arm64 07:41:34 ---> Running in d8684c6489fc 07:41:34 Removing intermediate container d8684c6489fc 07:41:34 ---> 4964c706a371 07:41:34 Step 24/25 : LABEL git_sha=36cfc47f60822cf39bc0d17e26bed27cbab57cb6 07:41:34 ---> Running in 02f2e6a82b52 07:41:34 Removing intermediate container 02f2e6a82b52 07:41:34 ---> a4d3cf5417b9 07:41:34 Step 25/25 : LABEL version=3.0.0-dev.10 07:41:35 ---> Running in 61b709b53898 07:41:35 Removing intermediate container 61b709b53898 07:41:35 ---> 96fe9a1d9500 07:41:35 [Warning] One or more build-args [ARCH] were not consumed 07:41:35 Successfully built 96fe9a1d9500 07:41:35 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 07:41:35 provisioning config files... 07:41:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/81@tmp/config1449000455355269126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:41:35 ---> docker-login.sh 07:41:35 nexus3.edgexfoundry.org:10001 07:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:36 Configure a credential helper to remove this warning. See 07:41:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:36 07:41:36 Login Succeeded 07:41:36 nexus3.edgexfoundry.org:10002 07:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:36 Configure a credential helper to remove this warning. See 07:41:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:36 07:41:36 Login Succeeded 07:41:36 nexus3.edgexfoundry.org:10003 07:41:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:37 Configure a credential helper to remove this warning. See 07:41:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:37 07:41:37 Login Succeeded 07:41:37 nexus3.edgexfoundry.org:10004 07:41:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:37 Configure a credential helper to remove this warning. See 07:41:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:37 07:41:37 Login Succeeded 07:41:37 docker.io 07:41:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:38 Configure a credential helper to remove this warning. See 07:41:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:38 07:41:38 Login Succeeded 07:41:38 ---> docker-login.sh ends [Pipeline] } 07:41:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:41:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:41:38 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 07:41:38 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 07:41:38 latest 07:41:38 3.0.0-dev.10 07:41:38 36cfc47f60822cf39bc0d17e26bed27cbab57cb6-3.0.0-dev.10 07:41:38 main 07:41:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:38 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:36cfc47f60822cf39bc0d17e26bed27cbab57cb6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:38 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:36cfc47f60822cf39bc0d17e26bed27cbab57cb6 07:41:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:41:38 5dee4c3907cd: Preparing 07:41:38 842c96c4e1b7: Preparing 07:41:38 f1f0277f2060: Preparing 07:41:38 2572f29ae23f: Preparing 07:41:38 f70ee36035b9: Preparing 07:41:39 f1f0277f2060: Pushed 07:41:39 2572f29ae23f: Pushed 07:41:39 842c96c4e1b7: Pushed 07:41:39 f70ee36035b9: Layer already exists 07:41:44 5dee4c3907cd: Pushed 07:41:44 36cfc47f60822cf39bc0d17e26bed27cbab57cb6: digest: sha256:d571d1349ce9528f6acda2903e87c5b1a2ba7319bd7d1e2b04ae15d75b68110f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:45 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 07:41:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:41:45 5dee4c3907cd: Preparing 07:41:45 842c96c4e1b7: Preparing 07:41:45 f1f0277f2060: Preparing 07:41:45 2572f29ae23f: Preparing 07:41:45 f70ee36035b9: Preparing 07:41:45 f1f0277f2060: Layer already exists 07:41:45 2572f29ae23f: Layer already exists 07:41:45 842c96c4e1b7: Layer already exists 07:41:45 f70ee36035b9: Layer already exists 07:41:45 5dee4c3907cd: Layer already exists 07:41:45 latest: digest: sha256:d571d1349ce9528f6acda2903e87c5b1a2ba7319bd7d1e2b04ae15d75b68110f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:46 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.10 07:41:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:41:46 5dee4c3907cd: Preparing 07:41:46 842c96c4e1b7: Preparing 07:41:46 f1f0277f2060: Preparing 07:41:46 2572f29ae23f: Preparing 07:41:46 f70ee36035b9: Preparing 07:41:46 842c96c4e1b7: Layer already exists 07:41:46 5dee4c3907cd: Layer already exists 07:41:46 f1f0277f2060: Layer already exists 07:41:46 f70ee36035b9: Layer already exists 07:41:46 2572f29ae23f: Layer already exists 07:41:46 3.0.0-dev.10: digest: sha256:d571d1349ce9528f6acda2903e87c5b1a2ba7319bd7d1e2b04ae15d75b68110f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:46 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:36cfc47f60822cf39bc0d17e26bed27cbab57cb6-3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:47 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:36cfc47f60822cf39bc0d17e26bed27cbab57cb6-3.0.0-dev.10 07:41:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:41:47 5dee4c3907cd: Preparing 07:41:47 842c96c4e1b7: Preparing 07:41:47 f1f0277f2060: Preparing 07:41:47 2572f29ae23f: Preparing 07:41:47 f70ee36035b9: Preparing 07:41:47 f70ee36035b9: Layer already exists 07:41:47 842c96c4e1b7: Layer already exists 07:41:47 5dee4c3907cd: Layer already exists 07:41:47 2572f29ae23f: Layer already exists 07:41:47 f1f0277f2060: Layer already exists 07:41:47 36cfc47f60822cf39bc0d17e26bed27cbab57cb6-3.0.0-dev.10: digest: sha256:d571d1349ce9528f6acda2903e87c5b1a2ba7319bd7d1e2b04ae15d75b68110f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:47 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:48 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 07:41:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:41:48 5dee4c3907cd: Preparing 07:41:48 842c96c4e1b7: Preparing 07:41:48 f1f0277f2060: Preparing 07:41:48 2572f29ae23f: Preparing 07:41:48 f70ee36035b9: Preparing 07:41:48 f1f0277f2060: Layer already exists 07:41:48 842c96c4e1b7: Layer already exists 07:41:48 2572f29ae23f: Layer already exists 07:41:48 5dee4c3907cd: Layer already exists 07:41:48 f70ee36035b9: Layer already exists 07:41:48 main: digest: sha256:d571d1349ce9528f6acda2903e87c5b1a2ba7319bd7d1e2b04ae15d75b68110f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:41:48 ===================================================== [Pipeline] echo 07:41:48 taggedImages: 07:41:48 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:36cfc47f60822cf39bc0d17e26bed27cbab57cb6 07:41:48 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 07:41:48 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.10 07:41:48 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:36cfc47f60822cf39bc0d17e26bed27cbab57cb6-3.0.0-dev.10 07:41:48 - 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 07:41:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:41:48 07:41:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:41:49 arm64: Pulling from edgex-lftools-log-publisher 07:41:49 8998bd30e6a1: Pulling fs layer 07:41:49 04944245beec: Pulling fs layer 07:41:49 699f458cf7ca: Pulling fs layer 07:41:49 765212b225bb: Pulling fs layer 07:41:49 f23df028b6ca: Pulling fs layer 07:41:49 d65c8cfc05b1: Pulling fs layer 07:41:49 2437ff75d9bd: Pulling fs layer 07:41:49 765212b225bb: Waiting 07:41:49 d65c8cfc05b1: Waiting 07:41:49 2437ff75d9bd: Waiting 07:41:49 04944245beec: Verifying Checksum 07:41:49 04944245beec: Download complete 07:41:49 765212b225bb: Verifying Checksum 07:41:49 765212b225bb: Download complete 07:41:49 f23df028b6ca: Verifying Checksum 07:41:49 f23df028b6ca: Download complete 07:41:49 d65c8cfc05b1: Verifying Checksum 07:41:49 d65c8cfc05b1: Download complete 07:41:49 699f458cf7ca: Verifying Checksum 07:41:49 699f458cf7ca: Download complete 07:41:49 8998bd30e6a1: Verifying Checksum 07:41:49 8998bd30e6a1: Download complete 07:41:52 2437ff75d9bd: Verifying Checksum 07:41:52 2437ff75d9bd: Download complete 07:41:53 8998bd30e6a1: Pull complete 07:41:54 04944245beec: Pull complete 07:41:55 699f458cf7ca: Pull complete 07:41:55 765212b225bb: Pull complete 07:41:56 f23df028b6ca: Pull complete 07:41:56 d65c8cfc05b1: Pull complete 07:42:11 2437ff75d9bd: Pull complete 07:42:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:42:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:42:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:42:11 prd-ubuntu20.04-docker-arm64-4c-16g-5502 does not seem to be running inside a container 07:42: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/device-virtual-go/81 -v /w/workspace/device-virtual-go/81:/w/workspace/device-virtual-go/81:rw,z -v /w/workspace/device-virtual-go/81@tmp:/w/workspace/device-virtual-go/81@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 07:42:14 $ docker top 711ff14ceda31a515f326a0ddbfc5b802f3ea73f52e9e494967ea34e75511ea6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:42:14 ---> job-cost.sh 07:42:15 lf-activate-venv: SKIPPING 07:42:15 INFO: No Stack... 07:42:15 INFO: Retrieving Pricing Info for: v3-standard-4 07:42:16 INFO: Archiving Costs [Pipeline] sh 07:42:16 + cut -d, -f6 07:42:16 + cat /w/workspace/device-virtual-go/81/archives/cost.csv [Pipeline] lock 07:42:16 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-81-stack-cost] 07:42:16 Resource [jenkins-edgexfoundry-device-virtual-go-main-81-stack-cost] did not exist. Created. 07:42:16 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-81-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:42:17 /w/workspace/device-virtual-go/81@tmp/durable-29a4fa30/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:42:17 + echo total: 0.10999999940395355 [Pipeline] stash 07:42:17 Warning: overwriting stash ‘stack-cost’ 07:42:17 Stashed 1 file(s) [Pipeline] } 07:42:17 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-81-stack-cost] [Pipeline] // lock [Pipeline] } 07:42:17 $ docker stop --time=1 711ff14ceda31a515f326a0ddbfc5b802f3ea73f52e9e494967ea34e75511ea6 07:42:19 $ docker rm -f --volumes 711ff14ceda31a515f326a0ddbfc5b802f3ea73f52e9e494967ea34e75511ea6 [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 07:42:19 provisioning config files... 07:42:19 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17113360367944351236tmp [Pipeline] { [Pipeline] sh 07:42:19 + set +x 07:42:19 + curl -s https://codecov.io/bash 07:42:19 + bash -s -- 07:42:19 07:42:19 _____ _ 07:42:19 / ____| | | 07:42:19 | | ___ __| | ___ ___ _____ __ 07:42:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:42:19 | |___| (_) | (_| | __/ (_| (_) \ V / 07:42:19 \_____\___/ \__,_|\___|\___\___/ \_/ 07:42:19 Bash-1.0.6 07:42:19 07:42:19 07:42:19 ==> git version 2.25.1 found 07:42:19 ==> 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 07:42:19 Release-Date: 2020-01-08 07:42:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:42:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:42:19 ==> Jenkins CI detected. 07:42:19 current dir:  /w/workspace/exfoundry_device-virtual-go_main 07:42:19 project root: . 07:42:19 --> token set from env 07:42:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:42:19 ==> Running gcov in . (disable via -X gcov) 07:42:19 ==> Python coveragepy not found 07:42:19 ==> Searching for coverage reports in: 07:42:19 + . 07:42:19 -> Found 1 reports 07:42:19 ==> Detecting git/mercurial file structure 07:42:19 ==> Reading reports 07:42:19 + ./coverage.out bytes=44128 07:42:19 ==> Appending adjustments 07:42:19 https://docs.codecov.io/docs/fixing-reports 07:42:20 + Found adjustments 07:42:20 ==> Gzipping contents 07:42:20 8.0K /tmp/codecov.0PpSV1.gz 07:42:20 ==> Uploading reports 07:42:20 url: https://codecov.io 07:42:20 query: branch=main&commit=36cfc47f60822cf39bc0d17e26bed27cbab57cb6&build=81&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F81%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:42:20 -> Pinging Codecov 07:42:20 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=36cfc47f60822cf39bc0d17e26bed27cbab57cb6&build=81&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F81%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:42:20 -> Uploading to 07:42:20 https://storage.googleapis.com/codecov/v4/raw/2023-02-13/5E52B4B073DB2E39498172D8E973AA87/36cfc47f60822cf39bc0d17e26bed27cbab57cb6/a3e1e16e-9752-4a42-a958-892fd9eb10ec.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230213T074220Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c66aacb165bfd5857201901a710993da7fdf0c0168ffed120e532f03438f3a79 07:42:20 % Total % Received % Xferd Average Speed Time Time Time Current 07:42:20 Dload Upload Total Spent Left Speed 07:42:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5478 0 0 100 5478 0 23211 --:--:-- --:--:-- --:--:-- 23211 07:42:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/36cfc47f60822cf39bc0d17e26bed27cbab57cb6 [Pipeline] } 07:42:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:42:20 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:42:20 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:42:21 07:42:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:42:21 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:42:21 df9b9388f04a: Pulling fs layer 07:42:21 52dc419b0ee2: Pulling fs layer 07:42:21 25bc292e5bac: Pulling fs layer 07:42:21 114826534d7a: Pulling fs layer 07:42:21 4657fd5d0bcf: Pulling fs layer 07:42:21 6ad1cebc031e: Pulling fs layer 07:42:21 8a3aa393b2d8: Pulling fs layer 07:42:21 6ad1cebc031e: Waiting 07:42:21 114826534d7a: Waiting 07:42:21 4657fd5d0bcf: Waiting 07:42:21 8a3aa393b2d8: Waiting 07:42:21 25bc292e5bac: Download complete 07:42:21 52dc419b0ee2: Download complete 07:42:21 4657fd5d0bcf: Download complete 07:42:21 df9b9388f04a: Verifying Checksum 07:42:21 df9b9388f04a: Download complete 07:42:21 df9b9388f04a: Pull complete 07:42:21 52dc419b0ee2: Pull complete 07:42:22 25bc292e5bac: Pull complete 07:42:22 6ad1cebc031e: Verifying Checksum 07:42:22 6ad1cebc031e: Download complete 07:42:23 114826534d7a: Verifying Checksum 07:42:23 114826534d7a: Download complete 07:42:23 8a3aa393b2d8: Verifying Checksum 07:42:23 8a3aa393b2d8: Download complete 07:42:26 114826534d7a: Pull complete 07:42:26 4657fd5d0bcf: Pull complete 07:42:26 6ad1cebc031e: Pull complete 07:42:31 8a3aa393b2d8: Pull complete 07:42:31 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:42:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:42:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:42:31 prd-ubuntu20.04-docker-8c-8g-5501 does not seem to be running inside a container 07:42:31 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:42:36 $ docker top fcc864f4f04607def4adf53dd444ff6ca3efd4c872c08c5cda192d4d0d8a15e8 -eo pid,comm [Pipeline] { [Pipeline] echo 07:42:36 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 07:42:36 + set -o pipefail 07:42:36 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 07:42:41 07:42:41 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 07:42:41 07:42:41 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/110805ce-111f-4b9b-97bc-13018772d441 07:42:41 07:42:41 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:42:41 07:42:41 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:42:41 07:42:41 07:42:41 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:42:41 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:42:41 More details here: https://snyk.co/ue1NS [Pipeline] } 07:42:41 $ docker stop --time=1 fcc864f4f04607def4adf53dd444ff6ca3efd4c872c08c5cda192d4d0d8a15e8 07:42:44 $ docker rm -f --volumes fcc864f4f04607def4adf53dd444ff6ca3efd4c872c08c5cda192d4d0d8a15e8 [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 07:42:45 + git log --format=format:%s -1 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 [Pipeline] sh 07:42:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:42:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:42:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:42:46 prd-ubuntu20.04-docker-8c-8g-5501 does not seem to be running inside a container 07:42:46 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:42:46 $ docker top 592c292b5fab6d2644ed2b58dc336f0e4fe8b78d89a71ea439fd917f97ff23ab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:42:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:42:47 [ssh-agent] Looking for ssh-agent implementation... 07:42:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:42:47 $ docker exec 592c292b5fab6d2644ed2b58dc336f0e4fe8b78d89a71ea439fd917f97ff23ab ssh-agent 07:42:47 SSH_AUTH_SOCK=/tmp/ssh-WToSWhI24YpF/agent.32 07:42:47 SSH_AGENT_PID=38 07:42:47 Running ssh-add (command line suppressed) 07:42:47 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7501024985847986031.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7501024985847986031.key) 07:42:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:42:47 + git semver tag 07:42:47 2023-02-13 07:42:47,857 [run_tag] DEBUG tag force:False 07:42:47 2023-02-13 07:42:47,857 [check_head_tag] DEBUG check head tag 07:42:47 2023-02-13 07:42:47,858 [execute] INFO git cat-file --batch-check 07:42:47 2023-02-13 07:42:47,858 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 07:42:47 2023-02-13 07:42:47,864 [execute] INFO git cat-file --batch 07:42:47 2023-02-13 07:42:47,864 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 07:42:47 2023-02-13 07:42:47,885 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:42:47 2023-02-13 07:42:47,885 [execute] INFO git tag -a v3.0.0-dev.10 -m v3.0.0-dev.10 07:42:47 2023-02-13 07:42:47,885 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.10', '-m', 'v3.0.0-dev.10'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 07:42:47 2023-02-13 07:42:47,890 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:42:47 3.0.0-dev.10 [Pipeline] } 07:42:47 $ docker exec --env ******** --env ******** 592c292b5fab6d2644ed2b58dc336f0e4fe8b78d89a71ea439fd917f97ff23ab ssh-agent -k 07:42:48 unset SSH_AUTH_SOCK; 07:42:48 unset SSH_AGENT_PID; 07:42:48 echo Agent pid 38 killed; 07:42:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:42:48 + git semver [Pipeline] } 07:42:48 $ docker stop --time=1 592c292b5fab6d2644ed2b58dc336f0e4fe8b78d89a71ea439fd917f97ff23ab 07:42:49 $ docker rm -f --volumes 592c292b5fab6d2644ed2b58dc336f0e4fe8b78d89a71ea439fd917f97ff23ab [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:42:50 07:42:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:42:50 0.23.1-centos7: Pulling from edgex-lftools 07:42:50 ab5ef0e58194: Pulling fs layer 07:42:50 9712f1f96733: Pulling fs layer 07:42:50 63f879dbbcfc: Pulling fs layer 07:42:50 0d9ebad4ef96: Pulling fs layer 07:42:50 e9a5061849ea: Pulling fs layer 07:42:50 d747dcd14b5f: Pulling fs layer 07:42:50 2de7ff778b66: Pulling fs layer 07:42:50 2de7ff778b66: Waiting 07:42:50 d747dcd14b5f: Waiting 07:42:50 0d9ebad4ef96: Waiting 07:42:50 e9a5061849ea: Waiting 07:42:50 9712f1f96733: Verifying Checksum 07:42:50 9712f1f96733: Download complete 07:42:51 63f879dbbcfc: Verifying Checksum 07:42:51 63f879dbbcfc: Download complete 07:42:51 e9a5061849ea: Verifying Checksum 07:42:51 e9a5061849ea: Download complete 07:42:51 ab5ef0e58194: Verifying Checksum 07:42:51 ab5ef0e58194: Download complete 07:42:51 d747dcd14b5f: Download complete 07:42:51 0d9ebad4ef96: Verifying Checksum 07:42:51 0d9ebad4ef96: Download complete 07:42:52 2de7ff778b66: Download complete 07:42:54 ab5ef0e58194: Pull complete 07:42:54 9712f1f96733: Pull complete 07:42:55 63f879dbbcfc: Pull complete 07:42:59 0d9ebad4ef96: Pull complete 07:43:00 e9a5061849ea: Pull complete 07:43:00 d747dcd14b5f: Pull complete 07:43:01 2de7ff778b66: Pull complete 07:43:01 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:43:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:43:01 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:43:01 prd-ubuntu20.04-docker-8c-8g-5501 does not seem to be running inside a container 07:43:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:43:08 $ docker top dfb14fc257d0e1d847c4edaf5e01e4389366e896afdb0b11443ce76538361e6f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:43:08 provisioning config files... 07:43:08 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config52084248381250745tmp 07:43:08 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15070706288619264702tmp 07:43:08 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4941907654501942814tmp [Pipeline] { [Pipeline] echo 07:43:08 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:43:09 ---> sigul-configuration.sh 07:43:09 gpg: directory `/root/.gnupg' created 07:43:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:43:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:43:09 gpg: keyring `/root/.gnupg/secring.gpg' created 07:43:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:43:09 gpg: CAST5 encrypted data 07:43:09 gpg: encrypted with 1 passphrase 07:43:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:43:09 + mkdir /home/jenkins 07:43:09 + mkdir /home/jenkins/sigul [Pipeline] sh 07:43:09 + 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 07:43:09 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:43:10 ---> sigul-install.sh 07:43:10 Sigul already installed; skipping installation. [Pipeline] sh 07:43:10 + git tag --list 07:43:10 v1.0.0 07:43:10 v1.1.0 07:43:10 v1.1.1 07:43:10 v1.2.1 07:43:10 v1.2.2 07:43:10 v1.2.3 07:43:10 v1.3.0 07:43:10 v1.3.1 07:43:10 v2.0.0 07:43:10 v2.1.0 07:43:10 v2.1.1 07:43:10 v2.1.1-dev.1 07:43:10 v2.1.1-dev.2 07:43:10 v2.2.0 07:43:10 v2.2.1-dev.1 07:43:10 v2.2.1-dev.2 07:43:10 v2.2.1-dev.3 07:43:10 v2.2.1-dev.4 07:43:10 v2.2.1-dev.5 07:43:10 v2.2.1-dev.6 07:43:10 v2.2.1-dev.7 07:43:10 v2.2.1-dev.8 07:43:10 v2.3.0 07:43:10 v2.3.0-dev.10 07:43:10 v2.3.0-dev.11 07:43:10 v2.3.0-dev.12 07:43:10 v2.3.0-dev.13 07:43:10 v2.3.0-dev.14 07:43:10 v2.3.0-dev.15 07:43:10 v2.3.0-dev.16 07:43:10 v2.3.0-dev.17 07:43:10 v2.3.0-dev.18 07:43:10 v2.3.0-dev.19 07:43:10 v2.3.0-dev.20 07:43:10 v2.3.0-dev.21 07:43:10 v2.3.0-dev.22 07:43:10 v2.3.0-dev.23 07:43:10 v2.3.0-dev.24 07:43:10 v2.3.0-dev.25 07:43:10 v2.3.0-dev.26 07:43:10 v2.3.0-dev.27 07:43:10 v2.3.0-dev.28 07:43:10 v2.3.0-dev.29 07:43:10 v2.3.0-dev.30 07:43:10 v2.3.0-dev.8 07:43:10 v2.3.0-dev.9 07:43:10 v3.0.0-dev.1 07:43:10 v3.0.0-dev.10 07:43:10 v3.0.0-dev.2 07:43:10 v3.0.0-dev.3 07:43:10 v3.0.0-dev.4 07:43:10 v3.0.0-dev.5 07:43:10 v3.0.0-dev.6 07:43:10 v3.0.0-dev.7 07:43:10 v3.0.0-dev.8 07:43:10 v3.0.0-dev.9 [Pipeline] sh 07:43:10 + lftools sign git-tag v3.0.0-dev.10 07:43:11 Signing Git tag with Sigul... 07:43:11 Signing v3.0.0-dev.10 [Pipeline] echo 07:43:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:43:11 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:43:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:43:11 $ docker stop --time=1 dfb14fc257d0e1d847c4edaf5e01e4389366e896afdb0b11443ce76538361e6f 07:43:13 $ docker rm -f --volumes dfb14fc257d0e1d847c4edaf5e01e4389366e896afdb0b11443ce76538361e6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:43:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:43:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:43:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:43:13 prd-ubuntu20.04-docker-8c-8g-5501 does not seem to be running inside a container 07:43:13 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:43:14 $ docker top a15ef219384b8088738756466dace4e81d80ae009c2c3414f207e3b46db61245 -eo pid,comm 07:43:14 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). 07:43:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:43:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:43:14 [ssh-agent] Looking for ssh-agent implementation... 07:43:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:43:14 $ docker exec a15ef219384b8088738756466dace4e81d80ae009c2c3414f207e3b46db61245 ssh-agent 07:43:14 SSH_AUTH_SOCK=/tmp/ssh-tGKCcpoipwic/agent.33 07:43:14 SSH_AGENT_PID=39 07:43:14 Running ssh-add (command line suppressed) 07:43:14 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_336452545738624378.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_336452545738624378.key) 07:43:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:43:14 + git semver bump pre 07:43:15 2023-02-13 07:43:15,071 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:43:15 2023-02-13 07:43:15,071 [bump_version] DEBUG bumping version:3.0.0-dev.10 on axis:pre with prefix:dev 07:43:15 2023-02-13 07:43:15,071 [bump_version] DEBUG bumped version:3.0.0-dev.11 07:43:15 2023-02-13 07:43:15,071 [write_version] DEBUG write version:3.0.0-dev.11 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 07:43:15 2023-02-13 07:43:15,071 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:43:15 2023-02-13 07:43:15,073 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:43:15 2023-02-13 07:43:15,075 [execute] INFO git cat-file --batch-check 07:43:15 2023-02-13 07:43:15,075 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:43:15 2023-02-13 07:43:15,080 [execute] INFO git cat-file --batch 07:43:15 2023-02-13 07:43:15,080 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:43:15 2023-02-13 07:43:15,085 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:43:15 3.0.0-dev.11 [Pipeline] } 07:43:15 $ docker exec --env ******** --env ******** a15ef219384b8088738756466dace4e81d80ae009c2c3414f207e3b46db61245 ssh-agent -k 07:43:15 unset SSH_AUTH_SOCK; 07:43:15 unset SSH_AGENT_PID; 07:43:15 echo Agent pid 39 killed; 07:43:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:43:15 + git semver [Pipeline] } 07:43:15 $ docker stop --time=1 a15ef219384b8088738756466dace4e81d80ae009c2c3414f207e3b46db61245 07:43:17 $ docker rm -f --volumes a15ef219384b8088738756466dace4e81d80ae009c2c3414f207e3b46db61245 [Pipeline] // withDockerContainer [Pipeline] sh 07:43:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:43:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:43:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:43:17 prd-ubuntu20.04-docker-8c-8g-5501 does not seem to be running inside a container 07:43:17 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:43:18 $ docker top a6490ee6afb47cb6bec382eddfbd235bec8ebd40f3cc259e62d142fbbbe7d991 -eo pid,comm 07:43:18 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). 07:43:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:43:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:43:18 [ssh-agent] Looking for ssh-agent implementation... 07:43:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:43:18 $ docker exec a6490ee6afb47cb6bec382eddfbd235bec8ebd40f3cc259e62d142fbbbe7d991 ssh-agent 07:43:18 SSH_AUTH_SOCK=/tmp/ssh-I8ig60oCOcIk/agent.31 07:43:18 SSH_AGENT_PID=37 07:43:18 Running ssh-add (command line suppressed) 07:43:18 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7680859926357823550.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7680859926357823550.key) 07:43:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:43:19 + git semver push 07:43:19 2023-02-13 07:43:19,239 [run_push] DEBUG push 07:43:19 2023-02-13 07:43:19,239 [execute] INFO git cat-file --batch-check 07:43:19 2023-02-13 07:43:19,240 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:43:19 2023-02-13 07:43:19,242 [execute] INFO git rev-list 5b73060de1afccdec0d32ea1b5827b503dfbfb4b -- 07:43:19 2023-02-13 07:43:19,242 [execute] DEBUG Popen(['git', 'rev-list', '5b73060de1afccdec0d32ea1b5827b503dfbfb4b', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:43:19 2023-02-13 07:43:19,251 [execute] INFO git fetch -v origin 07:43:19 2023-02-13 07:43:19,251 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:43:19 2023-02-13 07:43:19,853 [run_push] DEBUG no remote changes detected 07:43:19 2023-02-13 07:43:19,854 [execute] INFO git push origin semver 07:43:19 2023-02-13 07:43:19,854 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:43:20 2023-02-13 07:43:20,734 [run_push] DEBUG push all version tags 07:43:20 2023-02-13 07:43:20,735 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:43:20 2023-02-13 07:43:20,735 [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) 07:43:21 2023-02-13 07:43:21,667 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:43:21 3.0.0-dev.11 [Pipeline] } 07:43:21 $ docker exec --env ******** --env ******** a6490ee6afb47cb6bec382eddfbd235bec8ebd40f3cc259e62d142fbbbe7d991 ssh-agent -k 07:43:21 unset SSH_AUTH_SOCK; 07:43:21 unset SSH_AGENT_PID; 07:43:21 echo Agent pid 37 killed; 07:43:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:43:22 + git semver [Pipeline] } 07:43:22 $ docker stop --time=1 a6490ee6afb47cb6bec382eddfbd235bec8ebd40f3cc259e62d142fbbbe7d991 07:43:23 $ docker rm -f --volumes a6490ee6afb47cb6bec382eddfbd235bec8ebd40f3cc259e62d142fbbbe7d991 [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 07:43:24 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 07:43:24 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 07:43:24 total 16 07:43:24 drwxr-xr-x 3 root root 4096 Feb 13 07:35 . 07:43:24 drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 07:43 .. 07:43:24 drwxr-xr-x 2 root root 4096 Feb 13 07:35 cost 07:43:24 -rw-r--r-- 1 root root 88 Feb 13 07:35 cost.csv 07:43:24 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 07:43:24 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 07:43:24 total 16 07:43:24 drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 07:35 . 07:43:24 drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 07:43 .. 07:43:24 drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 07:35 cost 07:43:24 -rw-r--r-- 1 jenkins jenkins 88 Feb 13 07:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:43:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:43:25 ---> package-listing.sh 07:43:25 ++ facter osfamily 07:43:25 ++ tr '[:upper:]' '[:lower:]' 07:43:25 + OS_FAMILY=debian 07:43:25 + workspace=/w/workspace/exfoundry_device-virtual-go_main 07:43:25 + START_PACKAGES=/tmp/packages_start.txt 07:43:25 + END_PACKAGES=/tmp/packages_end.txt 07:43:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:43:25 + PACKAGES=/tmp/packages_start.txt 07:43:25 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 07:43:25 + PACKAGES=/tmp/packages_end.txt 07:43:25 + case "${OS_FAMILY}" in 07:43:25 + dpkg -l 07:43:25 + grep '^ii' 07:43:25 + '[' -f /tmp/packages_start.txt ']' 07:43:25 + '[' -f /tmp/packages_end.txt ']' 07:43:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:43:25 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 07:43:25 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 07:43:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 07:43:25 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 07:43:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:43:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:43:26 prd-ubuntu20.04-docker-8c-8g-5501 does not seem to be running inside a container 07:43:26 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:43:27 $ docker top 00d95511c6d53027b9a57556de13a035b29291a64b64a98b0558ae9f34dc0fe2 -eo pid,comm [Pipeline] { [Pipeline] sh 07:43:27 + touch /tmp/pre-build-complete [Pipeline] sh 07:43:27 + mkdir -p /var/log/sysstat [Pipeline] sh 07:43:28 + ls /var/log/sa-host 07:43:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:43:28 provisioning config files... 07:43:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9992811533129408768tmp [Pipeline] { [Pipeline] echo 07:43:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:43:28 ---> create-netrc.sh [Pipeline] } 07:43:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:43:29 ---> python-tools-install.sh [Pipeline] echo 07:43:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:43:29 ---> sudo-logs.sh 07:43:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:43:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:43:29 ---> job-cost.sh 07:43:29 lf-activate-venv: SKIPPING 07:43:29 DEBUG: total: 0.2199999988079071 07:43:29 INFO: Retrieving Stack Cost... 07:43:30 INFO: Retrieving Pricing Info for: v3-standard-8 07:43:30 INFO: Archiving Costs [Pipeline] echo 07:43:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:43:31 ---> logs-deploy.sh 07:43:31 lf-activate-venv: SKIPPING 07:43:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/81 07:43:31 INFO: archiving workspace using pattern(s): 07:43:32 Archives upload complete. 07:43:32 INFO: archiving logs to Nexus