Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 099b8ea86ae346ef1d450a8d185b2283d3122d98 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-ssh17434631871139495680.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh8786921856113692958.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh5912995989224422804.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh7345248917401424566.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-ssh11417864832121080620.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 Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-34311’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-34828’ is offline Running on prd-ubuntu20.04-docker-8c-8g-38390 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 099b8ea86ae346ef1d450a8d185b2283d3122d98 (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 099b8ea86ae346ef1d450a8d185b2283d3122d98 # timeout=10 Commit message: "Merge pull request #282 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35" > git rev-list --no-walk a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:33:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:33:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:33:51 ========================================================= 03:33:51 EdgeX Global Pipelines Version Info 03:33:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:33:52 ------------------- 03:33:52 stable info: 03:33:52 ------------------- 03:33:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:33:52 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 03:33:52 Message: update stable to v1.0.227 03:33:53 ------------------- 03:33:53 experimental info: 03:33:53 ------------------- 03:33:53 Commited By: **** collab-it+edgex@linuxfoundation.org 03:33:53 Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 03:33:53 Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 099b8ea86ae346ef1d450a8d185b2283d3122d98 [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 099b8ea [Pipeline] echo 03:33:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:33:53 provisioning config files... 03:33:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config868338079667381316tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:33:54 ---> docker-login.sh 03:33:54 nexus3.edgexfoundry.org:10001 03:33:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:54 Configure a credential helper to remove this warning. See 03:33:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:54 03:33:54 Login Succeeded 03:33:54 nexus3.edgexfoundry.org:10002 03:33:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:54 Configure a credential helper to remove this warning. See 03:33:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:54 03:33:54 Login Succeeded 03:33:54 nexus3.edgexfoundry.org:10003 03:33:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:54 Configure a credential helper to remove this warning. See 03:33:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:54 03:33:54 Login Succeeded 03:33:54 nexus3.edgexfoundry.org:10004 03:33:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:54 Configure a credential helper to remove this warning. See 03:33:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:54 03:33:54 Login Succeeded 03:33:54 docker.io 03:33:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:55 Configure a credential helper to remove this warning. See 03:33:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:55 03:33:55 Login Succeeded 03:33:55 ---> docker-login.sh ends [Pipeline] } 03:33:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:33:55 + git rev-list -1 --merges 099b8ea86ae346ef1d450a8d185b2283d3122d98~1..099b8ea86ae346ef1d450a8d185b2283d3122d98 [Pipeline] echo 03:33:56 -----------> git rev-list -1 --merges 099b8ea86ae346ef1d450a8d185b2283d3122d98~1..099b8ea86ae346ef1d450a8d185b2283d3122d98 099b8ea86ae346ef1d450a8d185b2283d3122d98 03:33:56 099b8ea86ae346ef1d450a8d185b2283d3122d98 [false] [Pipeline] sh 03:33:56 + git log --format=format:%s -1 099b8ea86ae346ef1d450a8d185b2283d3122d98 [Pipeline] echo 03:33:56 ========================================================= 03:33:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:33:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:33:56 + git log --format=format:%s -1 099b8ea86ae346ef1d450a8d185b2283d3122d98 [Pipeline] echo 03:33:56 [semverPrep] GIT_COMMIT: 099b8ea86ae346ef1d450a8d185b2283d3122d98, Commit Message: Merge pull request #282 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35 [Pipeline] echo 03:33:56 [semverPrep] This is not a build commit. [Pipeline] sh 03:33:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:33:57 + grep -v github /etc/ssh/ssh_known_hosts 03:33:57 + [ -e /tmp/ssh_known_hosts ] 03:33:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:33:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:33:57 + sudo tee -a /etc/ssh/ssh_known_hosts 03:33:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:33:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:33:58 03:33:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:33:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:33:58 latest: Pulling from edgex-devops/py-git-semver 03:33:58 1fe172e4850f: Pulling fs layer 03:33:58 caf521ccaac6: Pulling fs layer 03:33:58 3ead6fa29328: Pulling fs layer 03:33:58 5c2a1cbceb83: Pulling fs layer 03:33:58 a8d5f1318db7: Pulling fs layer 03:33:58 c427282e49a2: Pulling fs layer 03:33:58 1827001aaf11: Pulling fs layer 03:33:58 0714d37db230: Pulling fs layer 03:33:58 ac28cf19c067: Pulling fs layer 03:33:58 ca983d60f3e2: Pulling fs layer 03:33:58 9f894cec8388: Pulling fs layer 03:33:58 c427282e49a2: Waiting 03:33:58 1827001aaf11: Waiting 03:33:58 a8d5f1318db7: Waiting 03:33:58 0714d37db230: Waiting 03:33:58 5c2a1cbceb83: Waiting 03:33:58 ac28cf19c067: Waiting 03:33:58 ca983d60f3e2: Waiting 03:33:58 9f894cec8388: Waiting 03:33:58 caf521ccaac6: Download complete 03:33:58 5c2a1cbceb83: Verifying Checksum 03:33:58 5c2a1cbceb83: Download complete 03:33:58 a8d5f1318db7: Verifying Checksum 03:33:58 a8d5f1318db7: Download complete 03:33:58 3ead6fa29328: Verifying Checksum 03:33:58 3ead6fa29328: Download complete 03:33:58 c427282e49a2: Verifying Checksum 03:33:58 c427282e49a2: Download complete 03:33:58 0714d37db230: Verifying Checksum 03:33:58 0714d37db230: Download complete 03:33:58 ac28cf19c067: Verifying Checksum 03:33:58 ac28cf19c067: Download complete 03:33:58 ca983d60f3e2: Download complete 03:33:58 9f894cec8388: Verifying Checksum 03:33:58 9f894cec8388: Download complete 03:33:58 1fe172e4850f: Verifying Checksum 03:33:58 1fe172e4850f: Download complete 03:33:58 1827001aaf11: Verifying Checksum 03:33:58 1827001aaf11: Download complete 03:33:59 1fe172e4850f: Pull complete 03:34:00 caf521ccaac6: Pull complete 03:34:00 3ead6fa29328: Pull complete 03:34:00 5c2a1cbceb83: Pull complete 03:34:00 a8d5f1318db7: Pull complete 03:34:00 c427282e49a2: Pull complete 03:34:02 1827001aaf11: Pull complete 03:34:02 0714d37db230: Pull complete 03:34:02 ac28cf19c067: Pull complete 03:34:02 ca983d60f3e2: Pull complete 03:34:03 9f894cec8388: Pull complete 03:34:03 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 03:34:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:34:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 03:34:03 prd-ubuntu20.04-docker-8c-8g-38390 does not seem to be running inside a container 03:34:03 $ 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 03:34:04 $ docker top da6810b4b29c3bf8986b75a6bf106b40ce97d8f044323838bf44b61510ff502c -eo pid,comm 03:34:04 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). 03:34:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:34:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:34:04 [ssh-agent] Looking for ssh-agent implementation... 03:34:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:34:04 $ docker exec da6810b4b29c3bf8986b75a6bf106b40ce97d8f044323838bf44b61510ff502c ssh-agent 03:34:05 SSH_AUTH_SOCK=/tmp/ssh-N1jNqedkRlYM/agent.33 03:34:05 SSH_AGENT_PID=39 03:34:05 Running ssh-add (command line suppressed) 03:34:05 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3203593329937694222.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3203593329937694222.key) 03:34:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:34:05 + git tag --points-at HEAD [Pipeline] } 03:34:05 $ docker exec --env ******** --env ******** da6810b4b29c3bf8986b75a6bf106b40ce97d8f044323838bf44b61510ff502c ssh-agent -k 03:34:05 unset SSH_AUTH_SOCK; 03:34:05 unset SSH_AGENT_PID; 03:34:05 echo Agent pid 39 killed; 03:34:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:34:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:34:05 [ssh-agent] Looking for ssh-agent implementation... 03:34:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:34:05 $ docker exec da6810b4b29c3bf8986b75a6bf106b40ce97d8f044323838bf44b61510ff502c ssh-agent 03:34:05 SSH_AUTH_SOCK=/tmp/ssh-CqoXXJVbgu2J/agent.71 03:34:05 SSH_AGENT_PID=77 03:34:05 Running ssh-add (command line suppressed) 03:34:06 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7450126861910967707.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7450126861910967707.key) 03:34:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:34:06 + git semver init 03:34:06 2022-05-03 03:34:06,581 [run_init] DEBUG init version:0.0.0 force:False 03:34:06 2022-05-03 03:34:06,582 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 03:34:06 2022-05-03 03:34:06,582 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 03:34:06 2022-05-03 03:34:06,582 [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) 03:34:08 2022-05-03 03:34:07,615 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 03:34:08 2022-05-03 03:34:07,616 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 03:34:08 2022-05-03 03:34:07,616 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:34:08 2022-05-03 03:34:07,616 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:34:08 2.2.0-dev.15 [Pipeline] } 03:34:08 $ docker exec --env ******** --env ******** da6810b4b29c3bf8986b75a6bf106b40ce97d8f044323838bf44b61510ff502c ssh-agent -k 03:34:08 unset SSH_AUTH_SOCK; 03:34:08 unset SSH_AGENT_PID; 03:34:08 echo Agent pid 77 killed; 03:34:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:34:08 + git semver [Pipeline] } 03:34:08 $ docker stop --time=1 da6810b4b29c3bf8986b75a6bf106b40ce97d8f044323838bf44b61510ff502c 03:34:10 $ docker rm -f da6810b4b29c3bf8986b75a6bf106b40ce97d8f044323838bf44b61510ff502c [Pipeline] // withDockerContainer [Pipeline] sh 03:34:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:34:10 Stashed 1 file(s) [Pipeline] echo 03:34:10 [edgeXSemver]: initialized semver on version 2.2.0-dev.15 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:34:10 provisioning config files... 03:34:10 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4466171750179039383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:34:11 ---> docker-login.sh 03:34:11 nexus3.edgexfoundry.org:10001 03:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:11 Configure a credential helper to remove this warning. See 03:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:11 03:34:11 Login Succeeded 03:34:11 nexus3.edgexfoundry.org:10002 03:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:11 Configure a credential helper to remove this warning. See 03:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:11 03:34:11 Login Succeeded 03:34:11 nexus3.edgexfoundry.org:10003 03:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:11 Configure a credential helper to remove this warning. See 03:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:11 03:34:11 Login Succeeded 03:34:11 nexus3.edgexfoundry.org:10004 03:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:11 Configure a credential helper to remove this warning. See 03:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:11 03:34:11 Login Succeeded 03:34:11 docker.io 03:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:12 Configure a credential helper to remove this warning. See 03:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:12 03:34:12 Login Succeeded 03:34:12 ---> docker-login.sh ends [Pipeline] } 03:34:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:34:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:34:12 ========================================================= 03:34:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 03:34:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:34:12 + 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 . 03:34:12 Sending build context to Docker daemon 22.9MB 03:34:12 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:34:12 Step 2/12 : FROM ${BASE} AS builder 03:34:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 03:34:12 59bf1c3509f3: Pulling fs layer 03:34:12 666ba61612fd: Pulling fs layer 03:34:12 8ed8ca486205: Pulling fs layer 03:34:12 4fe6c5a15a65: Pulling fs layer 03:34:12 22a0e8bec74d: Pulling fs layer 03:34:12 ca2b28591e48: Pulling fs layer 03:34:12 a51346096db8: Pulling fs layer 03:34:12 daebc70d1ce1: Pulling fs layer 03:34:12 0e18a0eac166: Pulling fs layer 03:34:12 4fe6c5a15a65: Waiting 03:34:12 22a0e8bec74d: Waiting 03:34:12 ca2b28591e48: Waiting 03:34:12 a51346096db8: Waiting 03:34:12 daebc70d1ce1: Waiting 03:34:12 0e18a0eac166: Waiting 03:34:12 8ed8ca486205: Download complete 03:34:12 666ba61612fd: Download complete 03:34:12 22a0e8bec74d: Download complete 03:34:12 ca2b28591e48: Verifying Checksum 03:34:12 ca2b28591e48: Download complete 03:34:12 a51346096db8: Verifying Checksum 03:34:12 a51346096db8: Download complete 03:34:12 59bf1c3509f3: Verifying Checksum 03:34:12 daebc70d1ce1: Verifying Checksum 03:34:12 daebc70d1ce1: Download complete 03:34:12 59bf1c3509f3: Pull complete 03:34:12 666ba61612fd: Pull complete 03:34:12 8ed8ca486205: Pull complete 03:34:13 0e18a0eac166: Verifying Checksum 03:34:13 0e18a0eac166: Download complete 03:34:13 4fe6c5a15a65: Verifying Checksum 03:34:13 4fe6c5a15a65: Download complete 03:34:17 4fe6c5a15a65: Pull complete 03:34:17 22a0e8bec74d: Pull complete 03:34:17 ca2b28591e48: Pull complete 03:34:17 a51346096db8: Pull complete 03:34:17 daebc70d1ce1: Pull complete 03:34:19 0e18a0eac166: Pull complete 03:34:19 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 03:34:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 03:34:19 ---> f018257e8ee9 03:34:19 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:34:20 ---> Running in 51cef7a03582 03:34:20 Removing intermediate container 51cef7a03582 03:34:20 ---> a0d8a47bc6b9 03:34:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:34:20 ---> Running in 1ebbb415c88d 03:34:20 Removing intermediate container 1ebbb415c88d 03:34:20 ---> 66820d33642e 03:34:20 Step 5/12 : WORKDIR /device-virtual-go 03:34:21 ---> Running in 229778deb825 03:34:21 Removing intermediate container 229778deb825 03:34:21 ---> 2acba3fb8745 03:34:21 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:34:21 ---> Running in b9941f3630b6 03:34:22 Removing intermediate container b9941f3630b6 03:34:22 ---> cee3304e1ca3 03:34:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:34:22 ---> Running in 055f935944d8 03:34:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:34:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:34:23 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:34:23 (2/4) Installing libedit (20210910.3.1-r0) 03:34:23 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:34:23 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:34:24 Executing busybox-1.34.1-r3.trigger 03:34:24 OK: 224 MiB in 56 packages 03:34:24 Removing intermediate container 055f935944d8 03:34:24 ---> 0c958f004bda 03:34:24 Step 8/12 : COPY go.mod vendor* ./ 03:34:24 ---> 2f2f92b13512 03:34:24 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:34:24 ---> Running in 1796a64185e2 03:34:25 Still waiting to schedule task 03:34:25 ‘prd-ubuntu20.04-docker-arm64-4c-16g-38399’ is offline 03:34:39 Removing intermediate container 1796a64185e2 03:34:39 ---> 5bc4d482e57a 03:34:39 Step 10/12 : COPY . . 03:34:40 ---> c0d1c1798008 03:34:40 Step 11/12 : ARG MAKE='make build' 03:34:40 ---> Running in 62ab7745f8e5 03:34:40 Removing intermediate container 62ab7745f8e5 03:34:40 ---> dee48991e3bd 03:34:40 Step 12/12 : RUN $MAKE 03:34:40 ---> Running in bbfda8ff287f 03:34:40 noop 03:34:40 Removing intermediate container bbfda8ff287f 03:34:40 ---> d0c8ea17cd6e 03:34:40 Successfully built d0c8ea17cd6e 03:34:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:34:41 + docker inspect -f . ci-base-image-x86_64 03:34:41 . [Pipeline] withDockerContainer 03:34:41 prd-ubuntu20.04-docker-8c-8g-38390 does not seem to be running inside a container 03:34:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:34:42 $ docker top c61a7d84b4de456d229fe93c10ef90a4bbf1d12e34b1062e00667a8230acaf25 -eo pid,comm [Pipeline] { [Pipeline] sh 03:34:42 + go version 03:34:42 go version go1.17.6 linux/amd64 [Pipeline] } 03:34:42 $ docker stop --time=1 c61a7d84b4de456d229fe93c10ef90a4bbf1d12e34b1062e00667a8230acaf25 03:34:43 $ docker rm -f c61a7d84b4de456d229fe93c10ef90a4bbf1d12e34b1062e00667a8230acaf25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:34:44 + docker inspect -f . ci-base-image-x86_64 03:34:44 . [Pipeline] withDockerContainer 03:34:44 prd-ubuntu20.04-docker-8c-8g-38390 does not seem to be running inside a container 03:34:44 $ 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 ******** ci-base-image-x86_64 cat 03:34:44 $ docker top 6af0de0626e4baa2934a2bfcc3b875b2bc950b16d2bf05a1a1eb8e82011cb86b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:34:45 + make test 03:34:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:34:45 ? github.com/edgexfoundry/device-virtual-go [no test files] 03:34:55 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 03:34:55 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements 03:35:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:35:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:35:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:35:04 ./bin/test-attribution-txt.sh [Pipeline] echo 03:35:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:35:04 $ docker stop --time=1 6af0de0626e4baa2934a2bfcc3b875b2bc950b16d2bf05a1a1eb8e82011cb86b 03:35:06 $ docker rm -f 6af0de0626e4baa2934a2bfcc3b875b2bc950b16d2bf05a1a1eb8e82011cb86b [Pipeline] // withDockerContainer [Pipeline] sh 03:35:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:35:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:35:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:35:08 + ls -al . 03:35:08 total 184 03:35:08 drwxrwxr-x 8 jenkins jenkins 4096 May 3 03:35 . 03:35:08 drwxrwxr-x 4 jenkins jenkins 4096 May 3 03:33 .. 03:35:08 drwxrwxr-x 8 jenkins jenkins 4096 May 3 03:34 .git 03:35:08 drwxrwxr-x 2 jenkins jenkins 4096 May 3 03:33 .github 03:35:08 -rw-rw-r-- 1 jenkins jenkins 270 May 3 03:33 .gitignore 03:35:08 -rw-rw-r-- 1 jenkins jenkins 41 May 3 03:33 .golangci.yml 03:35:08 drwxr-xr-x 3 jenkins jenkins 4096 May 3 03:34 .semver 03:35:08 -rw-rw-r-- 1 jenkins jenkins 7893 May 3 03:33 Attribution.txt 03:35:08 -rw-rw-r-- 1 jenkins jenkins 6349 May 3 03:33 CHANGELOG.md 03:35:08 -rw-rw-r-- 1 jenkins jenkins 1974 May 3 03:33 Dockerfile 03:35:08 -rw-rw-r-- 1 jenkins jenkins 677 May 3 03:33 GOVERNANCE.md 03:35:08 -rw-rw-r-- 1 jenkins jenkins 660 May 3 03:33 Jenkinsfile 03:35:08 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 03:33 LICENSE 03:35:08 -rw-rw-r-- 1 jenkins jenkins 2248 May 3 03:33 Makefile 03:35:08 -rw-rw-r-- 1 jenkins jenkins 623 May 3 03:33 OWNERS.md 03:35:08 -rw-rw-r-- 1 jenkins jenkins 2914 May 3 03:33 README.md 03:35:08 -rw-rw-r-- 1 jenkins jenkins 12 May 3 03:34 VERSION 03:35:08 drwxrwxr-x 2 jenkins jenkins 4096 May 3 03:33 bin 03:35:08 drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:33 cmd 03:35:08 -rw-r--r-- 1 jenkins jenkins 44128 May 3 03:34 coverage.out 03:35:08 -rw-rw-r-- 1 jenkins jenkins 3185 May 3 03:33 go.mod 03:35:08 -rw-rw-r-- 1 jenkins jenkins 35098 May 3 03:33 go.sum 03:35:08 drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:33 internal 03:35:08 -rw-rw-r-- 1 jenkins jenkins 235 May 3 03:33 version.go [Pipeline] isUnix [Pipeline] sh 03:35:08 + 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=099b8ea86ae346ef1d450a8d185b2283d3122d98 --label arch=amd64 --label version=2.2.0-dev.15 . 03:35:08 Sending build context to Docker daemon 22.95MB 03:35:08 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 03:35:08 Step 2/26 : FROM ${BASE} AS builder 03:35:08 ---> d0c8ea17cd6e 03:35:08 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:35:09 ---> Running in a1ff316748c8 03:35:09 Removing intermediate container a1ff316748c8 03:35:09 ---> 4b4352cd4c5f 03:35:09 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:35:09 ---> Running in fe0810c7989d 03:35:09 Removing intermediate container fe0810c7989d 03:35:09 ---> 7a09e47acf04 03:35:09 Step 5/26 : WORKDIR /device-virtual-go 03:35:09 ---> Running in 46f525966b4f 03:35:09 Removing intermediate container 46f525966b4f 03:35:09 ---> 96ed24d7b035 03:35:09 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:35:09 ---> Running in f22199fe54ac 03:35:10 Removing intermediate container f22199fe54ac 03:35:10 ---> 413d149da315 03:35:10 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:35:10 ---> Running in 93c96ef60c8c 03:35:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:35:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:35:11 OK: 224 MiB in 56 packages 03:35:12 Removing intermediate container 93c96ef60c8c 03:35:12 ---> 6dd883fd082b 03:35:12 Step 8/26 : COPY go.mod vendor* ./ 03:35:12 ---> 4475837faa3c 03:35:12 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:35:12 ---> Running in 1517b4fe4f7b 03:35:12 Removing intermediate container 1517b4fe4f7b 03:35:12 ---> 600721a01932 03:35:12 Step 10/26 : COPY . . 03:35:13 ---> 930ec2e1d907 03:35:13 Step 11/26 : ARG MAKE='make build' 03:35:13 ---> Running in e2bcdda2087a 03:35:13 Removing intermediate container e2bcdda2087a 03:35:13 ---> 0dc7e9c6bf4e 03:35:13 Step 12/26 : RUN $MAKE 03:35:13 ---> Running in c38019a8ec04 03:35:13 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 03:35:35 Removing intermediate container c38019a8ec04 03:35:35 ---> ef7081f32c52 03:35:35 Step 13/26 : FROM alpine:3.14 03:35:35 3.14: Pulling from library/alpine 03:35:35 8663204ce13b: Pulling fs layer 03:35:35 8663204ce13b: Verifying Checksum 03:35:35 8663204ce13b: Download complete 03:35:35 8663204ce13b: Pull complete 03:35:35 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 03:35:35 Status: Downloaded newer image for alpine:3.14 03:35:35 ---> e04c818066af 03:35:35 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 03:35:35 ---> Running in 0778fc399d30 03:35:35 Removing intermediate container 0778fc399d30 03:35:35 ---> dff80df807ac 03:35:35 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:35:35 ---> Running in 70c76ff774ac 03:35:35 Removing intermediate container 70c76ff774ac 03:35:35 ---> f8724de6d50f 03:35:35 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 03:35:35 ---> Running in 6b861c2b0aa0 03:35:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 03:35:35 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 03:35:35 (1/6) Installing dumb-init (1.2.5-r1) 03:35:35 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:35:35 (3/6) Installing libsodium (1.0.18-r0) 03:35:36 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:35:36 (5/6) Installing libzmq (4.3.4-r0) 03:35:36 (6/6) Installing zeromq (4.3.4-r0) 03:35:36 Executing busybox-1.33.1-r7.trigger 03:35:36 OK: 8 MiB in 20 packages 03:35:36 Removing intermediate container 6b861c2b0aa0 03:35:36 ---> 2c553ca34925 03:35:36 Step 17/26 : WORKDIR / 03:35:36 ---> Running in c08c4d6322ae 03:35:36 Removing intermediate container c08c4d6322ae 03:35:36 ---> e4a062652e9c 03:35:36 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 03:35:36 ---> 82450f2f0b43 03:35:36 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 03:35:36 ---> 508f8bb29b1e 03:35:36 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 03:35:37 ---> 7e2a426101d5 03:35:37 Step 21/26 : EXPOSE 59900 03:35:37 ---> Running in afaa394ee008 03:35:37 Removing intermediate container afaa394ee008 03:35:37 ---> 1f4d601e544c 03:35:37 Step 22/26 : ENTRYPOINT ["/device-virtual"] 03:35:37 ---> Running in 881f77596275 03:35:37 Removing intermediate container 881f77596275 03:35:37 ---> 5b61ba1e645f 03:35:37 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:35:37 ---> Running in 6fef88f1c2fb 03:35:38 Removing intermediate container 6fef88f1c2fb 03:35:38 ---> 2a010277b9ec 03:35:38 Step 24/26 : LABEL arch=amd64 03:35:38 ---> Running in 1408fec08463 03:35:38 Removing intermediate container 1408fec08463 03:35:38 ---> 5561650846c4 03:35:38 Step 25/26 : LABEL git_sha=099b8ea86ae346ef1d450a8d185b2283d3122d98 03:35:38 ---> Running in a123985fca7c 03:35:38 Removing intermediate container a123985fca7c 03:35:38 ---> 1fe6cbf912f2 03:35:38 Step 26/26 : LABEL version=2.2.0-dev.15 03:35:38 ---> Running in 13813df151a4 03:35:38 Removing intermediate container 13813df151a4 03:35:38 ---> e1b21c6cbd84 03:35:38 [Warning] One or more build-args [ARCH] were not consumed 03:35:38 Successfully built e1b21c6cbd84 03:35:38 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:35:38 provisioning config files... 03:35:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7231803532284644719tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:35:38 ---> docker-login.sh 03:35:38 nexus3.edgexfoundry.org:10001 03:35:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:38 Configure a credential helper to remove this warning. See 03:35:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:38 03:35:38 Login Succeeded 03:35:38 nexus3.edgexfoundry.org:10002 03:35:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:38 Configure a credential helper to remove this warning. See 03:35:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:38 03:35:38 Login Succeeded 03:35:39 nexus3.edgexfoundry.org:10003 03:35:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:39 Configure a credential helper to remove this warning. See 03:35:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:39 03:35:39 Login Succeeded 03:35:39 nexus3.edgexfoundry.org:10004 03:35:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:39 Configure a credential helper to remove this warning. See 03:35:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:39 03:35:39 Login Succeeded 03:35:39 docker.io 03:35:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:39 Configure a credential helper to remove this warning. See 03:35:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:39 03:35:39 Login Succeeded 03:35:39 ---> docker-login.sh ends [Pipeline] } 03:35:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:35:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:35:39 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 03:35:39 099b8ea86ae346ef1d450a8d185b2283d3122d98 03:35:39 latest 03:35:39 2.2.0-dev.15 03:35:39 099b8ea86ae346ef1d450a8d185b2283d3122d98-2.2.0-dev.15 03:35:39 main 03:35:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:35:40 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:099b8ea86ae346ef1d450a8d185b2283d3122d98 [Pipeline] isUnix [Pipeline] sh 03:35:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual:099b8ea86ae346ef1d450a8d185b2283d3122d98 03:35:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 03:35:40 6e440c1da008: Preparing 03:35:40 ebcc65be708a: Preparing 03:35:40 0b5920cc195c: Preparing 03:35:40 9690536f03f5: Preparing 03:35:40 6b0d5e11cbce: Preparing 03:35:40 b541d28bf3b4: Preparing 03:35:40 ebcc65be708a: Pushed 03:35:40 6b0d5e11cbce: Pushed 03:35:40 0b5920cc195c: Pushed 03:35:40 b541d28bf3b4: Layer already exists 03:35:40 9690536f03f5: Pushed 03:35:43 6e440c1da008: Pushed 03:35:43 099b8ea86ae346ef1d450a8d185b2283d3122d98: digest: sha256:5d6dbda66fb6fd59709da8a49049a305d8f25536f2e6f337abcb057e74c7ab20 size: 1574 [Pipeline] isUnix [Pipeline] sh 03:35:43 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 03:35:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 03:35:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 03:35:43 6e440c1da008: Preparing 03:35:43 ebcc65be708a: Preparing 03:35:43 0b5920cc195c: Preparing 03:35:43 9690536f03f5: Preparing 03:35:43 6b0d5e11cbce: Preparing 03:35:43 b541d28bf3b4: Preparing 03:35:43 b541d28bf3b4: Waiting 03:35:43 9690536f03f5: Layer already exists 03:35:43 ebcc65be708a: Layer already exists 03:35:43 6b0d5e11cbce: Layer already exists 03:35:43 0b5920cc195c: Layer already exists 03:35:43 6e440c1da008: Layer already exists 03:35:43 b541d28bf3b4: Layer already exists 03:35:43 latest: digest: sha256:5d6dbda66fb6fd59709da8a49049a305d8f25536f2e6f337abcb057e74c7ab20 size: 1574 [Pipeline] isUnix [Pipeline] sh 03:35:44 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh 03:35:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.15 03:35:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 03:35:44 6e440c1da008: Preparing 03:35:44 ebcc65be708a: Preparing 03:35:44 0b5920cc195c: Preparing 03:35:44 9690536f03f5: Preparing 03:35:44 6b0d5e11cbce: Preparing 03:35:44 b541d28bf3b4: Preparing 03:35:44 b541d28bf3b4: Waiting 03:35:44 9690536f03f5: Layer already exists 03:35:44 6e440c1da008: Layer already exists 03:35:44 ebcc65be708a: Layer already exists 03:35:44 0b5920cc195c: Layer already exists 03:35:44 6b0d5e11cbce: Layer already exists 03:35:44 b541d28bf3b4: Layer already exists 03:35:44 2.2.0-dev.15: digest: sha256:5d6dbda66fb6fd59709da8a49049a305d8f25536f2e6f337abcb057e74c7ab20 size: 1574 [Pipeline] isUnix [Pipeline] sh 03:35:44 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:099b8ea86ae346ef1d450a8d185b2283d3122d98-2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh 03:35:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual:099b8ea86ae346ef1d450a8d185b2283d3122d98-2.2.0-dev.15 03:35:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 03:35:45 6e440c1da008: Preparing 03:35:45 ebcc65be708a: Preparing 03:35:45 0b5920cc195c: Preparing 03:35:45 9690536f03f5: Preparing 03:35:45 6b0d5e11cbce: Preparing 03:35:45 b541d28bf3b4: Preparing 03:35:45 b541d28bf3b4: Waiting 03:35:45 6e440c1da008: Layer already exists 03:35:45 0b5920cc195c: Layer already exists 03:35:45 6b0d5e11cbce: Layer already exists 03:35:45 ebcc65be708a: Layer already exists 03:35:45 9690536f03f5: Layer already exists 03:35:45 b541d28bf3b4: Layer already exists 03:35:45 099b8ea86ae346ef1d450a8d185b2283d3122d98-2.2.0-dev.15: digest: sha256:5d6dbda66fb6fd59709da8a49049a305d8f25536f2e6f337abcb057e74c7ab20 size: 1574 [Pipeline] isUnix [Pipeline] sh 03:35:45 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh 03:35:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 03:35:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 03:35:45 6e440c1da008: Preparing 03:35:45 ebcc65be708a: Preparing 03:35:45 0b5920cc195c: Preparing 03:35:45 9690536f03f5: Preparing 03:35:45 6b0d5e11cbce: Preparing 03:35:45 b541d28bf3b4: Preparing 03:35:45 b541d28bf3b4: Waiting 03:35:45 9690536f03f5: Layer already exists 03:35:45 6e440c1da008: Layer already exists 03:35:45 0b5920cc195c: Layer already exists 03:35:45 6b0d5e11cbce: Layer already exists 03:35:45 ebcc65be708a: Layer already exists 03:35:45 b541d28bf3b4: Layer already exists 03:35:45 main: digest: sha256:5d6dbda66fb6fd59709da8a49049a305d8f25536f2e6f337abcb057e74c7ab20 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:35:45 ===================================================== [Pipeline] echo 03:35:45 taggedImages: 03:35:45 - nexus3.edgexfoundry.org:10004/device-virtual:099b8ea86ae346ef1d450a8d185b2283d3122d98 03:35:45 - nexus3.edgexfoundry.org:10004/device-virtual:latest 03:35:45 - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.15 03:35:45 - nexus3.edgexfoundry.org:10004/device-virtual:099b8ea86ae346ef1d450a8d185b2283d3122d98-2.2.0-dev.15 03:35:45 - 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 03:35:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:35:46 03:35:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 03:35:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:35:46 latest: Pulling from edgex-lftools-log-publisher 03:35:46 5eb5b503b376: Pulling fs layer 03:35:46 5c69ac0246d0: Pulling fs layer 03:35:46 ec43610c2a17: Pulling fs layer 03:35:46 3a2ae6a8a46f: Pulling fs layer 03:35:46 33b1e0a273af: Pulling fs layer 03:35:46 5d3b04190fa2: Pulling fs layer 03:35:46 2f39f015ded8: Pulling fs layer 03:35:46 3a2ae6a8a46f: Waiting 03:35:46 33b1e0a273af: Waiting 03:35:46 5d3b04190fa2: Waiting 03:35:46 5c69ac0246d0: Download complete 03:35:46 3a2ae6a8a46f: Verifying Checksum 03:35:46 3a2ae6a8a46f: Download complete 03:35:46 33b1e0a273af: Verifying Checksum 03:35:46 33b1e0a273af: Download complete 03:35:46 5d3b04190fa2: Verifying Checksum 03:35:46 5d3b04190fa2: Download complete 03:35:46 ec43610c2a17: Verifying Checksum 03:35:46 ec43610c2a17: Download complete 03:35:46 5eb5b503b376: Verifying Checksum 03:35:46 5eb5b503b376: Download complete 03:35:47 2f39f015ded8: Download complete 03:35:47 5eb5b503b376: Pull complete 03:35:48 5c69ac0246d0: Pull complete 03:35:48 ec43610c2a17: Pull complete 03:35:48 3a2ae6a8a46f: Pull complete 03:35:48 33b1e0a273af: Pull complete 03:35:48 5d3b04190fa2: Pull complete 03:35:53 2f39f015ded8: Pull complete 03:35:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:35:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:35:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 03:35:53 prd-ubuntu20.04-docker-8c-8g-38390 does not seem to be running inside a container 03:35:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:35:54 $ docker top aaae5cf33caa7d1836d893e019e5ac18dba6b7a9b6fa1dcae6615e08a67c8c42 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:35:55 ---> job-cost.sh 03:35:55 lf-activate-venv: SKIPPING 03:35:55 INFO: No Stack... 03:35:55 INFO: Retrieving Pricing Info for: v3-standard-8 03:35:55 INFO: Archiving Costs [Pipeline] sh 03:35:56 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 03:35:56 + cut -d, -f6 [Pipeline] lock 03:35:56 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-31-stack-cost] 03:35:56 Resource [jenkins-edgexfoundry-device-virtual-go-main-31-stack-cost] did not exist. Created. 03:35:56 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:35:56 + echo total: 0.2199999988079071 [Pipeline] stash 03:35:56 Stashed 1 file(s) [Pipeline] } 03:35:56 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } 03:35:56 $ docker stop --time=1 aaae5cf33caa7d1836d893e019e5ac18dba6b7a9b6fa1dcae6615e08a67c8c42 03:35:57 $ docker rm -f aaae5cf33caa7d1836d893e019e5ac18dba6b7a9b6fa1dcae6615e08a67c8c42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:14:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40300 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 04:14:55 Running in /w/workspace/device-virtual-go/31 [Pipeline] { [Pipeline] checkout 04:14:56 The recommended git tool is: git 04:15:02 using credential edgex-jenkins-ssh 04:15:02 Cloning the remote Git repository 04:15:02 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 04:15:02 > git init /w/workspace/device-virtual-go/31 # timeout=10 04:15:02 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:15:02 > git --version # timeout=10 04:15:02 > git --version # 'git version 2.25.1' 04:15:02 using GIT_SSH to set credentials SSH Credentials for GitHub 04:15:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:15:05 Avoid second fetch 04:15:05 Checking out Revision 099b8ea86ae346ef1d450a8d185b2283d3122d98 (main) 04:15:05 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:15:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:15:05 > git config core.sparsecheckout # timeout=10 04:15:05 > git checkout -f 099b8ea86ae346ef1d450a8d185b2283d3122d98 # timeout=10 04:15:10 Commit message: "Merge pull request #282 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:15:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:15:10 % Total % Received % Xferd Average Speed Time Time Time Current 04:15:10 Dload Upload Total Spent Left Speed 04:15:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 183k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh 04:15:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:15:11 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 04:15:11 /etc/docker/daemon.json 04:15:11 { 04:15:11 "registry-mirrors": [ 04:15:11 "https://nexus3.edgexfoundry.org:10001" 04:15:11 ], 04:15:11 "bip": "10.250.0.254/24", 04:15:11 "hosts": [ 04:15:11 "tcp://0.0.0.0:5555", 04:15:11 "unix:///var/run/docker.sock" 04:15:11 ], 04:15:11 "mtu": 1458, 04:15:11 "selinux-enabled": true, 04:15:11 "seccomp-profile": "/etc/docker/seccomp.json" 04:15:11 } [Pipeline] sh 04:15:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:15:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:15:30 provisioning config files... 04:15:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/31@tmp/config7876580897178412738tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:15:31 ---> docker-login.sh 04:15:31 nexus3.edgexfoundry.org:10001 04:15:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:32 Configure a credential helper to remove this warning. See 04:15:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:32 04:15:32 Login Succeeded 04:15:32 nexus3.edgexfoundry.org:10002 04:15:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:32 Configure a credential helper to remove this warning. See 04:15:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:32 04:15:32 Login Succeeded 04:15:32 nexus3.edgexfoundry.org:10003 04:15:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:33 Configure a credential helper to remove this warning. See 04:15:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:33 04:15:33 Login Succeeded 04:15:33 nexus3.edgexfoundry.org:10004 04:15:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:33 Configure a credential helper to remove this warning. See 04:15:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:33 04:15:33 Login Succeeded 04:15:33 docker.io 04:15:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:34 Configure a credential helper to remove this warning. See 04:15:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:34 04:15:34 Login Succeeded 04:15:34 ---> docker-login.sh ends [Pipeline] } 04:15:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:15:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:15:35 ========================================================= 04:15:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:15:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:15:35 + 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 . 04:15:36 Sending build context to Docker daemon 11.58MB 04:15:36 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 04:15:36 Step 2/12 : FROM ${BASE} AS builder 04:15:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:15:36 9b3977197b4f: Pulling fs layer 04:15:36 1a89e8eeedd5: Pulling fs layer 04:15:36 94645a83ff95: Pulling fs layer 04:15:36 3f3a8bcf1eab: Pulling fs layer 04:15:36 0c92f367c5e7: Pulling fs layer 04:15:36 3096ccb668a1: Pulling fs layer 04:15:36 e8cf19c19ddd: Pulling fs layer 04:15:36 a4caa8a26152: Pulling fs layer 04:15:36 0c92f367c5e7: Waiting 04:15:36 3096ccb668a1: Waiting 04:15:36 e8cf19c19ddd: Waiting 04:15:36 a4caa8a26152: Waiting 04:15:36 3f3a8bcf1eab: Waiting 04:15:36 94645a83ff95: Verifying Checksum 04:15:36 94645a83ff95: Download complete 04:15:36 1a89e8eeedd5: Verifying Checksum 04:15:36 1a89e8eeedd5: Download complete 04:15:36 0c92f367c5e7: Verifying Checksum 04:15:36 0c92f367c5e7: Download complete 04:15:36 3096ccb668a1: Verifying Checksum 04:15:36 3096ccb668a1: Download complete 04:15:36 e8cf19c19ddd: Download complete 04:15:36 9b3977197b4f: Verifying Checksum 04:15:36 9b3977197b4f: Download complete 04:15:38 9b3977197b4f: Pull complete 04:15:39 1a89e8eeedd5: Pull complete 04:15:39 94645a83ff95: Pull complete 04:15:40 a4caa8a26152: Verifying Checksum 04:15:40 a4caa8a26152: Download complete 04:15:41 3f3a8bcf1eab: Verifying Checksum 04:15:41 3f3a8bcf1eab: Download complete 04:16:00 3f3a8bcf1eab: Pull complete 04:16:00 0c92f367c5e7: Pull complete 04:16:01 3096ccb668a1: Pull complete 04:16:01 e8cf19c19ddd: Pull complete 04:16:08 a4caa8a26152: Pull complete 04:16:08 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 04:16:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:16:08 ---> 725f1c02e7f9 04:16:08 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:16:09 ---> Running in 56ac5a0df17c 04:16:09 Removing intermediate container 56ac5a0df17c 04:16:09 ---> 61d7edded465 04:16:09 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:16:10 ---> Running in 9a75161a3aa4 04:16:10 Removing intermediate container 9a75161a3aa4 04:16:10 ---> d19a5268e8c5 04:16:10 Step 5/12 : WORKDIR /device-virtual-go 04:16:10 ---> Running in 2fd6ab687220 04:16:10 Removing intermediate container 2fd6ab687220 04:16:10 ---> 188c08766c07 04:16:10 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:16:10 ---> Running in f4887e1ce8aa 04:16:12 Removing intermediate container f4887e1ce8aa 04:16:12 ---> 74e5c07b4051 04:16:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:16:13 ---> Running in 92f43defb354 04:16:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:16:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:16:16 (1/4) Installing openssh-keygen (8.8_p1-r1) 04:16:16 (2/4) Installing libedit (20210910.3.1-r0) 04:16:16 (3/4) Installing openssh-client-common (8.8_p1-r1) 04:16:16 (4/4) Installing openssh-client-default (8.8_p1-r1) 04:16:16 Executing busybox-1.34.1-r3.trigger 04:16:16 OK: 224 MiB in 56 packages 04:16:17 Removing intermediate container 92f43defb354 04:16:17 ---> 2d6db48b72fc 04:16:17 Step 8/12 : COPY go.mod vendor* ./ 04:16:18 ---> 884a4b8c0297 04:16:18 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:16:18 ---> Running in 0bdff51461d9 04:17:14 Removing intermediate container 0bdff51461d9 04:17:14 ---> 3e81b146771c 04:17:14 Step 10/12 : COPY . . 04:17:14 ---> 2a62a89db4a5 04:17:14 Step 11/12 : ARG MAKE='make build' 04:17:14 ---> Running in 2160678b6bf4 04:17:14 Removing intermediate container 2160678b6bf4 04:17:14 ---> 37dbd54be2e7 04:17:14 Step 12/12 : RUN $MAKE 04:17:14 ---> Running in 2e510f0b682f 04:17:14 noop 04:17:14 Removing intermediate container 2e510f0b682f 04:17:14 ---> a7ceabb5c774 04:17:14 Successfully built a7ceabb5c774 04:17:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:17:15 + docker inspect -f . ci-base-image-arm64 04:17:15 . [Pipeline] withDockerContainer 04:17:15 prd-ubuntu20.04-docker-arm64-4c-16g-40300 does not seem to be running inside a container 04:17:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/31 -v /w/workspace/device-virtual-go/31:/w/workspace/device-virtual-go/31:rw,z -v /w/workspace/device-virtual-go/31@tmp:/w/workspace/device-virtual-go/31@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 04:17:16 $ docker top 2abea019fd21ab7f587c6bcaedcb283dfeb991b51795abe4b57d601edead7565 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:17 + go version 04:17:17 go version go1.17.6 linux/arm64 [Pipeline] } 04:17:17 $ docker stop --time=1 2abea019fd21ab7f587c6bcaedcb283dfeb991b51795abe4b57d601edead7565 04:17:19 $ docker rm -f 2abea019fd21ab7f587c6bcaedcb283dfeb991b51795abe4b57d601edead7565 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:17:20 + docker inspect -f . ci-base-image-arm64 04:17:20 . [Pipeline] withDockerContainer 04:17:20 prd-ubuntu20.04-docker-arm64-4c-16g-40300 does not seem to be running inside a container 04:17:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/31 -v /w/workspace/device-virtual-go/31:/w/workspace/device-virtual-go/31:rw,z -v /w/workspace/device-virtual-go/31@tmp:/w/workspace/device-virtual-go/31@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 04:17:21 $ docker top 21ca3bc806586b0e4892515bc7a5de8e98258faabd4678c5eb64b1462fc67038 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:17:22 + make test 04:17:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:17:24 ? github.com/edgexfoundry/device-virtual-go [no test files] 04:19:01 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 04:19:01 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.160s coverage: 65.7% of statements 04:19:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:19:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:19:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:19:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:19:34 ./bin/test-attribution-txt.sh [Pipeline] echo 04:19:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:19:34 $ docker stop --time=1 21ca3bc806586b0e4892515bc7a5de8e98258faabd4678c5eb64b1462fc67038 04:19:36 $ docker rm -f 21ca3bc806586b0e4892515bc7a5de8e98258faabd4678c5eb64b1462fc67038 [Pipeline] // withDockerContainer [Pipeline] sh 04:19:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:19:37 Warning: overwriting stash ‘coverage-report’ 04:19:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:19:38 + ls -al . 04:19:38 total 180 04:19:38 drwxrwxr-x 7 jenkins jenkins 4096 May 3 04:19 . 04:19:38 drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:15 .. 04:19:38 drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:15 .git 04:19:38 drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:15 .github 04:19:38 -rw-rw-r-- 1 jenkins jenkins 270 May 3 04:15 .gitignore 04:19:38 -rw-rw-r-- 1 jenkins jenkins 41 May 3 04:15 .golangci.yml 04:19:38 -rw-rw-r-- 1 jenkins jenkins 7893 May 3 04:15 Attribution.txt 04:19:38 -rw-rw-r-- 1 jenkins jenkins 6349 May 3 04:15 CHANGELOG.md 04:19:38 -rw-rw-r-- 1 jenkins jenkins 1974 May 3 04:15 Dockerfile 04:19:38 -rw-rw-r-- 1 jenkins jenkins 677 May 3 04:15 GOVERNANCE.md 04:19:38 -rw-rw-r-- 1 jenkins jenkins 660 May 3 04:15 Jenkinsfile 04:19:38 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 04:15 LICENSE 04:19:38 -rw-rw-r-- 1 jenkins jenkins 2248 May 3 04:15 Makefile 04:19:38 -rw-rw-r-- 1 jenkins jenkins 623 May 3 04:15 OWNERS.md 04:19:38 -rw-rw-r-- 1 jenkins jenkins 2914 May 3 04:15 README.md 04:19:38 -rw-rw-r-- 1 jenkins jenkins 12 May 3 03:34 VERSION 04:19:38 drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:15 bin 04:19:38 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:15 cmd 04:19:38 -rw-r--r-- 1 jenkins jenkins 44128 May 3 04:18 coverage.out 04:19:38 -rw-rw-r-- 1 jenkins jenkins 3185 May 3 04:15 go.mod 04:19:38 -rw-rw-r-- 1 jenkins jenkins 35098 May 3 04:15 go.sum 04:19:38 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:15 internal 04:19:38 -rw-rw-r-- 1 jenkins jenkins 235 May 3 04:15 version.go [Pipeline] isUnix [Pipeline] sh 04:19:39 + 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=099b8ea86ae346ef1d450a8d185b2283d3122d98 --label arch=arm64 --label version=2.2.0-dev.15 . 04:19:39 Sending build context to Docker daemon 11.62MB 04:19:39 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 04:19:39 Step 2/26 : FROM ${BASE} AS builder 04:19:39 ---> a7ceabb5c774 04:19:39 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:19:39 ---> Running in 2e0e624293bb 04:19:40 Removing intermediate container 2e0e624293bb 04:19:40 ---> 133ff9d3370c 04:19:40 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:19:40 ---> Running in e812fd9d08fd 04:19:40 Removing intermediate container e812fd9d08fd 04:19:40 ---> 3cd704e2f98b 04:19:40 Step 5/26 : WORKDIR /device-virtual-go 04:19:40 ---> Running in cdd00c1e36c2 04:19:41 Removing intermediate container cdd00c1e36c2 04:19:41 ---> 97bf30abdb14 04:19:41 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:19:41 ---> Running in 5dc38720b603 04:19:43 Removing intermediate container 5dc38720b603 04:19:43 ---> 15efc798032e 04:19:43 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:19:43 ---> Running in 213e3559c550 04:19:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:19:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:19:46 OK: 224 MiB in 56 packages 04:19:47 Removing intermediate container 213e3559c550 04:19:47 ---> 8a8fc3b1b23a 04:19:47 Step 8/26 : COPY go.mod vendor* ./ 04:19:47 ---> e1292a5fe992 04:19:47 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:19:47 ---> Running in 92b71e94fb7e 04:19:50 Removing intermediate container 92b71e94fb7e 04:19:50 ---> b412491e7490 04:19:50 Step 10/26 : COPY . . 04:19:51 ---> 2b2e7d3e3554 04:19:51 Step 11/26 : ARG MAKE='make build' 04:19:51 ---> Running in 72c11412f1d0 04:19:51 Removing intermediate container 72c11412f1d0 04:19:51 ---> 3a1cedc7b182 04:19:51 Step 12/26 : RUN $MAKE 04:19:51 ---> Running in 63efeaef2dd0 04:19:52 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 04:22:29 Removing intermediate container 63efeaef2dd0 04:22:29 ---> 2ad1d9cf1375 04:22:29 Step 13/26 : FROM alpine:3.14 04:22:29 3.14: Pulling from library/alpine 04:22:29 455c02918c45: Pulling fs layer 04:22:29 455c02918c45: Download complete 04:22:29 455c02918c45: Pull complete 04:22:29 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:22:29 Status: Downloaded newer image for alpine:3.14 04:22:29 ---> ac73e934f311 04:22:29 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 04:22:29 ---> Running in 701ef340ddb2 04:22:29 Removing intermediate container 701ef340ddb2 04:22:29 ---> 3c54290238d7 04:22:29 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:22:29 ---> Running in 45aee00af720 04:22:29 Removing intermediate container 45aee00af720 04:22:29 ---> 4136b4a88813 04:22:29 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 04:22:29 ---> Running in 01adb253dc38 04:22:29 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:22:29 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:22:29 (1/6) Installing dumb-init (1.2.5-r1) 04:22:29 (2/6) Installing libgcc (10.3.1_git20210424-r2) 04:22:29 (3/6) Installing libsodium (1.0.18-r0) 04:22:29 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 04:22:29 (5/6) Installing libzmq (4.3.4-r0) 04:22:29 (6/6) Installing zeromq (4.3.4-r0) 04:22:29 Executing busybox-1.33.1-r7.trigger 04:22:29 OK: 8 MiB in 20 packages 04:22:29 Removing intermediate container 01adb253dc38 04:22:29 ---> c2679708ba84 04:22:29 Step 17/26 : WORKDIR / 04:22:29 ---> Running in c6f458012fec 04:22:29 Removing intermediate container c6f458012fec 04:22:29 ---> 5b55b2f63ef1 04:22:29 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 04:22:30 ---> 8a5a04877242 04:22:30 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 04:22:30 ---> 23c117418aee 04:22:30 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 04:22:32 ---> d5fceca5e21f 04:22:32 Step 21/26 : EXPOSE 59900 04:22:32 ---> Running in 6dc2d8143781 04:22:32 Removing intermediate container 6dc2d8143781 04:22:32 ---> 583ea8027d79 04:22:32 Step 22/26 : ENTRYPOINT ["/device-virtual"] 04:22:32 ---> Running in 3a84220cab35 04:22:33 Removing intermediate container 3a84220cab35 04:22:33 ---> 71a1a5e38162 04:22:33 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:22:33 ---> Running in 26d91516c146 04:22:33 Removing intermediate container 26d91516c146 04:22:33 ---> b062b1ee1609 04:22:33 Step 24/26 : LABEL arch=arm64 04:22:33 ---> Running in 29ac2a885c05 04:22:33 Removing intermediate container 29ac2a885c05 04:22:33 ---> 0b495faa1c8c 04:22:33 Step 25/26 : LABEL git_sha=099b8ea86ae346ef1d450a8d185b2283d3122d98 04:22:33 ---> Running in 6048f7c765e2 04:22:34 Removing intermediate container 6048f7c765e2 04:22:34 ---> 6bbceb630daf 04:22:34 Step 26/26 : LABEL version=2.2.0-dev.15 04:22:34 ---> Running in 60f9f73165de 04:22:34 Removing intermediate container 60f9f73165de 04:22:34 ---> ccdf6f7affeb 04:22:34 [Warning] One or more build-args [ARCH] were not consumed 04:22:34 Successfully built ccdf6f7affeb 04:22:34 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 04:22:34 provisioning config files... 04:22:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/31@tmp/config4290898426687368879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:35 ---> docker-login.sh 04:22:35 nexus3.edgexfoundry.org:10001 04:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:35 Configure a credential helper to remove this warning. See 04:22:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:35 04:22:35 Login Succeeded 04:22:35 nexus3.edgexfoundry.org:10002 04:22:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:36 Configure a credential helper to remove this warning. See 04:22:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:36 04:22:36 Login Succeeded 04:22:36 nexus3.edgexfoundry.org:10003 04:22:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:36 Configure a credential helper to remove this warning. See 04:22:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:36 04:22:36 Login Succeeded 04:22:36 nexus3.edgexfoundry.org:10004 04:22:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:37 Configure a credential helper to remove this warning. See 04:22:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:37 04:22:37 Login Succeeded 04:22:37 docker.io 04:22:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:38 Configure a credential helper to remove this warning. See 04:22:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:38 04:22:38 Login Succeeded 04:22:38 ---> docker-login.sh ends [Pipeline] } 04:22:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:22:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:22:38 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 04:22:38 099b8ea86ae346ef1d450a8d185b2283d3122d98 04:22:38 latest 04:22:38 2.2.0-dev.15 04:22:38 099b8ea86ae346ef1d450a8d185b2283d3122d98-2.2.0-dev.15 04:22:38 main 04:22:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:22:38 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:099b8ea86ae346ef1d450a8d185b2283d3122d98 [Pipeline] isUnix [Pipeline] sh 04:22:39 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:099b8ea86ae346ef1d450a8d185b2283d3122d98 04:22:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:22:39 b32b565c99b8: Preparing 04:22:39 651ea149d982: Preparing 04:22:39 27d136157d2d: Preparing 04:22:39 eff9ed7932b6: Preparing 04:22:39 2236c646c160: Preparing 04:22:39 f73e7dbfee58: Preparing 04:22:39 f73e7dbfee58: Waiting 04:22:39 2236c646c160: Pushed 04:22:39 27d136157d2d: Pushed 04:22:39 651ea149d982: Pushed 04:22:39 f73e7dbfee58: Layer already exists 04:22:39 eff9ed7932b6: Pushed 04:22:45 b32b565c99b8: Pushed 04:22:45 099b8ea86ae346ef1d450a8d185b2283d3122d98: digest: sha256:5c3f27d83eff06117af7b9a27784c8f3c30e88a8d3fba6efd4056caff8687c59 size: 1573 [Pipeline] isUnix [Pipeline] sh 04:22:45 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:22:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 04:22:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:22:46 b32b565c99b8: Preparing 04:22:46 651ea149d982: Preparing 04:22:46 27d136157d2d: Preparing 04:22:46 eff9ed7932b6: Preparing 04:22:46 2236c646c160: Preparing 04:22:46 f73e7dbfee58: Preparing 04:22:46 651ea149d982: Layer already exists 04:22:46 27d136157d2d: Layer already exists 04:22:46 2236c646c160: Layer already exists 04:22:46 eff9ed7932b6: Layer already exists 04:22:46 b32b565c99b8: Layer already exists 04:22:46 f73e7dbfee58: Layer already exists 04:22:46 latest: digest: sha256:5c3f27d83eff06117af7b9a27784c8f3c30e88a8d3fba6efd4056caff8687c59 size: 1573 [Pipeline] isUnix [Pipeline] sh 04:22:46 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh 04:22:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.15 04:22:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:22:46 b32b565c99b8: Preparing 04:22:46 651ea149d982: Preparing 04:22:46 27d136157d2d: Preparing 04:22:46 eff9ed7932b6: Preparing 04:22:46 2236c646c160: Preparing 04:22:46 f73e7dbfee58: Preparing 04:22:46 f73e7dbfee58: Waiting 04:22:46 eff9ed7932b6: Layer already exists 04:22:46 b32b565c99b8: Layer already exists 04:22:46 27d136157d2d: Layer already exists 04:22:46 651ea149d982: Layer already exists 04:22:46 2236c646c160: Layer already exists 04:22:47 f73e7dbfee58: Layer already exists 04:22:47 2.2.0-dev.15: digest: sha256:5c3f27d83eff06117af7b9a27784c8f3c30e88a8d3fba6efd4056caff8687c59 size: 1573 [Pipeline] isUnix [Pipeline] sh 04:22:47 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:099b8ea86ae346ef1d450a8d185b2283d3122d98-2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh 04:22:47 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:099b8ea86ae346ef1d450a8d185b2283d3122d98-2.2.0-dev.15 04:22:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:22:47 b32b565c99b8: Preparing 04:22:47 651ea149d982: Preparing 04:22:47 27d136157d2d: Preparing 04:22:47 eff9ed7932b6: Preparing 04:22:47 2236c646c160: Preparing 04:22:47 f73e7dbfee58: Preparing 04:22:47 f73e7dbfee58: Waiting 04:22:47 b32b565c99b8: Layer already exists 04:22:47 2236c646c160: Layer already exists 04:22:47 651ea149d982: Layer already exists 04:22:48 eff9ed7932b6: Layer already exists 04:22:48 27d136157d2d: Layer already exists 04:22:48 f73e7dbfee58: Layer already exists 04:22:48 099b8ea86ae346ef1d450a8d185b2283d3122d98-2.2.0-dev.15: digest: sha256:5c3f27d83eff06117af7b9a27784c8f3c30e88a8d3fba6efd4056caff8687c59 size: 1573 [Pipeline] isUnix [Pipeline] sh 04:22:48 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh 04:22:48 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 04:22:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:22:48 b32b565c99b8: Preparing 04:22:48 651ea149d982: Preparing 04:22:48 27d136157d2d: Preparing 04:22:48 eff9ed7932b6: Preparing 04:22:48 2236c646c160: Preparing 04:22:48 f73e7dbfee58: Preparing 04:22:48 f73e7dbfee58: Waiting 04:22:48 b32b565c99b8: Layer already exists 04:22:48 2236c646c160: Layer already exists 04:22:48 27d136157d2d: Layer already exists 04:22:48 651ea149d982: Layer already exists 04:22:49 eff9ed7932b6: Layer already exists 04:22:49 f73e7dbfee58: Layer already exists 04:22:49 main: digest: sha256:5c3f27d83eff06117af7b9a27784c8f3c30e88a8d3fba6efd4056caff8687c59 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:22:49 ===================================================== [Pipeline] echo 04:22:49 taggedImages: 04:22:49 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:099b8ea86ae346ef1d450a8d185b2283d3122d98 04:22:49 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 04:22:49 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.15 04:22:49 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:099b8ea86ae346ef1d450a8d185b2283d3122d98-2.2.0-dev.15 04:22:49 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:22:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:49 04:22:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:22:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:50 arm64: Pulling from edgex-lftools-log-publisher 04:22:50 8998bd30e6a1: Pulling fs layer 04:22:50 04944245beec: Pulling fs layer 04:22:50 699f458cf7ca: Pulling fs layer 04:22:50 765212b225bb: Pulling fs layer 04:22:50 f23df028b6ca: Pulling fs layer 04:22:50 d65c8cfc05b1: Pulling fs layer 04:22:50 2437ff75d9bd: Pulling fs layer 04:22:50 f23df028b6ca: Waiting 04:22:50 765212b225bb: Waiting 04:22:50 d65c8cfc05b1: Waiting 04:22:50 2437ff75d9bd: Waiting 04:22:50 04944245beec: Verifying Checksum 04:22:50 04944245beec: Download complete 04:22:50 765212b225bb: Verifying Checksum 04:22:50 765212b225bb: Download complete 04:22:50 f23df028b6ca: Verifying Checksum 04:22:50 f23df028b6ca: Download complete 04:22:50 d65c8cfc05b1: Verifying Checksum 04:22:50 d65c8cfc05b1: Download complete 04:22:50 699f458cf7ca: Verifying Checksum 04:22:50 699f458cf7ca: Download complete 04:22:50 8998bd30e6a1: Verifying Checksum 04:22:50 8998bd30e6a1: Download complete 04:22:53 2437ff75d9bd: Verifying Checksum 04:22:53 2437ff75d9bd: Download complete 04:22:55 8998bd30e6a1: Pull complete 04:22:56 04944245beec: Pull complete 04:22:57 699f458cf7ca: Pull complete 04:22:57 765212b225bb: Pull complete 04:22:58 f23df028b6ca: Pull complete 04:22:59 d65c8cfc05b1: Pull complete 04:23:14 2437ff75d9bd: Pull complete 04:23:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:23:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:23:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:23:14 prd-ubuntu20.04-docker-arm64-4c-16g-40300 does not seem to be running inside a container 04:23:14 $ 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/31 -v /w/workspace/device-virtual-go/31:/w/workspace/device-virtual-go/31:rw,z -v /w/workspace/device-virtual-go/31@tmp:/w/workspace/device-virtual-go/31@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 04:23:17 $ docker top b25ae1102856c61aff9718e36a6c2e2ab44554d29aca9b91119ecd1932f0dbfe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:18 ---> job-cost.sh 04:23:18 lf-activate-venv: SKIPPING 04:23:18 INFO: No Stack... 04:23:18 INFO: Retrieving Pricing Info for: v3-standard-4 04:23:19 INFO: Archiving Costs [Pipeline] sh 04:23:20 + cat /w/workspace/device-virtual-go/31/archives/cost.csv 04:23:20 + cut -d, -f6 [Pipeline] lock 04:23:20 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-31-stack-cost] 04:23:20 Resource [jenkins-edgexfoundry-device-virtual-go-main-31-stack-cost] did not exist. Created. 04:23:20 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:23:20 /w/workspace/device-virtual-go/31@tmp/durable-8afefc26/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:23:21 + echo total: 0.10999999940395355 [Pipeline] stash 04:23:21 Warning: overwriting stash ‘stack-cost’ 04:23:21 Stashed 1 file(s) [Pipeline] } 04:23:21 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } 04:23:21 $ docker stop --time=1 b25ae1102856c61aff9718e36a6c2e2ab44554d29aca9b91119ecd1932f0dbfe 04:23:23 $ docker rm -f b25ae1102856c61aff9718e36a6c2e2ab44554d29aca9b91119ecd1932f0dbfe [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 04:23:23 provisioning config files... 04:23:23 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7412448129913860451tmp [Pipeline] { [Pipeline] sh 04:23:24 + set +x 04:23:24 + curl -s https://codecov.io/bash 04:23:24 + bash -s -- 04:23:24 04:23:24 _____ _ 04:23:24 / ____| | | 04:23:24 | | ___ __| | ___ ___ _____ __ 04:23:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:23:24 | |___| (_) | (_| | __/ (_| (_) \ V / 04:23:24 \_____\___/ \__,_|\___|\___\___/ \_/ 04:23:24 Bash-1.0.6 04:23:24 04:23:24 04:23:24 ==> git version 2.25.1 found 04:23:24 ==> 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 04:23:24 Release-Date: 2020-01-08 04:23:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:23:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:23:24 ==> Jenkins CI detected. 04:23:24 current dir:  /w/workspace/exfoundry_device-virtual-go_main 04:23:24 project root: . 04:23:24 --> token set from env 04:23:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:23:24 ==> Running gcov in . (disable via -X gcov) 04:23:24 ==> Python coveragepy not found 04:23:24 ==> Searching for coverage reports in: 04:23:24 + . 04:23:24 -> Found 1 reports 04:23:24 ==> Detecting git/mercurial file structure 04:23:24 ==> Reading reports 04:23:24 + ./coverage.out bytes=44128 04:23:24 ==> Appending adjustments 04:23:24 https://docs.codecov.io/docs/fixing-reports 04:23:24 + Found adjustments 04:23:24 ==> Gzipping contents 04:23:24 8.0K /tmp/codecov.Hjw93I.gz 04:23:24 ==> Uploading reports 04:23:24 url: https://codecov.io 04:23:24 query: branch=main&commit=099b8ea86ae346ef1d450a8d185b2283d3122d98&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:23:24 -> Pinging Codecov 04:23:24 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=099b8ea86ae346ef1d450a8d185b2283d3122d98&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:23:24 -> Uploading to 04:23:24 https://storage.googleapis.com/codecov/v4/raw/2022-05-03/5E52B4B073DB2E39498172D8E973AA87/099b8ea86ae346ef1d450a8d185b2283d3122d98/020300bf-1f60-4b77-8478-520423db02d4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220503T042324Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f830a59092a87d226dbee3119ec708544044e5ba8155de87c6a3936837e404ff 04:23:24 % Total % Received % Xferd Average Speed Time Time Time Current 04:23:24 Dload Upload Total Spent Left Speed 04:23:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5280 0 0 100 5280 0 26009 --:--:-- --:--:-- --:--:-- 25882 100 5280 0 0 100 5280 0 23891 --:--:-- --:--:-- --:--:-- 23783 04:23:24 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/099b8ea86ae346ef1d450a8d185b2283d3122d98 [Pipeline] } 04:23:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:23:24 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:23:24 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:23:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:23:25 04:23:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 04:23:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:23:25 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:23:25 188c0c94c7c5: Pulling fs layer 04:23:25 0ef7d3d256c8: Pulling fs layer 04:23:25 de9db76c5a1d: Pulling fs layer 04:23:25 0eba1c9be4d2: Pulling fs layer 04:23:25 0d57e429df01: Pulling fs layer 04:23:25 4e4be7b47b0d: Pulling fs layer 04:23:25 e1f770b5df2f: Pulling fs layer 04:23:25 85a0685a4137: Pulling fs layer 04:23:25 0d57e429df01: Waiting 04:23:25 4e4be7b47b0d: Waiting 04:23:25 e1f770b5df2f: Waiting 04:23:25 85a0685a4137: Waiting 04:23:25 0eba1c9be4d2: Waiting 04:23:25 de9db76c5a1d: Download complete 04:23:25 0ef7d3d256c8: Verifying Checksum 04:23:25 0ef7d3d256c8: Download complete 04:23:25 0d57e429df01: Verifying Checksum 04:23:25 0d57e429df01: Download complete 04:23:25 4e4be7b47b0d: Verifying Checksum 04:23:25 4e4be7b47b0d: Download complete 04:23:25 188c0c94c7c5: Verifying Checksum 04:23:25 188c0c94c7c5: Download complete 04:23:25 188c0c94c7c5: Pull complete 04:23:25 0ef7d3d256c8: Pull complete 04:23:25 e1f770b5df2f: Verifying Checksum 04:23:25 e1f770b5df2f: Download complete 04:23:25 de9db76c5a1d: Pull complete 04:23:26 0eba1c9be4d2: Verifying Checksum 04:23:26 0eba1c9be4d2: Download complete 04:23:26 85a0685a4137: Verifying Checksum 04:23:26 85a0685a4137: Download complete 04:23:29 0eba1c9be4d2: Pull complete 04:23:29 0d57e429df01: Pull complete 04:23:29 4e4be7b47b0d: Pull complete 04:23:29 e1f770b5df2f: Pull complete 04:23:33 85a0685a4137: Pull complete 04:23:33 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 04:23:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:23:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 04:23:33 prd-ubuntu20.04-docker-8c-8g-38390 does not seem to be running inside a container 04:23:33 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:23:35 $ docker top f61d1f4e0109814d509b9ba31bb2323aceeea633635b83d69c9698a3224c8084 -eo pid,comm [Pipeline] { [Pipeline] echo 04:23:35 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 04:23:35 + set -o pipefail 04:23:35 + snyk monitor '--org=edgex-jenkins' 04:23:41 04:23:41 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 04:23:41 04:23:41 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/4a02de6e-8ad3-4bcc-96f2-d81bd3b1cd22 04:23:41 04:23:41 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:23:41 04:23:41 [Pipeline] } 04:23:41 $ docker stop --time=1 f61d1f4e0109814d509b9ba31bb2323aceeea633635b83d69c9698a3224c8084 04:23:42 $ docker rm -f f61d1f4e0109814d509b9ba31bb2323aceeea633635b83d69c9698a3224c8084 [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 04:23:43 + git log --format=format:%s -1 099b8ea86ae346ef1d450a8d185b2283d3122d98 [Pipeline] sh 04:23:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:23:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:23:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:23:44 . [Pipeline] withDockerContainer 04:23:44 prd-ubuntu20.04-docker-8c-8g-38390 does not seem to be running inside a container 04:23:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 04:23:44 $ docker top d0bdb41f94befcd848bef0a8654e2db3439008b35bc4d74e9721fa0c196fbc01 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:23:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:23:44 [ssh-agent] Looking for ssh-agent implementation... 04:23:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:23:44 $ docker exec d0bdb41f94befcd848bef0a8654e2db3439008b35bc4d74e9721fa0c196fbc01 ssh-agent 04:23:45 SSH_AUTH_SOCK=/tmp/ssh-OIhoZISRyHq5/agent.33 04:23:45 SSH_AGENT_PID=39 04:23:45 Running ssh-add (command line suppressed) 04:23:45 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2960989474035961650.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2960989474035961650.key) 04:23:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:23:45 + git semver tag 04:23:45 2022-05-03 04:23:45,703 [run_tag] DEBUG tag force:False 04:23:45 2022-05-03 04:23:45,703 [check_head_tag] DEBUG check head tag 04:23:45 2022-05-03 04:23:45,704 [execute] INFO git cat-file --batch-check 04:23:45 2022-05-03 04:23:45,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 04:23:45 2022-05-03 04:23:45,707 [execute] INFO git cat-file --batch 04:23:45 2022-05-03 04:23:45,707 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 04:23:45 2022-05-03 04:23:45,721 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:23:45 2022-05-03 04:23:45,721 [execute] INFO git tag -a v2.2.0-dev.15 -m v2.2.0-dev.15 04:23:45 2022-05-03 04:23:45,721 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.15', '-m', 'v2.2.0-dev.15'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 04:23:45 2022-05-03 04:23:45,725 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:23:45 2.2.0-dev.15 [Pipeline] } 04:23:45 $ docker exec --env ******** --env ******** d0bdb41f94befcd848bef0a8654e2db3439008b35bc4d74e9721fa0c196fbc01 ssh-agent -k 04:23:45 unset SSH_AUTH_SOCK; 04:23:45 unset SSH_AGENT_PID; 04:23:45 echo Agent pid 39 killed; 04:23:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:23:46 + git semver [Pipeline] } 04:23:46 $ docker stop --time=1 d0bdb41f94befcd848bef0a8654e2db3439008b35bc4d74e9721fa0c196fbc01 04:23:47 $ docker rm -f d0bdb41f94befcd848bef0a8654e2db3439008b35bc4d74e9721fa0c196fbc01 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 04:23:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:23:48 04:23:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 04:23:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:23:48 0.23.1-centos7: Pulling from edgex-lftools 04:23:48 ab5ef0e58194: Pulling fs layer 04:23:48 9712f1f96733: Pulling fs layer 04:23:48 63f879dbbcfc: Pulling fs layer 04:23:48 0d9ebad4ef96: Pulling fs layer 04:23:48 e9a5061849ea: Pulling fs layer 04:23:48 d747dcd14b5f: Pulling fs layer 04:23:48 2de7ff778b66: Pulling fs layer 04:23:48 d747dcd14b5f: Waiting 04:23:48 0d9ebad4ef96: Waiting 04:23:48 e9a5061849ea: Waiting 04:23:48 2de7ff778b66: Waiting 04:23:48 9712f1f96733: Verifying Checksum 04:23:48 9712f1f96733: Download complete 04:23:48 63f879dbbcfc: Verifying Checksum 04:23:48 63f879dbbcfc: Download complete 04:23:48 e9a5061849ea: Verifying Checksum 04:23:48 e9a5061849ea: Download complete 04:23:48 d747dcd14b5f: Download complete 04:23:48 0d9ebad4ef96: Verifying Checksum 04:23:48 0d9ebad4ef96: Download complete 04:23:48 ab5ef0e58194: Verifying Checksum 04:23:48 ab5ef0e58194: Download complete 04:23:49 2de7ff778b66: Verifying Checksum 04:23:49 2de7ff778b66: Download complete 04:23:51 ab5ef0e58194: Pull complete 04:23:51 9712f1f96733: Pull complete 04:23:52 63f879dbbcfc: Pull complete 04:23:56 0d9ebad4ef96: Pull complete 04:23:56 e9a5061849ea: Pull complete 04:23:56 d747dcd14b5f: Pull complete 04:23:57 2de7ff778b66: Pull complete 04:23:57 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:23:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:23:57 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 04:23:57 prd-ubuntu20.04-docker-8c-8g-38390 does not seem to be running inside a container 04:23:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:23:59 $ docker top d3bb6df9de6672f0ff5ba766a48df0689bdba88f7385fd6334c1c62d4ae1d364 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:23:59 provisioning config files... 04:23:59 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6140332139044969742tmp 04:23:59 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6693564380699320180tmp 04:23:59 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7411958352152380565tmp [Pipeline] { [Pipeline] echo 04:23:59 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:24:00 ---> sigul-configuration.sh 04:24:00 gpg: directory `/root/.gnupg' created 04:24:00 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:24:00 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:24:00 gpg: keyring `/root/.gnupg/secring.gpg' created 04:24:00 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:24:00 gpg: CAST5 encrypted data 04:24:00 gpg: encrypted with 1 passphrase 04:24:00 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:24:00 + mkdir /home/jenkins 04:24:00 + mkdir /home/jenkins/sigul [Pipeline] sh 04:24:00 + 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 04:24:00 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:24:00 ---> sigul-install.sh 04:24:00 Sigul already installed; skipping installation. [Pipeline] sh 04:24:01 + git tag --list 04:24:01 v1.0.0 04:24:01 v1.1.0 04:24:01 v1.1.1 04:24:01 v1.2.1 04:24:01 v1.2.2 04:24:01 v1.2.3 04:24:01 v1.3.0 04:24:01 v1.3.1 04:24:01 v2.0.0 04:24:01 v2.0.1-dev.1 04:24:01 v2.0.1-dev.10 04:24:01 v2.0.1-dev.11 04:24:01 v2.0.1-dev.12 04:24:01 v2.0.1-dev.13 04:24:01 v2.0.1-dev.14 04:24:01 v2.0.1-dev.15 04:24:01 v2.0.1-dev.2 04:24:01 v2.0.1-dev.3 04:24:01 v2.0.1-dev.4 04:24:01 v2.0.1-dev.5 04:24:01 v2.0.1-dev.6 04:24:01 v2.0.1-dev.7 04:24:01 v2.0.1-dev.8 04:24:01 v2.0.1-dev.9 04:24:01 v2.1.0 04:24:01 v2.2.0-dev.1 04:24:01 v2.2.0-dev.10 04:24:01 v2.2.0-dev.11 04:24:01 v2.2.0-dev.12 04:24:01 v2.2.0-dev.13 04:24:01 v2.2.0-dev.14 04:24:01 v2.2.0-dev.15 04:24:01 v2.2.0-dev.2 04:24:01 v2.2.0-dev.3 04:24:01 v2.2.0-dev.4 04:24:01 v2.2.0-dev.5 04:24:01 v2.2.0-dev.6 04:24:01 v2.2.0-dev.7 04:24:01 v2.2.0-dev.8 04:24:01 v2.2.0-dev.9 [Pipeline] sh 04:24:01 + lftools sign git-tag v2.2.0-dev.15 04:24:02 Signing Git tag with Sigul... 04:24:02 Signing v2.2.0-dev.15 [Pipeline] echo 04:24:02 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:24:02 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:24:02 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:24:02 $ docker stop --time=1 d3bb6df9de6672f0ff5ba766a48df0689bdba88f7385fd6334c1c62d4ae1d364 04:24:03 $ docker rm -f d3bb6df9de6672f0ff5ba766a48df0689bdba88f7385fd6334c1c62d4ae1d364 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:24:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:24:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:24:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:24:04 . [Pipeline] withDockerContainer 04:24:04 prd-ubuntu20.04-docker-8c-8g-38390 does not seem to be running inside a container 04:24:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 04:24:05 $ docker top 26f3b9477457b3e2e43232c58cc5a3c797aeec62d75da065a4ac0fb0e80f0265 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:24:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:24:05 [ssh-agent] Looking for ssh-agent implementation... 04:24:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:24:05 $ docker exec 26f3b9477457b3e2e43232c58cc5a3c797aeec62d75da065a4ac0fb0e80f0265 ssh-agent 04:24:05 SSH_AUTH_SOCK=/tmp/ssh-v2npFKFTbC2p/agent.32 04:24:05 SSH_AGENT_PID=39 04:24:05 Running ssh-add (command line suppressed) 04:24:05 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4971799841569046123.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4971799841569046123.key) 04:24:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:24:06 + git semver bump pre 04:24:06 2022-05-03 04:24:06,194 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:24:06 2022-05-03 04:24:06,194 [bump_version] DEBUG bumping version:2.2.0-dev.15 on axis:pre with prefix:dev 04:24:06 2022-05-03 04:24:06,194 [bump_version] DEBUG bumped version:2.2.0-dev.16 04:24:06 2022-05-03 04:24:06,194 [write_version] DEBUG write version:2.2.0-dev.16 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 04:24:06 2022-05-03 04:24:06,194 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:24:06 2022-05-03 04:24:06,194 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:24:06 2022-05-03 04:24:06,196 [execute] INFO git cat-file --batch-check 04:24:06 2022-05-03 04:24:06,196 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:24:06 2022-05-03 04:24:06,201 [execute] INFO git cat-file --batch 04:24:06 2022-05-03 04:24:06,201 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:24:06 2022-05-03 04:24:06,206 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:24:06 2.2.0-dev.16 [Pipeline] } 04:24:06 $ docker exec --env ******** --env ******** 26f3b9477457b3e2e43232c58cc5a3c797aeec62d75da065a4ac0fb0e80f0265 ssh-agent -k 04:24:06 unset SSH_AUTH_SOCK; 04:24:06 unset SSH_AGENT_PID; 04:24:06 echo Agent pid 39 killed; 04:24:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:24:06 + git semver [Pipeline] } 04:24:06 $ docker stop --time=1 26f3b9477457b3e2e43232c58cc5a3c797aeec62d75da065a4ac0fb0e80f0265 04:24:08 $ docker rm -f 26f3b9477457b3e2e43232c58cc5a3c797aeec62d75da065a4ac0fb0e80f0265 [Pipeline] // withDockerContainer [Pipeline] sh 04:24:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:24:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:24:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:24:08 . [Pipeline] withDockerContainer 04:24:09 prd-ubuntu20.04-docker-8c-8g-38390 does not seem to be running inside a container 04:24:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 04:24:09 $ docker top 7e7c743fe07096ce3b62c416c1cc8746a3ef58a237d65bb6a8824be4e4d10c39 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:24:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:24:09 [ssh-agent] Looking for ssh-agent implementation... 04:24:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:24:09 $ docker exec 7e7c743fe07096ce3b62c416c1cc8746a3ef58a237d65bb6a8824be4e4d10c39 ssh-agent 04:24:09 SSH_AUTH_SOCK=/tmp/ssh-D2JGgOGO3WIt/agent.32 04:24:09 SSH_AGENT_PID=39 04:24:09 Running ssh-add (command line suppressed) 04:24:09 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_695849818448463495.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_695849818448463495.key) 04:24:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:24:10 + git semver push 04:24:10 2022-05-03 04:24:10,398 [run_push] DEBUG push 04:24:10 2022-05-03 04:24:10,398 [execute] INFO git push origin semver 04:24:10 2022-05-03 04:24:10,398 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:24:11 2022-05-03 04:24:11,129 [run_push] DEBUG push all version tags 04:24:11 2022-05-03 04:24:11,130 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:24:11 2022-05-03 04:24:11,130 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 04:24:11 2022-05-03 04:24:11,841 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:24:11 2.2.0-dev.16 [Pipeline] } 04:24:11 $ docker exec --env ******** --env ******** 7e7c743fe07096ce3b62c416c1cc8746a3ef58a237d65bb6a8824be4e4d10c39 ssh-agent -k 04:24:12 unset SSH_AUTH_SOCK; 04:24:12 unset SSH_AGENT_PID; 04:24:12 echo Agent pid 39 killed; 04:24:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:24:12 + git semver [Pipeline] } 04:24:12 $ docker stop --time=1 7e7c743fe07096ce3b62c416c1cc8746a3ef58a237d65bb6a8824be4e4d10c39 04:24:14 $ docker rm -f 7e7c743fe07096ce3b62c416c1cc8746a3ef58a237d65bb6a8824be4e4d10c39 [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 04:24:14 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 04:24:14 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 04:24:14 total 16 04:24:14 drwxr-xr-x 3 root root 4096 May 3 03:35 . 04:24:14 drwxrwxr-x 9 jenkins jenkins 4096 May 3 04:24 .. 04:24:14 drwxr-xr-x 2 root root 4096 May 3 03:35 cost 04:24:14 -rw-r--r-- 1 root root 87 May 3 03:35 cost.csv 04:24:14 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 04:24:14 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 04:24:14 total 16 04:24:14 drwxr-xr-x 3 jenkins jenkins 4096 May 3 03:35 . 04:24:14 drwxrwxr-x 9 jenkins jenkins 4096 May 3 04:24 .. 04:24:14 drwxr-xr-x 2 jenkins jenkins 4096 May 3 03:35 cost 04:24:14 -rw-r--r-- 1 jenkins jenkins 87 May 3 03:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:24:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:24:15 ---> package-listing.sh 04:24:15 ++ facter osfamily 04:24:15 ++ tr '[:upper:]' '[:lower:]' 04:24:16 + OS_FAMILY=debian 04:24:16 + workspace=/w/workspace/exfoundry_device-virtual-go_main 04:24:16 + START_PACKAGES=/tmp/packages_start.txt 04:24:16 + END_PACKAGES=/tmp/packages_end.txt 04:24:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:24:16 + PACKAGES=/tmp/packages_start.txt 04:24:16 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 04:24:16 + PACKAGES=/tmp/packages_end.txt 04:24:16 + case "${OS_FAMILY}" in 04:24:16 + dpkg -l 04:24:16 + grep '^ii' 04:24:16 + '[' -f /tmp/packages_start.txt ']' 04:24:16 + '[' -f /tmp/packages_end.txt ']' 04:24:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:24:16 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 04:24:16 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 04:24:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 04:24:16 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 04:24:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:24:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:24:16 . [Pipeline] withDockerContainer 04:24:16 prd-ubuntu20.04-docker-8c-8g-38390 does not seem to be running inside a container 04:24:16 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:24:17 $ docker top 0f782979b1260c8ce0d75dfc52790359a03ccc81d17fd0af4639b2a0f8de8fc3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:17 + touch /tmp/pre-build-complete [Pipeline] sh 04:24:17 + mkdir -p /var/log/sysstat [Pipeline] sh 04:24:18 + ls /var/log/sa-host 04:24:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:24:18 provisioning config files... 04:24:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2249772441521549446tmp [Pipeline] { [Pipeline] echo 04:24:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:24:18 ---> create-netrc.sh [Pipeline] } 04:24:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:24:18 ---> python-tools-install.sh [Pipeline] echo 04:24:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:24:19 ---> sudo-logs.sh 04:24:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:24:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:24:19 ---> job-cost.sh 04:24:19 lf-activate-venv: SKIPPING 04:24:19 DEBUG: total: 0.2199999988079071 04:24:19 INFO: Retrieving Stack Cost... 04:24:20 INFO: Retrieving Pricing Info for: v3-standard-8 04:24:20 INFO: Archiving Costs [Pipeline] echo 04:24:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:24:20 ---> logs-deploy.sh 04:24:20 lf-activate-venv: SKIPPING 04:24:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/31 04:24:20 INFO: archiving workspace using pattern(s): 04:24:21 Archives upload complete. 04:24:21 INFO: archiving logs to Nexus