Started by upstream project "edgexfoundry/cd-management/release" build number 96 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9b27552b3734ae7c2a4c3808c2aff026acc83385 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-ssh9558080735706515945.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh2667017722526475152.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9692262587738032677.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 shared 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-ssh10497614545750645959.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh17389464840089790827.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-63290 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9b27552b3734ae7c2a4c3808c2aff026acc83385 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b27552b3734ae7c2a4c3808c2aff026acc83385 # timeout=10 Commit message: "Merge pull request #285 from jinlinGuan/released-go-mods" > git rev-list --no-walk 9b27552b3734ae7c2a4c3808c2aff026acc83385 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:54:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:54:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:54:18 ========================================================= 22:54:18 EdgeX Global Pipelines Version Info 22:54:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:54:18 ------------------- 22:54:18 stable info: 22:54:18 ------------------- 22:54:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:54:18 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:54:18 Message: update stable to v1.0.230 22:54:19 ------------------- 22:54:19 experimental info: 22:54:19 ------------------- 22:54:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:54:19 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:54:19 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:54:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:54:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:54:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] echo 22:54:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b27552 [Pipeline] echo 22:54:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:54:20 provisioning config files... 22:54:20 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6781451932408020225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:54:20 ---> docker-login.sh 22:54:20 nexus3.edgexfoundry.org:10001 22:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:20 Configure a credential helper to remove this warning. See 22:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:20 22:54:20 Login Succeeded 22:54:20 nexus3.edgexfoundry.org:10002 22:54:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:21 Configure a credential helper to remove this warning. See 22:54:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:21 22:54:21 Login Succeeded 22:54:21 nexus3.edgexfoundry.org:10003 22:54:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:21 Configure a credential helper to remove this warning. See 22:54:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:21 22:54:21 Login Succeeded 22:54:21 nexus3.edgexfoundry.org:10004 22:54:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:21 Configure a credential helper to remove this warning. See 22:54:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:21 22:54:21 Login Succeeded 22:54:21 docker.io 22:54:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:21 Configure a credential helper to remove this warning. See 22:54:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:21 22:54:21 Login Succeeded 22:54:21 ---> docker-login.sh ends [Pipeline] } 22:54:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:54:22 + git rev-list -1 --merges 9b27552b3734ae7c2a4c3808c2aff026acc83385~1..9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] echo 22:54:22 -----------> git rev-list -1 --merges 9b27552b3734ae7c2a4c3808c2aff026acc83385~1..9b27552b3734ae7c2a4c3808c2aff026acc83385 9b27552b3734ae7c2a4c3808c2aff026acc83385 22:54:22 9b27552b3734ae7c2a4c3808c2aff026acc83385 [false] [Pipeline] sh 22:54:22 + git log --format=format:%s -1 9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] echo 22:54:22 ========================================================= 22:54:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 22:54:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:54:22 + git log --format=format:%s -1 9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] echo 22:54:22 [semverPrep] GIT_COMMIT: 9b27552b3734ae7c2a4c3808c2aff026acc83385, Commit Message: Merge pull request #285 from jinlinGuan/released-go-mods [Pipeline] echo 22:54:22 [semverPrep] This is not a build commit. [Pipeline] sh 22:54:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:54:23 + grep -v github /etc/ssh/ssh_known_hosts 22:54:23 + [ -e /tmp/ssh_known_hosts ] 22:54:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:54:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:54:23 + sudo tee -a /etc/ssh/ssh_known_hosts 22:54:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:54:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:54:23 22:54:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:54:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:54:24 latest: Pulling from edgex-devops/py-git-semver 22:54:24 1fe172e4850f: Pulling fs layer 22:54:24 caf521ccaac6: Pulling fs layer 22:54:24 3ead6fa29328: Pulling fs layer 22:54:24 5c2a1cbceb83: Pulling fs layer 22:54:24 a8d5f1318db7: Pulling fs layer 22:54:24 c427282e49a2: Pulling fs layer 22:54:24 1827001aaf11: Pulling fs layer 22:54:24 0714d37db230: Pulling fs layer 22:54:24 ac28cf19c067: Pulling fs layer 22:54:24 ca983d60f3e2: Pulling fs layer 22:54:24 9f894cec8388: Pulling fs layer 22:54:24 ac28cf19c067: Waiting 22:54:24 ca983d60f3e2: Waiting 22:54:24 5c2a1cbceb83: Waiting 22:54:24 a8d5f1318db7: Waiting 22:54:24 c427282e49a2: Waiting 22:54:24 9f894cec8388: Waiting 22:54:24 1827001aaf11: Waiting 22:54:24 0714d37db230: Waiting 22:54:24 caf521ccaac6: Download complete 22:54:24 5c2a1cbceb83: Verifying Checksum 22:54:24 5c2a1cbceb83: Download complete 22:54:24 a8d5f1318db7: Verifying Checksum 22:54:24 a8d5f1318db7: Download complete 22:54:24 3ead6fa29328: Verifying Checksum 22:54:24 3ead6fa29328: Download complete 22:54:24 c427282e49a2: Verifying Checksum 22:54:24 c427282e49a2: Download complete 22:54:24 0714d37db230: Verifying Checksum 22:54:24 0714d37db230: Download complete 22:54:24 ac28cf19c067: Verifying Checksum 22:54:24 ac28cf19c067: Download complete 22:54:24 ca983d60f3e2: Verifying Checksum 22:54:24 ca983d60f3e2: Download complete 22:54:24 9f894cec8388: Verifying Checksum 22:54:24 9f894cec8388: Download complete 22:54:24 1fe172e4850f: Verifying Checksum 22:54:24 1fe172e4850f: Download complete 22:54:24 1827001aaf11: Verifying Checksum 22:54:24 1827001aaf11: Download complete 22:54:25 1fe172e4850f: Pull complete 22:54:25 caf521ccaac6: Pull complete 22:54:26 3ead6fa29328: Pull complete 22:54:26 5c2a1cbceb83: Pull complete 22:54:26 a8d5f1318db7: Pull complete 22:54:26 c427282e49a2: Pull complete 22:54:29 1827001aaf11: Pull complete 22:54:29 0714d37db230: Pull complete 22:54:29 ac28cf19c067: Pull complete 22:54:29 ca983d60f3e2: Pull complete 22:54:29 9f894cec8388: Pull complete 22:54:29 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 22:54:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:54:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 22:54:29 prd-ubuntu20.04-docker-8c-8g-63290 does not seem to be running inside a container 22:54:29 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 22:54:30 $ docker top e4c062dd864e57a9be15a8246ece7490b7f2d7052f6e061dabdca1492640cc11 -eo pid,comm 22:54:30 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). 22:54:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:54:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:54:30 [ssh-agent] Looking for ssh-agent implementation... 22:54:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:54:31 $ docker exec e4c062dd864e57a9be15a8246ece7490b7f2d7052f6e061dabdca1492640cc11 ssh-agent 22:54:31 SSH_AUTH_SOCK=/tmp/ssh-z3xJHyIhhGDG/agent.33 22:54:31 SSH_AGENT_PID=39 22:54:31 Running ssh-add (command line suppressed) 22:54:31 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2039329301078348610.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2039329301078348610.key) 22:54:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:54:31 + git tag --points-at 9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] } 22:54:31 $ docker exec --env ******** --env ******** e4c062dd864e57a9be15a8246ece7490b7f2d7052f6e061dabdca1492640cc11 ssh-agent -k 22:54:31 unset SSH_AUTH_SOCK; 22:54:31 unset SSH_AGENT_PID; 22:54:31 echo Agent pid 39 killed; 22:54:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:54:31 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.2.0|v2.2.0-dev.18' [Pipeline] sshagent 22:54:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:54:31 [ssh-agent] Looking for ssh-agent implementation... 22:54:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:54:31 $ docker exec e4c062dd864e57a9be15a8246ece7490b7f2d7052f6e061dabdca1492640cc11 ssh-agent 22:54:32 SSH_AUTH_SOCK=/tmp/ssh-PboGabf1fqf3/agent.73 22:54:32 SSH_AGENT_PID=79 22:54:32 Running ssh-add (command line suppressed) 22:54:32 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6366233700901604389.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6366233700901604389.key) 22:54:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:54:32 + git semver init 22:54:32 2022-05-11 22:54:32,739 [run_init] DEBUG init version:0.0.0 force:False 22:54:32 2022-05-11 22:54:32,741 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 22:54:32 2022-05-11 22:54:32,742 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 22:54:32 2022-05-11 22:54:32,742 [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) 22:54:34 2022-05-11 22:54:33,774 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 22:54:34 2022-05-11 22:54:33,774 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 22:54:34 2022-05-11 22:54:33,774 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:54:34 2022-05-11 22:54:33,774 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:54:34 2.2.0 [Pipeline] } 22:54:34 $ docker exec --env ******** --env ******** e4c062dd864e57a9be15a8246ece7490b7f2d7052f6e061dabdca1492640cc11 ssh-agent -k 22:54:34 unset SSH_AUTH_SOCK; 22:54:34 unset SSH_AGENT_PID; 22:54:34 echo Agent pid 79 killed; 22:54:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:54:34 + git semver [Pipeline] } 22:54:34 $ docker stop --time=1 e4c062dd864e57a9be15a8246ece7490b7f2d7052f6e061dabdca1492640cc11 22:54:36 $ docker rm -f e4c062dd864e57a9be15a8246ece7490b7f2d7052f6e061dabdca1492640cc11 [Pipeline] // withDockerContainer [Pipeline] sh 22:54:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:54:36 Stashed 1 file(s) [Pipeline] echo 22:54:36 [edgeXSemver]: initialized semver on version 2.2.0 [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] sh 22:54:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63294 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 22:54:37 Running in /w/workspace/device-virtual-go/36 [Pipeline] { [Pipeline] checkout 22:54:37 + git checkout 9b27552b3734ae7c2a4c3808c2aff026acc83385 22:54:37 HEAD is now at 9b27552 Merge pull request #285 from jinlinGuan/released-go-mods [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:54:37 provisioning config files... 22:54:37 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5172665542727611076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:54:37 The recommended git tool is: git 22:54:37 ---> docker-login.sh 22:54:37 nexus3.edgexfoundry.org:10001 22:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:37 Configure a credential helper to remove this warning. See 22:54:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:37 22:54:37 Login Succeeded 22:54:37 nexus3.edgexfoundry.org:10002 22:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:37 Configure a credential helper to remove this warning. See 22:54:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:37 22:54:37 Login Succeeded 22:54:37 nexus3.edgexfoundry.org:10003 22:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:37 Configure a credential helper to remove this warning. See 22:54:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:37 22:54:37 Login Succeeded 22:54:37 nexus3.edgexfoundry.org:10004 22:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:38 Configure a credential helper to remove this warning. See 22:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:38 22:54:38 Login Succeeded 22:54:38 docker.io 22:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:38 Configure a credential helper to remove this warning. See 22:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:38 22:54:38 Login Succeeded 22:54:38 ---> docker-login.sh ends [Pipeline] } 22:54:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:54:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:54:38 ========================================================= 22:54:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:54:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:54:39 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 22:54:39 Sending build context to Docker daemon 22.94MB 22:54:39 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 22:54:39 Step 2/12 : FROM ${BASE} AS builder 22:54:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:54:39 59bf1c3509f3: Pulling fs layer 22:54:39 666ba61612fd: Pulling fs layer 22:54:39 8ed8ca486205: Pulling fs layer 22:54:39 4fe6c5a15a65: Pulling fs layer 22:54:39 22a0e8bec74d: Pulling fs layer 22:54:39 ca2b28591e48: Pulling fs layer 22:54:39 a51346096db8: Pulling fs layer 22:54:39 daebc70d1ce1: Pulling fs layer 22:54:39 0e18a0eac166: Pulling fs layer 22:54:39 daebc70d1ce1: Waiting 22:54:39 4fe6c5a15a65: Waiting 22:54:39 a51346096db8: Waiting 22:54:39 0e18a0eac166: Waiting 22:54:39 22a0e8bec74d: Waiting 22:54:39 8ed8ca486205: Download complete 22:54:39 666ba61612fd: Download complete 22:54:39 22a0e8bec74d: Verifying Checksum 22:54:39 22a0e8bec74d: Download complete 22:54:39 ca2b28591e48: Verifying Checksum 22:54:39 ca2b28591e48: Download complete 22:54:39 a51346096db8: Verifying Checksum 22:54:39 a51346096db8: Download complete 22:54:39 59bf1c3509f3: Download complete 22:54:39 daebc70d1ce1: Verifying Checksum 22:54:39 daebc70d1ce1: Download complete 22:54:39 59bf1c3509f3: Pull complete 22:54:39 666ba61612fd: Pull complete 22:54:39 8ed8ca486205: Pull complete 22:54:39 0e18a0eac166: Download complete 22:54:40 4fe6c5a15a65: Verifying Checksum 22:54:40 4fe6c5a15a65: Download complete 22:54:43 using credential edgex-jenkins-ssh 22:54:43 Cloning the remote Git repository 22:54:44 4fe6c5a15a65: Pull complete 22:54:44 22a0e8bec74d: Pull complete 22:54:44 ca2b28591e48: Pull complete 22:54:44 a51346096db8: Pull complete 22:54:44 daebc70d1ce1: Pull complete 22:54:43 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 22:54:43 > git init /w/workspace/device-virtual-go/36 # timeout=10 22:54:44 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:54:44 > git --version # timeout=10 22:54:44 > git --version # 'git version 2.25.1' 22:54:44 using GIT_SSH to set credentials SSH Credentials for GitHub 22:54:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:54:46 Avoid second fetch 22:54:46 Checking out Revision 9b27552b3734ae7c2a4c3808c2aff026acc83385 (main) 22:54:46 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:54:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:54:46 0e18a0eac166: Pull complete 22:54:46 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 22:54:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:54:46 ---> f018257e8ee9 22:54:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:54:46 > git config core.sparsecheckout # timeout=10 22:54:46 > git checkout -f 9b27552b3734ae7c2a4c3808c2aff026acc83385 # timeout=10 22:54:48 ---> Running in d3d48065e947 22:54:48 Removing intermediate container d3d48065e947 22:54:48 ---> 8fc1fe883160 22:54:48 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:54:48 ---> Running in 4b657c91feb4 22:54:48 Removing intermediate container 4b657c91feb4 22:54:48 ---> ece2de45aeec 22:54:48 Step 5/12 : WORKDIR /device-virtual-go 22:54:48 ---> Running in a931f79f93fd 22:54:48 Removing intermediate container a931f79f93fd 22:54:48 ---> e6b416d1d2cb 22:54:48 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:54:48 ---> Running in 79531fdf9fb5 22:54:49 Removing intermediate container 79531fdf9fb5 22:54:49 ---> 65137e133185 22:54:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:54:49 ---> Running in 5ebf055d8e16 22:54:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:54:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:54:50 (1/4) Installing openssh-keygen (8.8_p1-r1) 22:54:50 (2/4) Installing libedit (20210910.3.1-r0) 22:54:50 (3/4) Installing openssh-client-common (8.8_p1-r1) 22:54:50 (4/4) Installing openssh-client-default (8.8_p1-r1) 22:54:50 Executing busybox-1.34.1-r3.trigger 22:54:50 OK: 224 MiB in 56 packages 22:54:51 Commit message: "Merge pull request #285 from jinlinGuan/released-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:54:51 Removing intermediate container 5ebf055d8e16 22:54:51 ---> 2a7e241f4422 22:54:51 Step 8/12 : COPY go.mod vendor* ./ 22:54:51 ---> 6130f4875634 22:54:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:54:51 ---> Running in 42494ad7710c 22:54:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:54:51 % Total % Received % Xferd Average Speed Time Time Time Current 22:54:51 Dload Upload Total Spent Left Speed 22:54:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 199k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh 22:54:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:54:52 + sudo tee /etc/docker/daemon.new 22:54:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:54:52 { 22:54:52 "registry-mirrors": [ 22:54:52 "https://nexus3.edgexfoundry.org:10001" 22:54:52 ], 22:54:52 "bip": "10.250.0.254/24", 22:54:52 "hosts": [ 22:54:52 "tcp://0.0.0.0:5555", 22:54:52 "unix:///var/run/docker.sock" 22:54:52 ], 22:54:52 "mtu": 1458, 22:54:52 "selinux-enabled": true, 22:54:52 "seccomp-profile": "/etc/docker/seccomp.json" 22:54:52 } [Pipeline] sh 22:54:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:54:53 + sudo service docker restart 22:55:06 Removing intermediate container 42494ad7710c 22:55:06 ---> b1ea0765c485 22:55:06 Step 10/12 : COPY . . 22:55:06 ---> 1e3155f6249e 22:55:06 Step 11/12 : ARG MAKE='make build' 22:55:06 ---> Running in 968aef433993 22:55:06 Removing intermediate container 968aef433993 22:55:06 ---> 883fea1deff0 22:55:06 Step 12/12 : RUN $MAKE 22:55:06 ---> Running in bcbb69334ffd 22:55:06 noop 22:55:06 Removing intermediate container bcbb69334ffd 22:55:06 ---> ab2c294b01ab 22:55:06 Successfully built ab2c294b01ab 22:55:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:55:06 + docker inspect -f . ci-base-image-x86_64 22:55:06 . [Pipeline] withDockerContainer 22:55:06 prd-ubuntu20.04-docker-8c-8g-63290 does not seem to be running inside a container 22:55:07 $ 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 22:55:07 $ docker top eb3961477c556cc6efa3e93a4bedd0a5a17aaa82cb0a2f032b730733acc4299e -eo pid,comm [Pipeline] { [Pipeline] sh 22:55:07 + go version 22:55:07 go version go1.17.6 linux/amd64 [Pipeline] } 22:55:07 $ docker stop --time=1 eb3961477c556cc6efa3e93a4bedd0a5a17aaa82cb0a2f032b730733acc4299e 22:55:09 $ docker rm -f eb3961477c556cc6efa3e93a4bedd0a5a17aaa82cb0a2f032b730733acc4299e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:55:09 + docker inspect -f . ci-base-image-x86_64 22:55:09 . [Pipeline] withDockerContainer 22:55:09 prd-ubuntu20.04-docker-8c-8g-63290 does not seem to be running inside a container 22:55:09 $ 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 22:55:10 $ docker top 4d5143adc72d656ccbb65c5dbe5af24f220a33a2e8f62814bd6025e4e73a0e87 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:55:10 + make test 22:55:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:55:10 ? github.com/edgexfoundry/device-virtual-go [no test files] [Pipeline] sh 22:55:12 + git checkout 9b27552b3734ae7c2a4c3808c2aff026acc83385 22:55:12 HEAD is now at 9b27552 Merge pull request #285 from jinlinGuan/released-go-mods [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:55:12 provisioning config files... 22:55:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/36@tmp/config2491745889081581888tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:55:12 ---> docker-login.sh 22:55:12 nexus3.edgexfoundry.org:10001 22:55:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:13 Configure a credential helper to remove this warning. See 22:55:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:13 22:55:13 Login Succeeded 22:55:13 nexus3.edgexfoundry.org:10002 22:55:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:14 Configure a credential helper to remove this warning. See 22:55:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:14 22:55:14 Login Succeeded 22:55:14 nexus3.edgexfoundry.org:10003 22:55:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:14 Configure a credential helper to remove this warning. See 22:55:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:14 22:55:14 Login Succeeded 22:55:14 nexus3.edgexfoundry.org:10004 22:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:15 Configure a credential helper to remove this warning. See 22:55:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:15 22:55:15 Login Succeeded 22:55:15 docker.io 22:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:16 Configure a credential helper to remove this warning. See 22:55:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:16 22:55:16 Login Succeeded 22:55:16 ---> docker-login.sh ends [Pipeline] } 22:55:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:55:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:55:16 ========================================================= 22:55:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:55:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:55:17 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 22:55:17 Sending build context to Docker daemon 11.6MB 22:55:17 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 22:55:17 Step 2/12 : FROM ${BASE} AS builder 22:55:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:55:17 9b3977197b4f: Pulling fs layer 22:55:17 1a89e8eeedd5: Pulling fs layer 22:55:17 94645a83ff95: Pulling fs layer 22:55:17 3f3a8bcf1eab: Pulling fs layer 22:55:17 0c92f367c5e7: Pulling fs layer 22:55:17 3096ccb668a1: Pulling fs layer 22:55:17 e8cf19c19ddd: Pulling fs layer 22:55:17 a4caa8a26152: Pulling fs layer 22:55:17 3f3a8bcf1eab: Waiting 22:55:17 0c92f367c5e7: Waiting 22:55:17 3096ccb668a1: Waiting 22:55:17 e8cf19c19ddd: Waiting 22:55:17 a4caa8a26152: Waiting 22:55:17 94645a83ff95: Verifying Checksum 22:55:17 94645a83ff95: Download complete 22:55:17 1a89e8eeedd5: Verifying Checksum 22:55:17 1a89e8eeedd5: Download complete 22:55:18 0c92f367c5e7: Verifying Checksum 22:55:18 0c92f367c5e7: Download complete 22:55:18 3096ccb668a1: Verifying Checksum 22:55:18 3096ccb668a1: Download complete 22:55:18 9b3977197b4f: Verifying Checksum 22:55:18 9b3977197b4f: Download complete 22:55:18 e8cf19c19ddd: Download complete 22:55:18 9b3977197b4f: Pull complete 22:55:19 1a89e8eeedd5: Pull complete 22:55:19 94645a83ff95: Pull complete 22:55:20 a4caa8a26152: Verifying Checksum 22:55:20 a4caa8a26152: Download complete 22:55:20 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:55:20 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.044s coverage: 65.7% of statements 22:55:20 3f3a8bcf1eab: Verifying Checksum 22:55:20 3f3a8bcf1eab: Download complete 22:55:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:55:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:55:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:55:33 ./bin/test-attribution-txt.sh [Pipeline] echo 22:55:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:55:33 $ docker stop --time=1 4d5143adc72d656ccbb65c5dbe5af24f220a33a2e8f62814bd6025e4e73a0e87 22:55:33 3f3a8bcf1eab: Pull complete 22:55:33 0c92f367c5e7: Pull complete 22:55:33 3096ccb668a1: Pull complete 22:55:33 e8cf19c19ddd: Pull complete 22:55:34 $ docker rm -f 4d5143adc72d656ccbb65c5dbe5af24f220a33a2e8f62814bd6025e4e73a0e87 [Pipeline] // withDockerContainer [Pipeline] sh 22:55:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:55:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:55:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:55:36 + ls -al . 22:55:36 total 188 22:55:36 drwxrwxr-x 8 jenkins jenkins 4096 May 11 22:55 . 22:55:36 drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:54 .. 22:55:36 drwxrwxr-x 8 jenkins jenkins 4096 May 11 22:54 .git 22:55:36 drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:54 .github 22:55:36 -rw-rw-r-- 1 jenkins jenkins 270 May 11 22:54 .gitignore 22:55:36 -rw-rw-r-- 1 jenkins jenkins 41 May 11 22:54 .golangci.yml 22:55:36 drwxr-xr-x 3 jenkins jenkins 4096 May 11 22:54 .semver 22:55:36 -rw-rw-r-- 1 jenkins jenkins 7893 May 11 22:54 Attribution.txt 22:55:36 -rw-rw-r-- 1 jenkins jenkins 9649 May 11 22:54 CHANGELOG.md 22:55:36 -rw-rw-r-- 1 jenkins jenkins 1974 May 11 22:54 Dockerfile 22:55:36 -rw-rw-r-- 1 jenkins jenkins 677 May 11 22:54 GOVERNANCE.md 22:55:36 -rw-rw-r-- 1 jenkins jenkins 660 May 11 22:54 Jenkinsfile 22:55:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 22:54 LICENSE 22:55:36 -rw-rw-r-- 1 jenkins jenkins 2248 May 11 22:54 Makefile 22:55:36 -rw-rw-r-- 1 jenkins jenkins 623 May 11 22:54 OWNERS.md 22:55:36 -rw-rw-r-- 1 jenkins jenkins 2914 May 11 22:54 README.md 22:55:36 -rw-rw-r-- 1 jenkins jenkins 5 May 11 22:54 VERSION 22:55:36 drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:54 bin 22:55:36 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:54 cmd 22:55:36 -rw-r--r-- 1 jenkins jenkins 44128 May 11 22:55 coverage.out 22:55:36 -rw-rw-r-- 1 jenkins jenkins 3139 May 11 22:54 go.mod 22:55:36 -rw-rw-r-- 1 jenkins jenkins 35006 May 11 22:54 go.sum 22:55:36 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:54 internal 22:55:36 -rw-rw-r-- 1 jenkins jenkins 235 May 11 22:54 version.go [Pipeline] isUnix [Pipeline] sh 22:55:36 + 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=9b27552b3734ae7c2a4c3808c2aff026acc83385 --label arch=amd64 --label version=2.2.0 . 22:55:36 Sending build context to Docker daemon 22.98MB 22:55:36 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 22:55:36 Step 2/26 : FROM ${BASE} AS builder 22:55:36 ---> ab2c294b01ab 22:55:36 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:55:36 ---> Running in f47804bbddb1 22:55:36 Removing intermediate container f47804bbddb1 22:55:36 ---> 46eb0ff41a50 22:55:36 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:55:36 ---> Running in 11747b449826 22:55:36 Removing intermediate container 11747b449826 22:55:36 ---> e095d52fb07c 22:55:36 Step 5/26 : WORKDIR /device-virtual-go 22:55:36 ---> Running in 0406e1268dec 22:55:37 Removing intermediate container 0406e1268dec 22:55:37 ---> c4564367003d 22:55:37 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:55:37 ---> Running in db7acfd9b299 22:55:38 Removing intermediate container db7acfd9b299 22:55:38 ---> 79a33717078c 22:55:38 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:55:38 ---> Running in 8db9d7e05393 22:55:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:55:38 a4caa8a26152: Pull complete 22:55:38 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 22:55:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:55:38 ---> 725f1c02e7f9 22:55:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:55:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:55:39 OK: 224 MiB in 56 packages 22:55:40 Removing intermediate container 8db9d7e05393 22:55:40 ---> ab6b99e72b36 22:55:40 Step 8/26 : COPY go.mod vendor* ./ 22:55:40 ---> ef640f22208b 22:55:40 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:55:40 ---> Running in f27ba3d05375 22:55:40 ---> Running in d043c356b05c 22:55:40 Removing intermediate container d043c356b05c 22:55:40 ---> 01bf5c2f3355 22:55:40 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:55:40 ---> Running in c9eacb018851 22:55:40 Removing intermediate container f27ba3d05375 22:55:40 ---> e1c38dd91a8d 22:55:40 Step 10/26 : COPY . . 22:55:41 Removing intermediate container c9eacb018851 22:55:41 ---> dc97161b083e 22:55:41 Step 5/12 : WORKDIR /device-virtual-go 22:55:41 ---> Running in fb98eebc524a 22:55:41 ---> b6caaf1615bc 22:55:41 Step 11/26 : ARG MAKE='make build' 22:55:41 ---> Running in 62940e82ced4 22:55:41 Removing intermediate container fb98eebc524a 22:55:41 ---> 460457489212 22:55:41 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:55:41 ---> Running in 0d071e444c1f 22:55:41 Removing intermediate container 62940e82ced4 22:55:41 ---> e43a07b76712 22:55:41 Step 12/26 : RUN $MAKE 22:55:41 ---> Running in 81e88f482aff 22:55:42 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 22:55:43 Removing intermediate container 0d071e444c1f 22:55:43 ---> a0b6a21fe129 22:55:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:55:43 ---> Running in 721cfdbbb9e7 22:55:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:55:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:55:46 (1/4) Installing openssh-keygen (8.8_p1-r1) 22:55:46 (2/4) Installing libedit (20210910.3.1-r0) 22:55:46 (3/4) Installing openssh-client-common (8.8_p1-r1) 22:55:47 (4/4) Installing openssh-client-default (8.8_p1-r1) 22:55:47 Executing busybox-1.34.1-r3.trigger 22:55:47 OK: 224 MiB in 56 packages 22:55:48 Removing intermediate container 721cfdbbb9e7 22:55:48 ---> 1f136471d37c 22:55:48 Step 8/12 : COPY go.mod vendor* ./ 22:55:49 ---> 9894eb6d2513 22:55:49 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:55:49 ---> Running in 9f627c95c1d2 22:56:03 Removing intermediate container 81e88f482aff 22:56:03 ---> 17b82279e8ee 22:56:03 Step 13/26 : FROM alpine:3.14 22:56:03 3.14: Pulling from library/alpine 22:56:03 8663204ce13b: Pulling fs layer 22:56:03 8663204ce13b: Verifying Checksum 22:56:03 8663204ce13b: Download complete 22:56:03 8663204ce13b: Pull complete 22:56:03 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:56:03 Status: Downloaded newer image for alpine:3.14 22:56:03 ---> e04c818066af 22:56:03 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:56:03 ---> Running in e13488e4b8cf 22:56:03 Removing intermediate container e13488e4b8cf 22:56:03 ---> c61a50a31a92 22:56:03 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:56:03 ---> Running in 7b44b831d81a 22:56:03 Removing intermediate container 7b44b831d81a 22:56:03 ---> 79aaca0659be 22:56:03 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 22:56:03 ---> Running in 2dab7c5da227 22:56:03 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:56:04 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:56:04 (1/6) Installing dumb-init (1.2.5-r1) 22:56:04 (2/6) Installing libgcc (10.3.1_git20210424-r2) 22:56:04 (3/6) Installing libsodium (1.0.18-r0) 22:56:05 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 22:56:05 (5/6) Installing libzmq (4.3.4-r0) 22:56:05 (6/6) Installing zeromq (4.3.4-r0) 22:56:05 Executing busybox-1.33.1-r7.trigger 22:56:05 OK: 8 MiB in 20 packages 22:56:05 Removing intermediate container 2dab7c5da227 22:56:05 ---> 7b847e1df621 22:56:05 Step 17/26 : WORKDIR / 22:56:05 ---> Running in a2ac216c6497 22:56:05 Removing intermediate container a2ac216c6497 22:56:05 ---> 6b4b01915e91 22:56:05 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:56:05 ---> 495493b40147 22:56:05 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 22:56:06 ---> 5408511b14e4 22:56:06 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 22:56:06 ---> 4a663c4cd926 22:56:06 Step 21/26 : EXPOSE 59900 22:56:06 ---> Running in d200fd64c2ea 22:56:06 Removing intermediate container d200fd64c2ea 22:56:06 ---> bc10d2c7c350 22:56:06 Step 22/26 : ENTRYPOINT ["/device-virtual"] 22:56:06 ---> Running in b93a9c38e20d 22:56:06 Removing intermediate container b93a9c38e20d 22:56:06 ---> c824def3fdb8 22:56:06 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:56:06 ---> Running in 330defbbe78f 22:56:06 Removing intermediate container 330defbbe78f 22:56:06 ---> 42ea7e408b8a 22:56:06 Step 24/26 : LABEL arch=amd64 22:56:07 ---> Running in 30c21d5d8bf3 22:56:07 Removing intermediate container 30c21d5d8bf3 22:56:07 ---> e3b496fd061d 22:56:07 Step 25/26 : LABEL git_sha=9b27552b3734ae7c2a4c3808c2aff026acc83385 22:56:07 ---> Running in 2d900e935418 22:56:07 Removing intermediate container 2d900e935418 22:56:07 ---> 709a628c4145 22:56:07 Step 26/26 : LABEL version=2.2.0 22:56:07 ---> Running in 4ea99c0cd647 22:56:07 Removing intermediate container 4ea99c0cd647 22:56:07 ---> aec47eb23f75 22:56:07 [Warning] One or more build-args [ARCH] were not consumed 22:56:07 Successfully built aec47eb23f75 22:56:07 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:56:07 provisioning config files... 22:56:07 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3633920744084836704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:56:07 ---> docker-login.sh 22:56:07 nexus3.edgexfoundry.org:10001 22:56:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:07 Configure a credential helper to remove this warning. See 22:56:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:07 22:56:07 Login Succeeded 22:56:07 nexus3.edgexfoundry.org:10002 22:56:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:08 Configure a credential helper to remove this warning. See 22:56:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:08 22:56:08 Login Succeeded 22:56:08 nexus3.edgexfoundry.org:10003 22:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:08 Configure a credential helper to remove this warning. See 22:56:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:08 22:56:08 Login Succeeded 22:56:08 nexus3.edgexfoundry.org:10004 22:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:08 Configure a credential helper to remove this warning. See 22:56:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:08 22:56:08 Login Succeeded 22:56:08 docker.io 22:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:08 Configure a credential helper to remove this warning. See 22:56:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:08 22:56:08 Login Succeeded 22:56:08 ---> docker-login.sh ends [Pipeline] } 22:56:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:56:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:56:08 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 22:56:08 9b27552b3734ae7c2a4c3808c2aff026acc83385 22:56:08 latest 22:56:08 2.2.0 22:56:08 9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0 22:56:08 main 22:56:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:56:09 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] isUnix [Pipeline] sh 22:56:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual:9b27552b3734ae7c2a4c3808c2aff026acc83385 22:56:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:56:09 bbe664a247df: Preparing 22:56:09 fb0dcd6c6afb: Preparing 22:56:09 e9a2392fe771: Preparing 22:56:09 4b0ab354383c: Preparing 22:56:09 7427ac0ce872: Preparing 22:56:09 b541d28bf3b4: Preparing 22:56:09 b541d28bf3b4: Waiting 22:56:09 fb0dcd6c6afb: Pushed 22:56:09 e9a2392fe771: Pushed 22:56:09 7427ac0ce872: Pushed 22:56:09 b541d28bf3b4: Layer already exists 22:56:09 4b0ab354383c: Pushed 22:56:12 bbe664a247df: Pushed 22:56:12 9b27552b3734ae7c2a4c3808c2aff026acc83385: digest: sha256:9fe87628f5868817078bd45f589b156e10812a3593e922773bc981be4143b66b size: 1574 [Pipeline] isUnix [Pipeline] sh 22:56:12 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 22:56:12 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 22:56:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:56:12 bbe664a247df: Preparing 22:56:12 fb0dcd6c6afb: Preparing 22:56:12 e9a2392fe771: Preparing 22:56:12 4b0ab354383c: Preparing 22:56:12 7427ac0ce872: Preparing 22:56:12 b541d28bf3b4: Preparing 22:56:12 b541d28bf3b4: Waiting 22:56:12 bbe664a247df: Layer already exists 22:56:12 fb0dcd6c6afb: Layer already exists 22:56:12 e9a2392fe771: Layer already exists 22:56:12 7427ac0ce872: Layer already exists 22:56:12 4b0ab354383c: Layer already exists 22:56:12 b541d28bf3b4: Layer already exists 22:56:12 latest: digest: sha256:9fe87628f5868817078bd45f589b156e10812a3593e922773bc981be4143b66b size: 1574 [Pipeline] isUnix [Pipeline] sh 22:56:13 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0 [Pipeline] isUnix [Pipeline] sh 22:56:13 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0 22:56:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:56:13 bbe664a247df: Preparing 22:56:13 fb0dcd6c6afb: Preparing 22:56:13 e9a2392fe771: Preparing 22:56:13 4b0ab354383c: Preparing 22:56:13 7427ac0ce872: Preparing 22:56:13 b541d28bf3b4: Preparing 22:56:13 b541d28bf3b4: Waiting 22:56:13 4b0ab354383c: Layer already exists 22:56:13 fb0dcd6c6afb: Layer already exists 22:56:13 bbe664a247df: Layer already exists 22:56:13 e9a2392fe771: Layer already exists 22:56:13 7427ac0ce872: Layer already exists 22:56:13 b541d28bf3b4: Layer already exists 22:56:13 2.2.0: digest: sha256:9fe87628f5868817078bd45f589b156e10812a3593e922773bc981be4143b66b size: 1574 [Pipeline] isUnix [Pipeline] sh 22:56:13 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0 [Pipeline] isUnix [Pipeline] sh 22:56:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual:9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0 22:56:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:56:14 bbe664a247df: Preparing 22:56:14 fb0dcd6c6afb: Preparing 22:56:14 e9a2392fe771: Preparing 22:56:14 4b0ab354383c: Preparing 22:56:14 7427ac0ce872: Preparing 22:56:14 b541d28bf3b4: Preparing 22:56:14 b541d28bf3b4: Waiting 22:56:14 fb0dcd6c6afb: Layer already exists 22:56:14 e9a2392fe771: Layer already exists 22:56:14 4b0ab354383c: Layer already exists 22:56:14 bbe664a247df: Layer already exists 22:56:14 7427ac0ce872: Layer already exists 22:56:14 b541d28bf3b4: Layer already exists 22:56:14 9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0: digest: sha256:9fe87628f5868817078bd45f589b156e10812a3593e922773bc981be4143b66b size: 1574 [Pipeline] isUnix [Pipeline] sh 22:56:14 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh 22:56:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 22:56:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:56:14 bbe664a247df: Preparing 22:56:14 fb0dcd6c6afb: Preparing 22:56:14 e9a2392fe771: Preparing 22:56:14 4b0ab354383c: Preparing 22:56:14 7427ac0ce872: Preparing 22:56:14 b541d28bf3b4: Preparing 22:56:14 b541d28bf3b4: Waiting 22:56:14 e9a2392fe771: Layer already exists 22:56:14 fb0dcd6c6afb: Layer already exists 22:56:14 bbe664a247df: Layer already exists 22:56:14 4b0ab354383c: Layer already exists 22:56:14 7427ac0ce872: Layer already exists 22:56:14 b541d28bf3b4: Layer already exists 22:56:14 main: digest: sha256:9fe87628f5868817078bd45f589b156e10812a3593e922773bc981be4143b66b size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:56:14 ===================================================== [Pipeline] echo 22:56:14 taggedImages: 22:56:14 - nexus3.edgexfoundry.org:10004/device-virtual:9b27552b3734ae7c2a4c3808c2aff026acc83385 22:56:14 - nexus3.edgexfoundry.org:10004/device-virtual:latest 22:56:14 - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0 22:56:14 - nexus3.edgexfoundry.org:10004/device-virtual:9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0 22:56:14 - 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] sh 22:56:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:56:15 22:56:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:56:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:56:15 latest: Pulling from edgex-lftools-log-publisher 22:56:15 5eb5b503b376: Pulling fs layer 22:56:15 5c69ac0246d0: Pulling fs layer 22:56:15 ec43610c2a17: Pulling fs layer 22:56:15 3a2ae6a8a46f: Pulling fs layer 22:56:15 33b1e0a273af: Pulling fs layer 22:56:15 5d3b04190fa2: Pulling fs layer 22:56:15 2f39f015ded8: Pulling fs layer 22:56:15 33b1e0a273af: Waiting 22:56:15 5d3b04190fa2: Waiting 22:56:15 2f39f015ded8: Waiting 22:56:15 5c69ac0246d0: Verifying Checksum 22:56:15 5c69ac0246d0: Download complete 22:56:15 3a2ae6a8a46f: Verifying Checksum 22:56:15 3a2ae6a8a46f: Download complete 22:56:15 33b1e0a273af: Verifying Checksum 22:56:15 33b1e0a273af: Download complete 22:56:15 ec43610c2a17: Verifying Checksum 22:56:15 ec43610c2a17: Download complete 22:56:15 5d3b04190fa2: Verifying Checksum 22:56:15 5d3b04190fa2: Download complete 22:56:15 5eb5b503b376: Verifying Checksum 22:56:15 5eb5b503b376: Download complete 22:56:16 2f39f015ded8: Download complete 22:56:17 5eb5b503b376: Pull complete 22:56:17 5c69ac0246d0: Pull complete 22:56:17 ec43610c2a17: Pull complete 22:56:17 3a2ae6a8a46f: Pull complete 22:56:17 33b1e0a273af: Pull complete 22:56:17 5d3b04190fa2: Pull complete 22:56:23 2f39f015ded8: Pull complete 22:56:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:56:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:56:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:56:23 prd-ubuntu20.04-docker-8c-8g-63290 does not seem to be running inside a container 22:56:23 $ 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 22:56:24 $ docker top 80a645985406d47421da66adcb3306c80b40a53e3ebe7c99e441348aab80aea1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:56:25 ---> job-cost.sh 22:56:25 lf-activate-venv: SKIPPING 22:56:25 INFO: No Stack... 22:56:25 INFO: Retrieving Pricing Info for: v3-standard-8 22:56:26 INFO: Archiving Costs [Pipeline] sh 22:56:26 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 22:56:26 + cut -d, -f6 [Pipeline] lock 22:56:26 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-36-stack-cost] 22:56:26 Resource [jenkins-edgexfoundry-device-virtual-go-main-36-stack-cost] did not exist. Created. 22:56:26 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:56:26 + echo total: 0.2199999988079071 [Pipeline] stash 22:56:26 Stashed 1 file(s) [Pipeline] } 22:56:26 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-36-stack-cost] [Pipeline] // lock [Pipeline] } 22:56:26 $ docker stop --time=1 80a645985406d47421da66adcb3306c80b40a53e3ebe7c99e441348aab80aea1 22:56:27 $ docker rm -f 80a645985406d47421da66adcb3306c80b40a53e3ebe7c99e441348aab80aea1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:56:45 Removing intermediate container 9f627c95c1d2 22:56:45 ---> 3e1fe5e2157e 22:56:45 Step 10/12 : COPY . . 22:56:45 ---> 777483449ecd 22:56:45 Step 11/12 : ARG MAKE='make build' 22:56:45 ---> Running in d51f38f02628 22:56:45 Removing intermediate container d51f38f02628 22:56:45 ---> a0a0c5901355 22:56:45 Step 12/12 : RUN $MAKE 22:56:45 ---> Running in 5876998a656b 22:56:45 noop 22:56:45 Removing intermediate container 5876998a656b 22:56:45 ---> 193f259bc3da 22:56:45 Successfully built 193f259bc3da 22:56:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:56:46 + docker inspect -f . ci-base-image-arm64 22:56:46 . [Pipeline] withDockerContainer 22:56:46 prd-ubuntu20.04-docker-arm64-4c-16g-63294 does not seem to be running inside a container 22:56:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/36 -v /w/workspace/device-virtual-go/36:/w/workspace/device-virtual-go/36:rw,z -v /w/workspace/device-virtual-go/36@tmp:/w/workspace/device-virtual-go/36@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 22:56:47 $ docker top 47241c7dd807d9ec79ec350c5aafa9036e966042e18f5c7885f95b6288b69895 -eo pid,comm [Pipeline] { [Pipeline] sh 22:56:48 + go version 22:56:48 go version go1.17.6 linux/arm64 [Pipeline] } 22:56:48 $ docker stop --time=1 47241c7dd807d9ec79ec350c5aafa9036e966042e18f5c7885f95b6288b69895 22:56:50 $ docker rm -f 47241c7dd807d9ec79ec350c5aafa9036e966042e18f5c7885f95b6288b69895 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:56:51 + docker inspect -f . ci-base-image-arm64 22:56:51 . [Pipeline] withDockerContainer 22:56:51 prd-ubuntu20.04-docker-arm64-4c-16g-63294 does not seem to be running inside a container 22:56:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/36 -v /w/workspace/device-virtual-go/36:/w/workspace/device-virtual-go/36:rw,z -v /w/workspace/device-virtual-go/36@tmp:/w/workspace/device-virtual-go/36@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 22:56:52 $ docker top 4559720b4a86f3f13f09636a2014bd10ae826d9395a626c165638c44db95612e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:56:53 + make test 22:56:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:56:55 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:58:32 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:58:32 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.148s coverage: 65.7% of statements 22:58:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:58:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:58:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:58:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:58:51 ./bin/test-attribution-txt.sh [Pipeline] echo 22:58:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:58:53 $ docker stop --time=1 4559720b4a86f3f13f09636a2014bd10ae826d9395a626c165638c44db95612e 22:58:55 $ docker rm -f 4559720b4a86f3f13f09636a2014bd10ae826d9395a626c165638c44db95612e [Pipeline] // withDockerContainer [Pipeline] sh 22:58:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:58:56 Warning: overwriting stash ‘coverage-report’ 22:58:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:58:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:58:58 + ls -al . 22:58:58 total 184 22:58:58 drwxrwxr-x 7 jenkins jenkins 4096 May 11 22:58 . 22:58:58 drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:54 .. 22:58:58 drwxrwxr-x 8 jenkins jenkins 4096 May 11 22:55 .git 22:58:58 drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:54 .github 22:58:58 -rw-rw-r-- 1 jenkins jenkins 270 May 11 22:54 .gitignore 22:58:58 -rw-rw-r-- 1 jenkins jenkins 41 May 11 22:54 .golangci.yml 22:58:58 -rw-rw-r-- 1 jenkins jenkins 7893 May 11 22:54 Attribution.txt 22:58:58 -rw-rw-r-- 1 jenkins jenkins 9649 May 11 22:54 CHANGELOG.md 22:58:58 -rw-rw-r-- 1 jenkins jenkins 1974 May 11 22:54 Dockerfile 22:58:58 -rw-rw-r-- 1 jenkins jenkins 677 May 11 22:54 GOVERNANCE.md 22:58:58 -rw-rw-r-- 1 jenkins jenkins 660 May 11 22:54 Jenkinsfile 22:58:58 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 22:54 LICENSE 22:58:58 -rw-rw-r-- 1 jenkins jenkins 2248 May 11 22:54 Makefile 22:58:58 -rw-rw-r-- 1 jenkins jenkins 623 May 11 22:54 OWNERS.md 22:58:58 -rw-rw-r-- 1 jenkins jenkins 2914 May 11 22:54 README.md 22:58:58 -rw-rw-r-- 1 jenkins jenkins 5 May 11 22:54 VERSION 22:58:58 drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:54 bin 22:58:58 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:54 cmd 22:58:58 -rw-r--r-- 1 jenkins jenkins 44128 May 11 22:58 coverage.out 22:58:58 -rw-rw-r-- 1 jenkins jenkins 3139 May 11 22:54 go.mod 22:58:58 -rw-rw-r-- 1 jenkins jenkins 35006 May 11 22:54 go.sum 22:58:58 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:54 internal 22:58:58 -rw-rw-r-- 1 jenkins jenkins 235 May 11 22:54 version.go [Pipeline] isUnix [Pipeline] sh 22:58:58 + 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=9b27552b3734ae7c2a4c3808c2aff026acc83385 --label arch=arm64 --label version=2.2.0 . 22:58:58 Sending build context to Docker daemon 11.64MB 22:58:58 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 22:58:58 Step 2/26 : FROM ${BASE} AS builder 22:58:58 ---> 193f259bc3da 22:58:58 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:58:58 ---> Running in b5da9b272bc7 22:58:59 Removing intermediate container b5da9b272bc7 22:58:59 ---> e7d438cfd05d 22:58:59 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:58:59 ---> Running in db4d1a278afa 22:58:59 Removing intermediate container db4d1a278afa 22:58:59 ---> fa83004516e3 22:58:59 Step 5/26 : WORKDIR /device-virtual-go 22:58:59 ---> Running in ba6c36769e28 22:59:00 Removing intermediate container ba6c36769e28 22:59:00 ---> 5c7eca74435d 22:59:00 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:59:00 ---> Running in c78a222ff6bd 22:59:02 Removing intermediate container c78a222ff6bd 22:59:02 ---> 6068ca29d1d0 22:59:02 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:59:02 ---> Running in e19f165ea259 22:59:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:59:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:59:04 OK: 224 MiB in 56 packages 22:59:05 Removing intermediate container e19f165ea259 22:59:05 ---> 3b09affb4d0d 22:59:05 Step 8/26 : COPY go.mod vendor* ./ 22:59:05 ---> 20b4e0a50b53 22:59:05 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:59:06 ---> Running in 309c2c73bb8e 22:59:08 Removing intermediate container 309c2c73bb8e 22:59:08 ---> f33f4d76f653 22:59:08 Step 10/26 : COPY . . 22:59:09 ---> 6629280847e7 22:59:09 Step 11/26 : ARG MAKE='make build' 22:59:09 ---> Running in ee344ace5c82 22:59:09 Removing intermediate container ee344ace5c82 22:59:09 ---> fed568a7a31e 22:59:09 Step 12/26 : RUN $MAKE 22:59:09 ---> Running in 101b444ebe23 22:59:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 23:01:17 Removing intermediate container 101b444ebe23 23:01:17 ---> 9423204c6baa 23:01:17 Step 13/26 : FROM alpine:3.14 23:01:17 3.14: Pulling from library/alpine 23:01:17 455c02918c45: Pulling fs layer 23:01:17 455c02918c45: Verifying Checksum 23:01:17 455c02918c45: Download complete 23:01:17 455c02918c45: Pull complete 23:01:17 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:01:17 Status: Downloaded newer image for alpine:3.14 23:01:17 ---> ac73e934f311 23:01:17 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:01:17 ---> Running in 81c10db602c9 23:01:17 Removing intermediate container 81c10db602c9 23:01:17 ---> 7e8d1a6f035c 23:01:17 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:01:17 ---> Running in 0042846d4772 23:01:17 Removing intermediate container 0042846d4772 23:01:17 ---> e8e27a94de43 23:01:17 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:01:18 ---> Running in 11c73030f51d 23:01:19 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:01:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:01:20 (1/6) Installing dumb-init (1.2.5-r1) 23:01:20 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:01:20 (3/6) Installing libsodium (1.0.18-r0) 23:01:20 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:01:20 (5/6) Installing libzmq (4.3.4-r0) 23:01:21 (6/6) Installing zeromq (4.3.4-r0) 23:01:21 Executing busybox-1.33.1-r7.trigger 23:01:21 OK: 8 MiB in 20 packages 23:01:22 Removing intermediate container 11c73030f51d 23:01:22 ---> 8480700a6553 23:01:22 Step 17/26 : WORKDIR / 23:01:22 ---> Running in dd5ad99aeb14 23:01:22 Removing intermediate container dd5ad99aeb14 23:01:22 ---> f00ec02317b3 23:01:22 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:01:22 ---> 4c1bb0abbc02 23:01:22 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 23:01:23 ---> cf9ee72ed86b 23:01:23 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 23:01:25 ---> 8b0592a56794 23:01:25 Step 21/26 : EXPOSE 59900 23:01:25 ---> Running in 7351c7abe7d2 23:01:25 Removing intermediate container 7351c7abe7d2 23:01:25 ---> 25ecbfca0bb4 23:01:25 Step 22/26 : ENTRYPOINT ["/device-virtual"] 23:01:25 ---> Running in db5b8bc87421 23:01:25 Removing intermediate container db5b8bc87421 23:01:25 ---> 32f9dae310bc 23:01:25 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:01:25 ---> Running in 25774b66d622 23:01:26 Removing intermediate container 25774b66d622 23:01:26 ---> e999050ed42b 23:01:26 Step 24/26 : LABEL arch=arm64 23:01:26 ---> Running in b91e2b06cffc 23:01:26 Removing intermediate container b91e2b06cffc 23:01:26 ---> 23be90757dee 23:01:26 Step 25/26 : LABEL git_sha=9b27552b3734ae7c2a4c3808c2aff026acc83385 23:01:26 ---> Running in 796edf65c258 23:01:26 Removing intermediate container 796edf65c258 23:01:26 ---> 1a340af16956 23:01:26 Step 26/26 : LABEL version=2.2.0 23:01:26 ---> Running in 177fa3dfeed3 23:01:27 Removing intermediate container 177fa3dfeed3 23:01:27 ---> 9b3ac8773972 23:01:27 [Warning] One or more build-args [ARCH] were not consumed 23:01:27 Successfully built 9b3ac8773972 23:01:27 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:01:27 provisioning config files... 23:01:27 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/36@tmp/config4731584306752101780tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:01:27 ---> docker-login.sh 23:01:27 nexus3.edgexfoundry.org:10001 23:01:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:27 Configure a credential helper to remove this warning. See 23:01:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:27 23:01:27 Login Succeeded 23:01:27 nexus3.edgexfoundry.org:10002 23:01:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:28 Configure a credential helper to remove this warning. See 23:01:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:28 23:01:28 Login Succeeded 23:01:28 nexus3.edgexfoundry.org:10003 23:01:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:29 Configure a credential helper to remove this warning. See 23:01:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:29 23:01:29 Login Succeeded 23:01:29 nexus3.edgexfoundry.org:10004 23:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:29 Configure a credential helper to remove this warning. See 23:01:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:29 23:01:29 Login Succeeded 23:01:29 docker.io 23:01:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:30 Configure a credential helper to remove this warning. See 23:01:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:30 23:01:30 Login Succeeded 23:01:30 ---> docker-login.sh ends [Pipeline] } 23:01:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:01:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:01:30 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 23:01:30 9b27552b3734ae7c2a4c3808c2aff026acc83385 23:01:30 latest 23:01:30 2.2.0 23:01:30 9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0 23:01:30 main 23:01:30 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:01:30 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] isUnix [Pipeline] sh 23:01:31 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:9b27552b3734ae7c2a4c3808c2aff026acc83385 23:01:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 23:01:31 3f88eac3f493: Preparing 23:01:31 8eceefd7cd93: Preparing 23:01:31 c70927a92f3b: Preparing 23:01:31 a75b2f76e49e: Preparing 23:01:31 f78e92257b68: Preparing 23:01:31 f73e7dbfee58: Preparing 23:01:31 f73e7dbfee58: Waiting 23:01:31 c70927a92f3b: Pushed 23:01:31 8eceefd7cd93: Pushed 23:01:31 f78e92257b68: Pushed 23:01:31 f73e7dbfee58: Layer already exists 23:01:31 a75b2f76e49e: Pushed 23:01:37 3f88eac3f493: Pushed 23:01:37 9b27552b3734ae7c2a4c3808c2aff026acc83385: digest: sha256:963ba6ca3447d1006dfac084011cb57d4dfac78dbde83fd6ae30ce9f104e6482 size: 1573 [Pipeline] isUnix [Pipeline] sh 23:01:37 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:01:38 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 23:01:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 23:01:38 3f88eac3f493: Preparing 23:01:38 8eceefd7cd93: Preparing 23:01:38 c70927a92f3b: Preparing 23:01:38 a75b2f76e49e: Preparing 23:01:38 f78e92257b68: Preparing 23:01:38 f73e7dbfee58: Preparing 23:01:38 f73e7dbfee58: Waiting 23:01:38 3f88eac3f493: Layer already exists 23:01:38 c70927a92f3b: Layer already exists 23:01:38 8eceefd7cd93: Layer already exists 23:01:38 a75b2f76e49e: Layer already exists 23:01:38 f78e92257b68: Layer already exists 23:01:38 f73e7dbfee58: Layer already exists 23:01:38 latest: digest: sha256:963ba6ca3447d1006dfac084011cb57d4dfac78dbde83fd6ae30ce9f104e6482 size: 1573 [Pipeline] isUnix [Pipeline] sh 23:01:39 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0 [Pipeline] isUnix [Pipeline] sh 23:01:39 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0 23:01:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 23:01:39 3f88eac3f493: Preparing 23:01:39 8eceefd7cd93: Preparing 23:01:39 c70927a92f3b: Preparing 23:01:39 a75b2f76e49e: Preparing 23:01:39 f78e92257b68: Preparing 23:01:39 f73e7dbfee58: Preparing 23:01:39 f73e7dbfee58: Waiting 23:01:39 a75b2f76e49e: Layer already exists 23:01:39 8eceefd7cd93: Layer already exists 23:01:39 c70927a92f3b: Layer already exists 23:01:39 f78e92257b68: Layer already exists 23:01:39 3f88eac3f493: Layer already exists 23:01:39 f73e7dbfee58: Layer already exists 23:01:39 2.2.0: digest: sha256:963ba6ca3447d1006dfac084011cb57d4dfac78dbde83fd6ae30ce9f104e6482 size: 1573 [Pipeline] isUnix [Pipeline] sh 23:01:40 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0 [Pipeline] isUnix [Pipeline] sh 23:01:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0 23:01:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 23:01:40 3f88eac3f493: Preparing 23:01:40 8eceefd7cd93: Preparing 23:01:40 c70927a92f3b: Preparing 23:01:40 a75b2f76e49e: Preparing 23:01:40 f78e92257b68: Preparing 23:01:40 f73e7dbfee58: Preparing 23:01:40 f73e7dbfee58: Waiting 23:01:40 a75b2f76e49e: Layer already exists 23:01:40 8eceefd7cd93: Layer already exists 23:01:40 c70927a92f3b: Layer already exists 23:01:40 f78e92257b68: Layer already exists 23:01:40 3f88eac3f493: Layer already exists 23:01:40 f73e7dbfee58: Layer already exists 23:01:40 9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0: digest: sha256:963ba6ca3447d1006dfac084011cb57d4dfac78dbde83fd6ae30ce9f104e6482 size: 1573 [Pipeline] isUnix [Pipeline] sh 23:01:40 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh 23:01:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 23:01:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 23:01:41 3f88eac3f493: Preparing 23:01:41 8eceefd7cd93: Preparing 23:01:41 c70927a92f3b: Preparing 23:01:41 a75b2f76e49e: Preparing 23:01:41 f78e92257b68: Preparing 23:01:41 f73e7dbfee58: Preparing 23:01:41 f73e7dbfee58: Waiting 23:01:41 8eceefd7cd93: Layer already exists 23:01:41 f78e92257b68: Layer already exists 23:01:41 3f88eac3f493: Layer already exists 23:01:41 a75b2f76e49e: Layer already exists 23:01:41 c70927a92f3b: Layer already exists 23:01:41 f73e7dbfee58: Layer already exists 23:01:41 main: digest: sha256:963ba6ca3447d1006dfac084011cb57d4dfac78dbde83fd6ae30ce9f104e6482 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:01:41 ===================================================== [Pipeline] echo 23:01:41 taggedImages: 23:01:41 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:9b27552b3734ae7c2a4c3808c2aff026acc83385 23:01:41 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 23:01:41 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0 23:01:41 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0 23:01:41 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:01:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:01:42 23:01:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:01:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:01:42 arm64: Pulling from edgex-lftools-log-publisher 23:01:42 8998bd30e6a1: Pulling fs layer 23:01:42 04944245beec: Pulling fs layer 23:01:42 699f458cf7ca: Pulling fs layer 23:01:42 765212b225bb: Pulling fs layer 23:01:42 f23df028b6ca: Pulling fs layer 23:01:42 d65c8cfc05b1: Pulling fs layer 23:01:42 2437ff75d9bd: Pulling fs layer 23:01:42 f23df028b6ca: Waiting 23:01:42 d65c8cfc05b1: Waiting 23:01:42 2437ff75d9bd: Waiting 23:01:42 765212b225bb: Waiting 23:01:42 04944245beec: Verifying Checksum 23:01:42 04944245beec: Download complete 23:01:42 765212b225bb: Verifying Checksum 23:01:42 765212b225bb: Download complete 23:01:42 f23df028b6ca: Verifying Checksum 23:01:42 f23df028b6ca: Download complete 23:01:42 d65c8cfc05b1: Verifying Checksum 23:01:42 d65c8cfc05b1: Download complete 23:01:42 699f458cf7ca: Verifying Checksum 23:01:42 699f458cf7ca: Download complete 23:01:43 8998bd30e6a1: Verifying Checksum 23:01:43 8998bd30e6a1: Download complete 23:01:45 2437ff75d9bd: Verifying Checksum 23:01:45 2437ff75d9bd: Download complete 23:01:47 8998bd30e6a1: Pull complete 23:01:48 04944245beec: Pull complete 23:01:49 699f458cf7ca: Pull complete 23:01:49 765212b225bb: Pull complete 23:01:50 f23df028b6ca: Pull complete 23:01:50 d65c8cfc05b1: Pull complete 23:02:05 2437ff75d9bd: Pull complete 23:02:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:02:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:02:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:02:06 prd-ubuntu20.04-docker-arm64-4c-16g-63294 does not seem to be running inside a container 23:02:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/36 -v /w/workspace/device-virtual-go/36:/w/workspace/device-virtual-go/36:rw,z -v /w/workspace/device-virtual-go/36@tmp:/w/workspace/device-virtual-go/36@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 23:02:08 $ docker top 7a95495967315cbd8ed492d820ffc2630bd42dd2283a2f7a15170541d4ae5e92 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:02:09 ---> job-cost.sh 23:02:09 lf-activate-venv: SKIPPING 23:02:09 INFO: No Stack... 23:02:09 INFO: Retrieving Pricing Info for: v3-standard-4 23:02:10 INFO: Archiving Costs [Pipeline] sh 23:02:11 + cut -d, -f6 23:02:11 + cat /w/workspace/device-virtual-go/36/archives/cost.csv [Pipeline] lock 23:02:11 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-36-stack-cost] 23:02:11 Resource [jenkins-edgexfoundry-device-virtual-go-main-36-stack-cost] did not exist. Created. 23:02:11 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:02:12 /w/workspace/device-virtual-go/36@tmp/durable-37781e71/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:02:12 + echo total: 0.10999999940395355 [Pipeline] stash 23:02:12 Warning: overwriting stash ‘stack-cost’ 23:02:12 Stashed 1 file(s) [Pipeline] } 23:02:12 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-36-stack-cost] [Pipeline] // lock [Pipeline] } 23:02:12 $ docker stop --time=1 7a95495967315cbd8ed492d820ffc2630bd42dd2283a2f7a15170541d4ae5e92 23:02:14 $ docker rm -f 7a95495967315cbd8ed492d820ffc2630bd42dd2283a2f7a15170541d4ae5e92 [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 23:02:14 provisioning config files... 23:02:14 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3793756700202966752tmp [Pipeline] { [Pipeline] sh 23:02:15 + set +x 23:02:15 + + curl -s https://codecov.io/bash 23:02:15 bash -s -- 23:02:15 23:02:15 _____ _ 23:02:15 / ____| | | 23:02:15 | | ___ __| | ___ ___ _____ __ 23:02:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:02:15 | |___| (_) | (_| | __/ (_| (_) \ V / 23:02:15 \_____\___/ \__,_|\___|\___\___/ \_/ 23:02:15 Bash-1.0.6 23:02:15 23:02:15 23:02:15 ==> git version 2.25.1 found 23:02:15 ==> 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 23:02:15 Release-Date: 2020-01-08 23:02:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:02:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:02:15 ==> Jenkins CI detected. 23:02:15 current dir:  /w/workspace/exfoundry_device-virtual-go_main 23:02:15 project root: . 23:02:15 --> token set from env 23:02:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:02:15 ==> Running gcov in . (disable via -X gcov) 23:02:15 ==> Python coveragepy not found 23:02:15 ==> Searching for coverage reports in: 23:02:15 + . 23:02:15 -> Found 1 reports 23:02:15 ==> Detecting git/mercurial file structure 23:02:15 ==> Reading reports 23:02:15 + ./coverage.out bytes=44128 23:02:15 ==> Appending adjustments 23:02:15 https://docs.codecov.io/docs/fixing-reports 23:02:15 + Found adjustments 23:02:15 ==> Gzipping contents 23:02:15 8.0K /tmp/codecov.x5of7N.gz 23:02:15 ==> Uploading reports 23:02:15 url: https://codecov.io 23:02:15 query: branch=main&commit=9b27552b3734ae7c2a4c3808c2aff026acc83385&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:02:15 -> Pinging Codecov 23:02:15 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=9b27552b3734ae7c2a4c3808c2aff026acc83385&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:02:15 -> Uploading to 23:02:15 https://storage.googleapis.com/codecov/v4/raw/2022-05-11/5E52B4B073DB2E39498172D8E973AA87/9b27552b3734ae7c2a4c3808c2aff026acc83385/56a087d1-b3fb-44c4-af05-3e62b0c9972d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T230215Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a38bc18f0069fd340becb0fd7e9496387bff8170e3ccc46dff0a98d605b23e96 23:02:15 % Total % Received % Xferd Average Speed Time Time Time Current 23:02:15 Dload Upload Total Spent Left Speed 23:02:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5294 0 0 100 5294 0 21346 --:--:-- --:--:-- --:--:-- 21261 23:02:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] } 23:02:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:02:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:02:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:02:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:02:16 23:02:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 23:02:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:02:16 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:02:16 188c0c94c7c5: Pulling fs layer 23:02:16 0ef7d3d256c8: Pulling fs layer 23:02:16 de9db76c5a1d: Pulling fs layer 23:02:16 0eba1c9be4d2: Pulling fs layer 23:02:16 0d57e429df01: Pulling fs layer 23:02:16 4e4be7b47b0d: Pulling fs layer 23:02:16 e1f770b5df2f: Pulling fs layer 23:02:16 85a0685a4137: Pulling fs layer 23:02:16 0d57e429df01: Waiting 23:02:16 4e4be7b47b0d: Waiting 23:02:16 0eba1c9be4d2: Waiting 23:02:16 e1f770b5df2f: Waiting 23:02:16 85a0685a4137: Waiting 23:02:16 de9db76c5a1d: Verifying Checksum 23:02:16 de9db76c5a1d: Download complete 23:02:16 0ef7d3d256c8: Verifying Checksum 23:02:16 0ef7d3d256c8: Download complete 23:02:16 0d57e429df01: Verifying Checksum 23:02:16 0d57e429df01: Download complete 23:02:16 4e4be7b47b0d: Verifying Checksum 23:02:16 4e4be7b47b0d: Download complete 23:02:16 188c0c94c7c5: Verifying Checksum 23:02:16 188c0c94c7c5: Download complete 23:02:16 188c0c94c7c5: Pull complete 23:02:16 e1f770b5df2f: Verifying Checksum 23:02:16 e1f770b5df2f: Download complete 23:02:16 0ef7d3d256c8: Pull complete 23:02:17 de9db76c5a1d: Pull complete 23:02:17 0eba1c9be4d2: Verifying Checksum 23:02:17 0eba1c9be4d2: Download complete 23:02:17 85a0685a4137: Verifying Checksum 23:02:17 85a0685a4137: Download complete 23:02:21 0eba1c9be4d2: Pull complete 23:02:21 0d57e429df01: Pull complete 23:02:21 4e4be7b47b0d: Pull complete 23:02:21 e1f770b5df2f: Pull complete 23:02:24 85a0685a4137: Pull complete 23:02:24 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 23:02:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:02:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 23:02:25 prd-ubuntu20.04-docker-8c-8g-63290 does not seem to be running inside a container 23:02:25 $ 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 23:02:26 $ docker top dd37fa062c3c7b0492596bcbeabb58bb25ae300ace46c47aa41ae34e28ec7692 -eo pid,comm [Pipeline] { [Pipeline] echo 23:02:26 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 23:02:27 + set -o pipefail 23:02:27 + snyk monitor '--org=edgex-jenkins' 23:02:32 23:02:32 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 23:02:32 23:02:32 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/08b0b237-400e-4d14-b8b4-4129443c3def 23:02:32 23:02:32 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:02:32 23:02:32 [Pipeline] } 23:02:32 $ docker stop --time=1 dd37fa062c3c7b0492596bcbeabb58bb25ae300ace46c47aa41ae34e28ec7692 23:02:34 $ docker rm -f dd37fa062c3c7b0492596bcbeabb58bb25ae300ace46c47aa41ae34e28ec7692 [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 23:02:35 + git log --format=format:%s -1 9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] sh 23:02:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:02:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:02:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:02:35 . [Pipeline] withDockerContainer 23:02:35 prd-ubuntu20.04-docker-8c-8g-63290 does not seem to be running inside a container 23:02:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 23:02:36 $ docker top 38e1ec385f2176cc63b4cbc7af54a57ef52764026156c7a5acd8ce9abf984bf3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:02:36 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.18' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:02:36 + git semver [Pipeline] } 23:02:37 $ docker stop --time=1 38e1ec385f2176cc63b4cbc7af54a57ef52764026156c7a5acd8ce9abf984bf3 23:02:38 $ docker rm -f 38e1ec385f2176cc63b4cbc7af54a57ef52764026156c7a5acd8ce9abf984bf3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 23:02:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:02:38 23:02:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 23:02:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:02:39 0.23.1-centos7: Pulling from edgex-lftools 23:02:39 ab5ef0e58194: Pulling fs layer 23:02:39 9712f1f96733: Pulling fs layer 23:02:39 63f879dbbcfc: Pulling fs layer 23:02:39 0d9ebad4ef96: Pulling fs layer 23:02:39 e9a5061849ea: Pulling fs layer 23:02:39 d747dcd14b5f: Pulling fs layer 23:02:39 2de7ff778b66: Pulling fs layer 23:02:39 0d9ebad4ef96: Waiting 23:02:39 e9a5061849ea: Waiting 23:02:39 d747dcd14b5f: Waiting 23:02:39 2de7ff778b66: Waiting 23:02:39 9712f1f96733: Download complete 23:02:39 63f879dbbcfc: Verifying Checksum 23:02:39 63f879dbbcfc: Download complete 23:02:39 0d9ebad4ef96: Verifying Checksum 23:02:39 0d9ebad4ef96: Download complete 23:02:39 d747dcd14b5f: Verifying Checksum 23:02:39 d747dcd14b5f: Download complete 23:02:39 e9a5061849ea: Verifying Checksum 23:02:39 e9a5061849ea: Download complete 23:02:39 ab5ef0e58194: Verifying Checksum 23:02:39 ab5ef0e58194: Download complete 23:02:39 2de7ff778b66: Verifying Checksum 23:02:39 2de7ff778b66: Download complete 23:02:42 ab5ef0e58194: Pull complete 23:02:42 9712f1f96733: Pull complete 23:02:43 63f879dbbcfc: Pull complete 23:02:47 0d9ebad4ef96: Pull complete 23:02:47 e9a5061849ea: Pull complete 23:02:47 d747dcd14b5f: Pull complete 23:02:48 2de7ff778b66: Pull complete 23:02:48 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:02:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:02:48 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 23:02:48 prd-ubuntu20.04-docker-8c-8g-63290 does not seem to be running inside a container 23:02:48 $ 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 23:02:50 $ docker top f041f6d8580978aca8bc473e64d8e51e4b10fd83655053942fd8511cbb31416d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:02:50 provisioning config files... 23:02:50 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5786327519828944556tmp 23:02:50 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6061082821566060897tmp 23:02:50 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7008764348363198519tmp [Pipeline] { [Pipeline] echo 23:02:50 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:02:50 ---> sigul-configuration.sh 23:02:50 gpg: directory `/root/.gnupg' created 23:02:50 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:02:50 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:02:50 gpg: keyring `/root/.gnupg/secring.gpg' created 23:02:50 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:02:50 gpg: CAST5 encrypted data 23:02:50 gpg: encrypted with 1 passphrase 23:02:50 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:02:50 + mkdir /home/jenkins 23:02:50 + mkdir /home/jenkins/sigul [Pipeline] sh 23:02:51 + 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 23:02:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:02:51 ---> sigul-install.sh 23:02:51 Sigul already installed; skipping installation. [Pipeline] sh 23:02:51 + git tag --list 23:02:51 v1.0.0 23:02:51 v1.1.0 23:02:51 v1.1.1 23:02:51 v1.2.1 23:02:51 v1.2.2 23:02:51 v1.2.3 23:02:51 v1.3.0 23:02:51 v1.3.1 23:02:51 v2.0.0 23:02:51 v2.0.1-dev.1 23:02:51 v2.0.1-dev.10 23:02:51 v2.0.1-dev.11 23:02:51 v2.0.1-dev.12 23:02:51 v2.0.1-dev.13 23:02:51 v2.0.1-dev.14 23:02:51 v2.0.1-dev.15 23:02:51 v2.0.1-dev.2 23:02:51 v2.0.1-dev.3 23:02:51 v2.0.1-dev.4 23:02:51 v2.0.1-dev.5 23:02:51 v2.0.1-dev.6 23:02:51 v2.0.1-dev.7 23:02:51 v2.0.1-dev.8 23:02:51 v2.0.1-dev.9 23:02:51 v2.1.0 23:02:51 v2.2.0 23:02:51 v2.2.0-dev.1 23:02:51 v2.2.0-dev.10 23:02:51 v2.2.0-dev.11 23:02:51 v2.2.0-dev.12 23:02:51 v2.2.0-dev.13 23:02:51 v2.2.0-dev.14 23:02:51 v2.2.0-dev.15 23:02:51 v2.2.0-dev.16 23:02:51 v2.2.0-dev.17 23:02:51 v2.2.0-dev.18 23:02:51 v2.2.0-dev.2 23:02:51 v2.2.0-dev.3 23:02:51 v2.2.0-dev.4 23:02:51 v2.2.0-dev.5 23:02:51 v2.2.0-dev.6 23:02:51 v2.2.0-dev.7 23:02:51 v2.2.0-dev.8 23:02:51 v2.2.0-dev.9 [Pipeline] sh 23:02:52 + lftools sign git-tag v2.2.0 23:02:52 Signing Git tag with Sigul... 23:02:52 Signing v2.2.0 [Pipeline] echo 23:02:52 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:02:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:02:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:02:53 $ docker stop --time=1 f041f6d8580978aca8bc473e64d8e51e4b10fd83655053942fd8511cbb31416d 23:02:54 $ docker rm -f f041f6d8580978aca8bc473e64d8e51e4b10fd83655053942fd8511cbb31416d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:02:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:02:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:02:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:02:55 . [Pipeline] withDockerContainer 23:02:55 prd-ubuntu20.04-docker-8c-8g-63290 does not seem to be running inside a container 23:02:55 $ 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:latest cat 23:02:55 $ docker top bb1627782daa8839617860e08fc9dc847c87084c12b42fdea310d9fafd675d17 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:02:55 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.18' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:02:56 + git semver [Pipeline] } 23:02:56 $ docker stop --time=1 bb1627782daa8839617860e08fc9dc847c87084c12b42fdea310d9fafd675d17 23:02:57 $ docker rm -f bb1627782daa8839617860e08fc9dc847c87084c12b42fdea310d9fafd675d17 [Pipeline] // withDockerContainer [Pipeline] sh 23:02:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:02:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:02:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:02:58 . [Pipeline] withDockerContainer 23:02:58 prd-ubuntu20.04-docker-8c-8g-63290 does not seem to be running inside a container 23:02:58 $ 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:latest cat 23:02:58 $ docker top 8db320b4cd2da26cccef52210869dea219559e96a215134031ecb955b15e64ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:02:59 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.18' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:02:59 + git semver [Pipeline] } 23:02:59 $ docker stop --time=1 8db320b4cd2da26cccef52210869dea219559e96a215134031ecb955b15e64ee 23:03:00 $ docker rm -f 8db320b4cd2da26cccef52210869dea219559e96a215134031ecb955b15e64ee [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 23:03:01 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 23:03:01 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 23:03:01 total 16 23:03:01 drwxr-xr-x 3 root root 4096 May 11 22:56 . 23:03:01 drwxrwxr-x 9 jenkins jenkins 4096 May 11 23:02 .. 23:03:01 drwxr-xr-x 2 root root 4096 May 11 22:56 cost 23:03:01 -rw-r--r-- 1 root root 87 May 11 22:56 cost.csv 23:03:01 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 23:03:01 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 23:03:01 total 16 23:03:01 drwxr-xr-x 3 jenkins jenkins 4096 May 11 22:56 . 23:03:01 drwxrwxr-x 9 jenkins jenkins 4096 May 11 23:02 .. 23:03:01 drwxr-xr-x 2 jenkins jenkins 4096 May 11 22:56 cost 23:03:01 -rw-r--r-- 1 jenkins jenkins 87 May 11 22:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:03:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:03:02 ---> package-listing.sh 23:03:02 ++ facter osfamily 23:03:02 ++ tr '[:upper:]' '[:lower:]' 23:03:02 + OS_FAMILY=debian 23:03:02 + workspace=/w/workspace/exfoundry_device-virtual-go_main 23:03:02 + START_PACKAGES=/tmp/packages_start.txt 23:03:02 + END_PACKAGES=/tmp/packages_end.txt 23:03:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:03:02 + PACKAGES=/tmp/packages_start.txt 23:03:02 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 23:03:02 + PACKAGES=/tmp/packages_end.txt 23:03:02 + case "${OS_FAMILY}" in 23:03:02 + dpkg -l 23:03:02 + grep '^ii' 23:03:02 + '[' -f /tmp/packages_start.txt ']' 23:03:02 + '[' -f /tmp/packages_end.txt ']' 23:03:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:03:02 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 23:03:02 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 23:03:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 23:03:02 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 23:03:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:03:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:03:03 . [Pipeline] withDockerContainer 23:03:03 prd-ubuntu20.04-docker-8c-8g-63290 does not seem to be running inside a container 23:03:03 $ 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 23:03:04 $ docker top d552a3a6eba8afc27867e60b8efe8ff9378cf3996f20b2dded5fe9e1233832c4 -eo pid,comm [Pipeline] { [Pipeline] sh 23:03:04 + touch /tmp/pre-build-complete [Pipeline] sh 23:03:04 + mkdir -p /var/log/sysstat [Pipeline] sh 23:03:05 + ls /var/log/sa-host 23:03:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:03:05 provisioning config files... 23:03:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7118416727993447044tmp [Pipeline] { [Pipeline] echo 23:03:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:03:05 ---> create-netrc.sh [Pipeline] } 23:03:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:03:05 ---> python-tools-install.sh [Pipeline] echo 23:03:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:03:06 ---> sudo-logs.sh 23:03:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:03:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:03:06 ---> job-cost.sh 23:03:06 lf-activate-venv: SKIPPING 23:03:06 DEBUG: total: 0.2199999988079071 23:03:06 INFO: Retrieving Stack Cost... 23:03:06 INFO: Retrieving Pricing Info for: v3-standard-8 23:03:07 INFO: Archiving Costs [Pipeline] echo 23:03:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:03:07 ---> logs-deploy.sh 23:03:07 lf-activate-venv: SKIPPING 23:03:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/36 23:03:07 INFO: archiving workspace using pattern(s): 23:03:08 Archives upload complete. 23:03:08 INFO: archiving logs to Nexus