Pull request #283 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-virtual-go Obtained Jenkinsfile from ed7f5f091573808054d3ba690d1e3634685131fc+b3c8352dddffb55a33ce15791a32ab0061559949 (af9859c44362f4a897f55b8c68a8d759e06d1803) 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-ssh4573047718036132377.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-ssh13016958592154320419.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/PR-283/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/PR-283/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17707540948808491932.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-ssh11491412439032629862.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/PR-283/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/PR-283/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16329814652392787094.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-41381’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-44862’ is offline Running on prd-ubuntu20.04-docker-8c-8g-45062 in /w/workspace/foundry_device-virtual-go_PR-283 [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/foundry_device-virtual-go_PR-283 # 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 Merging remotes/origin/main commit b3c8352dddffb55a33ce15791a32ab0061559949 into PR head commit ed7f5f091573808054d3ba690d1e3634685131fc Merge succeeded, producing ed7f5f091573808054d3ba690d1e3634685131fc Checking out Revision ed7f5f091573808054d3ba690d1e3634685131fc (PR-283) > 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 remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/283/head:refs/remotes/origin/PR-283 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ed7f5f091573808054d3ba690d1e3634685131fc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b3c8352dddffb55a33ce15791a32ab0061559949 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ed7f5f091573808054d3ba690d1e3634685131fc # timeout=10 Commit message: "docs: update CHANGELOG for Kamakura" First time build. Skipping changelog. > git rev-list --no-walk a013439234b9307602081a594efb55ca33150c21 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:43:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:43:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:43:51 ========================================================= 06:43:51 EdgeX Global Pipelines Version Info 06:43:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:43:52 ------------------- 06:43:52 stable info: 06:43:52 ------------------- 06:43:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:43:52 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 06:43:52 Message: update stable to v1.0.227 06:43:52 ------------------- 06:43:52 experimental info: 06:43:52 ------------------- 06:43:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:43:52 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 06:43:52 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:43:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:43:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:43:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:43:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:43:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:43:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:43:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:43:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:43:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:43:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-283 [Pipeline] echo 06:43:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-283 [Pipeline] echo 06:43:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-283 [Pipeline] echo 06:43:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ed7f5f091573808054d3ba690d1e3634685131fc [Pipeline] echo 06:43:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ed7f5f0 [Pipeline] echo 06:43:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:43:53 provisioning config files... 06:43:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-283@tmp/config311074773677801480tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:43:53 ---> docker-login.sh 06:43:53 nexus3.edgexfoundry.org:10001 06:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:53 Configure a credential helper to remove this warning. See 06:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:53 06:43:53 Login Succeeded 06:43:53 nexus3.edgexfoundry.org:10002 06:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:54 Configure a credential helper to remove this warning. See 06:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:54 06:43:54 Login Succeeded 06:43:54 nexus3.edgexfoundry.org:10003 06:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:54 Configure a credential helper to remove this warning. See 06:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:54 06:43:54 Login Succeeded 06:43:54 nexus3.edgexfoundry.org:10004 06:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:54 Configure a credential helper to remove this warning. See 06:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:54 06:43:54 Login Succeeded 06:43:54 docker.io 06:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:54 Configure a credential helper to remove this warning. See 06:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:54 06:43:54 Login Succeeded 06:43:54 ---> docker-login.sh ends [Pipeline] } 06:43:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:43:55 + git rev-list -1 --merges ed7f5f091573808054d3ba690d1e3634685131fc~1..ed7f5f091573808054d3ba690d1e3634685131fc [Pipeline] echo 06:43:55 -----------> git rev-list -1 --merges ed7f5f091573808054d3ba690d1e3634685131fc~1..ed7f5f091573808054d3ba690d1e3634685131fc ed7f5f091573808054d3ba690d1e3634685131fc [false] [Pipeline] sh 06:43:55 + git log --format=format:%s -1 ed7f5f091573808054d3ba690d1e3634685131fc [Pipeline] echo 06:43:55 ========================================================= 06:43:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:43:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:43:56 + git log --format=format:%s -1 ed7f5f091573808054d3ba690d1e3634685131fc [Pipeline] echo 06:43:56 [semverPrep] GIT_COMMIT: ed7f5f091573808054d3ba690d1e3634685131fc, Commit Message: docs: update CHANGELOG for Kamakura [Pipeline] echo 06:43:56 [semverPrep] This is not a build commit. [Pipeline] sh 06:43:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:43:56 + grep -v github /etc/ssh/ssh_known_hosts 06:43:56 + [ -e /tmp/ssh_known_hosts ] 06:43:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:43:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:43:56 + sudo tee -a /etc/ssh/ssh_known_hosts 06:43:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:43:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:43:56 06:43:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:43:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:43:57 latest: Pulling from edgex-devops/py-git-semver 06:43:57 1fe172e4850f: Pulling fs layer 06:43:57 caf521ccaac6: Pulling fs layer 06:43:57 3ead6fa29328: Pulling fs layer 06:43:57 5c2a1cbceb83: Pulling fs layer 06:43:57 a8d5f1318db7: Pulling fs layer 06:43:57 c427282e49a2: Pulling fs layer 06:43:57 1827001aaf11: Pulling fs layer 06:43:57 0714d37db230: Pulling fs layer 06:43:57 ac28cf19c067: Pulling fs layer 06:43:57 ca983d60f3e2: Pulling fs layer 06:43:57 9f894cec8388: Pulling fs layer 06:43:57 c427282e49a2: Waiting 06:43:57 9f894cec8388: Waiting 06:43:57 a8d5f1318db7: Waiting 06:43:57 ca983d60f3e2: Waiting 06:43:57 1827001aaf11: Waiting 06:43:57 caf521ccaac6: Download complete 06:43:57 5c2a1cbceb83: Verifying Checksum 06:43:57 5c2a1cbceb83: Download complete 06:43:57 a8d5f1318db7: Verifying Checksum 06:43:57 a8d5f1318db7: Download complete 06:43:57 c427282e49a2: Download complete 06:43:57 3ead6fa29328: Verifying Checksum 06:43:57 3ead6fa29328: Download complete 06:43:57 0714d37db230: Verifying Checksum 06:43:57 0714d37db230: Download complete 06:43:57 ca983d60f3e2: Verifying Checksum 06:43:57 ca983d60f3e2: Download complete 06:43:57 9f894cec8388: Download complete 06:43:57 1fe172e4850f: Verifying Checksum 06:43:57 1fe172e4850f: Download complete 06:43:58 1827001aaf11: Download complete 06:43:59 1fe172e4850f: Pull complete 06:43:59 caf521ccaac6: Pull complete 06:43:59 3ead6fa29328: Pull complete 06:43:59 5c2a1cbceb83: Pull complete 06:44:00 a8d5f1318db7: Pull complete 06:44:00 c427282e49a2: Pull complete 06:44:02 1827001aaf11: Pull complete 06:44:02 0714d37db230: Pull complete 06:44:02 ac28cf19c067: Pull complete 06:44:02 ca983d60f3e2: Pull complete 06:44:02 9f894cec8388: Pull complete 06:44:02 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 06:44:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:44:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 06:44:02 prd-ubuntu20.04-docker-8c-8g-45062 does not seem to be running inside a container 06:44:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-283 -v /w/workspace/foundry_device-virtual-go_PR-283:/w/workspace/foundry_device-virtual-go_PR-283:rw,z -v /w/workspace/foundry_device-virtual-go_PR-283@tmp:/w/workspace/foundry_device-virtual-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 06:44:04 $ docker top 0b7ac91e42389991b30bb31b1c3a89228b44382e94387992604b49593efa4ebf -eo pid,comm 06:44: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). 06:44:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:44:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:44:04 [ssh-agent] Looking for ssh-agent implementation... 06:44:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:44:04 $ docker exec 0b7ac91e42389991b30bb31b1c3a89228b44382e94387992604b49593efa4ebf ssh-agent 06:44:05 SSH_AUTH_SOCK=/tmp/ssh-pU7shyIl4AU1/agent.34 06:44:05 SSH_AGENT_PID=40 06:44:05 Running ssh-add (command line suppressed) 06:44:05 Identity added: /w/workspace/foundry_device-virtual-go_PR-283@tmp/private_key_4089965210262276718.key (/w/workspace/foundry_device-virtual-go_PR-283@tmp/private_key_4089965210262276718.key) 06:44:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:44:05 + git tag --points-at HEAD [Pipeline] } 06:44:05 $ docker exec --env ******** --env ******** 0b7ac91e42389991b30bb31b1c3a89228b44382e94387992604b49593efa4ebf ssh-agent -k 06:44:05 unset SSH_AUTH_SOCK; 06:44:05 unset SSH_AGENT_PID; 06:44:05 echo Agent pid 40 killed; 06:44:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:44:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:44:05 [ssh-agent] Looking for ssh-agent implementation... 06:44:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:44:05 $ docker exec 0b7ac91e42389991b30bb31b1c3a89228b44382e94387992604b49593efa4ebf ssh-agent 06:44:05 SSH_AUTH_SOCK=/tmp/ssh-UAI6sUaiQtkX/agent.74 06:44:05 SSH_AGENT_PID=81 06:44:05 Running ssh-add (command line suppressed) 06:44:06 Identity added: /w/workspace/foundry_device-virtual-go_PR-283@tmp/private_key_204472937188369752.key (/w/workspace/foundry_device-virtual-go_PR-283@tmp/private_key_204472937188369752.key) 06:44:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:44:06 + git semver init 06:44:06 2022-05-10 06:44:06,613 [run_init] DEBUG init version:0.0.0 force:False 06:44:06 2022-05-10 06:44:06,614 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-283/.semver 06:44:06 2022-05-10 06:44:06,615 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-283/.semver 06:44:06 2022-05-10 06:44:06,615 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-283/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-283, universal_newlines=False, shell=None, istream=None) 06:44:08 2022-05-10 06:44:07,653 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-283/.git/info/exclude 06:44:08 2022-05-10 06:44:07,654 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-283/.semver/PR-283 with force:False 06:44:08 2022-05-10 06:44:07,654 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-283/.semver/PR-283 06:44:08 2022-05-10 06:44:07,658 [execute] INFO git cat-file --batch-check 06:44:08 2022-05-10 06:44:07,659 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-283/.semver, universal_newlines=False, shell=None, istream=) 06:44:08 2022-05-10 06:44:07,664 [execute] INFO git cat-file --batch 06:44:08 2022-05-10 06:44:07,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-283/.semver, universal_newlines=False, shell=None, istream=) 06:44:08 2022-05-10 06:44:07,669 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-283/.semver/PR-283 06:44:08 0.0.0 [Pipeline] } 06:44:08 $ docker exec --env ******** --env ******** 0b7ac91e42389991b30bb31b1c3a89228b44382e94387992604b49593efa4ebf ssh-agent -k 06:44:08 unset SSH_AUTH_SOCK; 06:44:08 unset SSH_AGENT_PID; 06:44:08 echo Agent pid 81 killed; 06:44:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:44:08 + git semver [Pipeline] } 06:44:08 $ docker stop --time=1 0b7ac91e42389991b30bb31b1c3a89228b44382e94387992604b49593efa4ebf 06:44:10 $ docker rm -f 0b7ac91e42389991b30bb31b1c3a89228b44382e94387992604b49593efa4ebf [Pipeline] // withDockerContainer [Pipeline] sh 06:44:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:44:10 Stashed 1 file(s) [Pipeline] echo 06:44:10 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:44:10 provisioning config files... 06:44:10 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-283@tmp/config7705353477935069720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:44:11 ---> docker-login.sh 06:44:11 nexus3.edgexfoundry.org:10001 06:44:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:11 Configure a credential helper to remove this warning. See 06:44:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:11 06:44:11 Login Succeeded 06:44:11 nexus3.edgexfoundry.org:10002 06:44:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:11 Configure a credential helper to remove this warning. See 06:44:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:11 06:44:11 Login Succeeded 06:44:11 nexus3.edgexfoundry.org:10003 06:44:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:11 Configure a credential helper to remove this warning. See 06:44:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:11 06:44:11 Login Succeeded 06:44:11 nexus3.edgexfoundry.org:10004 06:44:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:11 Configure a credential helper to remove this warning. See 06:44:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:11 06:44:11 Login Succeeded 06:44:11 docker.io 06:44:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:12 Configure a credential helper to remove this warning. See 06:44:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:12 06:44:12 Login Succeeded 06:44:12 ---> docker-login.sh ends [Pipeline] } 06:44:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:44:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:44:12 ========================================================= 06:44:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:44:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:44: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 . 06:44:12 Sending build context to Docker daemon 22.93MB 06:44:12 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:44:12 Step 2/12 : FROM ${BASE} AS builder 06:44:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:44:12 59bf1c3509f3: Pulling fs layer 06:44:12 666ba61612fd: Pulling fs layer 06:44:12 8ed8ca486205: Pulling fs layer 06:44:12 4fe6c5a15a65: Pulling fs layer 06:44:12 22a0e8bec74d: Pulling fs layer 06:44:12 ca2b28591e48: Pulling fs layer 06:44:12 a51346096db8: Pulling fs layer 06:44:12 daebc70d1ce1: Pulling fs layer 06:44:12 0e18a0eac166: Pulling fs layer 06:44:12 4fe6c5a15a65: Waiting 06:44:12 22a0e8bec74d: Waiting 06:44:12 a51346096db8: Waiting 06:44:12 ca2b28591e48: Waiting 06:44:12 8ed8ca486205: Verifying Checksum 06:44:12 8ed8ca486205: Download complete 06:44:12 666ba61612fd: Verifying Checksum 06:44:12 666ba61612fd: Download complete 06:44:12 22a0e8bec74d: Verifying Checksum 06:44:12 22a0e8bec74d: Download complete 06:44:12 ca2b28591e48: Verifying Checksum 06:44:12 ca2b28591e48: Download complete 06:44:12 a51346096db8: Download complete 06:44:12 59bf1c3509f3: Download complete 06:44:12 daebc70d1ce1: Verifying Checksum 06:44:12 daebc70d1ce1: Download complete 06:44:12 59bf1c3509f3: Pull complete 06:44:13 666ba61612fd: Pull complete 06:44:13 8ed8ca486205: Pull complete 06:44:13 0e18a0eac166: Verifying Checksum 06:44:13 0e18a0eac166: Download complete 06:44:13 4fe6c5a15a65: Verifying Checksum 06:44:13 4fe6c5a15a65: Download complete 06:44:17 4fe6c5a15a65: Pull complete 06:44:17 22a0e8bec74d: Pull complete 06:44:17 ca2b28591e48: Pull complete 06:44:17 a51346096db8: Pull complete 06:44:17 daebc70d1ce1: Pull complete 06:44:20 0e18a0eac166: Pull complete 06:44:20 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 06:44:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:44:20 ---> f018257e8ee9 06:44:20 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:44:22 ---> Running in 0824bca74fe6 06:44:22 Removing intermediate container 0824bca74fe6 06:44:22 ---> 99f103ae1002 06:44:22 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:44:22 ---> Running in a10254875f9d 06:44:22 Removing intermediate container a10254875f9d 06:44:22 ---> 6b5fa5bc1aba 06:44:22 Step 5/12 : WORKDIR /device-virtual-go 06:44:22 ---> Running in eb83278b9264 06:44:22 Removing intermediate container eb83278b9264 06:44:22 ---> 06fc45ff1268 06:44:22 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:44:22 ---> Running in b205f12729f9 06:44:23 Removing intermediate container b205f12729f9 06:44:23 ---> e7a57f3f8a6f 06:44:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:44:23 ---> Running in 8dba42316ec9 06:44:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:44:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:44:24 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:44:24 (2/4) Installing libedit (20210910.3.1-r0) 06:44:24 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:44:24 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:44:25 Executing busybox-1.34.1-r3.trigger 06:44:25 OK: 224 MiB in 56 packages 06:44:25 Removing intermediate container 8dba42316ec9 06:44:25 ---> f0069915d930 06:44:25 Step 8/12 : COPY go.mod vendor* ./ 06:44:25 ---> 1a5fa9bd1cb3 06:44:25 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:44:25 ---> Running in 043f9298d549 06:44:25 Still waiting to schedule task 06:44:25 ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:44:25 ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:44:25 ‘prd-ubuntu20.04-docker-arm64-4c-16g-45067’ is offline 06:44:40 Removing intermediate container 043f9298d549 06:44:40 ---> f7276910d2fb 06:44:40 Step 10/12 : COPY . . 06:44:40 ---> 8381102507e7 06:44:40 Step 11/12 : ARG MAKE='make build' 06:44:40 ---> Running in ed664d84928e 06:44:40 Removing intermediate container ed664d84928e 06:44:40 ---> c26fc47865f4 06:44:40 Step 12/12 : RUN $MAKE 06:44:40 ---> Running in 569fdb00590f 06:44:41 noop 06:44:41 Removing intermediate container 569fdb00590f 06:44:41 ---> 565c65a53651 06:44:41 Successfully built 565c65a53651 06:44:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:44:42 + docker inspect -f . ci-base-image-x86_64 06:44:42 . [Pipeline] withDockerContainer 06:44:42 prd-ubuntu20.04-docker-8c-8g-45062 does not seem to be running inside a container 06:44:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-283 -v /w/workspace/foundry_device-virtual-go_PR-283:/w/workspace/foundry_device-virtual-go_PR-283:rw,z -v /w/workspace/foundry_device-virtual-go_PR-283@tmp:/w/workspace/foundry_device-virtual-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:44:42 $ docker top d83fb7b08c75b31899078aceb83460a0da3acb64fe0c1ea893d0f062e90c23c0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:42 + go version 06:44:42 go version go1.17.6 linux/amd64 [Pipeline] } 06:44:42 $ docker stop --time=1 d83fb7b08c75b31899078aceb83460a0da3acb64fe0c1ea893d0f062e90c23c0 06:44:44 $ docker rm -f d83fb7b08c75b31899078aceb83460a0da3acb64fe0c1ea893d0f062e90c23c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:44:44 + docker inspect -f . ci-base-image-x86_64 06:44:44 . [Pipeline] withDockerContainer 06:44:44 prd-ubuntu20.04-docker-8c-8g-45062 does not seem to be running inside a container 06:44:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-283 -v /w/workspace/foundry_device-virtual-go_PR-283:/w/workspace/foundry_device-virtual-go_PR-283:rw,z -v /w/workspace/foundry_device-virtual-go_PR-283@tmp:/w/workspace/foundry_device-virtual-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:44:45 $ docker top efa8b2472f55421b67a2d079faacd0d703059416cecb674fbf3b191094dfb7d8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:44:45 + make test 06:44:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:44:45 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:44:55 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:44:56 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.038s coverage: 65.7% of statements 06:45:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:45:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:45:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:45:08 ./bin/test-attribution-txt.sh [Pipeline] echo 06:45:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:45:09 $ docker stop --time=1 efa8b2472f55421b67a2d079faacd0d703059416cecb674fbf3b191094dfb7d8 06:45:10 $ docker rm -f efa8b2472f55421b67a2d079faacd0d703059416cecb674fbf3b191094dfb7d8 [Pipeline] // withDockerContainer [Pipeline] sh 06:45:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:45:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:45:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:45:12 + ls -al . 06:45:12 total 188 06:45:12 drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:45 . 06:45:12 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:43 .. 06:45:12 drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:44 .git 06:45:12 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:43 .github 06:45:12 -rw-rw-r-- 1 jenkins jenkins 270 May 10 06:43 .gitignore 06:45:12 -rw-rw-r-- 1 jenkins jenkins 41 May 10 06:43 .golangci.yml 06:45:12 drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:44 .semver 06:45:12 -rw-rw-r-- 1 jenkins jenkins 7893 May 10 06:43 Attribution.txt 06:45:12 -rw-rw-r-- 1 jenkins jenkins 9649 May 10 06:43 CHANGELOG.md 06:45:12 -rw-rw-r-- 1 jenkins jenkins 1974 May 10 06:43 Dockerfile 06:45:12 -rw-rw-r-- 1 jenkins jenkins 677 May 10 06:43 GOVERNANCE.md 06:45:12 -rw-rw-r-- 1 jenkins jenkins 660 May 10 06:43 Jenkinsfile 06:45:12 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 06:43 LICENSE 06:45:12 -rw-rw-r-- 1 jenkins jenkins 2248 May 10 06:43 Makefile 06:45:12 -rw-rw-r-- 1 jenkins jenkins 623 May 10 06:43 OWNERS.md 06:45:12 -rw-rw-r-- 1 jenkins jenkins 2914 May 10 06:43 README.md 06:45:12 -rw-rw-r-- 1 jenkins jenkins 5 May 10 06:44 VERSION 06:45:12 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:43 bin 06:45:12 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:43 cmd 06:45:12 -rw-r--r-- 1 jenkins jenkins 44128 May 10 06:44 coverage.out 06:45:12 -rw-rw-r-- 1 jenkins jenkins 3185 May 10 06:43 go.mod 06:45:12 -rw-rw-r-- 1 jenkins jenkins 35216 May 10 06:43 go.sum 06:45:12 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:43 internal 06:45:12 -rw-rw-r-- 1 jenkins jenkins 235 May 10 06:43 version.go [Pipeline] isUnix [Pipeline] sh 06:45:12 + 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=ed7f5f091573808054d3ba690d1e3634685131fc --label arch=amd64 --label version=0.0.0 . 06:45:12 Sending build context to Docker daemon 22.98MB 06:45:12 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 06:45:12 Step 2/26 : FROM ${BASE} AS builder 06:45:12 ---> 565c65a53651 06:45:12 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:45:12 ---> Running in 60591bb523db 06:45:12 Removing intermediate container 60591bb523db 06:45:12 ---> 3432261cbfe5 06:45:12 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 06:45:12 ---> Running in 139ab172bb09 06:45:13 Removing intermediate container 139ab172bb09 06:45:13 ---> 91c6a29a2541 06:45:13 Step 5/26 : WORKDIR /device-virtual-go 06:45:13 ---> Running in d08d35733f32 06:45:13 Removing intermediate container d08d35733f32 06:45:13 ---> d4fadd9a049f 06:45:13 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:45:13 ---> Running in 442a8d9a275a 06:45:13 Removing intermediate container 442a8d9a275a 06:45:13 ---> e4f6831f6d3d 06:45:13 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:45:13 ---> Running in 804d6e9c9bd8 06:45:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:45:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:45:15 OK: 224 MiB in 56 packages 06:45:15 Removing intermediate container 804d6e9c9bd8 06:45:15 ---> 1f997265b775 06:45:15 Step 8/26 : COPY go.mod vendor* ./ 06:45:15 ---> bab41c3425f3 06:45:15 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:45:15 ---> Running in 27a6ad71c2f7 06:45:16 Removing intermediate container 27a6ad71c2f7 06:45:16 ---> 3929764bfd8a 06:45:16 Step 10/26 : COPY . . 06:45:16 ---> 8d3c1916575e 06:45:16 Step 11/26 : ARG MAKE='make build' 06:45:17 ---> Running in 3c90401b3b1f 06:45:17 Removing intermediate container 3c90401b3b1f 06:45:17 ---> a802f489f5dc 06:45:17 Step 12/26 : RUN $MAKE 06:45:17 ---> Running in 01d8d3642d4f 06:45:17 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 06:45:39 Removing intermediate container 01d8d3642d4f 06:45:39 ---> 2ee4d3b91b9c 06:45:39 Step 13/26 : FROM alpine:3.14 06:45:39 3.14: Pulling from library/alpine 06:45:39 8663204ce13b: Pulling fs layer 06:45:39 8663204ce13b: Download complete 06:45:39 8663204ce13b: Pull complete 06:45:39 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:45:39 Status: Downloaded newer image for alpine:3.14 06:45:39 ---> e04c818066af 06:45:39 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 06:45:39 ---> Running in 85c8caeb8f32 06:45:39 Removing intermediate container 85c8caeb8f32 06:45:39 ---> 1049b92fe01d 06:45:39 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:45:39 ---> Running in e29cced5d4b2 06:45:39 Removing intermediate container e29cced5d4b2 06:45:39 ---> 2352b1fceed4 06:45:39 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 06:45:39 ---> Running in 280856d5bd95 06:45:39 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:45:40 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:45:40 (1/6) Installing dumb-init (1.2.5-r1) 06:45:40 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:45:40 (3/6) Installing libsodium (1.0.18-r0) 06:45:40 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:45:40 (5/6) Installing libzmq (4.3.4-r0) 06:45:40 (6/6) Installing zeromq (4.3.4-r0) 06:45:40 Executing busybox-1.33.1-r7.trigger 06:45:40 OK: 8 MiB in 20 packages 06:45:41 Removing intermediate container 280856d5bd95 06:45:41 ---> 3517bc6fa260 06:45:41 Step 17/26 : WORKDIR / 06:45:41 ---> Running in b83b4684526e 06:45:41 Removing intermediate container b83b4684526e 06:45:41 ---> 985504aa5d80 06:45:41 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 06:45:41 ---> 81048610a758 06:45:41 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 06:45:41 ---> 7a7a041f0c1e 06:45:41 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 06:45:42 ---> ffafe517f46e 06:45:42 Step 21/26 : EXPOSE 59900 06:45:42 ---> Running in 1d5354084d6e 06:45:42 Removing intermediate container 1d5354084d6e 06:45:42 ---> b627bedd962c 06:45:42 Step 22/26 : ENTRYPOINT ["/device-virtual"] 06:45:42 ---> Running in 678eb2a317b8 06:45:42 Removing intermediate container 678eb2a317b8 06:45:42 ---> 8568fe9432b2 06:45:42 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:45:42 ---> Running in ad62f14f48b2 06:45:42 Removing intermediate container ad62f14f48b2 06:45:42 ---> bb297266c30d 06:45:42 Step 24/26 : LABEL arch=amd64 06:45:42 ---> Running in 2076d662e404 06:45:43 Removing intermediate container 2076d662e404 06:45:43 ---> b43b61c17118 06:45:43 Step 25/26 : LABEL git_sha=ed7f5f091573808054d3ba690d1e3634685131fc 06:45:43 ---> Running in a962ccde184f 06:45:43 Removing intermediate container a962ccde184f 06:45:43 ---> 3d6e0493311b 06:45:43 Step 26/26 : LABEL version=0.0.0 06:45:43 ---> Running in e1e938a3c9b6 06:45:43 Removing intermediate container e1e938a3c9b6 06:45:43 ---> b65b05e1a686 06:45:43 [Warning] One or more build-args [ARCH] were not consumed 06:45:43 Successfully built b65b05e1a686 06:45:43 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 06:45:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:45:43 06:45:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:45:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:45:44 latest: Pulling from edgex-lftools-log-publisher 06:45:44 5eb5b503b376: Pulling fs layer 06:45:44 5c69ac0246d0: Pulling fs layer 06:45:44 ec43610c2a17: Pulling fs layer 06:45:44 3a2ae6a8a46f: Pulling fs layer 06:45:44 33b1e0a273af: Pulling fs layer 06:45:44 5d3b04190fa2: Pulling fs layer 06:45:44 2f39f015ded8: Pulling fs layer 06:45:44 33b1e0a273af: Waiting 06:45:44 2f39f015ded8: Waiting 06:45:44 5d3b04190fa2: Waiting 06:45:44 3a2ae6a8a46f: Waiting 06:45:44 5c69ac0246d0: Verifying Checksum 06:45:44 5c69ac0246d0: Download complete 06:45:44 3a2ae6a8a46f: Verifying Checksum 06:45:44 3a2ae6a8a46f: Download complete 06:45:44 33b1e0a273af: Verifying Checksum 06:45:44 33b1e0a273af: Download complete 06:45:44 5d3b04190fa2: Verifying Checksum 06:45:44 5d3b04190fa2: Download complete 06:45:44 ec43610c2a17: Verifying Checksum 06:45:44 ec43610c2a17: Download complete 06:45:44 5eb5b503b376: Verifying Checksum 06:45:44 5eb5b503b376: Download complete 06:45:45 2f39f015ded8: Download complete 06:45:46 5eb5b503b376: Pull complete 06:45:46 5c69ac0246d0: Pull complete 06:45:46 ec43610c2a17: Pull complete 06:45:46 3a2ae6a8a46f: Pull complete 06:45:46 33b1e0a273af: Pull complete 06:45:46 5d3b04190fa2: Pull complete 06:45:52 2f39f015ded8: Pull complete 06:45:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:45:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:45:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:45:52 prd-ubuntu20.04-docker-8c-8g-45062 does not seem to be running inside a container 06:45:52 $ 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/foundry_device-virtual-go_PR-283 -v /w/workspace/foundry_device-virtual-go_PR-283:/w/workspace/foundry_device-virtual-go_PR-283:rw,z -v /w/workspace/foundry_device-virtual-go_PR-283@tmp:/w/workspace/foundry_device-virtual-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:45:54 $ docker top 56ab85510f57bd2e26f30dba3cae6f5a907f41c7145d56534a62dfe59c46502e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:45:55 ---> job-cost.sh 06:45:55 lf-activate-venv: SKIPPING 06:45:55 INFO: No Stack... 06:45:55 INFO: Retrieving Pricing Info for: v3-standard-8 06:45:56 INFO: Archiving Costs [Pipeline] sh 06:45:56 + cat /w/workspace/foundry_device-virtual-go_PR-283/archives/cost.csv 06:45:56 + cut -d, -f6 [Pipeline] lock 06:45:56 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-283-3-stack-cost] 06:45:56 Resource [jenkins-edgexfoundry-device-virtual-go-PR-283-3-stack-cost] did not exist. Created. 06:45:56 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-283-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:45:56 + echo total: 0.2199999988079071 [Pipeline] stash 06:45:56 Stashed 1 file(s) [Pipeline] } 06:45:56 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-283-3-stack-cost] [Pipeline] // lock [Pipeline] } 06:45:56 $ docker stop --time=1 56ab85510f57bd2e26f30dba3cae6f5a907f41c7145d56534a62dfe59c46502e 06:45:58 $ docker rm -f 56ab85510f57bd2e26f30dba3cae6f5a907f41c7145d56534a62dfe59c46502e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:54:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-45349 in /w/workspace/foundry_device-virtual-go_PR-283 [Pipeline] { [Pipeline] ws 06:54:51 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 06:54:51 The recommended git tool is: git 06:54:58 using credential edgex-jenkins-ssh 06:54:58 Cloning the remote Git repository 06:54:58 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:54:58 > git init /w/workspace/device-virtual-go/3 # timeout=10 06:54:58 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:54:58 > git --version # timeout=10 06:54:58 > git --version # 'git version 2.25.1' 06:54:59 using GIT_SSH to set credentials SSH Credentials for GitHub 06:54:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:55:01 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:55:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:55:01 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:55:01 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:55:01 using GIT_SSH to set credentials SSH Credentials for GitHub 06:55:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/283/head:refs/remotes/origin/PR-283 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:55:01 Merging remotes/origin/main commit b3c8352dddffb55a33ce15791a32ab0061559949 into PR head commit ed7f5f091573808054d3ba690d1e3634685131fc 06:55:02 Merge succeeded, producing ed7f5f091573808054d3ba690d1e3634685131fc 06:55:02 Checking out Revision ed7f5f091573808054d3ba690d1e3634685131fc (PR-283) 06:55:02 > git config core.sparsecheckout # timeout=10 06:55:02 > git checkout -f ed7f5f091573808054d3ba690d1e3634685131fc # timeout=10 06:55:02 > git remote # timeout=10 06:55:02 > git config --get remote.origin.url # timeout=10 06:55:02 using GIT_SSH to set credentials SSH Credentials for GitHub 06:55:02 > git merge b3c8352dddffb55a33ce15791a32ab0061559949 # timeout=10 06:55:02 > git rev-parse HEAD^{commit} # timeout=10 06:55:02 > git config core.sparsecheckout # timeout=10 06:55:02 > git checkout -f ed7f5f091573808054d3ba690d1e3634685131fc # timeout=10 06:55:06 Commit message: "docs: update CHANGELOG for Kamakura" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:55:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:55:07 % Total % Received % Xferd Average Speed Time Time Time Current 06:55:07 Dload Upload Total Spent Left Speed 06:55:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh 06:55:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:55:08 + sudo tee /etc/docker/daemon.new 06:55:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:55:08 { 06:55:08 "registry-mirrors": [ 06:55:08 "https://nexus3.edgexfoundry.org:10001" 06:55:08 ], 06:55:08 "bip": "10.250.0.254/24", 06:55:08 "hosts": [ 06:55:08 "tcp://0.0.0.0:5555", 06:55:08 "unix:///var/run/docker.sock" 06:55:08 ], 06:55:08 "mtu": 1458, 06:55:08 "selinux-enabled": true, 06:55:08 "seccomp-profile": "/etc/docker/seccomp.json" 06:55:08 } [Pipeline] sh 06:55:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:55:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:55:27 provisioning config files... 06:55:27 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config2157597935626981543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:55:28 ---> docker-login.sh 06:55:28 nexus3.edgexfoundry.org:10001 06:55:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:28 Configure a credential helper to remove this warning. See 06:55:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:28 06:55:28 Login Succeeded 06:55:28 nexus3.edgexfoundry.org:10002 06:55:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:29 Configure a credential helper to remove this warning. See 06:55:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:29 06:55:29 Login Succeeded 06:55:29 nexus3.edgexfoundry.org:10003 06:55:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:30 Configure a credential helper to remove this warning. See 06:55:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:30 06:55:30 Login Succeeded 06:55:30 nexus3.edgexfoundry.org:10004 06:55:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:30 Configure a credential helper to remove this warning. See 06:55:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:30 06:55:30 Login Succeeded 06:55:30 docker.io 06:55:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:31 Configure a credential helper to remove this warning. See 06:55:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:31 06:55:31 Login Succeeded 06:55:31 ---> docker-login.sh ends [Pipeline] } 06:55:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:55:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:55:32 ========================================================= 06:55:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:55:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:55:32 + 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 . 06:55:32 Sending build context to Docker daemon 11.6MB 06:55:32 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:55:32 Step 2/12 : FROM ${BASE} AS builder 06:55:32 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:55:32 9b3977197b4f: Pulling fs layer 06:55:32 1a89e8eeedd5: Pulling fs layer 06:55:32 94645a83ff95: Pulling fs layer 06:55:32 3f3a8bcf1eab: Pulling fs layer 06:55:32 0c92f367c5e7: Pulling fs layer 06:55:32 3096ccb668a1: Pulling fs layer 06:55:32 e8cf19c19ddd: Pulling fs layer 06:55:32 a4caa8a26152: Pulling fs layer 06:55:32 3096ccb668a1: Waiting 06:55:32 e8cf19c19ddd: Waiting 06:55:32 3f3a8bcf1eab: Waiting 06:55:32 0c92f367c5e7: Waiting 06:55:32 94645a83ff95: Verifying Checksum 06:55:32 94645a83ff95: Download complete 06:55:32 1a89e8eeedd5: Download complete 06:55:33 0c92f367c5e7: Verifying Checksum 06:55:33 0c92f367c5e7: Download complete 06:55:33 3096ccb668a1: Verifying Checksum 06:55:33 3096ccb668a1: Download complete 06:55:33 e8cf19c19ddd: Verifying Checksum 06:55:33 e8cf19c19ddd: Download complete 06:55:33 9b3977197b4f: Download complete 06:55:34 9b3977197b4f: Pull complete 06:55:34 1a89e8eeedd5: Pull complete 06:55:35 94645a83ff95: Pull complete 06:55:35 a4caa8a26152: Verifying Checksum 06:55:35 a4caa8a26152: Download complete 06:55:35 3f3a8bcf1eab: Verifying Checksum 06:55:35 3f3a8bcf1eab: Download complete 06:55:48 3f3a8bcf1eab: Pull complete 06:55:48 0c92f367c5e7: Pull complete 06:55:48 3096ccb668a1: Pull complete 06:55:49 e8cf19c19ddd: Pull complete 06:55:55 a4caa8a26152: Pull complete 06:55:55 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 06:55:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:55:55 ---> 725f1c02e7f9 06:55:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:55:56 ---> Running in b43b677e4e22 06:55:56 Removing intermediate container b43b677e4e22 06:55:56 ---> 80f494e7e0e1 06:55:56 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:55:56 ---> Running in 949b3bfdb86d 06:55:58 Removing intermediate container 949b3bfdb86d 06:55:58 ---> a988e653287e 06:55:58 Step 5/12 : WORKDIR /device-virtual-go 06:55:58 ---> Running in 6bfb507f0fdb 06:55:58 Removing intermediate container 6bfb507f0fdb 06:55:58 ---> ebe474a0496e 06:55:58 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:55:58 ---> Running in 364fa85a55c1 06:56:00 Removing intermediate container 364fa85a55c1 06:56:00 ---> 43559cbd6bbb 06:56:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:56:00 ---> Running in 57e49ba9122c 06:56:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:56:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:56:03 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:56:03 (2/4) Installing libedit (20210910.3.1-r0) 06:56:03 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:56:04 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:56:04 Executing busybox-1.34.1-r3.trigger 06:56:04 OK: 224 MiB in 56 packages 06:56:05 Removing intermediate container 57e49ba9122c 06:56:05 ---> 43a8b1632ee1 06:56:05 Step 8/12 : COPY go.mod vendor* ./ 06:56:06 ---> 26c86bff7254 06:56:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:56:06 ---> Running in b756c6e5054b 06:56:53 Removing intermediate container b756c6e5054b 06:56:53 ---> 6c96ae01214f 06:56:53 Step 10/12 : COPY . . 06:56:53 ---> b0c0af1a5ef6 06:56:53 Step 11/12 : ARG MAKE='make build' 06:56:53 ---> Running in 417215662ae4 06:56:53 Removing intermediate container 417215662ae4 06:56:53 ---> 1946e2cf2cc4 06:56:53 Step 12/12 : RUN $MAKE 06:56:53 ---> Running in 35e756421249 06:56:54 noop 06:56:55 Removing intermediate container 35e756421249 06:56:55 ---> e3b56eef85e5 06:56:55 Successfully built e3b56eef85e5 06:56:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:56:55 + docker inspect -f . ci-base-image-arm64 06:56:55 . [Pipeline] withDockerContainer 06:56:56 prd-ubuntu20.04-docker-arm64-4c-16g-45349 does not seem to be running inside a container 06:56:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:56:57 $ docker top 59b20da95d96e2f34704c47bc920d2111a087c78d5dbd2fd51cf000ad6b95e7c -eo pid,comm [Pipeline] { [Pipeline] sh 06:56:58 + go version 06:56:58 go version go1.17.6 linux/arm64 [Pipeline] } 06:56:58 $ docker stop --time=1 59b20da95d96e2f34704c47bc920d2111a087c78d5dbd2fd51cf000ad6b95e7c 06:56:59 $ docker rm -f 59b20da95d96e2f34704c47bc920d2111a087c78d5dbd2fd51cf000ad6b95e7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:57:00 + docker inspect -f . ci-base-image-arm64 06:57:00 . [Pipeline] withDockerContainer 06:57:00 prd-ubuntu20.04-docker-arm64-4c-16g-45349 does not seem to be running inside a container 06:57:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:57:02 $ docker top 68928bd16ce2e6daa4504ba806a0023dbf70ee751bf4793d0e6007d27c0df49f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:57:02 + make test 06:57:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:57:04 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:58:41 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:58:41 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.146s coverage: 65.7% of statements 06:58:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:58:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:58:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:58:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:58:56 ./bin/test-attribution-txt.sh [Pipeline] echo 06:58:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:58:57 $ docker stop --time=1 68928bd16ce2e6daa4504ba806a0023dbf70ee751bf4793d0e6007d27c0df49f 06:58:59 $ docker rm -f 68928bd16ce2e6daa4504ba806a0023dbf70ee751bf4793d0e6007d27c0df49f [Pipeline] // withDockerContainer [Pipeline] sh 06:59:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:59:00 Warning: overwriting stash ‘coverage-report’ 06:59:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:59:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:59:02 + ls -al . 06:59:02 total 184 06:59:02 drwxrwxr-x 7 jenkins jenkins 4096 May 10 06:58 . 06:59:02 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:54 .. 06:59:02 drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:55 .git 06:59:02 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:55 .github 06:59:02 -rw-rw-r-- 1 jenkins jenkins 270 May 10 06:55 .gitignore 06:59:02 -rw-rw-r-- 1 jenkins jenkins 41 May 10 06:55 .golangci.yml 06:59:02 -rw-rw-r-- 1 jenkins jenkins 7893 May 10 06:55 Attribution.txt 06:59:02 -rw-rw-r-- 1 jenkins jenkins 9649 May 10 06:55 CHANGELOG.md 06:59:02 -rw-rw-r-- 1 jenkins jenkins 1974 May 10 06:55 Dockerfile 06:59:02 -rw-rw-r-- 1 jenkins jenkins 677 May 10 06:55 GOVERNANCE.md 06:59:02 -rw-rw-r-- 1 jenkins jenkins 660 May 10 06:55 Jenkinsfile 06:59:02 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 06:55 LICENSE 06:59:02 -rw-rw-r-- 1 jenkins jenkins 2248 May 10 06:55 Makefile 06:59:02 -rw-rw-r-- 1 jenkins jenkins 623 May 10 06:55 OWNERS.md 06:59:02 -rw-rw-r-- 1 jenkins jenkins 2914 May 10 06:55 README.md 06:59:02 -rw-rw-r-- 1 jenkins jenkins 5 May 10 06:44 VERSION 06:59:02 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:55 bin 06:59:02 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:55 cmd 06:59:02 -rw-r--r-- 1 jenkins jenkins 44128 May 10 06:58 coverage.out 06:59:02 -rw-rw-r-- 1 jenkins jenkins 3185 May 10 06:55 go.mod 06:59:02 -rw-rw-r-- 1 jenkins jenkins 35216 May 10 06:55 go.sum 06:59:02 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:55 internal 06:59:02 -rw-rw-r-- 1 jenkins jenkins 235 May 10 06:55 version.go [Pipeline] isUnix [Pipeline] sh 06:59:02 + 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=ed7f5f091573808054d3ba690d1e3634685131fc --label arch=arm64 --label version=0.0.0 . 06:59:03 Sending build context to Docker daemon 11.64MB 06:59:03 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 06:59:03 Step 2/26 : FROM ${BASE} AS builder 06:59:03 ---> e3b56eef85e5 06:59:03 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:59:03 ---> Running in e7b0fbe994a2 06:59:03 Removing intermediate container e7b0fbe994a2 06:59:03 ---> 6b062d94b539 06:59:03 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 06:59:03 ---> Running in 29971cbd7b5a 06:59:03 Removing intermediate container 29971cbd7b5a 06:59:03 ---> 46e08746d30c 06:59:03 Step 5/26 : WORKDIR /device-virtual-go 06:59:03 ---> Running in d4ae229da887 06:59:04 Removing intermediate container d4ae229da887 06:59:04 ---> b009ce4f362d 06:59:04 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:59:04 ---> Running in cdd75c2f9db4 06:59:06 Removing intermediate container cdd75c2f9db4 06:59:06 ---> 1713c448b3a6 06:59:06 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:59:06 ---> Running in dae74bfe4ac4 06:59:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:59:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:59:09 OK: 224 MiB in 56 packages 06:59:09 Removing intermediate container dae74bfe4ac4 06:59:09 ---> 4b0941cd486a 06:59:09 Step 8/26 : COPY go.mod vendor* ./ 06:59:10 ---> 6d090a4f2904 06:59:10 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:59:10 ---> Running in 6da168054daf 06:59:12 Removing intermediate container 6da168054daf 06:59:12 ---> 7978292503d4 06:59:12 Step 10/26 : COPY . . 06:59:14 ---> 719a9fee8e4f 06:59:14 Step 11/26 : ARG MAKE='make build' 06:59:14 ---> Running in 35b363ef92fc 06:59:14 Removing intermediate container 35b363ef92fc 06:59:14 ---> f7b85d7a6f15 06:59:14 Step 12/26 : RUN $MAKE 06:59:14 ---> Running in a60e1e78c3f5 06:59:15 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 07:01:37 Removing intermediate container a60e1e78c3f5 07:01:37 ---> 4c89c9e5f800 07:01:37 Step 13/26 : FROM alpine:3.14 07:01:37 3.14: Pulling from library/alpine 07:01:37 455c02918c45: Pulling fs layer 07:01:37 455c02918c45: Verifying Checksum 07:01:37 455c02918c45: Download complete 07:01:37 455c02918c45: Pull complete 07:01:37 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 07:01:37 Status: Downloaded newer image for alpine:3.14 07:01:37 ---> ac73e934f311 07:01:37 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:01:37 ---> Running in d8468bd15ec9 07:01:37 Removing intermediate container d8468bd15ec9 07:01:37 ---> a4533ea83cbd 07:01:37 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:01:37 ---> Running in eda96d63cba5 07:01:37 Removing intermediate container eda96d63cba5 07:01:37 ---> 9d99ba50fecd 07:01:37 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 07:01:37 ---> Running in f5c983bdcf29 07:01:37 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:01:37 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:01:37 (1/6) Installing dumb-init (1.2.5-r1) 07:01:37 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:01:37 (3/6) Installing libsodium (1.0.18-r0) 07:01:37 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:01:37 (5/6) Installing libzmq (4.3.4-r0) 07:01:37 (6/6) Installing zeromq (4.3.4-r0) 07:01:37 Executing busybox-1.33.1-r7.trigger 07:01:37 OK: 8 MiB in 20 packages 07:01:37 Removing intermediate container f5c983bdcf29 07:01:37 ---> 5bf906f09d3a 07:01:37 Step 17/26 : WORKDIR / 07:01:37 ---> Running in 06802ff18b7a 07:01:37 Removing intermediate container 06802ff18b7a 07:01:37 ---> 3b66bd9ec70f 07:01:37 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:01:37 ---> 6f50d27d5feb 07:01:37 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 07:01:37 ---> 2089dd13bb7b 07:01:37 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 07:01:38 ---> 48caf831e64d 07:01:38 Step 21/26 : EXPOSE 59900 07:01:38 ---> Running in 45b5a530db9f 07:01:38 Removing intermediate container 45b5a530db9f 07:01:38 ---> fad68736acc3 07:01:38 Step 22/26 : ENTRYPOINT ["/device-virtual"] 07:01:39 ---> Running in d02bc81c3328 07:01:39 Removing intermediate container d02bc81c3328 07:01:39 ---> b34f253a5db8 07:01:39 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:01:39 ---> Running in 014a9169fe7a 07:01:39 Removing intermediate container 014a9169fe7a 07:01:39 ---> bd48c32221ee 07:01:39 Step 24/26 : LABEL arch=arm64 07:01:39 ---> Running in 350293fa8446 07:01:40 Removing intermediate container 350293fa8446 07:01:40 ---> 0809730ef684 07:01:40 Step 25/26 : LABEL git_sha=ed7f5f091573808054d3ba690d1e3634685131fc 07:01:40 ---> Running in c1ec60876cbf 07:01:40 Removing intermediate container c1ec60876cbf 07:01:40 ---> 250ea3bf3953 07:01:40 Step 26/26 : LABEL version=0.0.0 07:01:40 ---> Running in f28c8f9ee687 07:01:40 Removing intermediate container f28c8f9ee687 07:01:40 ---> d7fd4b6bdfad 07:01:40 [Warning] One or more build-args [ARCH] were not consumed 07:01:40 Successfully built d7fd4b6bdfad 07:01:40 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:01:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:01:41 07:01:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 07:01:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:01:41 arm64: Pulling from edgex-lftools-log-publisher 07:01:41 8998bd30e6a1: Pulling fs layer 07:01:41 04944245beec: Pulling fs layer 07:01:41 699f458cf7ca: Pulling fs layer 07:01:41 765212b225bb: Pulling fs layer 07:01:41 f23df028b6ca: Pulling fs layer 07:01:41 d65c8cfc05b1: Pulling fs layer 07:01:41 2437ff75d9bd: Pulling fs layer 07:01:41 765212b225bb: Waiting 07:01:41 f23df028b6ca: Waiting 07:01:41 d65c8cfc05b1: Waiting 07:01:41 2437ff75d9bd: Waiting 07:01:41 04944245beec: Verifying Checksum 07:01:41 04944245beec: Download complete 07:01:41 765212b225bb: Download complete 07:01:41 f23df028b6ca: Verifying Checksum 07:01:41 f23df028b6ca: Download complete 07:01:42 d65c8cfc05b1: Verifying Checksum 07:01:42 d65c8cfc05b1: Download complete 07:01:42 699f458cf7ca: Verifying Checksum 07:01:42 699f458cf7ca: Download complete 07:01:42 8998bd30e6a1: Verifying Checksum 07:01:42 8998bd30e6a1: Download complete 07:01:45 2437ff75d9bd: Verifying Checksum 07:01:45 2437ff75d9bd: Download complete 07:01:47 8998bd30e6a1: Pull complete 07:01:47 04944245beec: Pull complete 07:01:48 699f458cf7ca: Pull complete 07:01:49 765212b225bb: Pull complete 07:01:50 f23df028b6ca: Pull complete 07:01:50 d65c8cfc05b1: Pull complete 07:02:05 2437ff75d9bd: Pull complete 07:02:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:02:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:02:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 07:02:05 prd-ubuntu20.04-docker-arm64-4c-16g-45349 does not seem to be running inside a container 07:02:05 $ 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/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:02:08 $ docker top 66a6a0f4a41045371a0e2a6c12a2fb14de881affbcc4ab0078ed8257c96e103c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:02:09 ---> job-cost.sh 07:02:09 lf-activate-venv: SKIPPING 07:02:09 INFO: No Stack... 07:02:09 INFO: Retrieving Pricing Info for: v3-standard-4 07:02:10 INFO: Archiving Costs [Pipeline] sh 07:02:11 + cat /w/workspace/device-virtual-go/3/archives/cost.csv 07:02:11 + cut -d, -f6 [Pipeline] lock 07:02:11 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-283-3-stack-cost] 07:02:11 Resource [jenkins-edgexfoundry-device-virtual-go-PR-283-3-stack-cost] did not exist. Created. 07:02:11 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-283-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:02:12 /w/workspace/device-virtual-go/3@tmp/durable-ae271bf6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:02:13 + echo total: 0.10999999940395355 [Pipeline] stash 07:02:13 Warning: overwriting stash ‘stack-cost’ 07:02:13 Stashed 1 file(s) [Pipeline] } 07:02:13 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-283-3-stack-cost] [Pipeline] // lock [Pipeline] } 07:02:13 $ docker stop --time=1 66a6a0f4a41045371a0e2a6c12a2fb14de881affbcc4ab0078ed8257c96e103c 07:02:14 $ docker rm -f 66a6a0f4a41045371a0e2a6c12a2fb14de881affbcc4ab0078ed8257c96e103c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:02:15 provisioning config files... 07:02:15 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-283@tmp/config4643925928825459439tmp [Pipeline] { [Pipeline] sh 07:02:15 + set +x 07:02:15 + curl -s https://codecov.io/bash 07:02:15 + bash -s -- 07:02:15 07:02:15 _____ _ 07:02:15 / ____| | | 07:02:15 | | ___ __| | ___ ___ _____ __ 07:02:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:02:15 | |___| (_) | (_| | __/ (_| (_) \ V / 07:02:15 \_____\___/ \__,_|\___|\___\___/ \_/ 07:02:15 Bash-1.0.6 07:02:15 07:02:15 07:02:15 ==> git version 2.25.1 found 07:02:15 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:02:15 Release-Date: 2020-01-08 07:02:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:02:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:02:15 ==> Jenkins CI detected. 07:02:15 current dir:  /w/workspace/foundry_device-virtual-go_PR-283 07:02:15 project root: . 07:02:15 --> token set from env 07:02:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:02:15 ==> Running gcov in . (disable via -X gcov) 07:02:15 ==> Python coveragepy not found 07:02:15 ==> Searching for coverage reports in: 07:02:15 + . 07:02:15 -> Found 1 reports 07:02:15 ==> Detecting git/mercurial file structure 07:02:15 ==> Reading reports 07:02:15 + ./coverage.out bytes=44128 07:02:15 ==> Appending adjustments 07:02:15 https://docs.codecov.io/docs/fixing-reports 07:02:15 + Found adjustments 07:02:15 ==> Gzipping contents 07:02:15 8.0K /tmp/codecov.2xNFBJ.gz 07:02:15 ==> Uploading reports 07:02:15 url: https://codecov.io 07:02:15 query: branch=PR-283&commit=ed7f5f091573808054d3ba690d1e3634685131fc&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-283%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=283&job=&cmd_args= 07:02:15 -> Pinging Codecov 07:02:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-283&commit=ed7f5f091573808054d3ba690d1e3634685131fc&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-283%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=283&job=&cmd_args= 07:02:16 -> Uploading to 07:02:16 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/5E52B4B073DB2E39498172D8E973AA87/ed7f5f091573808054d3ba690d1e3634685131fc/7a3cbc35-9243-4adf-8e18-61fcacea6066.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T070215Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e60725c86afd297af25f02289c94111d369f1b3c1217002ad5117f70c23b7193 07:02:16 % Total % Received % Xferd Average Speed Time Time Time Current 07:02:16 Dload Upload Total Spent Left Speed 07:02:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5270 0 0 100 5270 0 23846 --:--:-- --:--:-- --:--:-- 23738 100 5270 0 0 100 5270 0 21510 --:--:-- --:--:-- --:--:-- 21422 07:02:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/ed7f5f091573808054d3ba690d1e3634685131fc [Pipeline] } 07:02:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:02:16 + [ -d /w/workspace/foundry_device-virtual-go_PR-283/archives ] 07:02:16 + ls -al /w/workspace/foundry_device-virtual-go_PR-283/archives 07:02:16 total 16 07:02:16 drwxr-xr-x 3 root root 4096 May 10 06:45 . 07:02:16 drwxrwxr-x 9 jenkins jenkins 4096 May 10 06:45 .. 07:02:16 drwxr-xr-x 2 root root 4096 May 10 06:45 cost 07:02:16 -rw-r--r-- 1 root root 88 May 10 06:45 cost.csv 07:02:16 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-283/archives 07:02:16 + ls -al /w/workspace/foundry_device-virtual-go_PR-283/archives 07:02:16 total 16 07:02:16 drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:45 . 07:02:16 drwxrwxr-x 9 jenkins jenkins 4096 May 10 06:45 .. 07:02:16 drwxr-xr-x 2 jenkins jenkins 4096 May 10 06:45 cost 07:02:16 -rw-r--r-- 1 jenkins jenkins 88 May 10 06:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:02:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:02:18 ---> package-listing.sh 07:02:18 ++ facter osfamily 07:02:18 ++ tr '[:upper:]' '[:lower:]' 07:02:18 + OS_FAMILY=debian 07:02:18 + workspace=/w/workspace/foundry_device-virtual-go_PR-283 07:02:18 + START_PACKAGES=/tmp/packages_start.txt 07:02:18 + END_PACKAGES=/tmp/packages_end.txt 07:02:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:02:18 + PACKAGES=/tmp/packages_start.txt 07:02:18 + '[' /w/workspace/foundry_device-virtual-go_PR-283 ']' 07:02:18 + PACKAGES=/tmp/packages_end.txt 07:02:18 + case "${OS_FAMILY}" in 07:02:18 + dpkg -l 07:02:18 + grep '^ii' 07:02:18 + '[' -f /tmp/packages_start.txt ']' 07:02:18 + '[' -f /tmp/packages_end.txt ']' 07:02:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:02:18 + '[' /w/workspace/foundry_device-virtual-go_PR-283 ']' 07:02:18 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-283/archives/ 07:02:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-283/archives/ [Pipeline] echo 07:02:18 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/foundry_device-virtual-go_PR-283/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:02:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:02:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:02:19 . [Pipeline] withDockerContainer 07:02:19 prd-ubuntu20.04-docker-8c-8g-45062 does not seem to be running inside a container 07:02:19 $ 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/foundry_device-virtual-go_PR-283/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-283 -v /w/workspace/foundry_device-virtual-go_PR-283:/w/workspace/foundry_device-virtual-go_PR-283:rw,z -v /w/workspace/foundry_device-virtual-go_PR-283@tmp:/w/workspace/foundry_device-virtual-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:02:19 $ docker top e5a701c9367e4ab254274a3720fc49f96c1fe8a71dad96a3f89a2f9cda62e1a8 -eo pid,comm [Pipeline] { [Pipeline] sh 07:02:20 + touch /tmp/pre-build-complete [Pipeline] sh 07:02:20 + mkdir -p /var/log/sysstat [Pipeline] sh 07:02:20 + ls /var/log/sa-host 07:02:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:02:20 provisioning config files... 07:02:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-283@tmp/config7308008033881500947tmp [Pipeline] { [Pipeline] echo 07:02:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:02:21 ---> create-netrc.sh [Pipeline] } 07:02:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:02:21 ---> python-tools-install.sh [Pipeline] echo 07:02:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:02:21 ---> sudo-logs.sh 07:02:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:02:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:02:21 ---> job-cost.sh 07:02:21 lf-activate-venv: SKIPPING 07:02:21 DEBUG: total: 0.2199999988079071 07:02:21 INFO: Retrieving Stack Cost... 07:02:22 INFO: Retrieving Pricing Info for: v3-standard-8 07:02:22 INFO: Archiving Costs [Pipeline] echo 07:02:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:02:23 ---> logs-deploy.sh 07:02:23 lf-activate-venv: SKIPPING 07:02:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-283/3 07:02:23 INFO: archiving workspace using pattern(s): 07:02:24 Archives upload complete. 07:02:24 INFO: archiving logs to Nexus