Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd 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-ssh3989192772309131274.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-ssh869834996114728004.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-ssh3126541092947987714.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-ssh13184847836473071365.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-ssh12575807406131084794.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 Running on prd-ubuntu20.04-docker-8c-8g-9431 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd (main) Commit message: "Merge pull request #351 from hahattan/bump-sdk" > git config core.sparsecheckout # timeout=10 > git checkout -f 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd # timeout=10 > git rev-list --no-walk 2d65b484a22f596f8919e49ec102563afd6becd3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:43:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:43:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:43:22 ========================================================= 08:43:22 EdgeX Global Pipelines Version Info 08:43:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:43:23 ------------------- 08:43:23 stable info: 08:43:23 ------------------- 08:43:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:43:23 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 08:43:23 Message: update stable to v1.0.244 08:43:23 ------------------- 08:43:23 experimental info: 08:43:23 ------------------- 08:43:23 Commited By: **** collab-it+edgex@linuxfoundation.org 08:43:23 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 08:43:23 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:43:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e250d5 [Pipeline] echo 08:43:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:43:24 provisioning config files... 08:43:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8411645861088663278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:43:24 ---> docker-login.sh 08:43:24 nexus3.edgexfoundry.org:10001 08:43:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:25 Configure a credential helper to remove this warning. See 08:43:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:25 08:43:25 Login Succeeded 08:43:25 nexus3.edgexfoundry.org:10002 08:43:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:25 Configure a credential helper to remove this warning. See 08:43:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:25 08:43:25 Login Succeeded 08:43:25 nexus3.edgexfoundry.org:10003 08:43:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:25 Configure a credential helper to remove this warning. See 08:43:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:25 08:43:25 Login Succeeded 08:43:25 nexus3.edgexfoundry.org:10004 08:43:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:25 Configure a credential helper to remove this warning. See 08:43:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:25 08:43:25 Login Succeeded 08:43:25 docker.io 08:43:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:25 Configure a credential helper to remove this warning. See 08:43:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:25 08:43:25 Login Succeeded 08:43:25 ---> docker-login.sh ends [Pipeline] } 08:43:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:43:26 + git rev-list -1 --merges 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd~1..7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd [Pipeline] echo 08:43:26 -----------> git rev-list -1 --merges 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd~1..7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd 08:43:26 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd [false] [Pipeline] sh 08:43:26 + git log --format=format:%s -1 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd [Pipeline] echo 08:43:26 ========================================================= 08:43:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:43:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:43:26 + git log --format=format:%s -1 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd [Pipeline] echo 08:43:26 [semverPrep] GIT_COMMIT: 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd, Commit Message: Merge pull request #351 from hahattan/bump-sdk [Pipeline] echo 08:43:26 [semverPrep] This is not a build commit. [Pipeline] sh 08:43:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:43:27 + grep -v github /etc/ssh/ssh_known_hosts 08:43:27 + [ -e /tmp/ssh_known_hosts ] 08:43:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:43:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:43:27 + sudo tee -a /etc/ssh/ssh_known_hosts 08:43:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:43:27 08:43:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:43:27 0.1.4: Pulling from edgex-devops/py-git-semver 08:43:27 b85a868b505f: Pulling fs layer 08:43:27 e2be974225ed: Pulling fs layer 08:43:27 339a4e72a1f5: Pulling fs layer 08:43:27 988bab9f4d93: Pulling fs layer 08:43:27 1469e6f7b9e6: Pulling fs layer 08:43:27 eaf3925da568: Pulling fs layer 08:43:27 bab4dde63d76: Pulling fs layer 08:43:27 bde34c3a00c8: Pulling fs layer 08:43:27 b352a97aabf1: Pulling fs layer 08:43:27 1469e6f7b9e6: Waiting 08:43:27 eaf3925da568: Waiting 08:43:27 bde34c3a00c8: Waiting 08:43:27 bab4dde63d76: Waiting 08:43:27 4872d77fe225: Pulling fs layer 08:43:27 988bab9f4d93: Waiting 08:43:27 b352a97aabf1: Waiting 08:43:27 4872d77fe225: Waiting 08:43:27 5851b861e8e6: Pulling fs layer 08:43:27 5851b861e8e6: Waiting 08:43:27 e2be974225ed: Download complete 08:43:27 988bab9f4d93: Verifying Checksum 08:43:27 988bab9f4d93: Download complete 08:43:28 1469e6f7b9e6: Verifying Checksum 08:43:28 1469e6f7b9e6: Download complete 08:43:28 339a4e72a1f5: Verifying Checksum 08:43:28 339a4e72a1f5: Download complete 08:43:28 eaf3925da568: Download complete 08:43:28 bde34c3a00c8: Download complete 08:43:28 b352a97aabf1: Download complete 08:43:28 4872d77fe225: Download complete 08:43:28 5851b861e8e6: Download complete 08:43:28 b85a868b505f: Verifying Checksum 08:43:28 b85a868b505f: Download complete 08:43:28 bab4dde63d76: Verifying Checksum 08:43:28 bab4dde63d76: Download complete 08:43:29 b85a868b505f: Pull complete 08:43:29 e2be974225ed: Pull complete 08:43:29 339a4e72a1f5: Pull complete 08:43:29 988bab9f4d93: Pull complete 08:43:30 1469e6f7b9e6: Pull complete 08:43:30 eaf3925da568: Pull complete 08:43:32 bab4dde63d76: Pull complete 08:43:32 bde34c3a00c8: Pull complete 08:43:32 b352a97aabf1: Pull complete 08:43:32 4872d77fe225: Pull complete 08:43:32 5851b861e8e6: Pull complete 08:43:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:43:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:43:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:43:32 prd-ubuntu20.04-docker-8c-8g-9431 does not seem to be running inside a container 08:43:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:43:33 $ docker top 73a509524e84ce622c218cdd6239dc6d783b1193a424325c2fd4ab5684a6c159 -eo pid,comm 08:43:33 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:43:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:43:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:43:33 [ssh-agent] Looking for ssh-agent implementation... 08:43:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:43:33 $ docker exec 73a509524e84ce622c218cdd6239dc6d783b1193a424325c2fd4ab5684a6c159 ssh-agent 08:43:33 SSH_AUTH_SOCK=/tmp/ssh-9NpT9zg4efoo/agent.31 08:43:33 SSH_AGENT_PID=37 08:43:33 Running ssh-add (command line suppressed) 08:43:33 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12329102876733260663.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12329102876733260663.key) 08:43:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:43:34 + git tag --points-at HEAD [Pipeline] } 08:43:34 $ docker exec --env ******** --env ******** 73a509524e84ce622c218cdd6239dc6d783b1193a424325c2fd4ab5684a6c159 ssh-agent -k 08:43:34 unset SSH_AUTH_SOCK; 08:43:34 unset SSH_AGENT_PID; 08:43:34 echo Agent pid 37 killed; 08:43:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:43:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:43:34 [ssh-agent] Looking for ssh-agent implementation... 08:43:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:43:34 $ docker exec 73a509524e84ce622c218cdd6239dc6d783b1193a424325c2fd4ab5684a6c159 ssh-agent 08:43:34 SSH_AUTH_SOCK=/tmp/ssh-JYjSds01Gmok/agent.69 08:43:34 SSH_AGENT_PID=75 08:43:34 Running ssh-add (command line suppressed) 08:43:34 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10577291297792435867.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10577291297792435867.key) 08:43:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:43:34 + git semver init 08:43:35 2023-03-09 08:43:35,063 [run_init] DEBUG init version:0.0.0 force:False 08:43:35 2023-03-09 08:43:35,064 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 08:43:35 2023-03-09 08:43:35,065 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 08:43:35 2023-03-09 08:43:35,065 [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:43:36 2023-03-09 08:43:36,077 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 08:43:36 2023-03-09 08:43:36,078 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 08:43:36 2023-03-09 08:43:36,078 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:43:36 2023-03-09 08:43:36,078 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:43:36 3.0.0-dev.19 [Pipeline] } 08:43:36 $ docker exec --env ******** --env ******** 73a509524e84ce622c218cdd6239dc6d783b1193a424325c2fd4ab5684a6c159 ssh-agent -k 08:43:36 unset SSH_AUTH_SOCK; 08:43:36 unset SSH_AGENT_PID; 08:43:36 echo Agent pid 75 killed; 08:43:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:43:36 + git semver [Pipeline] } 08:43:37 $ docker stop --time=1 73a509524e84ce622c218cdd6239dc6d783b1193a424325c2fd4ab5684a6c159 08:43:38 $ docker rm -f --volumes 73a509524e84ce622c218cdd6239dc6d783b1193a424325c2fd4ab5684a6c159 [Pipeline] // withDockerContainer [Pipeline] sh 08:43:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:43:38 Stashed 1 file(s) [Pipeline] echo 08:43:38 [edgeXSemver]: initialized semver on version 3.0.0-dev.19 [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:43:39 provisioning config files... 08:43:39 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3540577211918094741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:43:39 ---> docker-login.sh 08:43:39 nexus3.edgexfoundry.org:10001 08:43:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:39 Configure a credential helper to remove this warning. See 08:43:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:39 08:43:39 Login Succeeded 08:43:39 nexus3.edgexfoundry.org:10002 08:43:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:39 Configure a credential helper to remove this warning. See 08:43:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:39 08:43:39 Login Succeeded 08:43:39 nexus3.edgexfoundry.org:10003 08:43:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:39 Configure a credential helper to remove this warning. See 08:43:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:39 08:43:39 Login Succeeded 08:43:39 nexus3.edgexfoundry.org:10004 08:43:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:39 Configure a credential helper to remove this warning. See 08:43:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:39 08:43:39 Login Succeeded 08:43:39 docker.io 08:43:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:39 Configure a credential helper to remove this warning. See 08:43:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:39 08:43:39 Login Succeeded 08:43:39 ---> docker-login.sh ends [Pipeline] } 08:43:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:43:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:43:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:43:39 ========================================================= 08:43:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 08:43:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:40 + 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:43:40 Sending build context to Docker daemon 23.39MB 08:43:40 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 08:43:40 Step 2/12 : FROM ${BASE} AS builder 08:43:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 08:43:40 213ec9aee27d: Pulling fs layer 08:43:40 4583459ba037: Pulling fs layer 08:43:40 93c1e223e6f2: Pulling fs layer 08:43:40 53926ce57604: Pulling fs layer 08:43:40 21b2b0c7a3f4: Pulling fs layer 08:43:40 22ff95d597cd: Pulling fs layer 08:43:40 12d6caf4c0d1: Pulling fs layer 08:43:40 96b7cbca73a9: Pulling fs layer 08:43:40 a7acece74701: Pulling fs layer 08:43:40 22ff95d597cd: Waiting 08:43:40 12d6caf4c0d1: Waiting 08:43:40 96b7cbca73a9: Waiting 08:43:40 53926ce57604: Waiting 08:43:40 21b2b0c7a3f4: Waiting 08:43:40 93c1e223e6f2: Verifying Checksum 08:43:40 4583459ba037: Verifying Checksum 08:43:40 4583459ba037: Download complete 08:43:40 21b2b0c7a3f4: Verifying Checksum 08:43:40 21b2b0c7a3f4: Download complete 08:43:40 22ff95d597cd: Verifying Checksum 08:43:40 22ff95d597cd: Download complete 08:43:40 213ec9aee27d: Verifying Checksum 08:43:40 213ec9aee27d: Download complete 08:43:40 12d6caf4c0d1: Download complete 08:43:40 213ec9aee27d: Pull complete 08:43:40 4583459ba037: Pull complete 08:43:40 93c1e223e6f2: Pull complete 08:43:41 a7acece74701: Verifying Checksum 08:43:41 a7acece74701: Download complete 08:43:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9436 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 08:43:41 Running in /w/workspace/device-virtual-go/90 [Pipeline] { [Pipeline] checkout 08:43:41 The recommended git tool is: git 08:43:41 96b7cbca73a9: Verifying Checksum 08:43:41 96b7cbca73a9: Download complete 08:43:41 53926ce57604: Verifying Checksum 08:43:41 53926ce57604: Download complete 08:43:44 53926ce57604: Pull complete 08:43:44 21b2b0c7a3f4: Pull complete 08:43:44 22ff95d597cd: Pull complete 08:43:44 12d6caf4c0d1: Pull complete 08:43:46 using credential edgex-jenkins-ssh 08:43:46 Cloning the remote Git repository 08:43:46 96b7cbca73a9: Pull complete 08:43:46 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:43:46 > git init /w/workspace/device-virtual-go/90 # timeout=10 08:43:47 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:43:47 > git --version # timeout=10 08:43:47 > git --version # 'git version 2.25.1' 08:43:47 using GIT_SSH to set credentials SSH Credentials for GitHub 08:43:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:43:47 a7acece74701: Pull complete 08:43:47 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 08:43:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 08:43:47 ---> db6d94c90886 08:43:47 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:43:49 ---> Running in 326da0d335c1 08:43:49 Removing intermediate container 326da0d335c1 08:43:49 ---> 247fc7c9bdcd 08:43:49 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:43:49 ---> Running in ebc2efea58b9 08:43:49 Removing intermediate container ebc2efea58b9 08:43:49 ---> 19dadebb418b 08:43:49 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:43:49 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:43:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:43:50 ---> Running in 603f0f227878 08:43:50 Removing intermediate container 603f0f227878 08:43:50 ---> e61aa082f4b2 08:43:50 Step 6/12 : WORKDIR /device-virtual-go 08:43:50 ---> Running in 3a16468919b7 08:43:50 Removing intermediate container 3a16468919b7 08:43:50 ---> 643b0cb3fc64 08:43:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:43:50 Avoid second fetch 08:43:50 Checking out Revision 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd (main) 08:43:50 ---> Running in 7b7ddcd23631 08:43:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:43:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:43:50 > git config core.sparsecheckout # timeout=10 08:43:50 > git checkout -f 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd # timeout=10 08:43:51 Commit message: "Merge pull request #351 from hahattan/bump-sdk" 08:43:51 (1/4) Installing openssh-keygen (9.0_p1-r2) 08:43:51 (2/4) Installing libedit (20210910.3.1-r0) 08:43:51 (3/4) Installing openssh-client-common (9.0_p1-r2) 08:43:51 (4/4) Installing openssh-client-default (9.0_p1-r2) 08:43:51 Executing busybox-1.35.0-r17.trigger 08:43:51 OK: 216 MiB in 55 packages [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:43:52 Removing intermediate container 7b7ddcd23631 08:43:52 ---> 20a0c6ea773c 08:43:52 Step 8/12 : COPY go.mod vendor* ./ 08:43:52 ---> 66c438c20abd 08:43:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:43:52 ---> Running in 85da02b347eb 08:43:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:43:52 % Total % Received % Xferd Average Speed Time Time Time Current 08:43:52 Dload Upload Total Spent Left Speed 08:43:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh 08:43:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:43:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:43:53 + sudo tee /etc/docker/daemon.new 08:43:53 { 08:43:53 "registry-mirrors": [ 08:43:53 "https://nexus3.edgexfoundry.org:10001" 08:43:53 ], 08:43:53 "bip": "10.250.0.254/24", 08:43:53 "hosts": [ 08:43:53 "tcp://0.0.0.0:5555", 08:43:53 "unix:///var/run/docker.sock" 08:43:53 ], 08:43:53 "mtu": 1458, 08:43:53 "selinux-enabled": true, 08:43:53 "seccomp-profile": "/etc/docker/seccomp.json" 08:43:53 } [Pipeline] sh 08:43:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:43:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:44:12 provisioning config files... 08:44:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/90@tmp/config8423707433682769372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:44:12 ---> docker-login.sh 08:44:12 nexus3.edgexfoundry.org:10001 08:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:13 Configure a credential helper to remove this warning. See 08:44:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:13 08:44:13 Login Succeeded 08:44:13 nexus3.edgexfoundry.org:10002 08:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:13 Configure a credential helper to remove this warning. See 08:44:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:13 08:44:13 Login Succeeded 08:44:13 nexus3.edgexfoundry.org:10003 08:44:13 Removing intermediate container 85da02b347eb 08:44:13 ---> f5e89f8172b5 08:44:13 Step 10/12 : COPY . . 08:44:13 ---> c6c18c5f513c 08:44:13 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:44:13 ---> Running in 5082dae4a0ae 08:44:13 Removing intermediate container 5082dae4a0ae 08:44:13 ---> 175ef7a9aac3 08:44:13 Step 12/12 : RUN $MAKE 08:44:13 ---> Running in 6a638c617dd1 08:44:13 noop 08:44:13 Removing intermediate container 6a638c617dd1 08:44:13 ---> a65278485045 08:44:13 Successfully built a65278485045 08:44:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:14 Configure a credential helper to remove this warning. See 08:44:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:14 08:44:14 Login Succeeded 08:44:14 nexus3.edgexfoundry.org:10004 08:44:14 + docker inspect -f . ci-base-image-x86_64 08:44:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:44:14 prd-ubuntu20.04-docker-8c-8g-9431 does not seem to be running inside a container 08:44:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:14 Configure a credential helper to remove this warning. See 08:44:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:14 08:44:14 Login Succeeded 08:44:14 docker.io 08:44:14 $ docker top 41a92a1a5f1ca4feef186e71dc372505b9ce9889b74587fa62cb22e8e840dd28 -eo pid,comm [Pipeline] { [Pipeline] sh 08:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:15 + go version 08:44:15 go version go1.18.7 linux/amd64 [Pipeline] } 08:44:15 $ docker stop --time=1 41a92a1a5f1ca4feef186e71dc372505b9ce9889b74587fa62cb22e8e840dd28 08:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:15 Configure a credential helper to remove this warning. See 08:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:15 08:44:15 Login Succeeded 08:44:15 ---> docker-login.sh ends 08:44:16 $ docker rm -f --volumes 41a92a1a5f1ca4feef186e71dc372505b9ce9889b74587fa62cb22e8e840dd28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 08:44:16 Deleting 1 temporary files [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo 08:44:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:44:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:44:16 ========================================================= 08:44:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 08:44:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:16 + docker inspect -f . ci-base-image-x86_64 08:44:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:44:16 prd-ubuntu20.04-docker-8c-8g-9431 does not seem to be running inside a container 08:44:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:44:17 + 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:44:17 $ docker top 1b124ce3e403d8cae29b1ea48c1de40a44daa5189a3d372056b0d7fd3191c149 -eo pid,comm [Pipeline] { [Pipeline] sh 08:44:17 Sending build context to Docker daemon 11.84MB 08:44:17 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 08:44:17 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 08:44:17 Step 2/12 : FROM ${BASE} AS builder 08:44:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:44:17 9b18e9b68314: Pulling fs layer 08:44:17 35d82f9e3411: Pulling fs layer 08:44:17 e16973657156: Pulling fs layer 08:44:17 fc693d55d65f: Pulling fs layer 08:44:17 7e9fc2657dce: Pulling fs layer 08:44:17 dda99020689f: Pulling fs layer 08:44:17 db1c61fa0a46: Pulling fs layer 08:44:17 891c053d2c06: Pulling fs layer 08:44:17 7e9fc2657dce: Waiting 08:44:17 dda99020689f: Waiting 08:44:17 db1c61fa0a46: Waiting 08:44:17 891c053d2c06: Waiting 08:44:17 fc693d55d65f: Waiting 08:44:17 e16973657156: Verifying Checksum 08:44:17 e16973657156: Download complete 08:44:17 35d82f9e3411: Verifying Checksum 08:44:17 35d82f9e3411: Download complete 08:44:17 + make test 08:44:17 go test ./... -coverprofile=coverage.out 08:44:17 7e9fc2657dce: Verifying Checksum 08:44:17 7e9fc2657dce: Download complete 08:44:17 dda99020689f: Verifying Checksum 08:44:17 dda99020689f: Download complete 08:44:17 9b18e9b68314: Download complete 08:44:18 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:44:18 891c053d2c06: Verifying Checksum 08:44:18 891c053d2c06: Download complete 08:44:20 db1c61fa0a46: Verifying Checksum 08:44:20 db1c61fa0a46: Download complete 08:44:20 9b18e9b68314: Pull complete 08:44:20 fc693d55d65f: Download complete 08:44:21 35d82f9e3411: Pull complete 08:44:21 e16973657156: Pull complete 08:44:26 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:44:26 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.029s coverage: 65.7% of statements 08:44:31 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:44:31 go vet ./... 08:44:33 fc693d55d65f: Pull complete 08:44:33 7e9fc2657dce: Pull complete 08:44:33 dda99020689f: Pull complete 08:44:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:44:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:44:34 ./bin/test-attribution-txt.sh [Pipeline] echo 08:44:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:44:34 $ docker stop --time=1 1b124ce3e403d8cae29b1ea48c1de40a44daa5189a3d372056b0d7fd3191c149 08:44:36 $ docker rm -f --volumes 1b124ce3e403d8cae29b1ea48c1de40a44daa5189a3d372056b0d7fd3191c149 [Pipeline] // withDockerContainer [Pipeline] sh 08:44:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:44:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:44:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:44:38 + ls -al . 08:44:38 total 192 08:44:38 drwxrwxr-x 9 jenkins jenkins 4096 Mar 9 08:44 . 08:44:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 08:43 .. 08:44:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 08:44 .git 08:44:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 08:43 .github 08:44:38 -rw-rw-r-- 1 jenkins jenkins 337 Mar 9 08:43 .gitignore 08:44:38 -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 08:43 .golangci.yml 08:44:38 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 08:43 .semver 08:44:38 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 9 08:43 Attribution.txt 08:44:38 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 9 08:43 CHANGELOG.md 08:44:38 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 9 08:43 Dockerfile 08:44:38 -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 08:43 GOVERNANCE.md 08:44:38 -rw-rw-r-- 1 jenkins jenkins 660 Mar 9 08:43 Jenkinsfile 08:44:38 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 08:43 LICENSE 08:44:38 -rw-rw-r-- 1 jenkins jenkins 1661 Mar 9 08:43 Makefile 08:44:38 -rw-rw-r-- 1 jenkins jenkins 623 Mar 9 08:43 OWNERS.md 08:44:38 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 9 08:43 README.md 08:44:38 -rw-rw-r-- 1 jenkins jenkins 12 Mar 9 08:43 VERSION 08:44:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 08:43 bin 08:44:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 08:43 cmd 08:44:38 -rw-r--r-- 1 jenkins jenkins 44127 Mar 9 08:44 coverage.out 08:44:38 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 9 08:43 go.mod 08:44:38 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 9 08:43 go.sum 08:44:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 08:43 internal 08:44:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 08:43 snap 08:44:38 -rw-rw-r-- 1 jenkins jenkins 235 Mar 9 08:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:38 + 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=7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd --label arch=amd64 --label version=3.0.0-dev.19 . 08:44:38 Sending build context to Docker daemon 23.43MB 08:44:38 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 08:44:38 Step 2/25 : FROM ${BASE} AS builder 08:44:38 ---> a65278485045 08:44:38 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:44:38 ---> Running in 498b05e8f4b7 08:44:38 Removing intermediate container 498b05e8f4b7 08:44:38 ---> 147d2b4f309e 08:44:38 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:44:38 ---> Running in 5636946ae3c1 08:44:38 Removing intermediate container 5636946ae3c1 08:44:38 ---> 365894dbd626 08:44:38 Step 5/25 : ARG ADD_BUILD_TAGS="" 08:44:38 ---> Running in 3ba9100b3367 08:44:38 Removing intermediate container 3ba9100b3367 08:44:38 ---> f3cadf50d430 08:44:38 Step 6/25 : WORKDIR /device-virtual-go 08:44:38 ---> Running in 70b6526522c1 08:44:39 Removing intermediate container 70b6526522c1 08:44:39 ---> 42da63c2c86c 08:44:39 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:44:39 ---> Running in f99ce7111a39 08:44:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:44:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:44:39 OK: 216 MiB in 55 packages 08:44:40 Removing intermediate container f99ce7111a39 08:44:40 ---> 0d5a204fe0d0 08:44:40 Step 8/25 : COPY go.mod vendor* ./ 08:44:40 ---> a74f2560e936 08:44:40 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:44:40 ---> Running in 916d794c8d6e 08:44:40 db1c61fa0a46: Pull complete 08:44:41 Removing intermediate container 916d794c8d6e 08:44:41 ---> 3a3e3509cba4 08:44:41 Step 10/25 : COPY . . 08:44:41 ---> acc9a05dcbb7 08:44:41 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:44:41 ---> Running in 506c5942a17a 08:44:41 Removing intermediate container 506c5942a17a 08:44:41 ---> 73aa230e67c4 08:44:41 Step 12/25 : RUN $MAKE 08:44:41 ---> Running in e1627bb0a239 08:44:42 891c053d2c06: Pull complete 08:44:42 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 08:44:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 08:44:42 ---> f96f9c87975a 08:44:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:44:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.19" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 08:44:43 ---> Running in 71a0949455bc 08:44:43 Removing intermediate container 71a0949455bc 08:44:43 ---> 52e70f61571a 08:44:43 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:44:44 ---> Running in 7be2e7af4603 08:44:44 Removing intermediate container 7be2e7af4603 08:44:44 ---> 39b0358f4cc8 08:44:44 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:44:44 ---> Running in 8d9a50e2cda6 08:44:45 Removing intermediate container 8d9a50e2cda6 08:44:45 ---> 82ebe5e02f64 08:44:45 Step 6/12 : WORKDIR /device-virtual-go 08:44:46 ---> Running in a63e4a2e35b9 08:44:46 Removing intermediate container a63e4a2e35b9 08:44:46 ---> 25b734d23b9d 08:44:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:44:46 ---> Running in 37555eb719bc 08:44:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:44:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:44:49 (1/4) Installing openssh-keygen (9.0_p1-r2) 08:44:49 (2/4) Installing libedit (20210910.3.1-r0) 08:44:49 (3/4) Installing openssh-client-common (9.0_p1-r2) 08:44:49 (4/4) Installing openssh-client-default (9.0_p1-r2) 08:44:49 Executing busybox-1.35.0-r17.trigger 08:44:49 OK: 226 MiB in 55 packages 08:44:50 Removing intermediate container 37555eb719bc 08:44:50 ---> 66166715f7de 08:44:50 Step 8/12 : COPY go.mod vendor* ./ 08:44:51 ---> 7b2706235608 08:44:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:44:51 ---> Running in ef4634d65cfa 08:45:00 Removing intermediate container e1627bb0a239 08:45:00 ---> 55f7b86fd240 08:45:00 Step 13/25 : FROM alpine:3.16 08:45:00 3.16: Pulling from library/alpine 08:45:00 ef5531b6e74e: Pulling fs layer 08:45:00 ef5531b6e74e: Verifying Checksum 08:45:00 ef5531b6e74e: Download complete 08:45:00 ef5531b6e74e: Pull complete 08:45:00 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 08:45:00 Status: Downloaded newer image for alpine:3.16 08:45:00 ---> dfd21b5a31f5 08:45:00 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:45:00 ---> Running in 6f5adac52ffe 08:45:00 Removing intermediate container 6f5adac52ffe 08:45:00 ---> 0385b92fd7c8 08:45:00 Step 15/25 : RUN apk add --update --no-cache dumb-init 08:45:00 ---> Running in 998fe848cf7e 08:45:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:45:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:45:00 (1/1) Installing dumb-init (1.2.5-r1) 08:45:00 Executing busybox-1.35.0-r17.trigger 08:45:00 OK: 6 MiB in 15 packages 08:45:01 Removing intermediate container 998fe848cf7e 08:45:01 ---> 0a554e7fb15e 08:45:01 Step 16/25 : WORKDIR / 08:45:01 ---> Running in 785dfa3038c4 08:45:01 Removing intermediate container 785dfa3038c4 08:45:01 ---> 042279f6ce4e 08:45:01 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:45:01 ---> e10ea6cf5757 08:45:01 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 08:45:01 ---> 0e974607c227 08:45:01 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 08:45:02 ---> 4ab52c442548 08:45:02 Step 20/25 : EXPOSE 59900 08:45:02 ---> Running in 81d33a5ef731 08:45:02 Removing intermediate container 81d33a5ef731 08:45:02 ---> 441269e1b06c 08:45:02 Step 21/25 : ENTRYPOINT ["/device-virtual"] 08:45:02 ---> Running in 890a5e43cac0 08:45:02 Removing intermediate container 890a5e43cac0 08:45:02 ---> bfbe9b70bece 08:45:02 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:45:02 ---> Running in 22146ecd1795 08:45:02 Removing intermediate container 22146ecd1795 08:45:02 ---> a046d9fe0f2a 08:45:02 Step 23/25 : LABEL arch=amd64 08:45:02 ---> Running in 2044365d8d60 08:45:02 Removing intermediate container 2044365d8d60 08:45:02 ---> aa061d33af71 08:45:02 Step 24/25 : LABEL git_sha=7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd 08:45:02 ---> Running in b44d01daff02 08:45:02 Removing intermediate container b44d01daff02 08:45:02 ---> 2d89808962db 08:45:02 Step 25/25 : LABEL version=3.0.0-dev.19 08:45:03 ---> Running in 5e9118905e46 08:45:03 Removing intermediate container 5e9118905e46 08:45:03 ---> d711e11821e5 08:45:03 [Warning] One or more build-args [ARCH] were not consumed 08:45:03 Successfully built d711e11821e5 08:45:03 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:45:03 provisioning config files... 08:45:03 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7006264775604680842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:45:03 ---> docker-login.sh 08:45:03 nexus3.edgexfoundry.org:10001 08:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:45:03 Configure a credential helper to remove this warning. See 08:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:45:03 08:45:03 Login Succeeded 08:45:03 nexus3.edgexfoundry.org:10002 08:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:45:03 Configure a credential helper to remove this warning. See 08:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:45:03 08:45:03 Login Succeeded 08:45:03 nexus3.edgexfoundry.org:10003 08:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:45:03 Configure a credential helper to remove this warning. See 08:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:45:03 08:45:03 Login Succeeded 08:45:03 nexus3.edgexfoundry.org:10004 08:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:45:03 Configure a credential helper to remove this warning. See 08:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:45:03 08:45:03 Login Succeeded 08:45:03 docker.io 08:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:45:04 Configure a credential helper to remove this warning. See 08:45:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:45:04 08:45:04 Login Succeeded 08:45:04 ---> docker-login.sh ends [Pipeline] } 08:45:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:45:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:45:04 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 08:45:04 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd 08:45:04 latest 08:45:04 3.0.0-dev.19 08:45:04 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd-3.0.0-dev.19 08:45:04 main 08:45:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:04 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:05 + docker push nexus3.edgexfoundry.org:10004/device-virtual:7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd 08:45:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:45:05 965a8b2f69ca: Preparing 08:45:05 320d7bbe02c6: Preparing 08:45:05 c909da8e01b4: Preparing 08:45:05 5cf04ce85a3c: Preparing 08:45:05 aa5968d388b8: Preparing 08:45:05 aa5968d388b8: Layer already exists 08:45:05 5cf04ce85a3c: Pushed 08:45:05 320d7bbe02c6: Pushed 08:45:05 c909da8e01b4: Pushed 08:45:07 965a8b2f69ca: Pushed 08:45:07 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd: digest: sha256:8301412355fbef2fade780311e328d47c34fc84c29b505b3fdd191e0815dd9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:07 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:08 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 08:45:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:45:08 965a8b2f69ca: Preparing 08:45:08 320d7bbe02c6: Preparing 08:45:08 c909da8e01b4: Preparing 08:45:08 5cf04ce85a3c: Preparing 08:45:08 aa5968d388b8: Preparing 08:45:08 965a8b2f69ca: Layer already exists 08:45:08 aa5968d388b8: Layer already exists 08:45:08 5cf04ce85a3c: Layer already exists 08:45:08 320d7bbe02c6: Layer already exists 08:45:08 c909da8e01b4: Layer already exists 08:45:08 latest: digest: sha256:8301412355fbef2fade780311e328d47c34fc84c29b505b3fdd191e0815dd9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:08 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:08 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.19 08:45:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:45:08 965a8b2f69ca: Preparing 08:45:08 320d7bbe02c6: Preparing 08:45:08 c909da8e01b4: Preparing 08:45:08 5cf04ce85a3c: Preparing 08:45:08 aa5968d388b8: Preparing 08:45:08 320d7bbe02c6: Layer already exists 08:45:08 aa5968d388b8: Layer already exists 08:45:08 c909da8e01b4: Layer already exists 08:45:08 965a8b2f69ca: Layer already exists 08:45:08 5cf04ce85a3c: Layer already exists 08:45:08 3.0.0-dev.19: digest: sha256:8301412355fbef2fade780311e328d47c34fc84c29b505b3fdd191e0815dd9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:09 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd-3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual:7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd-3.0.0-dev.19 08:45:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:45:09 965a8b2f69ca: Preparing 08:45:09 320d7bbe02c6: Preparing 08:45:09 c909da8e01b4: Preparing 08:45:09 5cf04ce85a3c: Preparing 08:45:09 aa5968d388b8: Preparing 08:45:09 320d7bbe02c6: Layer already exists 08:45:09 5cf04ce85a3c: Layer already exists 08:45:09 965a8b2f69ca: Layer already exists 08:45:09 c909da8e01b4: Layer already exists 08:45:09 aa5968d388b8: Layer already exists 08:45:09 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd-3.0.0-dev.19: digest: sha256:8301412355fbef2fade780311e328d47c34fc84c29b505b3fdd191e0815dd9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:09 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 08:45:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:45:10 965a8b2f69ca: Preparing 08:45:10 320d7bbe02c6: Preparing 08:45:10 c909da8e01b4: Preparing 08:45:10 5cf04ce85a3c: Preparing 08:45:10 aa5968d388b8: Preparing 08:45:10 c909da8e01b4: Layer already exists 08:45:10 965a8b2f69ca: Layer already exists 08:45:10 aa5968d388b8: Layer already exists 08:45:10 5cf04ce85a3c: Layer already exists 08:45:10 320d7bbe02c6: Layer already exists 08:45:10 main: digest: sha256:8301412355fbef2fade780311e328d47c34fc84c29b505b3fdd191e0815dd9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:45:10 ===================================================== [Pipeline] echo 08:45:10 taggedImages: 08:45:10 - nexus3.edgexfoundry.org:10004/device-virtual:7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd 08:45:10 - nexus3.edgexfoundry.org:10004/device-virtual:latest 08:45:10 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.19 08:45:10 - nexus3.edgexfoundry.org:10004/device-virtual:7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd-3.0.0-dev.19 08:45:10 - 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:45:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:45:10 08:45:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:45:10 latest: Pulling from edgex-lftools-log-publisher 08:45:10 5eb5b503b376: Pulling fs layer 08:45:10 5c69ac0246d0: Pulling fs layer 08:45:10 ec43610c2a17: Pulling fs layer 08:45:10 3a2ae6a8a46f: Pulling fs layer 08:45:10 33b1e0a273af: Pulling fs layer 08:45:10 5d3b04190fa2: Pulling fs layer 08:45:10 2f39f015ded8: Pulling fs layer 08:45:10 3a2ae6a8a46f: Waiting 08:45:10 2f39f015ded8: Waiting 08:45:10 33b1e0a273af: Waiting 08:45:10 5c69ac0246d0: Verifying Checksum 08:45:10 5c69ac0246d0: Download complete 08:45:10 3a2ae6a8a46f: Verifying Checksum 08:45:10 3a2ae6a8a46f: Download complete 08:45:11 33b1e0a273af: Verifying Checksum 08:45:11 33b1e0a273af: Download complete 08:45:11 5d3b04190fa2: Verifying Checksum 08:45:11 5d3b04190fa2: Download complete 08:45:11 ec43610c2a17: Verifying Checksum 08:45:11 ec43610c2a17: Download complete 08:45:11 5eb5b503b376: Verifying Checksum 08:45:11 5eb5b503b376: Download complete 08:45:11 2f39f015ded8: Download complete 08:45:12 5eb5b503b376: Pull complete 08:45:12 5c69ac0246d0: Pull complete 08:45:12 ec43610c2a17: Pull complete 08:45:12 3a2ae6a8a46f: Pull complete 08:45:12 33b1e0a273af: Pull complete 08:45:13 5d3b04190fa2: Pull complete 08:45:17 2f39f015ded8: Pull complete 08:45:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:45:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:45:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:45:17 prd-ubuntu20.04-docker-8c-8g-9431 does not seem to be running inside a container 08:45:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:45:19 $ docker top 6d9f34984f603a12f3ecaa674ea522d4ec552c16a33c8c4b68b40b713e1547ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:45:19 ---> job-cost.sh 08:45:19 lf-activate-venv: SKIPPING 08:45:19 INFO: No Stack... 08:45:20 INFO: Retrieving Pricing Info for: v3-standard-8 08:45:20 INFO: Archiving Costs [Pipeline] sh 08:45:20 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 08:45:20 + cut -d, -f6 [Pipeline] lock 08:45:20 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-90-stack-cost] 08:45:21 Resource [jenkins-edgexfoundry-device-virtual-go-main-90-stack-cost] did not exist. Created. 08:45:21 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-90-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:45:21 + echo total: 0.2199999988079071 [Pipeline] stash 08:45:21 Stashed 1 file(s) [Pipeline] } 08:45:21 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-90-stack-cost] [Pipeline] // lock [Pipeline] } 08:45:21 $ docker stop --time=1 6d9f34984f603a12f3ecaa674ea522d4ec552c16a33c8c4b68b40b713e1547ef 08:45:22 $ docker rm -f --volumes 6d9f34984f603a12f3ecaa674ea522d4ec552c16a33c8c4b68b40b713e1547ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:45:59 Removing intermediate container ef4634d65cfa 08:45:59 ---> 0c8f1dbb994f 08:45:59 Step 10/12 : COPY . . 08:45:59 ---> 1f2d5e65cea3 08:45:59 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:45:59 ---> Running in 29f57f881488 08:45:59 Removing intermediate container 29f57f881488 08:45:59 ---> 7d0a9b422a4d 08:45:59 Step 12/12 : RUN $MAKE 08:45:59 ---> Running in 95d8edca7efe 08:45:59 noop 08:45:59 Removing intermediate container 95d8edca7efe 08:45:59 ---> b95ad1e8faf3 08:45:59 Successfully built b95ad1e8faf3 08:45:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:59 + docker inspect -f . ci-base-image-arm64 08:45:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:45:59 prd-ubuntu20.04-docker-arm64-4c-16g-9436 does not seem to be running inside a container 08:45:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/90 -v /w/workspace/device-virtual-go/90:/w/workspace/device-virtual-go/90:rw,z -v /w/workspace/device-virtual-go/90@tmp:/w/workspace/device-virtual-go/90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:46:01 $ docker top 0d04b2e0dcf827b6b8049e47e85745ee570ea446cf415eb61af20bbd945355da -eo pid,comm [Pipeline] { [Pipeline] sh 08:46:01 + go version 08:46:01 go version go1.18.7 linux/arm64 [Pipeline] } 08:46:01 $ docker stop --time=1 0d04b2e0dcf827b6b8049e47e85745ee570ea446cf415eb61af20bbd945355da 08:46:03 $ docker rm -f --volumes 0d04b2e0dcf827b6b8049e47e85745ee570ea446cf415eb61af20bbd945355da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:04 + docker inspect -f . ci-base-image-arm64 08:46:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:46:04 prd-ubuntu20.04-docker-arm64-4c-16g-9436 does not seem to be running inside a container 08:46:04 $ 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/90 -v /w/workspace/device-virtual-go/90:/w/workspace/device-virtual-go/90:rw,z -v /w/workspace/device-virtual-go/90@tmp:/w/workspace/device-virtual-go/90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:46:05 $ docker top d28a34159fa990c2323a0328954eb2c5ad39b5ac9137992a356d23d5e8da5d07 -eo pid,comm [Pipeline] { [Pipeline] sh 08:46:06 + git config --global --add safe.directory /w/workspace/device-virtual-go/90 [Pipeline] fileExists [Pipeline] sh 08:46:07 + make test 08:46:07 go test ./... -coverprofile=coverage.out 08:46:09 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:47:46 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:47:46 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.128s coverage: 65.7% of statements 08:47:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:47:46 go vet ./... 08:48:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:48:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:48:12 ./bin/test-attribution-txt.sh [Pipeline] echo 08:48:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:48:12 $ docker stop --time=1 d28a34159fa990c2323a0328954eb2c5ad39b5ac9137992a356d23d5e8da5d07 08:48:14 $ docker rm -f --volumes d28a34159fa990c2323a0328954eb2c5ad39b5ac9137992a356d23d5e8da5d07 [Pipeline] // withDockerContainer [Pipeline] sh 08:48:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:48:16 Warning: overwriting stash ‘coverage-report’ 08:48:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:48:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:48:17 + ls -al . 08:48:17 total 188 08:48:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 08:46 . 08:48:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 08:43 .. 08:48:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 08:43 .git 08:48:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 08:43 .github 08:48:17 -rw-rw-r-- 1 jenkins jenkins 337 Mar 9 08:43 .gitignore 08:48:17 -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 08:43 .golangci.yml 08:48:17 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 9 08:43 Attribution.txt 08:48:17 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 9 08:43 CHANGELOG.md 08:48:17 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 9 08:43 Dockerfile 08:48:17 -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 08:43 GOVERNANCE.md 08:48:17 -rw-rw-r-- 1 jenkins jenkins 660 Mar 9 08:43 Jenkinsfile 08:48:17 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 08:43 LICENSE 08:48:17 -rw-rw-r-- 1 jenkins jenkins 1661 Mar 9 08:43 Makefile 08:48:17 -rw-rw-r-- 1 jenkins jenkins 623 Mar 9 08:43 OWNERS.md 08:48:17 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 9 08:43 README.md 08:48:17 -rw-rw-r-- 1 jenkins jenkins 12 Mar 9 08:43 VERSION 08:48:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 08:43 bin 08:48:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 08:43 cmd 08:48:17 -rw-r--r-- 1 jenkins jenkins 44127 Mar 9 08:47 coverage.out 08:48:17 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 9 08:43 go.mod 08:48:17 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 9 08:43 go.sum 08:48:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 08:43 internal 08:48:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 08:43 snap 08:48:17 -rw-rw-r-- 1 jenkins jenkins 235 Mar 9 08:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:17 + 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=7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd --label arch=arm64 --label version=3.0.0-dev.19 . 08:48:18 Sending build context to Docker daemon 11.89MB 08:48:18 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 08:48:18 Step 2/25 : FROM ${BASE} AS builder 08:48:18 ---> b95ad1e8faf3 08:48:18 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:48:18 ---> Running in 67b4269095bf 08:48:19 Removing intermediate container 67b4269095bf 08:48:19 ---> 00e93bb5c161 08:48:19 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:48:19 ---> Running in b96932c51bd9 08:48:19 Removing intermediate container b96932c51bd9 08:48:19 ---> b459bc0926e0 08:48:19 Step 5/25 : ARG ADD_BUILD_TAGS="" 08:48:19 ---> Running in 32e82b399ef5 08:48:20 Removing intermediate container 32e82b399ef5 08:48:20 ---> 97e3be44cbb6 08:48:20 Step 6/25 : WORKDIR /device-virtual-go 08:48:20 ---> Running in c5a95b8252dd 08:48:20 Removing intermediate container c5a95b8252dd 08:48:20 ---> d447f51aa8bb 08:48:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:48:20 ---> Running in bc610cbb178f 08:48:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:48:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:48:23 OK: 226 MiB in 55 packages 08:48:24 Removing intermediate container bc610cbb178f 08:48:24 ---> b20e5b10ff49 08:48:24 Step 8/25 : COPY go.mod vendor* ./ 08:48:24 ---> f7534576db31 08:48:24 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:48:25 ---> Running in eea8bacceecf 08:48:29 Removing intermediate container eea8bacceecf 08:48:29 ---> 8e4347c71e1b 08:48:29 Step 10/25 : COPY . . 08:48:30 ---> 7e4fb83734b2 08:48:30 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:48:30 ---> Running in f87ddc7e4a7c 08:48:31 Removing intermediate container f87ddc7e4a7c 08:48:31 ---> 66aa4f082988 08:48:31 Step 12/25 : RUN $MAKE 08:48:31 ---> Running in f1b018f17d0f 08:48:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.19" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 08:51:10 Removing intermediate container f1b018f17d0f 08:51:10 ---> 6dca76d96d37 08:51:10 Step 13/25 : FROM alpine:3.16 08:51:10 3.16: Pulling from library/alpine 08:51:10 3760b48202b3: Pulling fs layer 08:51:10 3760b48202b3: Download complete 08:51:10 3760b48202b3: Pull complete 08:51:10 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 08:51:10 Status: Downloaded newer image for alpine:3.16 08:51:10 ---> 4c81e5bf8899 08:51:10 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:51:10 ---> Running in c572d453933f 08:51:10 Removing intermediate container c572d453933f 08:51:10 ---> 7404a39f049d 08:51:10 Step 15/25 : RUN apk add --update --no-cache dumb-init 08:51:10 ---> Running in 8c9488b045bf 08:51:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:51:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:51:10 (1/1) Installing dumb-init (1.2.5-r1) 08:51:10 Executing busybox-1.35.0-r17.trigger 08:51:10 OK: 5 MiB in 15 packages 08:51:11 Removing intermediate container 8c9488b045bf 08:51:11 ---> abee8f1cb928 08:51:11 Step 16/25 : WORKDIR / 08:51:11 ---> Running in 7910b746edcd 08:51:11 Removing intermediate container 7910b746edcd 08:51:11 ---> 84ef7c768412 08:51:11 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:51:12 ---> de54f94e8c58 08:51:12 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 08:51:12 ---> 963d9a6be488 08:51:12 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 08:51:14 ---> 98958ee77182 08:51:14 Step 20/25 : EXPOSE 59900 08:51:14 ---> Running in 22bcdd76e1f7 08:51:14 Removing intermediate container 22bcdd76e1f7 08:51:14 ---> 68aa613fcb68 08:51:14 Step 21/25 : ENTRYPOINT ["/device-virtual"] 08:51:14 ---> Running in 598d30389f4c 08:51:15 Removing intermediate container 598d30389f4c 08:51:15 ---> adcc4f2c01ce 08:51:15 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:51:15 ---> Running in ead91974b774 08:51:15 Removing intermediate container ead91974b774 08:51:15 ---> 048b2a271f05 08:51:15 Step 23/25 : LABEL arch=arm64 08:51:15 ---> Running in 3090a4434052 08:51:16 Removing intermediate container 3090a4434052 08:51:16 ---> b7a7d64192f8 08:51:16 Step 24/25 : LABEL git_sha=7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd 08:51:16 ---> Running in 1dd48a91efd5 08:51:16 Removing intermediate container 1dd48a91efd5 08:51:16 ---> e2400a66216e 08:51:16 Step 25/25 : LABEL version=3.0.0-dev.19 08:51:16 ---> Running in 3806dead3624 08:51:16 Removing intermediate container 3806dead3624 08:51:16 ---> c5799bbd9653 08:51:16 [Warning] One or more build-args [ARCH] were not consumed 08:51:16 Successfully built c5799bbd9653 08:51:16 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:51:17 provisioning config files... 08:51:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/90@tmp/config4340416972938805688tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:51:17 ---> docker-login.sh 08:51:17 nexus3.edgexfoundry.org:10001 08:51:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:17 Configure a credential helper to remove this warning. See 08:51:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:17 08:51:17 Login Succeeded 08:51:17 nexus3.edgexfoundry.org:10002 08:51:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:18 Configure a credential helper to remove this warning. See 08:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:18 08:51:18 Login Succeeded 08:51:18 nexus3.edgexfoundry.org:10003 08:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:18 Configure a credential helper to remove this warning. See 08:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:18 08:51:18 Login Succeeded 08:51:18 nexus3.edgexfoundry.org:10004 08:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:19 Configure a credential helper to remove this warning. See 08:51:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:19 08:51:19 Login Succeeded 08:51:19 docker.io 08:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:19 Configure a credential helper to remove this warning. See 08:51:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:19 08:51:19 Login Succeeded 08:51:19 ---> docker-login.sh ends [Pipeline] } 08:51:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:51:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:51:19 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 08:51:19 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd 08:51:19 latest 08:51:19 3.0.0-dev.19 08:51:19 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd-3.0.0-dev.19 08:51:19 main 08:51:19 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:20 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd 08:51:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:51:20 6cf0cc589fa1: Preparing 08:51:20 93e7131dcd40: Preparing 08:51:20 9c2f66f53d48: Preparing 08:51:20 1c96f89c6e50: Preparing 08:51:20 f70ee36035b9: Preparing 08:51:20 f70ee36035b9: Layer already exists 08:51:20 1c96f89c6e50: Pushed 08:51:20 93e7131dcd40: Pushed 08:51:20 9c2f66f53d48: Pushed 08:51:27 6cf0cc589fa1: Pushed 08:51:27 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd: digest: sha256:0c1ed01e8a8154936ee478d2d74b1dee61544a3e1073c0ee39f514e968d1f868 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:27 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:28 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 08:51:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:51:28 6cf0cc589fa1: Preparing 08:51:28 93e7131dcd40: Preparing 08:51:28 9c2f66f53d48: Preparing 08:51:28 1c96f89c6e50: Preparing 08:51:28 f70ee36035b9: Preparing 08:51:28 1c96f89c6e50: Layer already exists 08:51:28 93e7131dcd40: Layer already exists 08:51:28 6cf0cc589fa1: Layer already exists 08:51:28 9c2f66f53d48: Layer already exists 08:51:28 f70ee36035b9: Layer already exists 08:51:28 latest: digest: sha256:0c1ed01e8a8154936ee478d2d74b1dee61544a3e1073c0ee39f514e968d1f868 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:28 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:29 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.19 08:51:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:51:29 6cf0cc589fa1: Preparing 08:51:29 93e7131dcd40: Preparing 08:51:29 9c2f66f53d48: Preparing 08:51:29 1c96f89c6e50: Preparing 08:51:29 f70ee36035b9: Preparing 08:51:29 6cf0cc589fa1: Layer already exists 08:51:29 9c2f66f53d48: Layer already exists 08:51:29 f70ee36035b9: Layer already exists 08:51:29 93e7131dcd40: Layer already exists 08:51:29 1c96f89c6e50: Layer already exists 08:51:29 3.0.0-dev.19: digest: sha256:0c1ed01e8a8154936ee478d2d74b1dee61544a3e1073c0ee39f514e968d1f868 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:29 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd-3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:30 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd-3.0.0-dev.19 08:51:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:51:30 6cf0cc589fa1: Preparing 08:51:30 93e7131dcd40: Preparing 08:51:30 9c2f66f53d48: Preparing 08:51:30 1c96f89c6e50: Preparing 08:51:30 f70ee36035b9: Preparing 08:51:30 9c2f66f53d48: Layer already exists 08:51:30 6cf0cc589fa1: Layer already exists 08:51:30 93e7131dcd40: Layer already exists 08:51:30 f70ee36035b9: Layer already exists 08:51:30 1c96f89c6e50: Layer already exists 08:51:30 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd-3.0.0-dev.19: digest: sha256:0c1ed01e8a8154936ee478d2d74b1dee61544a3e1073c0ee39f514e968d1f868 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:30 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:30 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 08:51:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:51:30 6cf0cc589fa1: Preparing 08:51:30 93e7131dcd40: Preparing 08:51:30 9c2f66f53d48: Preparing 08:51:30 1c96f89c6e50: Preparing 08:51:30 f70ee36035b9: Preparing 08:51:30 6cf0cc589fa1: Layer already exists 08:51:30 9c2f66f53d48: Layer already exists 08:51:30 f70ee36035b9: Layer already exists 08:51:30 1c96f89c6e50: Layer already exists 08:51:30 93e7131dcd40: Layer already exists 08:51:31 main: digest: sha256:0c1ed01e8a8154936ee478d2d74b1dee61544a3e1073c0ee39f514e968d1f868 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:51:31 ===================================================== [Pipeline] echo 08:51:31 taggedImages: 08:51:31 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd 08:51:31 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 08:51:31 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.19 08:51:31 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd-3.0.0-dev.19 08:51:31 - 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:51:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:51:31 08:51:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:51:32 arm64: Pulling from edgex-lftools-log-publisher 08:51:32 8998bd30e6a1: Pulling fs layer 08:51:32 04944245beec: Pulling fs layer 08:51:32 699f458cf7ca: Pulling fs layer 08:51:32 765212b225bb: Pulling fs layer 08:51:32 f23df028b6ca: Pulling fs layer 08:51:32 d65c8cfc05b1: Pulling fs layer 08:51:32 2437ff75d9bd: Pulling fs layer 08:51:32 f23df028b6ca: Waiting 08:51:32 d65c8cfc05b1: Waiting 08:51:32 2437ff75d9bd: Waiting 08:51:32 765212b225bb: Waiting 08:51:32 04944245beec: Verifying Checksum 08:51:32 04944245beec: Download complete 08:51:32 765212b225bb: Verifying Checksum 08:51:32 765212b225bb: Download complete 08:51:32 f23df028b6ca: Verifying Checksum 08:51:32 f23df028b6ca: Download complete 08:51:32 d65c8cfc05b1: Verifying Checksum 08:51:32 d65c8cfc05b1: Download complete 08:51:32 699f458cf7ca: Verifying Checksum 08:51:32 699f458cf7ca: Download complete 08:51:33 8998bd30e6a1: Download complete 08:51:35 2437ff75d9bd: Verifying Checksum 08:51:35 2437ff75d9bd: Download complete 08:51:37 8998bd30e6a1: Pull complete 08:51:37 04944245beec: Pull complete 08:51:39 699f458cf7ca: Pull complete 08:51:39 765212b225bb: Pull complete 08:51:40 f23df028b6ca: Pull complete 08:51:40 d65c8cfc05b1: Pull complete 08:51:55 2437ff75d9bd: Pull complete 08:51:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:51:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:51:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:51:56 prd-ubuntu20.04-docker-arm64-4c-16g-9436 does not seem to be running inside a container 08:51:56 $ 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/90 -v /w/workspace/device-virtual-go/90:/w/workspace/device-virtual-go/90:rw,z -v /w/workspace/device-virtual-go/90@tmp:/w/workspace/device-virtual-go/90@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:arm64 cat 08:51:59 $ docker top f5c9e73601955c3c8316ce5f20cb66f39e726bbf4ee9acc08de4f0a0dfd1730b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:51:59 ---> job-cost.sh 08:51:59 lf-activate-venv: SKIPPING 08:51:59 INFO: No Stack... 08:52:00 INFO: Retrieving Pricing Info for: v3-standard-4 08:52:01 INFO: Archiving Costs [Pipeline] sh 08:52:01 + cat /w/workspace/device-virtual-go/90/archives/cost.csv 08:52:01 + cut -d, -f6 [Pipeline] lock 08:52:01 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-90-stack-cost] 08:52:01 Resource [jenkins-edgexfoundry-device-virtual-go-main-90-stack-cost] did not exist. Created. 08:52:01 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-90-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:52:02 /w/workspace/device-virtual-go/90@tmp/durable-038a8c2d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:52:03 + echo total: 0.10999999940395355 [Pipeline] stash 08:52:03 Warning: overwriting stash ‘stack-cost’ 08:52:03 Stashed 1 file(s) [Pipeline] } 08:52:03 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-90-stack-cost] [Pipeline] // lock [Pipeline] } 08:52:03 $ docker stop --time=1 f5c9e73601955c3c8316ce5f20cb66f39e726bbf4ee9acc08de4f0a0dfd1730b 08:52:04 $ docker rm -f --volumes f5c9e73601955c3c8316ce5f20cb66f39e726bbf4ee9acc08de4f0a0dfd1730b [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:52:05 provisioning config files... 08:52:05 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11237190678944298513tmp [Pipeline] { [Pipeline] sh 08:52:05 + set +x 08:52:05 + + curl -s https://codecov.io/bash 08:52:05 bash -s -- 08:52:05 08:52:05 _____ _ 08:52:05 / ____| | | 08:52:05 | | ___ __| | ___ ___ _____ __ 08:52:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:52:05 | |___| (_) | (_| | __/ (_| (_) \ V / 08:52:05 \_____\___/ \__,_|\___|\___\___/ \_/ 08:52:05 Bash-1.0.6 08:52:05 08:52:05 08:52:05 ==> git version 2.25.1 found 08:52:05 ==> 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:52:05 Release-Date: 2020-01-08 08:52:05 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:52:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:52:05 ==> Jenkins CI detected. 08:52:05 current dir:  /w/workspace/exfoundry_device-virtual-go_main 08:52:05 project root: . 08:52:05 --> token set from env 08:52:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:52:05 ==> Running gcov in . (disable via -X gcov) 08:52:05 ==> Python coveragepy not found 08:52:05 ==> Searching for coverage reports in: 08:52:05 + . 08:52:05 -> Found 1 reports 08:52:05 ==> Detecting git/mercurial file structure 08:52:05 ==> Reading reports 08:52:05 + ./coverage.out bytes=44127 08:52:05 ==> Appending adjustments 08:52:05 https://docs.codecov.io/docs/fixing-reports 08:52:05 + Found adjustments 08:52:05 ==> Gzipping contents 08:52:05 8.0K /tmp/codecov.SBxota.gz 08:52:05 ==> Uploading reports 08:52:05 url: https://codecov.io 08:52:05 query: branch=main&commit=7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd&build=90&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F90%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:52:05 -> Pinging Codecov 08:52:05 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=7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd&build=90&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F90%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:52:05 -> Uploading to 08:52:05 https://storage.googleapis.com/codecov/v4/raw/2023-03-09/5E52B4B073DB2E39498172D8E973AA87/7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd/309ee3ff-381e-41b3-aa41-33d9cedabdc8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230309T085205Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d8d059c9432867062fba061a8d63a840b85f35be58de7c9e7d32e5b9175250f6 08:52:06 % Total % Received % Xferd Average Speed Time Time Time Current 08:52:06 Dload Upload Total Spent Left Speed 08:52:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5478 0 0 100 5478 0 23016 --:--:-- --:--:-- --:--:-- 23016 08:52:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd [Pipeline] } 08:52:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:52:06 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:52:06 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:52:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:52:06 08:52:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:52:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:52:07 1.410.4: Pulling from edgex-devops/edgex-snyk-go 08:52:07 df9b9388f04a: Pulling fs layer 08:52:07 52dc419b0ee2: Pulling fs layer 08:52:07 25bc292e5bac: Pulling fs layer 08:52:07 114826534d7a: Pulling fs layer 08:52:07 4657fd5d0bcf: Pulling fs layer 08:52:07 6ad1cebc031e: Pulling fs layer 08:52:07 8a3aa393b2d8: Pulling fs layer 08:52:07 114826534d7a: Waiting 08:52:07 4657fd5d0bcf: Waiting 08:52:07 6ad1cebc031e: Waiting 08:52:07 8a3aa393b2d8: Waiting 08:52:07 25bc292e5bac: Download complete 08:52:07 52dc419b0ee2: Download complete 08:52:07 4657fd5d0bcf: Verifying Checksum 08:52:07 4657fd5d0bcf: Download complete 08:52:07 df9b9388f04a: Download complete 08:52:07 df9b9388f04a: Pull complete 08:52:07 6ad1cebc031e: Verifying Checksum 08:52:07 6ad1cebc031e: Download complete 08:52:07 52dc419b0ee2: Pull complete 08:52:07 25bc292e5bac: Pull complete 08:52:07 114826534d7a: Verifying Checksum 08:52:07 114826534d7a: Download complete 08:52:08 8a3aa393b2d8: Verifying Checksum 08:52:08 8a3aa393b2d8: Download complete 08:52:11 114826534d7a: Pull complete 08:52:11 4657fd5d0bcf: Pull complete 08:52:11 6ad1cebc031e: Pull complete 08:52:13 8a3aa393b2d8: Pull complete 08:52:13 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 08:52:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:52:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:52:13 prd-ubuntu20.04-docker-8c-8g-9431 does not seem to be running inside a container 08:52:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 08:52:16 $ docker top 3b9eb057afaee75a4850be9f98264b8de8c57ba97c66d3fb30887b36e87485cf -eo pid,comm [Pipeline] { [Pipeline] echo 08:52:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 08:52:16 + set -o pipefail 08:52:16 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 08:52:21 08:52:21 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 08:52:21 08:52:21 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/a94d65ac-9c27-4efa-b828-f23d16f4ed9e 08:52:21 08:52:21 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 08:52:21 08:52:21 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:52:21 08:52:23 08:52:23 A medium severity vulnerability was found in the Snyk CLI versions you are using. 08:52:23 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 08:52:23 More details here: https://snyk.co/ue1NS [Pipeline] } 08:52:23 $ docker stop --time=1 3b9eb057afaee75a4850be9f98264b8de8c57ba97c66d3fb30887b36e87485cf 08:52:25 $ docker rm -f --volumes 3b9eb057afaee75a4850be9f98264b8de8c57ba97c66d3fb30887b36e87485cf [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:52:25 + git log --format=format:%s -1 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd [Pipeline] sh 08:52:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:52:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:52:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:52:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:52:26 prd-ubuntu20.04-docker-8c-8g-9431 does not seem to be running inside a container 08:52:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:52:26 $ docker top 52662fec0956f1da9a469984915573b785bc168c08cf47a5138ffab9915c68c6 -eo pid,comm 08:52:26 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:52:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:52:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:52:26 [ssh-agent] Looking for ssh-agent implementation... 08:52:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:52:26 $ docker exec 52662fec0956f1da9a469984915573b785bc168c08cf47a5138ffab9915c68c6 ssh-agent 08:52:27 SSH_AUTH_SOCK=/tmp/ssh-3gJhlpacY9Hv/agent.31 08:52:27 SSH_AGENT_PID=37 08:52:27 Running ssh-add (command line suppressed) 08:52:27 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1657179953493519077.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1657179953493519077.key) 08:52:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:52:27 + git semver tag 08:52:27 2023-03-09 08:52:27,670 [run_tag] DEBUG tag force:False 08:52:27 2023-03-09 08:52:27,670 [check_head_tag] DEBUG check head tag 08:52:27 2023-03-09 08:52:27,671 [execute] INFO git cat-file --batch-check 08:52:27 2023-03-09 08:52:27,671 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 08:52:27 2023-03-09 08:52:27,675 [execute] INFO git cat-file --batch 08:52:27 2023-03-09 08:52:27,675 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 08:52:27 2023-03-09 08:52:27,697 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:52:27 2023-03-09 08:52:27,698 [execute] INFO git tag -a v3.0.0-dev.19 -m v3.0.0-dev.19 08:52:27 2023-03-09 08:52:27,698 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.19', '-m', 'v3.0.0-dev.19'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 08:52:27 2023-03-09 08:52:27,702 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:52:27 3.0.0-dev.19 [Pipeline] } 08:52:27 $ docker exec --env ******** --env ******** 52662fec0956f1da9a469984915573b785bc168c08cf47a5138ffab9915c68c6 ssh-agent -k 08:52:27 unset SSH_AUTH_SOCK; 08:52:27 unset SSH_AGENT_PID; 08:52:27 echo Agent pid 37 killed; 08:52:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:52:28 + git semver [Pipeline] } 08:52:28 $ docker stop --time=1 52662fec0956f1da9a469984915573b785bc168c08cf47a5138ffab9915c68c6 08:52:29 $ docker rm -f --volumes 52662fec0956f1da9a469984915573b785bc168c08cf47a5138ffab9915c68c6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:52:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:52:30 08:52:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:52:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:52:30 0.23.1-centos7: Pulling from edgex-lftools 08:52:30 ab5ef0e58194: Pulling fs layer 08:52:30 9712f1f96733: Pulling fs layer 08:52:30 63f879dbbcfc: Pulling fs layer 08:52:30 0d9ebad4ef96: Pulling fs layer 08:52:30 e9a5061849ea: Pulling fs layer 08:52:30 d747dcd14b5f: Pulling fs layer 08:52:30 2de7ff778b66: Pulling fs layer 08:52:30 e9a5061849ea: Waiting 08:52:30 d747dcd14b5f: Waiting 08:52:30 2de7ff778b66: Waiting 08:52:30 0d9ebad4ef96: Waiting 08:52:30 9712f1f96733: Download complete 08:52:31 63f879dbbcfc: Verifying Checksum 08:52:31 63f879dbbcfc: Download complete 08:52:31 0d9ebad4ef96: Verifying Checksum 08:52:31 0d9ebad4ef96: Download complete 08:52:31 e9a5061849ea: Verifying Checksum 08:52:31 e9a5061849ea: Download complete 08:52:31 d747dcd14b5f: Verifying Checksum 08:52:31 d747dcd14b5f: Download complete 08:52:31 ab5ef0e58194: Verifying Checksum 08:52:31 ab5ef0e58194: Download complete 08:52:31 2de7ff778b66: Verifying Checksum 08:52:31 2de7ff778b66: Download complete 08:52:33 ab5ef0e58194: Pull complete 08:52:33 9712f1f96733: Pull complete 08:52:34 63f879dbbcfc: Pull complete 08:52:37 0d9ebad4ef96: Pull complete 08:52:37 e9a5061849ea: Pull complete 08:52:37 d747dcd14b5f: Pull complete 08:52:38 2de7ff778b66: Pull complete 08:52:38 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:52:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:52:38 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:52:38 prd-ubuntu20.04-docker-8c-8g-9431 does not seem to be running inside a container 08:52:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 08:52:40 $ docker top 9f7a7dc936d9dcede9b040381cddcdec5b691825c5a9b7748886f90059efc815 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:52:40 provisioning config files... 08:52:40 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17215821094631192870tmp 08:52:40 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8041098468660406355tmp 08:52:40 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14279147541222986082tmp [Pipeline] { [Pipeline] echo 08:52:40 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:52:41 ---> sigul-configuration.sh 08:52:41 gpg: directory `/root/.gnupg' created 08:52:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:52:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:52:41 gpg: keyring `/root/.gnupg/secring.gpg' created 08:52:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:52:41 gpg: CAST5 encrypted data 08:52:41 gpg: encrypted with 1 passphrase 08:52:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:52:41 + mkdir /home/jenkins 08:52:41 + mkdir /home/jenkins/sigul [Pipeline] sh 08:52:41 + 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:52:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:52:42 ---> sigul-install.sh 08:52:42 Sigul already installed; skipping installation. [Pipeline] sh 08:52:42 + git tag --list 08:52:42 v1.0.0 08:52:42 v1.1.0 08:52:42 v1.1.1 08:52:42 v1.2.1 08:52:42 v1.2.2 08:52:42 v1.2.3 08:52:42 v1.3.0 08:52:42 v1.3.1 08:52:42 v2.0.0 08:52:42 v2.1.0 08:52:42 v2.1.1 08:52:42 v2.1.1-dev.1 08:52:42 v2.1.1-dev.2 08:52:42 v2.2.0 08:52:42 v2.2.1-dev.1 08:52:42 v2.2.1-dev.2 08:52:42 v2.2.1-dev.3 08:52:42 v2.2.1-dev.4 08:52:42 v2.2.1-dev.5 08:52:42 v2.2.1-dev.6 08:52:42 v2.2.1-dev.7 08:52:42 v2.2.1-dev.8 08:52:42 v2.3.0 08:52:42 v2.3.0-dev.10 08:52:42 v2.3.0-dev.11 08:52:42 v2.3.0-dev.12 08:52:42 v2.3.0-dev.13 08:52:42 v2.3.0-dev.14 08:52:42 v2.3.0-dev.15 08:52:42 v2.3.0-dev.16 08:52:42 v2.3.0-dev.17 08:52:42 v2.3.0-dev.18 08:52:42 v2.3.0-dev.19 08:52:42 v2.3.0-dev.20 08:52:42 v2.3.0-dev.21 08:52:42 v2.3.0-dev.22 08:52:42 v2.3.0-dev.23 08:52:42 v2.3.0-dev.24 08:52:42 v2.3.0-dev.25 08:52:42 v2.3.0-dev.26 08:52:42 v2.3.0-dev.27 08:52:42 v2.3.0-dev.28 08:52:42 v2.3.0-dev.29 08:52:42 v2.3.0-dev.30 08:52:42 v2.3.0-dev.8 08:52:42 v2.3.0-dev.9 08:52:42 v3.0.0-dev.1 08:52:42 v3.0.0-dev.10 08:52:42 v3.0.0-dev.11 08:52:42 v3.0.0-dev.12 08:52:42 v3.0.0-dev.13 08:52:42 v3.0.0-dev.14 08:52:42 v3.0.0-dev.15 08:52:42 v3.0.0-dev.16 08:52:42 v3.0.0-dev.17 08:52:42 v3.0.0-dev.18 08:52:42 v3.0.0-dev.19 08:52:42 v3.0.0-dev.2 08:52:42 v3.0.0-dev.3 08:52:42 v3.0.0-dev.4 08:52:42 v3.0.0-dev.5 08:52:42 v3.0.0-dev.6 08:52:42 v3.0.0-dev.7 08:52:42 v3.0.0-dev.8 08:52:42 v3.0.0-dev.9 [Pipeline] sh 08:52:42 + lftools sign git-tag v3.0.0-dev.19 08:52:43 Signing Git tag with Sigul... 08:52:43 Signing v3.0.0-dev.19 [Pipeline] echo 08:52:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:52:43 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:52:43 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:52:43 $ docker stop --time=1 9f7a7dc936d9dcede9b040381cddcdec5b691825c5a9b7748886f90059efc815 08:52:45 $ docker rm -f --volumes 9f7a7dc936d9dcede9b040381cddcdec5b691825c5a9b7748886f90059efc815 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:52:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:52:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:52:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:52:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:52:45 prd-ubuntu20.04-docker-8c-8g-9431 does not seem to be running inside a container 08:52:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:52:46 $ docker top ff305a0b8b076430261f76f63dd644408d9b8829dbaa789ce78bf5842719a4a1 -eo pid,comm 08:52:46 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:52:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:52:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:52:46 [ssh-agent] Looking for ssh-agent implementation... 08:52:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:52:46 $ docker exec ff305a0b8b076430261f76f63dd644408d9b8829dbaa789ce78bf5842719a4a1 ssh-agent 08:52:46 SSH_AUTH_SOCK=/tmp/ssh-5R5njwZxk7CR/agent.32 08:52:46 SSH_AGENT_PID=38 08:52:46 Running ssh-add (command line suppressed) 08:52:46 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1324578598774007445.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1324578598774007445.key) 08:52:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:52:47 + git semver bump pre 08:52:47 2023-03-09 08:52:47,170 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:52:47 2023-03-09 08:52:47,170 [bump_version] DEBUG bumping version:3.0.0-dev.19 on axis:pre with prefix:dev 08:52:47 2023-03-09 08:52:47,170 [bump_version] DEBUG bumped version:3.0.0-dev.20 08:52:47 2023-03-09 08:52:47,171 [write_version] DEBUG write version:3.0.0-dev.20 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 08:52:47 2023-03-09 08:52:47,171 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:52:47 2023-03-09 08:52:47,171 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:52:47 2023-03-09 08:52:47,173 [execute] INFO git cat-file --batch-check 08:52:47 2023-03-09 08:52:47,173 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:52:47 2023-03-09 08:52:47,178 [execute] INFO git cat-file --batch 08:52:47 2023-03-09 08:52:47,179 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:52:47 2023-03-09 08:52:47,183 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:52:47 3.0.0-dev.20 [Pipeline] } 08:52:47 $ docker exec --env ******** --env ******** ff305a0b8b076430261f76f63dd644408d9b8829dbaa789ce78bf5842719a4a1 ssh-agent -k 08:52:47 unset SSH_AUTH_SOCK; 08:52:47 unset SSH_AGENT_PID; 08:52:47 echo Agent pid 38 killed; 08:52:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:52:47 + git semver [Pipeline] } 08:52:47 $ docker stop --time=1 ff305a0b8b076430261f76f63dd644408d9b8829dbaa789ce78bf5842719a4a1 08:52:49 $ docker rm -f --volumes ff305a0b8b076430261f76f63dd644408d9b8829dbaa789ce78bf5842719a4a1 [Pipeline] // withDockerContainer [Pipeline] sh 08:52:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:52:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:52:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:52:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:52:49 prd-ubuntu20.04-docker-8c-8g-9431 does not seem to be running inside a container 08:52:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:52:50 $ docker top 6284183e032ab533dc962ce0660fcba677bdf045a0b8874c15bf3f5efc6a3132 -eo pid,comm 08:52:50 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:52:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:52:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:52:50 [ssh-agent] Looking for ssh-agent implementation... 08:52:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:52:50 $ docker exec 6284183e032ab533dc962ce0660fcba677bdf045a0b8874c15bf3f5efc6a3132 ssh-agent 08:52:50 SSH_AUTH_SOCK=/tmp/ssh-oI4lfjjPT6UM/agent.31 08:52:50 SSH_AGENT_PID=37 08:52:50 Running ssh-add (command line suppressed) 08:52:50 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7617496462466410084.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7617496462466410084.key) 08:52:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:52:51 + git semver push 08:52:51 2023-03-09 08:52:51,330 [run_push] DEBUG push 08:52:51 2023-03-09 08:52:51,330 [execute] INFO git cat-file --batch-check 08:52:51 2023-03-09 08:52:51,330 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:52:51 2023-03-09 08:52:51,334 [execute] INFO git rev-list d243df528b727b6c63cdcdf42300af76bcf7ee24 -- 08:52:51 2023-03-09 08:52:51,334 [execute] DEBUG Popen(['git', 'rev-list', 'd243df528b727b6c63cdcdf42300af76bcf7ee24', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:52:51 2023-03-09 08:52:51,343 [execute] INFO git fetch -v origin 08:52:51 2023-03-09 08:52:51,343 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 08:52:51 2023-03-09 08:52:51,855 [run_push] DEBUG no remote changes detected 08:52:51 2023-03-09 08:52:51,855 [execute] INFO git push origin semver 08:52:51 2023-03-09 08:52:51,855 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:52:52 2023-03-09 08:52:52,621 [run_push] DEBUG push all version tags 08:52:52 2023-03-09 08:52:52,621 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 08:52:52 2023-03-09 08:52:52,621 [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:52:53 2023-03-09 08:52:53,403 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:52:53 3.0.0-dev.20 [Pipeline] } 08:52:53 $ docker exec --env ******** --env ******** 6284183e032ab533dc962ce0660fcba677bdf045a0b8874c15bf3f5efc6a3132 ssh-agent -k 08:52:53 unset SSH_AUTH_SOCK; 08:52:53 unset SSH_AGENT_PID; 08:52:53 echo Agent pid 37 killed; 08:52:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:52:53 + git semver [Pipeline] } 08:52:54 $ docker stop --time=1 6284183e032ab533dc962ce0660fcba677bdf045a0b8874c15bf3f5efc6a3132 08:52:55 $ docker rm -f --volumes 6284183e032ab533dc962ce0660fcba677bdf045a0b8874c15bf3f5efc6a3132 [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:52:56 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 08:52:56 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 08:52:56 total 16 08:52:56 drwxr-xr-x 3 root root 4096 Mar 9 08:45 . 08:52:56 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 08:52 .. 08:52:56 drwxr-xr-x 2 root root 4096 Mar 9 08:45 cost 08:52:56 -rw-r--r-- 1 root root 88 Mar 9 08:45 cost.csv 08:52:56 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 08:52:56 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 08:52:56 total 16 08:52:56 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 08:45 . 08:52:56 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 08:52 .. 08:52:56 drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 08:45 cost 08:52:56 -rw-r--r-- 1 jenkins jenkins 88 Mar 9 08:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:52:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:52:57 ---> package-listing.sh 08:52:57 ++ facter osfamily 08:52:57 ++ tr '[:upper:]' '[:lower:]' 08:52:57 + OS_FAMILY=debian 08:52:57 + workspace=/w/workspace/exfoundry_device-virtual-go_main 08:52:57 + START_PACKAGES=/tmp/packages_start.txt 08:52:57 + END_PACKAGES=/tmp/packages_end.txt 08:52:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:52:57 + PACKAGES=/tmp/packages_start.txt 08:52:57 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 08:52:57 + PACKAGES=/tmp/packages_end.txt 08:52:57 + case "${OS_FAMILY}" in 08:52:57 + dpkg -l 08:52:57 + grep '^ii' 08:52:57 + '[' -f /tmp/packages_start.txt ']' 08:52:57 + '[' -f /tmp/packages_end.txt ']' 08:52:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:52:57 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 08:52:57 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 08:52:57 + 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:52:57 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:52:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:52:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:52:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:52:58 prd-ubuntu20.04-docker-8c-8g-9431 does not seem to be running inside a container 08:52:58 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:52:58 $ docker top c186f7c5ed5f2962d68139cbb45bd78625d9ebe33574398c15439f605eb20a44 -eo pid,comm [Pipeline] { [Pipeline] sh 08:52:59 + touch /tmp/pre-build-complete [Pipeline] sh 08:52:59 + mkdir -p /var/log/sysstat [Pipeline] sh 08:52:59 + ls /var/log/sa-host 08:52:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:52:59 provisioning config files... 08:52:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17279466135878785242tmp [Pipeline] { [Pipeline] echo 08:52:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:53:00 ---> create-netrc.sh [Pipeline] } 08:53:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:53:00 ---> python-tools-install.sh [Pipeline] echo 08:53:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:53:00 ---> sudo-logs.sh 08:53:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:53:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:53:00 ---> job-cost.sh 08:53:00 lf-activate-venv: SKIPPING 08:53:00 DEBUG: total: 0.2199999988079071 08:53:00 INFO: Retrieving Stack Cost... 08:53:01 INFO: Retrieving Pricing Info for: v3-standard-8 08:53:01 INFO: Archiving Costs [Pipeline] echo 08:53:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:53:02 ---> logs-deploy.sh 08:53:02 lf-activate-venv: SKIPPING 08:53:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/90 08:53:02 INFO: archiving workspace using pattern(s): 08:53:03 Archives upload complete. 08:53:03 INFO: archiving logs to Nexus