Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e07a2b47d6b01394d573ef881097266a6362f197 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-ssh5777406750530328776.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-ssh14950789561135614245.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-ssh4807423213186584120.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-ssh3745886222588863456.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-ssh7829809610585413525.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 Running on prd-ubuntu20.04-docker-8c-8g-121191 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision e07a2b47d6b01394d573ef881097266a6362f197 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e07a2b47d6b01394d573ef881097266a6362f197 # timeout=10 Commit message: "Merge pull request #322 from FelixTing/v3" > git rev-list --no-walk 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:10:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:10:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:10:50 ========================================================= 08:10:50 EdgeX Global Pipelines Version Info 08:10:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:10:50 ------------------- 08:10:50 stable info: 08:10:50 ------------------- 08:10:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:10:50 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 08:10:50 Message: update stable to v1.0.244 08:10:51 ------------------- 08:10:51 experimental info: 08:10:51 ------------------- 08:10:51 Commited By: **** collab-it+edgex@linuxfoundation.org 08:10:51 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 08:10:51 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:10:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:10:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:10:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:10:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:10:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e07a2b47d6b01394d573ef881097266a6362f197 [Pipeline] echo 08:10:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e07a2b4 [Pipeline] echo 08:10:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:10:52 provisioning config files... 08:10:52 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16206017131208920485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:10:52 ---> docker-login.sh 08:10:52 nexus3.edgexfoundry.org:10001 08:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:10:52 Configure a credential helper to remove this warning. See 08:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:10:52 08:10:52 Login Succeeded 08:10:52 nexus3.edgexfoundry.org:10002 08:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:10:52 Configure a credential helper to remove this warning. See 08:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:10:52 08:10:52 Login Succeeded 08:10:52 nexus3.edgexfoundry.org:10003 08:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:10:52 Configure a credential helper to remove this warning. See 08:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:10:52 08:10:52 Login Succeeded 08:10:52 nexus3.edgexfoundry.org:10004 08:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:10:53 Configure a credential helper to remove this warning. See 08:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:10:53 08:10:53 Login Succeeded 08:10:53 docker.io 08:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:10:53 Configure a credential helper to remove this warning. See 08:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:10:53 08:10:53 Login Succeeded 08:10:53 ---> docker-login.sh ends [Pipeline] } 08:10:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:10:53 + git rev-list -1 --merges e07a2b47d6b01394d573ef881097266a6362f197~1..e07a2b47d6b01394d573ef881097266a6362f197 [Pipeline] echo 08:10:53 -----------> git rev-list -1 --merges e07a2b47d6b01394d573ef881097266a6362f197~1..e07a2b47d6b01394d573ef881097266a6362f197 e07a2b47d6b01394d573ef881097266a6362f197 08:10:53 e07a2b47d6b01394d573ef881097266a6362f197 [false] [Pipeline] sh 08:10:54 + git log --format=format:%s -1 e07a2b47d6b01394d573ef881097266a6362f197 [Pipeline] echo 08:10:54 ========================================================= 08:10:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:10:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:10:54 + git log --format=format:%s -1 e07a2b47d6b01394d573ef881097266a6362f197 [Pipeline] echo 08:10:54 [semverPrep] GIT_COMMIT: e07a2b47d6b01394d573ef881097266a6362f197, Commit Message: Merge pull request #322 from FelixTing/v3 [Pipeline] echo 08:10:54 [semverPrep] This is not a build commit. [Pipeline] sh 08:10:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:10:54 + grep -v github /etc/ssh/ssh_known_hosts 08:10:54 + [ -e /tmp/ssh_known_hosts ] 08:10:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:10:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:10:54 + sudo tee -a /etc/ssh/ssh_known_hosts 08:10:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:10:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:10:55 08:10:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:10:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:10:55 0.1.4: Pulling from edgex-devops/py-git-semver 08:10:55 b85a868b505f: Pulling fs layer 08:10:55 e2be974225ed: Pulling fs layer 08:10:55 339a4e72a1f5: Pulling fs layer 08:10:55 988bab9f4d93: Pulling fs layer 08:10:55 1469e6f7b9e6: Pulling fs layer 08:10:55 eaf3925da568: Pulling fs layer 08:10:55 bab4dde63d76: Pulling fs layer 08:10:55 bde34c3a00c8: Pulling fs layer 08:10:55 b352a97aabf1: Pulling fs layer 08:10:55 4872d77fe225: Pulling fs layer 08:10:55 5851b861e8e6: Pulling fs layer 08:10:55 bab4dde63d76: Waiting 08:10:55 bde34c3a00c8: Waiting 08:10:55 b352a97aabf1: Waiting 08:10:55 4872d77fe225: Waiting 08:10:55 5851b861e8e6: Waiting 08:10:55 1469e6f7b9e6: Waiting 08:10:55 988bab9f4d93: Waiting 08:10:55 e2be974225ed: Download complete 08:10:55 988bab9f4d93: Verifying Checksum 08:10:55 988bab9f4d93: Download complete 08:10:55 1469e6f7b9e6: Verifying Checksum 08:10:55 1469e6f7b9e6: Download complete 08:10:55 eaf3925da568: Verifying Checksum 08:10:55 eaf3925da568: Download complete 08:10:55 339a4e72a1f5: Verifying Checksum 08:10:55 339a4e72a1f5: Download complete 08:10:55 bde34c3a00c8: Download complete 08:10:55 b352a97aabf1: Download complete 08:10:55 4872d77fe225: Verifying Checksum 08:10:55 4872d77fe225: Download complete 08:10:55 b85a868b505f: Verifying Checksum 08:10:55 b85a868b505f: Download complete 08:10:55 5851b861e8e6: Download complete 08:10:56 bab4dde63d76: Verifying Checksum 08:10:56 bab4dde63d76: Download complete 08:10:57 b85a868b505f: Pull complete 08:10:57 e2be974225ed: Pull complete 08:10:58 339a4e72a1f5: Pull complete 08:10:58 988bab9f4d93: Pull complete 08:10:58 1469e6f7b9e6: Pull complete 08:10:58 eaf3925da568: Pull complete 08:11:00 bab4dde63d76: Pull complete 08:11:00 bde34c3a00c8: Pull complete 08:11:00 b352a97aabf1: Pull complete 08:11:00 4872d77fe225: Pull complete 08:11:00 5851b861e8e6: Pull complete 08:11:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:11:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:11:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:11:00 prd-ubuntu20.04-docker-8c-8g-121191 does not seem to be running inside a container 08:11:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:11:02 $ docker top c4d21b9463bf30b2235b9fcf8ac7bdd62332694387191bbb8abb254adb6eb40c -eo pid,comm 08:11:02 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). 08:11:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:11:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:11:02 [ssh-agent] Looking for ssh-agent implementation... 08:11:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:11:02 $ docker exec c4d21b9463bf30b2235b9fcf8ac7bdd62332694387191bbb8abb254adb6eb40c ssh-agent 08:11:02 SSH_AUTH_SOCK=/tmp/ssh-mRGx3lQdv5HD/agent.32 08:11:02 SSH_AGENT_PID=38 08:11:02 Running ssh-add (command line suppressed) 08:11:03 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9723995063929268994.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9723995063929268994.key) 08:11:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:11:03 + git tag --points-at HEAD [Pipeline] } 08:11:03 $ docker exec --env ******** --env ******** c4d21b9463bf30b2235b9fcf8ac7bdd62332694387191bbb8abb254adb6eb40c ssh-agent -k 08:11:03 unset SSH_AUTH_SOCK; 08:11:03 unset SSH_AGENT_PID; 08:11:03 echo Agent pid 38 killed; 08:11:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:11:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:11:03 [ssh-agent] Looking for ssh-agent implementation... 08:11:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:11:03 $ docker exec c4d21b9463bf30b2235b9fcf8ac7bdd62332694387191bbb8abb254adb6eb40c ssh-agent 08:11:03 SSH_AUTH_SOCK=/tmp/ssh-HBd4j2pyfzRN/agent.70 08:11:03 SSH_AGENT_PID=76 08:11:03 Running ssh-add (command line suppressed) 08:11:03 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6688433124564873666.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6688433124564873666.key) 08:11:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:11:04 + git semver init 08:11:04 2022-12-14 08:11:04,362 [run_init] DEBUG init version:0.0.0 force:False 08:11:04 2022-12-14 08:11:04,362 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 08:11:04 2022-12-14 08:11:04,363 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 08:11:04 2022-12-14 08:11:04,363 [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) 08:11:05 2022-12-14 08:11:05,418 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 08:11:05 2022-12-14 08:11:05,419 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 08:11:05 2022-12-14 08:11:05,419 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:11:05 2022-12-14 08:11:05,419 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:11:05 3.0.0-dev.1 [Pipeline] } 08:11:05 $ docker exec --env ******** --env ******** c4d21b9463bf30b2235b9fcf8ac7bdd62332694387191bbb8abb254adb6eb40c ssh-agent -k 08:11:05 unset SSH_AUTH_SOCK; 08:11:05 unset SSH_AGENT_PID; 08:11:05 echo Agent pid 76 killed; 08:11:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:11:06 + git semver [Pipeline] } 08:11:06 $ docker stop --time=1 c4d21b9463bf30b2235b9fcf8ac7bdd62332694387191bbb8abb254adb6eb40c 08:11:07 $ docker rm -f c4d21b9463bf30b2235b9fcf8ac7bdd62332694387191bbb8abb254adb6eb40c [Pipeline] // withDockerContainer [Pipeline] sh 08:11:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:11:08 Stashed 1 file(s) [Pipeline] echo 08:11:08 [edgeXSemver]: initialized semver on version 3.0.0-dev.1 [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 08:11:08 provisioning config files... 08:11:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9018361390458726743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:11:08 ---> docker-login.sh 08:11:08 nexus3.edgexfoundry.org:10001 08:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:08 Configure a credential helper to remove this warning. See 08:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:08 08:11:08 Login Succeeded 08:11:08 nexus3.edgexfoundry.org:10002 08:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:08 Configure a credential helper to remove this warning. See 08:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:08 08:11:08 Login Succeeded 08:11:09 nexus3.edgexfoundry.org:10003 08:11:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:09 Configure a credential helper to remove this warning. See 08:11:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:09 08:11:09 Login Succeeded 08:11:09 nexus3.edgexfoundry.org:10004 08:11:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:09 Configure a credential helper to remove this warning. See 08:11:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:09 08:11:09 Login Succeeded 08:11:09 docker.io 08:11:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:09 Configure a credential helper to remove this warning. See 08:11:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:09 08:11:09 Login Succeeded 08:11:09 ---> docker-login.sh ends [Pipeline] } 08:11:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:11:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:11:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:11:09 ========================================================= 08:11:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 08:11:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11:10 + 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 . 08:11:10 Sending build context to Docker daemon 23.33MB 08:11:10 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 08:11:10 Step 2/12 : FROM ${BASE} AS builder 08:11:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 08:11:10 213ec9aee27d: Pulling fs layer 08:11:10 4583459ba037: Pulling fs layer 08:11:10 93c1e223e6f2: Pulling fs layer 08:11:10 53926ce57604: Pulling fs layer 08:11:10 21b2b0c7a3f4: Pulling fs layer 08:11:10 22ff95d597cd: Pulling fs layer 08:11:10 12d6caf4c0d1: Pulling fs layer 08:11:10 96b7cbca73a9: Pulling fs layer 08:11:10 a7acece74701: Pulling fs layer 08:11:10 21b2b0c7a3f4: Waiting 08:11:10 22ff95d597cd: Waiting 08:11:10 a7acece74701: Waiting 08:11:10 12d6caf4c0d1: Waiting 08:11:10 53926ce57604: Waiting 08:11:10 96b7cbca73a9: Waiting 08:11:10 93c1e223e6f2: Verifying Checksum 08:11:10 93c1e223e6f2: Download complete 08:11:10 4583459ba037: Verifying Checksum 08:11:10 4583459ba037: Download complete 08:11:10 21b2b0c7a3f4: Verifying Checksum 08:11:10 21b2b0c7a3f4: Download complete 08:11:10 22ff95d597cd: Verifying Checksum 08:11:10 22ff95d597cd: Download complete 08:11:10 213ec9aee27d: Verifying Checksum 08:11:10 213ec9aee27d: Download complete 08:11:10 12d6caf4c0d1: Download complete 08:11:10 213ec9aee27d: Pull complete 08:11:10 4583459ba037: Pull complete 08:11:10 93c1e223e6f2: Pull complete 08:11:10 a7acece74701: Verifying Checksum 08:11:10 a7acece74701: Download complete 08:11:11 53926ce57604: Verifying Checksum 08:11:11 53926ce57604: Download complete 08:11:11 96b7cbca73a9: Download complete 08:11:15 53926ce57604: Pull complete 08:11:15 21b2b0c7a3f4: Pull complete 08:11:15 22ff95d597cd: Pull complete 08:11:15 12d6caf4c0d1: Pull complete 08:11:17 96b7cbca73a9: Pull complete 08:11:18 a7acece74701: Pull complete 08:11:18 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 08:11:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 08:11:18 ---> db6d94c90886 08:11:18 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:11:20 ---> Running in e9a8d1ddea95 08:11:20 Removing intermediate container e9a8d1ddea95 08:11:20 ---> c3a6ebcaa60a 08:11:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:11:20 ---> Running in 356424f308b8 08:11:20 Removing intermediate container 356424f308b8 08:11:20 ---> 4699040e4d53 08:11:20 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:11:20 ---> Running in 28a8333d6c4b 08:11:20 Removing intermediate container 28a8333d6c4b 08:11:20 ---> f6838b994fc3 08:11:20 Step 6/12 : WORKDIR /device-virtual-go 08:11:20 ---> Running in 288f2b7747fe 08:11:20 Removing intermediate container 288f2b7747fe 08:11:20 ---> 6b9de9cb9dcb 08:11:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:11:21 ---> Running in 136bf008f17f 08:11:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:11:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:11:21 (1/4) Installing openssh-keygen (9.0_p1-r2) 08:11:21 (2/4) Installing libedit (20210910.3.1-r0) 08:11:21 (3/4) Installing openssh-client-common (9.0_p1-r2) 08:11:21 (4/4) Installing openssh-client-default (9.0_p1-r2) 08:11:21 Executing busybox-1.35.0-r17.trigger 08:11:21 OK: 216 MiB in 55 packages 08:11:22 Removing intermediate container 136bf008f17f 08:11:22 ---> ec26952489ba 08:11:22 Step 8/12 : COPY go.mod vendor* ./ 08:11:22 ---> a9e5bc4cf8a8 08:11:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:11:22 ---> Running in 98ae0527e3c0 08:11:23 Still waiting to schedule task 08:11:23 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:11:40 Removing intermediate container 98ae0527e3c0 08:11:40 ---> 4e9f3289d9fe 08:11:40 Step 10/12 : COPY . . 08:11:40 ---> a734bc2984f2 08:11:40 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:11:40 ---> Running in e28acb95ee05 08:11:40 Removing intermediate container e28acb95ee05 08:11:40 ---> 6a12372b303f 08:11:40 Step 12/12 : RUN $MAKE 08:11:40 ---> Running in de76f13f37d4 08:11:40 noop 08:11:41 Removing intermediate container de76f13f37d4 08:11:41 ---> d3acd6cca582 08:11:41 Successfully built d3acd6cca582 08:11:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11:41 + docker inspect -f . ci-base-image-x86_64 08:11:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:11:41 prd-ubuntu20.04-docker-8c-8g-121191 does not seem to be running inside a container 08:11:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:11:42 $ docker top ab2992488d01214ffa5b32e32d8a014f6dfe057c88b5d539c6aa7536b2d3c8f4 -eo pid,comm [Pipeline] { [Pipeline] sh 08:11:42 + go version 08:11:42 go version go1.18.7 linux/amd64 [Pipeline] } 08:11:42 $ docker stop --time=1 ab2992488d01214ffa5b32e32d8a014f6dfe057c88b5d539c6aa7536b2d3c8f4 08:11:43 $ docker rm -f ab2992488d01214ffa5b32e32d8a014f6dfe057c88b5d539c6aa7536b2d3c8f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11:44 + docker inspect -f . ci-base-image-x86_64 08:11:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:11:44 prd-ubuntu20.04-docker-8c-8g-121191 does not seem to be running inside a container 08:11:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:11:44 $ docker top ec15d06a4ec5f1f6b2df7456d91781e83e5b28c78dcc1d5b60b5d70e813e3a9d -eo pid,comm [Pipeline] { [Pipeline] sh 08:11:45 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 08:11:45 + make test 08:11:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:11:45 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:11:55 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:11:55 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.038s coverage: 65.7% of statements 08:12:03 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." 08:12:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:12:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:12:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:12:07 ./bin/test-attribution-txt.sh [Pipeline] echo 08:12:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:12:07 $ docker stop --time=1 ec15d06a4ec5f1f6b2df7456d91781e83e5b28c78dcc1d5b60b5d70e813e3a9d 08:12:09 $ docker rm -f ec15d06a4ec5f1f6b2df7456d91781e83e5b28c78dcc1d5b60b5d70e813e3a9d [Pipeline] // withDockerContainer [Pipeline] sh 08:12:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:12:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:12:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:12:10 + ls -al . 08:12:10 total 204 08:12:10 drwxrwxr-x 9 jenkins jenkins 4096 Dec 14 08:11 . 08:12:10 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 08:10 .. 08:12:10 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 08:11 .git 08:12:10 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 08:10 .github 08:12:10 -rw-rw-r-- 1 jenkins jenkins 337 Dec 14 08:10 .gitignore 08:12:10 -rw-rw-r-- 1 jenkins jenkins 41 Dec 14 08:10 .golangci.yml 08:12:10 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 08:11 .semver 08:12:10 -rw-rw-r-- 1 jenkins jenkins 8527 Dec 14 08:10 Attribution.txt 08:12:10 -rw-rw-r-- 1 jenkins jenkins 11367 Dec 14 08:10 CHANGELOG.md 08:12:10 -rw-rw-r-- 1 jenkins jenkins 1709 Dec 14 08:10 Dockerfile 08:12:10 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 08:10 GOVERNANCE.md 08:12:10 -rw-rw-r-- 1 jenkins jenkins 660 Dec 14 08:10 Jenkinsfile 08:12:10 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 08:10 LICENSE 08:12:10 -rw-rw-r-- 1 jenkins jenkins 2457 Dec 14 08:10 Makefile 08:12:10 -rw-rw-r-- 1 jenkins jenkins 623 Dec 14 08:10 OWNERS.md 08:12:10 -rw-rw-r-- 1 jenkins jenkins 3578 Dec 14 08:10 README.md 08:12:10 -rw-rw-r-- 1 jenkins jenkins 11 Dec 14 08:11 VERSION 08:12:10 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 08:10 bin 08:12:10 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 08:10 cmd 08:12:10 -rw-r--r-- 1 jenkins jenkins 44128 Dec 14 08:11 coverage.out 08:12:10 -rw-rw-r-- 1 jenkins jenkins 3340 Dec 14 08:10 go.mod 08:12:10 -rw-rw-r-- 1 jenkins jenkins 44412 Dec 14 08:10 go.sum 08:12:10 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 08:10 internal 08:12:10 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 08:10 snap 08:12:10 -rw-rw-r-- 1 jenkins jenkins 235 Dec 14 08:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:10 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=e07a2b47d6b01394d573ef881097266a6362f197 --label arch=amd64 --label version=3.0.0-dev.1 . 08:12:10 Sending build context to Docker daemon 23.37MB 08:12:10 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 08:12:10 Step 2/25 : FROM ${BASE} AS builder 08:12:10 ---> d3acd6cca582 08:12:10 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:12:10 ---> Running in dd4bb8c048a4 08:12:10 Removing intermediate container dd4bb8c048a4 08:12:10 ---> 72940c9b26f4 08:12:10 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:12:10 ---> Running in d8d3fd065303 08:12:11 Removing intermediate container d8d3fd065303 08:12:11 ---> fe13adaf3189 08:12:11 Step 5/25 : ARG ADD_BUILD_TAGS="" 08:12:11 ---> Running in 31aab8e44175 08:12:11 Removing intermediate container 31aab8e44175 08:12:11 ---> 4f970a71ab60 08:12:11 Step 6/25 : WORKDIR /device-virtual-go 08:12:11 ---> Running in ad3f8f73edab 08:12:11 Removing intermediate container ad3f8f73edab 08:12:11 ---> ebd26d944785 08:12:11 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:12:11 ---> Running in f15762cc6656 08:12:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:12:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:12:12 OK: 216 MiB in 55 packages 08:12:12 Removing intermediate container f15762cc6656 08:12:12 ---> 50f21008d63c 08:12:12 Step 8/25 : COPY go.mod vendor* ./ 08:12:12 ---> 932c10015069 08:12:12 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:12:12 ---> Running in 63b471baa233 08:12:13 Removing intermediate container 63b471baa233 08:12:13 ---> bca059d5697d 08:12:13 Step 10/25 : COPY . . 08:12:13 ---> 3fb216a06c33 08:12:13 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:12:13 ---> Running in 630c5b754c39 08:12:13 Removing intermediate container 630c5b754c39 08:12:13 ---> 1fed3efda3d8 08:12:13 Step 12/25 : RUN $MAKE 08:12:13 ---> Running in 09ba2861f059 08:12:14 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 08:12:36 Removing intermediate container 09ba2861f059 08:12:36 ---> 807a8b8563da 08:12:36 Step 13/25 : FROM alpine:3.16 08:12:36 3.16: Pulling from library/alpine 08:12:36 ca7dd9ec2225: Pulling fs layer 08:12:36 ca7dd9ec2225: Verifying Checksum 08:12:36 ca7dd9ec2225: Download complete 08:12:36 ca7dd9ec2225: Pull complete 08:12:36 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 08:12:36 Status: Downloaded newer image for alpine:3.16 08:12:36 ---> bfe296a52501 08:12:36 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:12:36 ---> Running in e375e7c9adbd 08:12:36 Removing intermediate container e375e7c9adbd 08:12:36 ---> 9379de4f4e8d 08:12:36 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 08:12:36 ---> Running in 23b7bc26204e 08:12:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:12:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:12:36 (1/6) Installing dumb-init (1.2.5-r1) 08:12:36 (2/6) Installing libgcc (11.2.1_git20220219-r2) 08:12:36 (3/6) Installing libsodium (1.0.18-r0) 08:12:36 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 08:12:36 (5/6) Installing libzmq (4.3.4-r0) 08:12:36 (6/6) Installing zeromq (4.3.4-r0) 08:12:36 Executing busybox-1.35.0-r17.trigger 08:12:36 OK: 8 MiB in 20 packages 08:12:37 Removing intermediate container 23b7bc26204e 08:12:37 ---> fce77a89040e 08:12:37 Step 16/25 : WORKDIR / 08:12:37 ---> Running in b50179f4abf6 08:12:37 Removing intermediate container b50179f4abf6 08:12:37 ---> 72c15857e9b6 08:12:37 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:12:37 ---> 6044aedb4b15 08:12:37 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 08:12:37 ---> 73e465457b9d 08:12:37 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 08:12:38 ---> a7bd966751ad 08:12:38 Step 20/25 : EXPOSE 59900 08:12:38 ---> Running in 9c4cfae4c191 08:12:38 Removing intermediate container 9c4cfae4c191 08:12:38 ---> 67df89b13a57 08:12:38 Step 21/25 : ENTRYPOINT ["/device-virtual"] 08:12:38 ---> Running in 24634133e90f 08:12:38 Removing intermediate container 24634133e90f 08:12:38 ---> b27d6c924991 08:12:38 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:12:38 ---> Running in 97026f76f0e1 08:12:38 Removing intermediate container 97026f76f0e1 08:12:38 ---> 6a4e977464df 08:12:38 Step 23/25 : LABEL arch=amd64 08:12:38 ---> Running in 7757bbf68fde 08:12:38 Removing intermediate container 7757bbf68fde 08:12:38 ---> 8a84d8471da3 08:12:38 Step 24/25 : LABEL git_sha=e07a2b47d6b01394d573ef881097266a6362f197 08:12:39 ---> Running in 1a2174c6416d 08:12:39 Removing intermediate container 1a2174c6416d 08:12:39 ---> 09721b2395b0 08:12:39 Step 25/25 : LABEL version=3.0.0-dev.1 08:12:39 ---> Running in 9d8f243e4888 08:12:39 Removing intermediate container 9d8f243e4888 08:12:39 ---> 0ddbc6ad98e7 08:12:39 [Warning] One or more build-args [ARCH] were not consumed 08:12:39 Successfully built 0ddbc6ad98e7 08:12:39 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:12:39 provisioning config files... 08:12:39 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12392280664506626136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:12:39 ---> docker-login.sh 08:12:39 nexus3.edgexfoundry.org:10001 08:12:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:39 Configure a credential helper to remove this warning. See 08:12:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:39 08:12:39 Login Succeeded 08:12:39 nexus3.edgexfoundry.org:10002 08:12:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:39 Configure a credential helper to remove this warning. See 08:12:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:39 08:12:39 Login Succeeded 08:12:39 nexus3.edgexfoundry.org:10003 08:12:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:39 Configure a credential helper to remove this warning. See 08:12:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:39 08:12:39 Login Succeeded 08:12:39 nexus3.edgexfoundry.org:10004 08:12:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:39 Configure a credential helper to remove this warning. See 08:12:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:39 08:12:39 Login Succeeded 08:12:39 docker.io 08:12:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:40 Configure a credential helper to remove this warning. See 08:12:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:40 08:12:40 Login Succeeded 08:12:40 ---> docker-login.sh ends [Pipeline] } 08:12:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:12:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:12:40 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 08:12:40 e07a2b47d6b01394d573ef881097266a6362f197 08:12:40 latest 08:12:40 3.0.0-dev.1 08:12:40 e07a2b47d6b01394d573ef881097266a6362f197-3.0.0-dev.1 08:12:40 main 08:12:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:40 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:e07a2b47d6b01394d573ef881097266a6362f197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual:e07a2b47d6b01394d573ef881097266a6362f197 08:12:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:12:40 6e44102b4169: Preparing 08:12:40 556398f8b3c3: Preparing 08:12:40 b49bd162947b: Preparing 08:12:40 83afb2a536b9: Preparing 08:12:40 e5e13b0c77cb: Preparing 08:12:40 e5e13b0c77cb: Layer already exists 08:12:40 b49bd162947b: Pushed 08:12:40 556398f8b3c3: Pushed 08:12:41 83afb2a536b9: Pushed 08:12:43 6e44102b4169: Pushed 08:12:43 e07a2b47d6b01394d573ef881097266a6362f197: digest: sha256:6157c26825fea0cfd370d49738ae1f86ab556309c92f6fdb56deedbef9bb87c7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:44 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 08:12:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:12:44 6e44102b4169: Preparing 08:12:44 556398f8b3c3: Preparing 08:12:44 b49bd162947b: Preparing 08:12:44 83afb2a536b9: Preparing 08:12:44 e5e13b0c77cb: Preparing 08:12:44 556398f8b3c3: Layer already exists 08:12:44 6e44102b4169: Layer already exists 08:12:44 e5e13b0c77cb: Layer already exists 08:12:44 83afb2a536b9: Layer already exists 08:12:44 b49bd162947b: Layer already exists 08:12:44 latest: digest: sha256:6157c26825fea0cfd370d49738ae1f86ab556309c92f6fdb56deedbef9bb87c7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:44 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.1 08:12:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:12:44 6e44102b4169: Preparing 08:12:44 556398f8b3c3: Preparing 08:12:44 b49bd162947b: Preparing 08:12:44 83afb2a536b9: Preparing 08:12:44 e5e13b0c77cb: Preparing 08:12:44 556398f8b3c3: Layer already exists 08:12:44 e5e13b0c77cb: Layer already exists 08:12:44 83afb2a536b9: Layer already exists 08:12:44 b49bd162947b: Layer already exists 08:12:44 6e44102b4169: Layer already exists 08:12:44 3.0.0-dev.1: digest: sha256:6157c26825fea0cfd370d49738ae1f86ab556309c92f6fdb56deedbef9bb87c7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:45 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:e07a2b47d6b01394d573ef881097266a6362f197-3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual:e07a2b47d6b01394d573ef881097266a6362f197-3.0.0-dev.1 08:12:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:12:45 6e44102b4169: Preparing 08:12:45 556398f8b3c3: Preparing 08:12:45 b49bd162947b: Preparing 08:12:45 83afb2a536b9: Preparing 08:12:45 e5e13b0c77cb: Preparing 08:12:45 b49bd162947b: Layer already exists 08:12:45 83afb2a536b9: Layer already exists 08:12:45 e5e13b0c77cb: Layer already exists 08:12:45 6e44102b4169: Layer already exists 08:12:45 556398f8b3c3: Layer already exists 08:12:45 e07a2b47d6b01394d573ef881097266a6362f197-3.0.0-dev.1: digest: sha256:6157c26825fea0cfd370d49738ae1f86ab556309c92f6fdb56deedbef9bb87c7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:45 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 08:12:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:12:46 6e44102b4169: Preparing 08:12:46 556398f8b3c3: Preparing 08:12:46 b49bd162947b: Preparing 08:12:46 83afb2a536b9: Preparing 08:12:46 e5e13b0c77cb: Preparing 08:12:46 556398f8b3c3: Layer already exists 08:12:46 83afb2a536b9: Layer already exists 08:12:46 6e44102b4169: Layer already exists 08:12:46 b49bd162947b: Layer already exists 08:12:46 e5e13b0c77cb: Layer already exists 08:12:46 main: digest: sha256:6157c26825fea0cfd370d49738ae1f86ab556309c92f6fdb56deedbef9bb87c7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:12:46 ===================================================== [Pipeline] echo 08:12:46 taggedImages: 08:12:46 - nexus3.edgexfoundry.org:10004/device-virtual:e07a2b47d6b01394d573ef881097266a6362f197 08:12:46 - nexus3.edgexfoundry.org:10004/device-virtual:latest 08:12:46 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.1 08:12:46 - nexus3.edgexfoundry.org:10004/device-virtual:e07a2b47d6b01394d573ef881097266a6362f197-3.0.0-dev.1 08:12:46 - 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 08:12:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:12:46 08:12:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:12:46 latest: Pulling from edgex-lftools-log-publisher 08:12:46 5eb5b503b376: Pulling fs layer 08:12:46 5c69ac0246d0: Pulling fs layer 08:12:46 ec43610c2a17: Pulling fs layer 08:12:46 3a2ae6a8a46f: Pulling fs layer 08:12:46 33b1e0a273af: Pulling fs layer 08:12:46 5d3b04190fa2: Pulling fs layer 08:12:46 2f39f015ded8: Pulling fs layer 08:12:46 5d3b04190fa2: Waiting 08:12:46 3a2ae6a8a46f: Waiting 08:12:46 33b1e0a273af: Waiting 08:12:46 2f39f015ded8: Waiting 08:12:46 5c69ac0246d0: Verifying Checksum 08:12:46 5c69ac0246d0: Download complete 08:12:46 3a2ae6a8a46f: Verifying Checksum 08:12:46 3a2ae6a8a46f: Download complete 08:12:47 33b1e0a273af: Verifying Checksum 08:12:47 33b1e0a273af: Download complete 08:12:47 5d3b04190fa2: Verifying Checksum 08:12:47 5d3b04190fa2: Download complete 08:12:47 ec43610c2a17: Verifying Checksum 08:12:47 ec43610c2a17: Download complete 08:12:47 5eb5b503b376: Verifying Checksum 08:12:47 5eb5b503b376: Download complete 08:12:47 2f39f015ded8: Download complete 08:12:48 5eb5b503b376: Pull complete 08:12:48 5c69ac0246d0: Pull complete 08:12:48 ec43610c2a17: Pull complete 08:12:48 3a2ae6a8a46f: Pull complete 08:12:49 33b1e0a273af: Pull complete 08:12:49 5d3b04190fa2: Pull complete 08:12:53 2f39f015ded8: Pull complete 08:12:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:12:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:12:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:12:53 prd-ubuntu20.04-docker-8c-8g-121191 does not seem to be running inside a container 08:12:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:12:55 $ docker top e3613a6dd92b964b4628f9a216fd77f1579dfb61fd7e948de86850c991866f77 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:12:55 ---> job-cost.sh 08:12:55 lf-activate-venv: SKIPPING 08:12:55 INFO: No Stack... 08:12:56 INFO: Retrieving Pricing Info for: v3-standard-8 08:12:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-121192 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 08:12:56 Running in /w/workspace/device-virtual-go/72 [Pipeline] { [Pipeline] checkout 08:12:56 The recommended git tool is: git 08:12:56 INFO: Archiving Costs [Pipeline] sh 08:12:56 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 08:12:56 + cut -d, -f6 [Pipeline] lock 08:12:56 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-72-stack-cost] 08:12:56 Resource [jenkins-edgexfoundry-device-virtual-go-main-72-stack-cost] did not exist. Created. 08:12:56 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-72-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:12:57 + echo total: 0.2199999988079071 [Pipeline] stash 08:12:57 Stashed 1 file(s) [Pipeline] } 08:12:57 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-72-stack-cost] [Pipeline] // lock [Pipeline] } 08:12:57 $ docker stop --time=1 e3613a6dd92b964b4628f9a216fd77f1579dfb61fd7e948de86850c991866f77 08:12:58 $ docker rm -f e3613a6dd92b964b4628f9a216fd77f1579dfb61fd7e948de86850c991866f77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:13:01 using credential edgex-jenkins-ssh 08:13:01 Cloning the remote Git repository 08:13:01 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:13:01 > git init /w/workspace/device-virtual-go/72 # timeout=10 08:13:01 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:13:01 > git --version # timeout=10 08:13:01 > git --version # 'git version 2.25.1' 08:13:01 using GIT_SSH to set credentials SSH Credentials for GitHub 08:13:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:13:03 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:13:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:13:04 Avoid second fetch 08:13:04 Checking out Revision e07a2b47d6b01394d573ef881097266a6362f197 (main) 08:13:04 > git config core.sparsecheckout # timeout=10 08:13:04 > git checkout -f e07a2b47d6b01394d573ef881097266a6362f197 # timeout=10 08:13:05 Commit message: "Merge pull request #322 from FelixTing/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:13:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:13:06 % Total % Received % Xferd Average Speed Time Time Time Current 08:13:06 Dload Upload Total Spent Left Speed 08:13:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 08:13:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:13:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:13:07 + sudo tee /etc/docker/daemon.new 08:13:07 { 08:13:07 "registry-mirrors": [ 08:13:07 "https://nexus3.edgexfoundry.org:10001" 08:13:07 ], 08:13:07 "bip": "10.250.0.254/24", 08:13:07 "hosts": [ 08:13:07 "tcp://0.0.0.0:5555", 08:13:07 "unix:///var/run/docker.sock" 08:13:07 ], 08:13:07 "mtu": 1458, 08:13:07 "selinux-enabled": true, 08:13:07 "seccomp-profile": "/etc/docker/seccomp.json" 08:13:07 } [Pipeline] sh 08:13:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:13:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:13:26 provisioning config files... 08:13:26 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/72@tmp/config15498442690549564793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:13:26 ---> docker-login.sh 08:13:26 nexus3.edgexfoundry.org:10001 08:13:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:27 Configure a credential helper to remove this warning. See 08:13:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:27 08:13:27 Login Succeeded 08:13:27 nexus3.edgexfoundry.org:10002 08:13:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:27 Configure a credential helper to remove this warning. See 08:13:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:27 08:13:27 Login Succeeded 08:13:27 nexus3.edgexfoundry.org:10003 08:13:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:27 Configure a credential helper to remove this warning. See 08:13:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:27 08:13:27 Login Succeeded 08:13:27 nexus3.edgexfoundry.org:10004 08:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:28 Configure a credential helper to remove this warning. See 08:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:28 08:13:28 Login Succeeded 08:13:28 docker.io 08:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:28 Configure a credential helper to remove this warning. See 08:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:28 08:13:28 Login Succeeded 08:13:28 ---> docker-login.sh ends [Pipeline] } 08:13:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:13:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:13:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:13:28 ========================================================= 08:13:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 08:13:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:29 + 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 . 08:13:29 Sending build context to Docker daemon 11.81MB 08:13:29 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 08:13:29 Step 2/12 : FROM ${BASE} AS builder 08:13:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:13:29 9b18e9b68314: Pulling fs layer 08:13:29 35d82f9e3411: Pulling fs layer 08:13:29 e16973657156: Pulling fs layer 08:13:29 fc693d55d65f: Pulling fs layer 08:13:29 7e9fc2657dce: Pulling fs layer 08:13:29 dda99020689f: Pulling fs layer 08:13:29 db1c61fa0a46: Pulling fs layer 08:13:29 891c053d2c06: Pulling fs layer 08:13:29 fc693d55d65f: Waiting 08:13:29 dda99020689f: Waiting 08:13:29 7e9fc2657dce: Waiting 08:13:29 db1c61fa0a46: Waiting 08:13:29 891c053d2c06: Waiting 08:13:29 e16973657156: Download complete 08:13:29 35d82f9e3411: Verifying Checksum 08:13:29 35d82f9e3411: Download complete 08:13:29 7e9fc2657dce: Verifying Checksum 08:13:29 7e9fc2657dce: Download complete 08:13:29 9b18e9b68314: Verifying Checksum 08:13:29 9b18e9b68314: Download complete 08:13:29 dda99020689f: Verifying Checksum 08:13:29 dda99020689f: Download complete 08:13:30 9b18e9b68314: Pull complete 08:13:30 891c053d2c06: Verifying Checksum 08:13:30 891c053d2c06: Download complete 08:13:32 db1c61fa0a46: Verifying Checksum 08:13:32 db1c61fa0a46: Download complete 08:13:32 35d82f9e3411: Pull complete 08:13:32 fc693d55d65f: Verifying Checksum 08:13:32 fc693d55d65f: Download complete 08:13:32 e16973657156: Pull complete 08:13:44 fc693d55d65f: Pull complete 08:13:44 7e9fc2657dce: Pull complete 08:13:44 dda99020689f: Pull complete 08:13:51 db1c61fa0a46: Pull complete 08:13:52 891c053d2c06: Pull complete 08:13:52 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 08:13:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 08:13:52 ---> f96f9c87975a 08:13:52 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:13:54 ---> Running in da7287c29224 08:13:54 Removing intermediate container da7287c29224 08:13:54 ---> 030dd8be3e0c 08:13:54 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:13:54 ---> Running in faffd4288dfb 08:13:54 Removing intermediate container faffd4288dfb 08:13:54 ---> 55fa73c7ab10 08:13:54 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:13:55 ---> Running in 31eb74309448 08:13:55 Removing intermediate container 31eb74309448 08:13:55 ---> fea7549c27d8 08:13:55 Step 6/12 : WORKDIR /device-virtual-go 08:13:55 ---> Running in aa40b5a0237a 08:13:55 Removing intermediate container aa40b5a0237a 08:13:55 ---> 2d725d136f72 08:13:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:13:55 ---> Running in 136f65c825f1 08:13:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:13:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:13:58 (1/4) Installing openssh-keygen (9.0_p1-r2) 08:13:58 (2/4) Installing libedit (20210910.3.1-r0) 08:13:58 (3/4) Installing openssh-client-common (9.0_p1-r2) 08:13:58 (4/4) Installing openssh-client-default (9.0_p1-r2) 08:13:58 Executing busybox-1.35.0-r17.trigger 08:13:58 OK: 226 MiB in 55 packages 08:13:59 Removing intermediate container 136f65c825f1 08:13:59 ---> f06c1dde35e6 08:13:59 Step 8/12 : COPY go.mod vendor* ./ 08:14:00 ---> 0a79b8708d96 08:14:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:14:00 ---> Running in 2665a89b19ab 08:14:47 Removing intermediate container 2665a89b19ab 08:14:47 ---> 9a0ddf2cf1b9 08:14:47 Step 10/12 : COPY . . 08:14:48 ---> 189bc3bcc303 08:14:48 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:14:48 ---> Running in e716a9217efb 08:14:48 Removing intermediate container e716a9217efb 08:14:48 ---> 4655c103099d 08:14:48 Step 12/12 : RUN $MAKE 08:14:48 ---> Running in bc37359e3310 08:14:49 noop 08:14:50 Removing intermediate container bc37359e3310 08:14:50 ---> e9a3a3005e2a 08:14:50 Successfully built e9a3a3005e2a 08:14:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:50 + docker inspect -f . ci-base-image-arm64 08:14:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:50 prd-ubuntu20.04-docker-arm64-4c-16g-121192 does not seem to be running inside a container 08:14:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/72 -v /w/workspace/device-virtual-go/72:/w/workspace/device-virtual-go/72:rw,z -v /w/workspace/device-virtual-go/72@tmp:/w/workspace/device-virtual-go/72@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 08:14:51 $ docker top 3356a4bf73e3cfd1943a130e56e4882dac765fbc41a8d6c70e560b84c7027ba3 -eo pid,comm [Pipeline] { [Pipeline] sh 08:14:52 + go version 08:14:52 go version go1.18.7 linux/arm64 [Pipeline] } 08:14:52 $ docker stop --time=1 3356a4bf73e3cfd1943a130e56e4882dac765fbc41a8d6c70e560b84c7027ba3 08:14:54 $ docker rm -f 3356a4bf73e3cfd1943a130e56e4882dac765fbc41a8d6c70e560b84c7027ba3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:54 + docker inspect -f . ci-base-image-arm64 08:14:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:54 prd-ubuntu20.04-docker-arm64-4c-16g-121192 does not seem to be running inside a container 08:14:54 $ 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/72 -v /w/workspace/device-virtual-go/72:/w/workspace/device-virtual-go/72:rw,z -v /w/workspace/device-virtual-go/72@tmp:/w/workspace/device-virtual-go/72@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 08:14:55 $ docker top f03a47fbfefa9f1ef0d8c70e4c85ea34dc08f8f9e07d6181c4f9979ff60db437 -eo pid,comm [Pipeline] { [Pipeline] sh 08:14:56 + git config --global --add safe.directory /w/workspace/device-virtual-go/72 [Pipeline] fileExists [Pipeline] sh 08:14:56 + make test 08:14:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:14:58 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:16:20 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:16:20 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.119s coverage: 65.7% of statements 08:16:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:16:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:16:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:16:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:16:32 ./bin/test-attribution-txt.sh [Pipeline] echo 08:16:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:16:32 $ docker stop --time=1 f03a47fbfefa9f1ef0d8c70e4c85ea34dc08f8f9e07d6181c4f9979ff60db437 08:16:34 $ docker rm -f f03a47fbfefa9f1ef0d8c70e4c85ea34dc08f8f9e07d6181c4f9979ff60db437 [Pipeline] // withDockerContainer [Pipeline] sh 08:16:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:16:35 Warning: overwriting stash ‘coverage-report’ 08:16:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:16:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:16:36 + ls -al . 08:16:36 total 200 08:16:36 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 08:14 . 08:16:36 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 08:13 .. 08:16:36 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 08:13 .git 08:16:36 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 08:13 .github 08:16:36 -rw-rw-r-- 1 jenkins jenkins 337 Dec 14 08:13 .gitignore 08:16:36 -rw-rw-r-- 1 jenkins jenkins 41 Dec 14 08:13 .golangci.yml 08:16:36 -rw-rw-r-- 1 jenkins jenkins 8527 Dec 14 08:13 Attribution.txt 08:16:36 -rw-rw-r-- 1 jenkins jenkins 11367 Dec 14 08:13 CHANGELOG.md 08:16:36 -rw-rw-r-- 1 jenkins jenkins 1709 Dec 14 08:13 Dockerfile 08:16:36 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 08:13 GOVERNANCE.md 08:16:36 -rw-rw-r-- 1 jenkins jenkins 660 Dec 14 08:13 Jenkinsfile 08:16:36 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 08:13 LICENSE 08:16:36 -rw-rw-r-- 1 jenkins jenkins 2457 Dec 14 08:13 Makefile 08:16:36 -rw-rw-r-- 1 jenkins jenkins 623 Dec 14 08:13 OWNERS.md 08:16:36 -rw-rw-r-- 1 jenkins jenkins 3578 Dec 14 08:13 README.md 08:16:36 -rw-rw-r-- 1 jenkins jenkins 11 Dec 14 08:11 VERSION 08:16:36 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 08:13 bin 08:16:36 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 08:13 cmd 08:16:36 -rw-r--r-- 1 jenkins jenkins 44128 Dec 14 08:16 coverage.out 08:16:36 -rw-rw-r-- 1 jenkins jenkins 3340 Dec 14 08:13 go.mod 08:16:36 -rw-rw-r-- 1 jenkins jenkins 44412 Dec 14 08:13 go.sum 08:16:36 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 08:13 internal 08:16:36 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 08:13 snap 08:16:36 -rw-rw-r-- 1 jenkins jenkins 235 Dec 14 08:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:36 + 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=e07a2b47d6b01394d573ef881097266a6362f197 --label arch=arm64 --label version=3.0.0-dev.1 . 08:16:37 Sending build context to Docker daemon 11.86MB 08:16:37 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 08:16:37 Step 2/25 : FROM ${BASE} AS builder 08:16:37 ---> e9a3a3005e2a 08:16:37 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:16:37 ---> Running in 2a7723bc8c54 08:16:37 Removing intermediate container 2a7723bc8c54 08:16:37 ---> c97a3bef36f4 08:16:37 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:16:37 ---> Running in 761ad45a9150 08:16:37 Removing intermediate container 761ad45a9150 08:16:37 ---> 86054a85b9cb 08:16:37 Step 5/25 : ARG ADD_BUILD_TAGS="" 08:16:38 ---> Running in 13a2c1dd866e 08:16:38 Removing intermediate container 13a2c1dd866e 08:16:38 ---> a3c6ae685e92 08:16:38 Step 6/25 : WORKDIR /device-virtual-go 08:16:38 ---> Running in bb701b5edad2 08:16:38 Removing intermediate container bb701b5edad2 08:16:38 ---> 55f93f1a20e0 08:16:38 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:16:38 ---> Running in cf8c33147859 08:16:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:16:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:16:40 OK: 226 MiB in 55 packages 08:16:41 Removing intermediate container cf8c33147859 08:16:41 ---> 6b29dd2b0945 08:16:41 Step 8/25 : COPY go.mod vendor* ./ 08:16:42 ---> 1a0dd02c190e 08:16:42 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:16:42 ---> Running in 078d8f538e94 08:16:44 Removing intermediate container 078d8f538e94 08:16:44 ---> 753033147c1f 08:16:44 Step 10/25 : COPY . . 08:16:45 ---> 2cb3b1140293 08:16:45 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:16:45 ---> Running in ac389f519215 08:16:45 Removing intermediate container ac389f519215 08:16:45 ---> ce0b627d7b8b 08:16:45 Step 12/25 : RUN $MAKE 08:16:45 ---> Running in 775c3617ab8e 08:16:46 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 08:19:07 Removing intermediate container 775c3617ab8e 08:19:07 ---> 5a9a2a416ab3 08:19:07 Step 13/25 : FROM alpine:3.16 08:19:07 3.16: Pulling from library/alpine 08:19:07 6875df1f5354: Pulling fs layer 08:19:07 6875df1f5354: Verifying Checksum 08:19:07 6875df1f5354: Download complete 08:19:07 6875df1f5354: Pull complete 08:19:07 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 08:19:07 Status: Downloaded newer image for alpine:3.16 08:19:07 ---> 2b4661558fb8 08:19:07 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:19:07 ---> Running in 2f2148cd25ae 08:19:07 Removing intermediate container 2f2148cd25ae 08:19:07 ---> 7441e62a7d92 08:19:07 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 08:19:07 ---> Running in 20505bcc1e7a 08:19:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:19:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:19:08 (1/6) Installing dumb-init (1.2.5-r1) 08:19:08 (2/6) Installing libgcc (11.2.1_git20220219-r2) 08:19:08 (3/6) Installing libsodium (1.0.18-r0) 08:19:08 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 08:19:08 (5/6) Installing libzmq (4.3.4-r0) 08:19:08 (6/6) Installing zeromq (4.3.4-r0) 08:19:08 Executing busybox-1.35.0-r17.trigger 08:19:08 OK: 8 MiB in 20 packages 08:19:09 Removing intermediate container 20505bcc1e7a 08:19:09 ---> c970b8811e50 08:19:09 Step 16/25 : WORKDIR / 08:19:09 ---> Running in 0f08f0442cf6 08:19:09 Removing intermediate container 0f08f0442cf6 08:19:09 ---> d0ba66a8737f 08:19:09 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:19:10 ---> bc7a6b72fad6 08:19:10 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 08:19:10 ---> b0a2f7c58e9f 08:19:10 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 08:19:12 ---> 53172125278f 08:19:12 Step 20/25 : EXPOSE 59900 08:19:12 ---> Running in 7482f9ed64b3 08:19:12 Removing intermediate container 7482f9ed64b3 08:19:12 ---> 1d97595532aa 08:19:12 Step 21/25 : ENTRYPOINT ["/device-virtual"] 08:19:12 ---> Running in b9d861671bd6 08:19:12 Removing intermediate container b9d861671bd6 08:19:12 ---> 4f7963ee8654 08:19:12 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:19:12 ---> Running in 0380319daf0d 08:19:13 Removing intermediate container 0380319daf0d 08:19:13 ---> 0386ad06cb1d 08:19:13 Step 23/25 : LABEL arch=arm64 08:19:13 ---> Running in cce74dbc05d2 08:19:13 Removing intermediate container cce74dbc05d2 08:19:13 ---> 086b72b4493f 08:19:13 Step 24/25 : LABEL git_sha=e07a2b47d6b01394d573ef881097266a6362f197 08:19:13 ---> Running in 8293020eda26 08:19:13 Removing intermediate container 8293020eda26 08:19:13 ---> 54a97a1d06c6 08:19:13 Step 25/25 : LABEL version=3.0.0-dev.1 08:19:13 ---> Running in 348179b47531 08:19:14 Removing intermediate container 348179b47531 08:19:14 ---> 9f136f6fce13 08:19:14 [Warning] One or more build-args [ARCH] were not consumed 08:19:14 Successfully built 9f136f6fce13 08:19:14 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 08:19:14 provisioning config files... 08:19:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/72@tmp/config5125509045831132262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:19:14 ---> docker-login.sh 08:19:14 nexus3.edgexfoundry.org:10001 08:19:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:15 Configure a credential helper to remove this warning. See 08:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:15 08:19:15 Login Succeeded 08:19:15 nexus3.edgexfoundry.org:10002 08:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:15 Configure a credential helper to remove this warning. See 08:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:15 08:19:15 Login Succeeded 08:19:15 nexus3.edgexfoundry.org:10003 08:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:16 Configure a credential helper to remove this warning. See 08:19:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:16 08:19:16 Login Succeeded 08:19:16 nexus3.edgexfoundry.org:10004 08:19:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:16 Configure a credential helper to remove this warning. See 08:19:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:16 08:19:16 Login Succeeded 08:19:16 docker.io 08:19:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:16 Configure a credential helper to remove this warning. See 08:19:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:16 08:19:16 Login Succeeded 08:19:16 ---> docker-login.sh ends [Pipeline] } 08:19:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:19:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:19:16 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 08:19:16 e07a2b47d6b01394d573ef881097266a6362f197 08:19:16 latest 08:19:16 3.0.0-dev.1 08:19:16 e07a2b47d6b01394d573ef881097266a6362f197-3.0.0-dev.1 08:19:16 main 08:19:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:17 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:e07a2b47d6b01394d573ef881097266a6362f197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:e07a2b47d6b01394d573ef881097266a6362f197 08:19:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:19:17 4ecc4aeb01b9: Preparing 08:19:17 d726a7f6403e: Preparing 08:19:17 2738414787ce: Preparing 08:19:17 1c74bdcbcb2c: Preparing 08:19:17 17bec77d7fdc: Preparing 08:19:17 17bec77d7fdc: Layer already exists 08:19:18 2738414787ce: Pushed 08:19:18 d726a7f6403e: Pushed 08:19:18 1c74bdcbcb2c: Pushed 08:19:22 4ecc4aeb01b9: Pushed 08:19:22 e07a2b47d6b01394d573ef881097266a6362f197: digest: sha256:b597f59d55c4b104db828846ea8140e6ce2b47f735f855993e3bd0f7b936da85 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:23 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:23 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 08:19:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:19:23 4ecc4aeb01b9: Preparing 08:19:23 d726a7f6403e: Preparing 08:19:23 2738414787ce: Preparing 08:19:23 1c74bdcbcb2c: Preparing 08:19:23 17bec77d7fdc: Preparing 08:19:23 2738414787ce: Layer already exists 08:19:23 17bec77d7fdc: Layer already exists 08:19:23 1c74bdcbcb2c: Layer already exists 08:19:23 4ecc4aeb01b9: Layer already exists 08:19:23 d726a7f6403e: Layer already exists 08:19:23 latest: digest: sha256:b597f59d55c4b104db828846ea8140e6ce2b47f735f855993e3bd0f7b936da85 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:23 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:24 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.1 08:19:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:19:24 4ecc4aeb01b9: Preparing 08:19:24 d726a7f6403e: Preparing 08:19:24 2738414787ce: Preparing 08:19:24 1c74bdcbcb2c: Preparing 08:19:24 17bec77d7fdc: Preparing 08:19:24 17bec77d7fdc: Layer already exists 08:19:24 d726a7f6403e: Layer already exists 08:19:24 4ecc4aeb01b9: Layer already exists 08:19:24 2738414787ce: Layer already exists 08:19:24 1c74bdcbcb2c: Layer already exists 08:19:24 3.0.0-dev.1: digest: sha256:b597f59d55c4b104db828846ea8140e6ce2b47f735f855993e3bd0f7b936da85 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:24 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:e07a2b47d6b01394d573ef881097266a6362f197-3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:24 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:e07a2b47d6b01394d573ef881097266a6362f197-3.0.0-dev.1 08:19:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:19:24 4ecc4aeb01b9: Preparing 08:19:24 d726a7f6403e: Preparing 08:19:24 2738414787ce: Preparing 08:19:24 1c74bdcbcb2c: Preparing 08:19:24 17bec77d7fdc: Preparing 08:19:24 17bec77d7fdc: Layer already exists 08:19:24 4ecc4aeb01b9: Layer already exists 08:19:24 2738414787ce: Layer already exists 08:19:24 1c74bdcbcb2c: Layer already exists 08:19:24 d726a7f6403e: Layer already exists 08:19:24 e07a2b47d6b01394d573ef881097266a6362f197-3.0.0-dev.1: digest: sha256:b597f59d55c4b104db828846ea8140e6ce2b47f735f855993e3bd0f7b936da85 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:25 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 08:19:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:19:25 4ecc4aeb01b9: Preparing 08:19:25 d726a7f6403e: Preparing 08:19:25 2738414787ce: Preparing 08:19:25 1c74bdcbcb2c: Preparing 08:19:25 17bec77d7fdc: Preparing 08:19:25 4ecc4aeb01b9: Layer already exists 08:19:25 1c74bdcbcb2c: Layer already exists 08:19:25 17bec77d7fdc: Layer already exists 08:19:25 2738414787ce: Layer already exists 08:19:25 d726a7f6403e: Layer already exists 08:19:25 main: digest: sha256:b597f59d55c4b104db828846ea8140e6ce2b47f735f855993e3bd0f7b936da85 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:19:25 ===================================================== [Pipeline] echo 08:19:25 taggedImages: 08:19:25 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:e07a2b47d6b01394d573ef881097266a6362f197 08:19:25 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 08:19:25 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.1 08:19:25 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:e07a2b47d6b01394d573ef881097266a6362f197-3.0.0-dev.1 08:19:25 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:19:26 08:19:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:19:26 arm64: Pulling from edgex-lftools-log-publisher 08:19:26 8998bd30e6a1: Pulling fs layer 08:19:26 04944245beec: Pulling fs layer 08:19:26 699f458cf7ca: Pulling fs layer 08:19:26 765212b225bb: Pulling fs layer 08:19:26 f23df028b6ca: Pulling fs layer 08:19:26 d65c8cfc05b1: Pulling fs layer 08:19:26 2437ff75d9bd: Pulling fs layer 08:19:26 f23df028b6ca: Waiting 08:19:26 d65c8cfc05b1: Waiting 08:19:26 2437ff75d9bd: Waiting 08:19:26 765212b225bb: Waiting 08:19:26 04944245beec: Verifying Checksum 08:19:26 04944245beec: Download complete 08:19:26 765212b225bb: Verifying Checksum 08:19:26 765212b225bb: Download complete 08:19:26 f23df028b6ca: Verifying Checksum 08:19:26 f23df028b6ca: Download complete 08:19:26 d65c8cfc05b1: Verifying Checksum 08:19:26 d65c8cfc05b1: Download complete 08:19:26 699f458cf7ca: Verifying Checksum 08:19:26 699f458cf7ca: Download complete 08:19:27 8998bd30e6a1: Verifying Checksum 08:19:27 8998bd30e6a1: Download complete 08:19:30 2437ff75d9bd: Download complete 08:19:34 8998bd30e6a1: Pull complete 08:19:34 04944245beec: Pull complete 08:19:35 699f458cf7ca: Pull complete 08:19:35 765212b225bb: Pull complete 08:19:36 f23df028b6ca: Pull complete 08:19:36 d65c8cfc05b1: Pull complete 08:19:51 2437ff75d9bd: Pull complete 08:19:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:19:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:19:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:19:51 prd-ubuntu20.04-docker-arm64-4c-16g-121192 does not seem to be running inside a container 08:19:51 $ 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/72 -v /w/workspace/device-virtual-go/72:/w/workspace/device-virtual-go/72:rw,z -v /w/workspace/device-virtual-go/72@tmp:/w/workspace/device-virtual-go/72@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 08:19:54 $ docker top 8ac9f562088375aba745cc40ad0827380441cdb4ce2a82d634434d796218233c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:19:55 ---> job-cost.sh 08:19:55 lf-activate-venv: SKIPPING 08:19:55 INFO: No Stack... 08:19:55 INFO: Retrieving Pricing Info for: v3-standard-4 08:19:56 INFO: Archiving Costs [Pipeline] sh 08:19:56 + + catcut /w/workspace/device-virtual-go/72/archives/cost.csv -d, 08:19:56 -f6 [Pipeline] lock 08:19:57 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-72-stack-cost] 08:19:57 Resource [jenkins-edgexfoundry-device-virtual-go-main-72-stack-cost] did not exist. Created. 08:19:57 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-72-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:19:57 /w/workspace/device-virtual-go/72@tmp/durable-2c15a6a0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:19:57 + echo total: 0.10999999940395355 [Pipeline] stash 08:19:57 Warning: overwriting stash ‘stack-cost’ 08:19:57 Stashed 1 file(s) [Pipeline] } 08:19:57 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-72-stack-cost] [Pipeline] // lock [Pipeline] } 08:19:57 $ docker stop --time=1 8ac9f562088375aba745cc40ad0827380441cdb4ce2a82d634434d796218233c 08:19:59 $ docker rm -f 8ac9f562088375aba745cc40ad0827380441cdb4ce2a82d634434d796218233c [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 08:19:59 provisioning config files... 08:19:59 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11500920086637132114tmp [Pipeline] { [Pipeline] sh 08:20:00 + set +x 08:20:00 + curl -s https://codecov.io/bash 08:20:00 + bash -s -- 08:20:00 08:20:00 _____ _ 08:20:00 / ____| | | 08:20:00 | | ___ __| | ___ ___ _____ __ 08:20:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:20:00 | |___| (_) | (_| | __/ (_| (_) \ V / 08:20:00 \_____\___/ \__,_|\___|\___\___/ \_/ 08:20:00 Bash-1.0.6 08:20:00 08:20:00 08:20:00 ==> git version 2.25.1 found 08:20:00 ==> 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 08:20:00 Release-Date: 2020-01-08 08:20:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:20:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:20:00 ==> Jenkins CI detected. 08:20:00 current dir:  /w/workspace/exfoundry_device-virtual-go_main 08:20:00 project root: . 08:20:00 --> token set from env 08:20:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:20:00 ==> Running gcov in . (disable via -X gcov) 08:20:00 ==> Python coveragepy not found 08:20:00 ==> Searching for coverage reports in: 08:20:00 + . 08:20:00 -> Found 1 reports 08:20:00 ==> Detecting git/mercurial file structure 08:20:00 ==> Reading reports 08:20:00 + ./coverage.out bytes=44128 08:20:00 ==> Appending adjustments 08:20:00 https://docs.codecov.io/docs/fixing-reports 08:20:00 + Found adjustments 08:20:00 ==> Gzipping contents 08:20:00 8.0K /tmp/codecov.F7gVLm.gz 08:20:00 ==> Uploading reports 08:20:00 url: https://codecov.io 08:20:00 query: branch=main&commit=e07a2b47d6b01394d573ef881097266a6362f197&build=72&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F72%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:20:00 -> Pinging Codecov 08:20:00 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=e07a2b47d6b01394d573ef881097266a6362f197&build=72&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F72%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:20:00 -> Uploading to 08:20:00 https://storage.googleapis.com/codecov/v4/raw/2022-12-14/5E52B4B073DB2E39498172D8E973AA87/e07a2b47d6b01394d573ef881097266a6362f197/2cb4e1be-a686-4394-a7d4-0054bac31ed2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221214T082000Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=05402975ebf146357b99aa87a52c054f0c0a72fcbb488418e01b611aa66508e5 08:20:00 % Total % Received % Xferd Average Speed Time Time Time Current 08:20:00 Dload Upload Total Spent Left Speed 08:20:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5480 0 0 100 5480 0 23418 --:--:-- --:--:-- --:--:-- 23519 08:20:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/e07a2b47d6b01394d573ef881097266a6362f197 [Pipeline] } 08:20:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:20:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:20:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:20:01 08:20:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:20:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 08:20:01 df9b9388f04a: Pulling fs layer 08:20:01 52dc419b0ee2: Pulling fs layer 08:20:01 25bc292e5bac: Pulling fs layer 08:20:01 114826534d7a: Pulling fs layer 08:20:01 4657fd5d0bcf: Pulling fs layer 08:20:01 6ad1cebc031e: Pulling fs layer 08:20:01 8a3aa393b2d8: Pulling fs layer 08:20:01 6ad1cebc031e: Waiting 08:20:01 114826534d7a: Waiting 08:20:01 8a3aa393b2d8: Waiting 08:20:01 4657fd5d0bcf: Waiting 08:20:01 25bc292e5bac: Verifying Checksum 08:20:01 25bc292e5bac: Download complete 08:20:01 52dc419b0ee2: Download complete 08:20:01 4657fd5d0bcf: Verifying Checksum 08:20:01 4657fd5d0bcf: Download complete 08:20:01 df9b9388f04a: Verifying Checksum 08:20:01 df9b9388f04a: Download complete 08:20:02 df9b9388f04a: Pull complete 08:20:02 6ad1cebc031e: Verifying Checksum 08:20:02 6ad1cebc031e: Download complete 08:20:02 52dc419b0ee2: Pull complete 08:20:02 25bc292e5bac: Pull complete 08:20:02 114826534d7a: Verifying Checksum 08:20:02 114826534d7a: Download complete 08:20:03 8a3aa393b2d8: Verifying Checksum 08:20:03 8a3aa393b2d8: Download complete 08:20:06 114826534d7a: Pull complete 08:20:06 4657fd5d0bcf: Pull complete 08:20:06 6ad1cebc031e: Pull complete 08:20:09 8a3aa393b2d8: Pull complete 08:20:09 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 08:20:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:20:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:20:09 prd-ubuntu20.04-docker-8c-8g-121191 does not seem to be running inside a container 08:20:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 08:20:11 $ docker top 7ca78e78323f1cd724121c06960e528da8843fdcd97005b079a18fdd830275c1 -eo pid,comm [Pipeline] { [Pipeline] echo 08:20:11 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 08:20:12 + set -o pipefail 08:20:12 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 08:20:18 08:20:18 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 08:20:18 08:20:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/3735549a-681c-47c7-aa82-1956221737b3 08:20:18 08:20:18 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 08:20:18 08:20:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:20:18 08:20:18 08:20:18 A medium severity vulnerability was found in the Snyk CLI versions you are using. 08:20:18 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 08:20:18 More details here: https://snyk.co/ue1NS [Pipeline] } 08:20:18 $ docker stop --time=1 7ca78e78323f1cd724121c06960e528da8843fdcd97005b079a18fdd830275c1 08:20:21 $ docker rm -f 7ca78e78323f1cd724121c06960e528da8843fdcd97005b079a18fdd830275c1 [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 08:20:21 + git log --format=format:%s -1 e07a2b47d6b01394d573ef881097266a6362f197 [Pipeline] sh 08:20:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:20:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:20:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:20:22 prd-ubuntu20.04-docker-8c-8g-121191 does not seem to be running inside a container 08:20:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:20:22 $ docker top ddb0f5ab73d21988b46c4944c34985bc382544dfcc714301f9cc38e8c502c71a -eo pid,comm 08:20:22 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). 08:20:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:20:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:20:22 [ssh-agent] Looking for ssh-agent implementation... 08:20:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:20:23 $ docker exec ddb0f5ab73d21988b46c4944c34985bc382544dfcc714301f9cc38e8c502c71a ssh-agent 08:20:23 SSH_AUTH_SOCK=/tmp/ssh-YqkYJ0DjDZsW/agent.32 08:20:23 SSH_AGENT_PID=38 08:20:23 Running ssh-add (command line suppressed) 08:20:23 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5942018505399199058.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5942018505399199058.key) 08:20:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:20:23 + git semver tag 08:20:23 2022-12-14 08:20:23,762 [run_tag] DEBUG tag force:False 08:20:23 2022-12-14 08:20:23,762 [check_head_tag] DEBUG check head tag 08:20:23 2022-12-14 08:20:23,763 [execute] INFO git cat-file --batch-check 08:20:23 2022-12-14 08:20:23,763 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 08:20:23 2022-12-14 08:20:23,767 [execute] INFO git cat-file --batch 08:20:23 2022-12-14 08:20:23,767 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 08:20:23 2022-12-14 08:20:23,785 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:20:23 2022-12-14 08:20:23,785 [execute] INFO git tag -a v3.0.0-dev.1 -m v3.0.0-dev.1 08:20:23 2022-12-14 08:20:23,785 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.1', '-m', 'v3.0.0-dev.1'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 08:20:23 2022-12-14 08:20:23,789 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:20:23 3.0.0-dev.1 [Pipeline] } 08:20:23 $ docker exec --env ******** --env ******** ddb0f5ab73d21988b46c4944c34985bc382544dfcc714301f9cc38e8c502c71a ssh-agent -k 08:20:23 unset SSH_AUTH_SOCK; 08:20:23 unset SSH_AGENT_PID; 08:20:23 echo Agent pid 38 killed; 08:20:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:20:24 + git semver [Pipeline] } 08:20:24 $ docker stop --time=1 ddb0f5ab73d21988b46c4944c34985bc382544dfcc714301f9cc38e8c502c71a 08:20:25 $ docker rm -f ddb0f5ab73d21988b46c4944c34985bc382544dfcc714301f9cc38e8c502c71a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:20:26 08:20:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:20:26 0.23.1-centos7: Pulling from edgex-lftools 08:20:26 ab5ef0e58194: Pulling fs layer 08:20:26 9712f1f96733: Pulling fs layer 08:20:26 63f879dbbcfc: Pulling fs layer 08:20:26 0d9ebad4ef96: Pulling fs layer 08:20:26 e9a5061849ea: Pulling fs layer 08:20:26 d747dcd14b5f: Pulling fs layer 08:20:26 2de7ff778b66: Pulling fs layer 08:20:26 0d9ebad4ef96: Waiting 08:20:26 e9a5061849ea: Waiting 08:20:26 d747dcd14b5f: Waiting 08:20:26 2de7ff778b66: Waiting 08:20:26 9712f1f96733: Verifying Checksum 08:20:26 9712f1f96733: Download complete 08:20:27 63f879dbbcfc: Verifying Checksum 08:20:27 63f879dbbcfc: Download complete 08:20:27 0d9ebad4ef96: Verifying Checksum 08:20:27 0d9ebad4ef96: Download complete 08:20:27 d747dcd14b5f: Download complete 08:20:27 e9a5061849ea: Verifying Checksum 08:20:27 e9a5061849ea: Download complete 08:20:27 ab5ef0e58194: Verifying Checksum 08:20:27 ab5ef0e58194: Download complete 08:20:27 2de7ff778b66: Verifying Checksum 08:20:27 2de7ff778b66: Download complete 08:20:29 ab5ef0e58194: Pull complete 08:20:29 9712f1f96733: Pull complete 08:20:30 63f879dbbcfc: Pull complete 08:20:34 0d9ebad4ef96: Pull complete 08:20:34 e9a5061849ea: Pull complete 08:20:34 d747dcd14b5f: Pull complete 08:20:35 2de7ff778b66: Pull complete 08:20:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:20:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:20:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:20:35 prd-ubuntu20.04-docker-8c-8g-121191 does not seem to be running inside a container 08:20:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 08:20:37 $ docker top ac4c303d8cba06e881841db2571356a24b8a71399002533eb942342e799dced6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:20:37 provisioning config files... 08:20:37 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13033586694428784874tmp 08:20:37 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17001492199952828928tmp 08:20:37 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9991585533557703595tmp [Pipeline] { [Pipeline] echo 08:20:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:20:37 ---> sigul-configuration.sh 08:20:37 gpg: directory `/root/.gnupg' created 08:20:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:20:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:20:37 gpg: keyring `/root/.gnupg/secring.gpg' created 08:20:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:20:37 gpg: CAST5 encrypted data 08:20:37 gpg: encrypted with 1 passphrase 08:20:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:20:38 + mkdir /home/jenkins 08:20:38 + mkdir /home/jenkins/sigul [Pipeline] sh 08:20:38 + 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 08:20:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:20:38 ---> sigul-install.sh 08:20:38 Sigul already installed; skipping installation. [Pipeline] sh 08:20:38 + git tag --list 08:20:38 v1.0.0 08:20:38 v1.1.0 08:20:38 v1.1.1 08:20:38 v1.2.1 08:20:38 v1.2.2 08:20:38 v1.2.3 08:20:38 v1.3.0 08:20:38 v1.3.1 08:20:38 v2.0.0 08:20:38 v2.1.0 08:20:38 v2.1.1 08:20:38 v2.1.1-dev.1 08:20:38 v2.1.1-dev.2 08:20:38 v2.2.0 08:20:38 v2.2.1-dev.1 08:20:38 v2.2.1-dev.2 08:20:38 v2.2.1-dev.3 08:20:38 v2.2.1-dev.4 08:20:38 v2.2.1-dev.5 08:20:38 v2.2.1-dev.6 08:20:38 v2.2.1-dev.7 08:20:38 v2.2.1-dev.8 08:20:38 v2.3.0 08:20:38 v2.3.0-dev.10 08:20:38 v2.3.0-dev.11 08:20:38 v2.3.0-dev.12 08:20:38 v2.3.0-dev.13 08:20:38 v2.3.0-dev.14 08:20:38 v2.3.0-dev.15 08:20:38 v2.3.0-dev.16 08:20:38 v2.3.0-dev.17 08:20:38 v2.3.0-dev.18 08:20:38 v2.3.0-dev.19 08:20:38 v2.3.0-dev.20 08:20:38 v2.3.0-dev.21 08:20:38 v2.3.0-dev.22 08:20:38 v2.3.0-dev.23 08:20:38 v2.3.0-dev.24 08:20:38 v2.3.0-dev.25 08:20:38 v2.3.0-dev.26 08:20:38 v2.3.0-dev.27 08:20:38 v2.3.0-dev.28 08:20:38 v2.3.0-dev.29 08:20:38 v2.3.0-dev.30 08:20:38 v2.3.0-dev.8 08:20:38 v2.3.0-dev.9 08:20:38 v3.0.0-dev.1 [Pipeline] sh 08:20:39 + lftools sign git-tag v3.0.0-dev.1 08:20:39 Signing Git tag with Sigul... 08:20:39 Signing v3.0.0-dev.1 [Pipeline] echo 08:20:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:20:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:20:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:20:40 $ docker stop --time=1 ac4c303d8cba06e881841db2571356a24b8a71399002533eb942342e799dced6 08:20:42 $ docker rm -f ac4c303d8cba06e881841db2571356a24b8a71399002533eb942342e799dced6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:20:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:20:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:20:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:20:42 prd-ubuntu20.04-docker-8c-8g-121191 does not seem to be running inside a container 08:20:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:20:43 $ docker top 7eb8476f40d344dde27bb72ca146c7cff60352f0e89eb010552e93e4f08b2b99 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:20:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:20:43 [ssh-agent] Looking for ssh-agent implementation... 08:20:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:20:43 $ docker exec 7eb8476f40d344dde27bb72ca146c7cff60352f0e89eb010552e93e4f08b2b99 ssh-agent 08:20:43 SSH_AUTH_SOCK=/tmp/ssh-KzTIyMukFO1M/agent.32 08:20:43 SSH_AGENT_PID=38 08:20:43 Running ssh-add (command line suppressed) 08:20:43 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2784974009244722300.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2784974009244722300.key) 08:20:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:20:43 + git semver bump pre 08:20:44 2022-12-14 08:20:44,166 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:20:44 2022-12-14 08:20:44,166 [bump_version] DEBUG bumping version:3.0.0-dev.1 on axis:pre with prefix:dev 08:20:44 2022-12-14 08:20:44,166 [bump_version] DEBUG bumped version:3.0.0-dev.2 08:20:44 2022-12-14 08:20:44,166 [write_version] DEBUG write version:3.0.0-dev.2 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 08:20:44 2022-12-14 08:20:44,166 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:20:44 2022-12-14 08:20:44,166 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:20:44 2022-12-14 08:20:44,169 [execute] INFO git cat-file --batch-check 08:20:44 2022-12-14 08:20:44,169 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:20:44 2022-12-14 08:20:44,174 [execute] INFO git cat-file --batch 08:20:44 2022-12-14 08:20:44,175 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:20:44 2022-12-14 08:20:44,180 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:20:44 3.0.0-dev.2 [Pipeline] } 08:20:44 $ docker exec --env ******** --env ******** 7eb8476f40d344dde27bb72ca146c7cff60352f0e89eb010552e93e4f08b2b99 ssh-agent -k 08:20:44 unset SSH_AUTH_SOCK; 08:20:44 unset SSH_AGENT_PID; 08:20:44 echo Agent pid 38 killed; 08:20:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:20:44 + git semver [Pipeline] } 08:20:44 $ docker stop --time=1 7eb8476f40d344dde27bb72ca146c7cff60352f0e89eb010552e93e4f08b2b99 08:20:46 $ docker rm -f 7eb8476f40d344dde27bb72ca146c7cff60352f0e89eb010552e93e4f08b2b99 [Pipeline] // withDockerContainer [Pipeline] sh 08:20:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:20:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:20:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:20:46 prd-ubuntu20.04-docker-8c-8g-121191 does not seem to be running inside a container 08:20:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:20:47 $ docker top cc3cb86c28d584ccadaf918463d094e7286a6d5a71a46f7b37be7fb6fb577ef8 -eo pid,comm 08:20:47 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). 08:20:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:20:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:20:47 [ssh-agent] Looking for ssh-agent implementation... 08:20:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:20:47 $ docker exec cc3cb86c28d584ccadaf918463d094e7286a6d5a71a46f7b37be7fb6fb577ef8 ssh-agent 08:20:47 SSH_AUTH_SOCK=/tmp/ssh-0Uey5CZAVMbE/agent.32 08:20:47 SSH_AGENT_PID=38 08:20:47 Running ssh-add (command line suppressed) 08:20:47 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3373874351885573068.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3373874351885573068.key) 08:20:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:20:48 + git semver push 08:20:48 2022-12-14 08:20:48,298 [run_push] DEBUG push 08:20:48 2022-12-14 08:20:48,299 [execute] INFO git cat-file --batch-check 08:20:48 2022-12-14 08:20:48,299 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:20:48 2022-12-14 08:20:48,302 [execute] INFO git rev-list 7a5df00bae460dab2b0e5b022c9ce7a3bfd9d2ce -- 08:20:48 2022-12-14 08:20:48,303 [execute] DEBUG Popen(['git', 'rev-list', '7a5df00bae460dab2b0e5b022c9ce7a3bfd9d2ce', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:20:48 2022-12-14 08:20:48,311 [execute] INFO git fetch -v origin 08:20:48 2022-12-14 08:20:48,311 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 08:20:48 2022-12-14 08:20:48,813 [run_push] DEBUG no remote changes detected 08:20:48 2022-12-14 08:20:48,814 [execute] INFO git push origin semver 08:20:48 2022-12-14 08:20:48,814 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:20:49 2022-12-14 08:20:49,643 [run_push] DEBUG push all version tags 08:20:49 2022-12-14 08:20:49,643 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 08:20:49 2022-12-14 08:20:49,644 [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) 08:20:50 2022-12-14 08:20:50,422 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:20:50 3.0.0-dev.2 [Pipeline] } 08:20:50 $ docker exec --env ******** --env ******** cc3cb86c28d584ccadaf918463d094e7286a6d5a71a46f7b37be7fb6fb577ef8 ssh-agent -k 08:20:50 unset SSH_AUTH_SOCK; 08:20:50 unset SSH_AGENT_PID; 08:20:50 echo Agent pid 38 killed; 08:20:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:20:50 + git semver [Pipeline] } 08:20:51 $ docker stop --time=1 cc3cb86c28d584ccadaf918463d094e7286a6d5a71a46f7b37be7fb6fb577ef8 08:20:52 $ docker rm -f cc3cb86c28d584ccadaf918463d094e7286a6d5a71a46f7b37be7fb6fb577ef8 [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 08:20:53 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 08:20:53 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 08:20:53 total 16 08:20:53 drwxr-xr-x 3 root root 4096 Dec 14 08:12 . 08:20:53 drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 08:20 .. 08:20:53 drwxr-xr-x 2 root root 4096 Dec 14 08:12 cost 08:20:53 -rw-r--r-- 1 root root 88 Dec 14 08:12 cost.csv 08:20:53 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 08:20:53 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 08:20:53 total 16 08:20:53 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 08:12 . 08:20:53 drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 08:20 .. 08:20:53 drwxr-xr-x 2 jenkins jenkins 4096 Dec 14 08:12 cost 08:20:53 -rw-r--r-- 1 jenkins jenkins 88 Dec 14 08:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:20:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:20:54 ---> package-listing.sh 08:20:54 ++ facter osfamily 08:20:54 ++ tr '[:upper:]' '[:lower:]' 08:20:54 + OS_FAMILY=debian 08:20:54 + workspace=/w/workspace/exfoundry_device-virtual-go_main 08:20:54 + START_PACKAGES=/tmp/packages_start.txt 08:20:54 + END_PACKAGES=/tmp/packages_end.txt 08:20:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:20:54 + PACKAGES=/tmp/packages_start.txt 08:20:54 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 08:20:54 + PACKAGES=/tmp/packages_end.txt 08:20:54 + case "${OS_FAMILY}" in 08:20:54 + dpkg -l 08:20:54 + grep '^ii' 08:20:54 + '[' -f /tmp/packages_start.txt ']' 08:20:54 + '[' -f /tmp/packages_end.txt ']' 08:20:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:20:54 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 08:20:54 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 08:20:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 08:20:54 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 08:20:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:20:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:20:55 prd-ubuntu20.04-docker-8c-8g-121191 does not seem to be running inside a container 08:20:55 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:20:55 $ docker top 7cd4bfbdcb66b3aa49ffa6714c4b4d7ae746bc10a902fb0bc40acbbd8be7194b -eo pid,comm [Pipeline] { [Pipeline] sh 08:20:56 + touch /tmp/pre-build-complete [Pipeline] sh 08:20:56 + mkdir -p /var/log/sysstat [Pipeline] sh 08:20:56 + ls /var/log/sa-host 08:20:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:20:56 provisioning config files... 08:20:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16947094466862191128tmp [Pipeline] { [Pipeline] echo 08:20:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:20:57 ---> create-netrc.sh [Pipeline] } 08:20:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:20:57 ---> python-tools-install.sh [Pipeline] echo 08:20:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:20:57 ---> sudo-logs.sh 08:20:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:20:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:20:58 ---> job-cost.sh 08:20:58 lf-activate-venv: SKIPPING 08:20:58 DEBUG: total: 0.2199999988079071 08:20:58 INFO: Retrieving Stack Cost... 08:20:58 INFO: Retrieving Pricing Info for: v3-standard-8 08:20:59 INFO: Archiving Costs [Pipeline] echo 08:20:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:20:59 ---> logs-deploy.sh 08:20:59 lf-activate-venv: SKIPPING 08:20:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/72 08:20:59 INFO: archiving workspace using pattern(s): 08:21:00 Archives upload complete. 08:21:00 INFO: archiving logs to Nexus