Branch indexing 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 106ada734bee3b96ae747a4ada8c53ae48e75cb7+b3c8352dddffb55a33ce15791a32ab0061559949 (04ab5f6bcbc29e5b5cf88905c9de770cb31af326) 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-ssh6339144955877520401.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-ssh7921223020993204659.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-ssh16672917304330628001.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-ssh10786706034561641616.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-ssh13594895836202295648.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-42719 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 106ada734bee3b96ae747a4ada8c53ae48e75cb7 Merge succeeded, producing 3d756a4b7c159230f2e1fba14dd63f5291fd07a2 Checking out Revision 3d756a4b7c159230f2e1fba14dd63f5291fd07a2 (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 106ada734bee3b96ae747a4ada8c53ae48e75cb7 # 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 3d756a4b7c159230f2e1fba14dd63f5291fd07a2 # timeout=10 Commit message: "Merge commit 'b3c8352dddffb55a33ce15791a32ab0061559949' into HEAD" > git rev-list --no-walk 106ada734bee3b96ae747a4ada8c53ae48e75cb7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:23:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:23:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:23:48 ========================================================= 20:23:48 EdgeX Global Pipelines Version Info 20:23:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:23:49 ------------------- 20:23:49 stable info: 20:23:49 ------------------- 20:23:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:23:49 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 20:23:49 Message: update stable to v1.0.227 20:23:49 ------------------- 20:23:49 experimental info: 20:23:49 ------------------- 20:23:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:23:49 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 20:23:49 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:23:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 20:23:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 20:23:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:23:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:23:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-283 [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-283 [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-283 [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3d756a4b7c159230f2e1fba14dd63f5291fd07a2 [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3d756a4 [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:23:50 provisioning config files... 20:23:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-283@tmp/config3194105306031671220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:23:50 ---> docker-login.sh 20:23:50 nexus3.edgexfoundry.org:10001 20:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:51 Configure a credential helper to remove this warning. See 20:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:51 20:23:51 Login Succeeded 20:23:51 nexus3.edgexfoundry.org:10002 20:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:51 Configure a credential helper to remove this warning. See 20:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:51 20:23:51 Login Succeeded 20:23:51 nexus3.edgexfoundry.org:10003 20:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:51 Configure a credential helper to remove this warning. See 20:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:51 20:23:51 Login Succeeded 20:23:51 nexus3.edgexfoundry.org:10004 20:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:51 Configure a credential helper to remove this warning. See 20:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:51 20:23:51 Login Succeeded 20:23:51 docker.io 20:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:52 Configure a credential helper to remove this warning. See 20:23:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:52 20:23:52 Login Succeeded 20:23:52 ---> docker-login.sh ends [Pipeline] } 20:23:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:23:52 + git rev-list -1 --merges 3d756a4b7c159230f2e1fba14dd63f5291fd07a2~1..3d756a4b7c159230f2e1fba14dd63f5291fd07a2 [Pipeline] echo 20:23:52 -----------> git rev-list -1 --merges 3d756a4b7c159230f2e1fba14dd63f5291fd07a2~1..3d756a4b7c159230f2e1fba14dd63f5291fd07a2 3d756a4b7c159230f2e1fba14dd63f5291fd07a2 20:23:52 3d756a4b7c159230f2e1fba14dd63f5291fd07a2 [false] [Pipeline] sh 20:23:53 + git log --format=format:%s -1 3d756a4b7c159230f2e1fba14dd63f5291fd07a2 [Pipeline] echo 20:23:53 ========================================================= 20:23:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:23:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:23:53 + git log --format=format:%s -1 3d756a4b7c159230f2e1fba14dd63f5291fd07a2 [Pipeline] echo 20:23:53 [semverPrep] GIT_COMMIT: 3d756a4b7c159230f2e1fba14dd63f5291fd07a2, Commit Message: Merge commit 'b3c8352dddffb55a33ce15791a32ab0061559949' into HEAD [Pipeline] echo 20:23:53 [semverPrep] This is not a build commit. [Pipeline] sh 20:23:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:23:53 + grep -v github /etc/ssh/ssh_known_hosts 20:23:53 + [ -e /tmp/ssh_known_hosts ] 20:23:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:23:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:23:53 + sudo tee -a /etc/ssh/ssh_known_hosts 20:23:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:23:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:23:54 20:23:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:23:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:23:54 latest: Pulling from edgex-devops/py-git-semver 20:23:54 1fe172e4850f: Pulling fs layer 20:23:54 caf521ccaac6: Pulling fs layer 20:23:54 3ead6fa29328: Pulling fs layer 20:23:54 5c2a1cbceb83: Pulling fs layer 20:23:54 a8d5f1318db7: Pulling fs layer 20:23:54 c427282e49a2: Pulling fs layer 20:23:54 1827001aaf11: Pulling fs layer 20:23:54 0714d37db230: Pulling fs layer 20:23:54 ac28cf19c067: Pulling fs layer 20:23:54 ca983d60f3e2: Pulling fs layer 20:23:54 9f894cec8388: Pulling fs layer 20:23:54 1827001aaf11: Waiting 20:23:54 0714d37db230: Waiting 20:23:54 ac28cf19c067: Waiting 20:23:54 ca983d60f3e2: Waiting 20:23:54 9f894cec8388: Waiting 20:23:54 5c2a1cbceb83: Waiting 20:23:54 c427282e49a2: Waiting 20:23:54 caf521ccaac6: Download complete 20:23:54 5c2a1cbceb83: Download complete 20:23:54 a8d5f1318db7: Verifying Checksum 20:23:54 a8d5f1318db7: Download complete 20:23:54 3ead6fa29328: Verifying Checksum 20:23:54 3ead6fa29328: Download complete 20:23:54 c427282e49a2: Verifying Checksum 20:23:54 c427282e49a2: Download complete 20:23:54 0714d37db230: Verifying Checksum 20:23:54 0714d37db230: Download complete 20:23:54 ac28cf19c067: Verifying Checksum 20:23:54 ac28cf19c067: Download complete 20:23:54 ca983d60f3e2: Download complete 20:23:54 9f894cec8388: Verifying Checksum 20:23:54 9f894cec8388: Download complete 20:23:54 1fe172e4850f: Verifying Checksum 20:23:54 1fe172e4850f: Download complete 20:23:55 1827001aaf11: Verifying Checksum 20:23:55 1827001aaf11: Download complete 20:23:56 1fe172e4850f: Pull complete 20:23:56 caf521ccaac6: Pull complete 20:23:56 3ead6fa29328: Pull complete 20:23:56 5c2a1cbceb83: Pull complete 20:23:57 a8d5f1318db7: Pull complete 20:23:57 c427282e49a2: Pull complete 20:23:59 1827001aaf11: Pull complete 20:23:59 0714d37db230: Pull complete 20:23:59 ac28cf19c067: Pull complete 20:23:59 ca983d60f3e2: Pull complete 20:23:59 9f894cec8388: Pull complete 20:23:59 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 20:23:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:23:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 20:24:00 prd-ubuntu20.04-docker-8c-8g-42719 does not seem to be running inside a container 20:24:00 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 20:24:01 $ docker top 559ddda70bcac1818fb61261774a02e154f90de03d686b8f264bd36c45cd28b3 -eo pid,comm 20:24:01 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). 20:24:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:24:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:24:01 [ssh-agent] Looking for ssh-agent implementation... 20:24:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:24:02 $ docker exec 559ddda70bcac1818fb61261774a02e154f90de03d686b8f264bd36c45cd28b3 ssh-agent 20:24:02 SSH_AUTH_SOCK=/tmp/ssh-saObeUAo8y2X/agent.33 20:24:02 SSH_AGENT_PID=39 20:24:02 Running ssh-add (command line suppressed) 20:24:02 Identity added: /w/workspace/foundry_device-virtual-go_PR-283@tmp/private_key_5980121257974747968.key (/w/workspace/foundry_device-virtual-go_PR-283@tmp/private_key_5980121257974747968.key) 20:24:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:24:02 + git tag --points-at HEAD [Pipeline] } 20:24:02 $ docker exec --env ******** --env ******** 559ddda70bcac1818fb61261774a02e154f90de03d686b8f264bd36c45cd28b3 ssh-agent -k 20:24:02 unset SSH_AUTH_SOCK; 20:24:02 unset SSH_AGENT_PID; 20:24:02 echo Agent pid 39 killed; 20:24:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:24:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:24:02 [ssh-agent] Looking for ssh-agent implementation... 20:24:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:24:02 $ docker exec 559ddda70bcac1818fb61261774a02e154f90de03d686b8f264bd36c45cd28b3 ssh-agent 20:24:03 SSH_AUTH_SOCK=/tmp/ssh-f8zke9o0he2j/agent.73 20:24:03 SSH_AGENT_PID=79 20:24:03 Running ssh-add (command line suppressed) 20:24:03 Identity added: /w/workspace/foundry_device-virtual-go_PR-283@tmp/private_key_5172597380459633297.key (/w/workspace/foundry_device-virtual-go_PR-283@tmp/private_key_5172597380459633297.key) 20:24:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:24:03 + git semver init 20:24:03 2022-05-09 20:24:03,750 [run_init] DEBUG init version:0.0.0 force:False 20:24:03 2022-05-09 20:24:03,750 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-283/.semver 20:24:03 2022-05-09 20:24:03,751 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-283/.semver 20:24:03 2022-05-09 20:24:03,751 [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) 20:24:05 2022-05-09 20:24:04,985 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-283/.git/info/exclude 20:24:05 2022-05-09 20:24:04,985 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-283/.semver/PR-283 with force:False 20:24:05 2022-05-09 20:24:04,986 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-283/.semver/PR-283 20:24:05 2022-05-09 20:24:04,990 [execute] INFO git cat-file --batch-check 20:24:05 2022-05-09 20:24:04,990 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-283/.semver, universal_newlines=False, shell=None, istream=) 20:24:05 2022-05-09 20:24:04,995 [execute] INFO git cat-file --batch 20:24:05 2022-05-09 20:24:04,996 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-283/.semver, universal_newlines=False, shell=None, istream=) 20:24:05 2022-05-09 20:24:05,002 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-283/.semver/PR-283 20:24:05 0.0.0 [Pipeline] } 20:24:05 $ docker exec --env ******** --env ******** 559ddda70bcac1818fb61261774a02e154f90de03d686b8f264bd36c45cd28b3 ssh-agent -k 20:24:05 unset SSH_AUTH_SOCK; 20:24:05 unset SSH_AGENT_PID; 20:24:05 echo Agent pid 79 killed; 20:24:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:24:05 + git semver [Pipeline] } 20:24:05 $ docker stop --time=1 559ddda70bcac1818fb61261774a02e154f90de03d686b8f264bd36c45cd28b3 20:24:07 $ docker rm -f 559ddda70bcac1818fb61261774a02e154f90de03d686b8f264bd36c45cd28b3 [Pipeline] // withDockerContainer [Pipeline] sh 20:24:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:24:07 Stashed 1 file(s) [Pipeline] echo 20:24:08 [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 20:24:08 provisioning config files... 20:24:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-283@tmp/config8254072998312846024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:24:08 ---> docker-login.sh 20:24:08 nexus3.edgexfoundry.org:10001 20:24:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:08 Configure a credential helper to remove this warning. See 20:24:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:08 20:24:08 Login Succeeded 20:24:08 nexus3.edgexfoundry.org:10002 20:24:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:08 Configure a credential helper to remove this warning. See 20:24:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:08 20:24:08 Login Succeeded 20:24:08 nexus3.edgexfoundry.org:10003 20:24:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:08 Configure a credential helper to remove this warning. See 20:24:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:08 20:24:08 Login Succeeded 20:24:08 nexus3.edgexfoundry.org:10004 20:24:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:09 Configure a credential helper to remove this warning. See 20:24:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:09 20:24:09 Login Succeeded 20:24:09 docker.io 20:24:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:09 Configure a credential helper to remove this warning. See 20:24:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:09 20:24:09 Login Succeeded 20:24:09 ---> docker-login.sh ends [Pipeline] } 20:24:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:24:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:24:09 ========================================================= 20:24:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:24:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:24:09 + 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 . 20:24:09 Sending build context to Docker daemon 22.94MB 20:24:09 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:24:09 Step 2/12 : FROM ${BASE} AS builder 20:24:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:24:09 59bf1c3509f3: Pulling fs layer 20:24:09 666ba61612fd: Pulling fs layer 20:24:09 8ed8ca486205: Pulling fs layer 20:24:09 4fe6c5a15a65: Pulling fs layer 20:24:09 22a0e8bec74d: Pulling fs layer 20:24:09 ca2b28591e48: Pulling fs layer 20:24:09 a51346096db8: Pulling fs layer 20:24:09 daebc70d1ce1: Pulling fs layer 20:24:09 0e18a0eac166: Pulling fs layer 20:24:09 22a0e8bec74d: Waiting 20:24:09 ca2b28591e48: Waiting 20:24:09 daebc70d1ce1: Waiting 20:24:09 a51346096db8: Waiting 20:24:09 0e18a0eac166: Waiting 20:24:09 4fe6c5a15a65: Waiting 20:24:09 8ed8ca486205: Verifying Checksum 20:24:09 8ed8ca486205: Download complete 20:24:09 666ba61612fd: Download complete 20:24:09 22a0e8bec74d: Download complete 20:24:09 ca2b28591e48: Download complete 20:24:09 a51346096db8: Verifying Checksum 20:24:09 a51346096db8: Download complete 20:24:09 59bf1c3509f3: Verifying Checksum 20:24:09 daebc70d1ce1: Verifying Checksum 20:24:09 daebc70d1ce1: Download complete 20:24:09 59bf1c3509f3: Pull complete 20:24:10 666ba61612fd: Pull complete 20:24:10 8ed8ca486205: Pull complete 20:24:10 0e18a0eac166: Verifying Checksum 20:24:10 0e18a0eac166: Download complete 20:24:10 4fe6c5a15a65: Verifying Checksum 20:24:10 4fe6c5a15a65: Download complete 20:24:14 4fe6c5a15a65: Pull complete 20:24:14 22a0e8bec74d: Pull complete 20:24:14 ca2b28591e48: Pull complete 20:24:14 a51346096db8: Pull complete 20:24:14 daebc70d1ce1: Pull complete 20:24:17 0e18a0eac166: Pull complete 20:24:17 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 20:24:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:24:17 ---> f018257e8ee9 20:24:17 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:24:18 ---> Running in a4e04316f65a 20:24:19 Removing intermediate container a4e04316f65a 20:24:19 ---> ab17732ba863 20:24:19 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:24:19 ---> Running in afe6f1b63650 20:24:19 Removing intermediate container afe6f1b63650 20:24:19 ---> 722981ada993 20:24:19 Step 5/12 : WORKDIR /device-virtual-go 20:24:19 ---> Running in 209e1a848f33 20:24:19 Removing intermediate container 209e1a848f33 20:24:19 ---> adcf4a1a1357 20:24:19 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:24:19 ---> Running in 011d2fef6b07 20:24:19 Removing intermediate container 011d2fef6b07 20:24:19 ---> 8d0d14ae3d61 20:24:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:24:19 ---> Running in a109e4e2f045 20:24:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:24:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:24:21 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:24:21 (2/4) Installing libedit (20210910.3.1-r0) 20:24:21 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:24:21 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:24:21 Executing busybox-1.34.1-r3.trigger 20:24:21 OK: 224 MiB in 56 packages 20:24:22 Removing intermediate container a109e4e2f045 20:24:22 ---> 7d6f77a499ab 20:24:22 Step 8/12 : COPY go.mod vendor* ./ 20:24:22 ---> e8fa9119442d 20:24:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:24:22 ---> Running in 814ed3b4804f 20:24:23 Still waiting to schedule task 20:24:23 ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:24:23 ‘prd-centos7-builder-2c-1g-42638’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:24:23 ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:24:23 ‘prd-ubuntu20.04-docker-8c-8g-42150’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:24:23 ‘prd-ubuntu20.04-docker-arm64-4c-16g-42229’ is offline 20:24:23 ‘prd-ubuntu20.04-docker-arm64-4c-16g-42720’ is offline 20:24:40 Removing intermediate container 814ed3b4804f 20:24:40 ---> ddc5050580c5 20:24:40 Step 10/12 : COPY . . 20:24:40 ---> 52609157cd7a 20:24:40 Step 11/12 : ARG MAKE='make build' 20:24:40 ---> Running in ca7fd6927a59 20:24:40 Removing intermediate container ca7fd6927a59 20:24:40 ---> c65109c0a521 20:24:40 Step 12/12 : RUN $MAKE 20:24:40 ---> Running in 70e1b4723adc 20:24:40 noop 20:24:40 Removing intermediate container 70e1b4723adc 20:24:40 ---> 7c4e1501712d 20:24:40 Successfully built 7c4e1501712d 20:24:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:24:40 + docker inspect -f . ci-base-image-x86_64 20:24:40 . [Pipeline] withDockerContainer 20:24:40 prd-ubuntu20.04-docker-8c-8g-42719 does not seem to be running inside a container 20:24:41 $ 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 ******** ci-base-image-x86_64 cat 20:24:41 $ docker top 790499c254581e34ba0212fbd0f6d886d0d25efc7d817db9b1d1e7d0baf85766 -eo pid,comm [Pipeline] { [Pipeline] sh 20:24:41 + go version 20:24:41 go version go1.17.6 linux/amd64 [Pipeline] } 20:24:41 $ docker stop --time=1 790499c254581e34ba0212fbd0f6d886d0d25efc7d817db9b1d1e7d0baf85766 20:24:43 $ docker rm -f 790499c254581e34ba0212fbd0f6d886d0d25efc7d817db9b1d1e7d0baf85766 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:24:43 + docker inspect -f . ci-base-image-x86_64 20:24:43 . [Pipeline] withDockerContainer 20:24:43 prd-ubuntu20.04-docker-8c-8g-42719 does not seem to be running inside a container 20:24:43 $ 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 ******** ci-base-image-x86_64 cat 20:24:43 $ docker top 932bfef789f44e0713768339e2dcb4f94c0ae83b61cffa6d0f23403ad71d91af -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:24:44 + make test 20:24:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:24:44 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:24:54 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:24:54 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.036s coverage: 65.7% of statements 20:25:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:25:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:25:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:25:04 ./bin/test-attribution-txt.sh [Pipeline] echo 20:25:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:25:05 $ docker stop --time=1 932bfef789f44e0713768339e2dcb4f94c0ae83b61cffa6d0f23403ad71d91af 20:25:06 $ docker rm -f 932bfef789f44e0713768339e2dcb4f94c0ae83b61cffa6d0f23403ad71d91af [Pipeline] // withDockerContainer [Pipeline] sh 20:25:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:25:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:25:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:25:08 + ls -al . 20:25:08 total 188 20:25:08 drwxrwxr-x 8 jenkins jenkins 4096 May 9 20:25 . 20:25:08 drwxrwxr-x 4 jenkins jenkins 4096 May 9 20:23 .. 20:25:08 drwxrwxr-x 8 jenkins jenkins 4096 May 9 20:24 .git 20:25:08 drwxrwxr-x 2 jenkins jenkins 4096 May 9 20:23 .github 20:25:08 -rw-rw-r-- 1 jenkins jenkins 270 May 9 20:23 .gitignore 20:25:08 -rw-rw-r-- 1 jenkins jenkins 41 May 9 20:23 .golangci.yml 20:25:08 drwxr-xr-x 3 jenkins jenkins 4096 May 9 20:24 .semver 20:25:08 -rw-rw-r-- 1 jenkins jenkins 7893 May 9 20:23 Attribution.txt 20:25:08 -rw-rw-r-- 1 jenkins jenkins 9649 May 9 20:23 CHANGELOG.md 20:25:08 -rw-rw-r-- 1 jenkins jenkins 1974 May 9 20:23 Dockerfile 20:25:08 -rw-rw-r-- 1 jenkins jenkins 677 May 9 20:23 GOVERNANCE.md 20:25:08 -rw-rw-r-- 1 jenkins jenkins 660 May 9 20:23 Jenkinsfile 20:25:08 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 20:23 LICENSE 20:25:08 -rw-rw-r-- 1 jenkins jenkins 2248 May 9 20:23 Makefile 20:25:08 -rw-rw-r-- 1 jenkins jenkins 623 May 9 20:23 OWNERS.md 20:25:08 -rw-rw-r-- 1 jenkins jenkins 2914 May 9 20:23 README.md 20:25:08 -rw-rw-r-- 1 jenkins jenkins 5 May 9 20:24 VERSION 20:25:08 drwxrwxr-x 2 jenkins jenkins 4096 May 9 20:23 bin 20:25:08 drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:23 cmd 20:25:08 -rw-r--r-- 1 jenkins jenkins 44128 May 9 20:24 coverage.out 20:25:08 -rw-rw-r-- 1 jenkins jenkins 3185 May 9 20:23 go.mod 20:25:08 -rw-rw-r-- 1 jenkins jenkins 35216 May 9 20:23 go.sum 20:25:08 drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:23 internal 20:25:08 -rw-rw-r-- 1 jenkins jenkins 235 May 9 20:23 version.go [Pipeline] isUnix [Pipeline] sh 20:25:08 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=3d756a4b7c159230f2e1fba14dd63f5291fd07a2 --label arch=amd64 --label version=0.0.0 . 20:25:08 Sending build context to Docker daemon 22.98MB 20:25:08 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 20:25:08 Step 2/26 : FROM ${BASE} AS builder 20:25:08 ---> 7c4e1501712d 20:25:08 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:25:08 ---> Running in 1949ed6e6658 20:25:08 Removing intermediate container 1949ed6e6658 20:25:08 ---> df861e951fb8 20:25:08 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:25:08 ---> Running in 113c74013ac2 20:25:09 Removing intermediate container 113c74013ac2 20:25:09 ---> 96a68aad4600 20:25:09 Step 5/26 : WORKDIR /device-virtual-go 20:25:09 ---> Running in 24587e27ffa5 20:25:09 Removing intermediate container 24587e27ffa5 20:25:09 ---> 8e26f4a29bdc 20:25:09 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:25:09 ---> Running in f3103a5ddcdf 20:25:10 Removing intermediate container f3103a5ddcdf 20:25:10 ---> be2524c4dce9 20:25:10 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:25:10 ---> Running in 2f34900b3921 20:25:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:25:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:25:11 OK: 224 MiB in 56 packages 20:25:11 Removing intermediate container 2f34900b3921 20:25:11 ---> 51e8d5480cfc 20:25:11 Step 8/26 : COPY go.mod vendor* ./ 20:25:11 ---> de3dce2f408d 20:25:11 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:25:11 ---> Running in 963a5eddf543 20:25:12 Removing intermediate container 963a5eddf543 20:25:12 ---> b3635d5467b8 20:25:12 Step 10/26 : COPY . . 20:25:13 ---> 0238429a5f1f 20:25:13 Step 11/26 : ARG MAKE='make build' 20:25:13 ---> Running in 9f6a59cc2a89 20:25:13 Removing intermediate container 9f6a59cc2a89 20:25:13 ---> 6674b8c3f27d 20:25:13 Step 12/26 : RUN $MAKE 20:25:13 ---> Running in e863e9fe658b 20:25:13 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 20:25:35 Removing intermediate container e863e9fe658b 20:25:35 ---> 829e610c0056 20:25:35 Step 13/26 : FROM alpine:3.14 20:25:35 3.14: Pulling from library/alpine 20:25:35 8663204ce13b: Pulling fs layer 20:25:35 8663204ce13b: Verifying Checksum 20:25:35 8663204ce13b: Download complete 20:25:35 8663204ce13b: Pull complete 20:25:35 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:25:35 Status: Downloaded newer image for alpine:3.14 20:25:35 ---> e04c818066af 20:25:35 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 20:25:35 ---> Running in b3cb50e6b769 20:25:35 Removing intermediate container b3cb50e6b769 20:25:35 ---> 7f128fd7c7f8 20:25:35 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:25:35 ---> Running in 4a9ba0526686 20:25:35 Removing intermediate container 4a9ba0526686 20:25:35 ---> 377b7233ddc9 20:25:35 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:25:35 ---> Running in 85a26c396205 20:25:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:25:36 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:25:36 (1/6) Installing dumb-init (1.2.5-r1) 20:25:36 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:25:36 (3/6) Installing libsodium (1.0.18-r0) 20:25:36 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:25:36 (5/6) Installing libzmq (4.3.4-r0) 20:25:36 (6/6) Installing zeromq (4.3.4-r0) 20:25:36 Executing busybox-1.33.1-r7.trigger 20:25:36 OK: 8 MiB in 20 packages 20:25:37 Removing intermediate container 85a26c396205 20:25:37 ---> ce3f2fe3164a 20:25:37 Step 17/26 : WORKDIR / 20:25:37 ---> Running in 183b81d9a971 20:25:37 Removing intermediate container 183b81d9a971 20:25:37 ---> 721c9abdb0f7 20:25:37 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 20:25:37 ---> 2f4901af3a39 20:25:37 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 20:25:37 ---> 51960b517c1e 20:25:37 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 20:25:38 ---> 0ee16c709346 20:25:38 Step 21/26 : EXPOSE 59900 20:25:38 ---> Running in 4978024618a8 20:25:38 Removing intermediate container 4978024618a8 20:25:38 ---> c9bbbdfa51f8 20:25:38 Step 22/26 : ENTRYPOINT ["/device-virtual"] 20:25:38 ---> Running in f5e94fffca44 20:25:38 Removing intermediate container f5e94fffca44 20:25:38 ---> 84411740de7a 20:25:38 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:25:38 ---> Running in afb76e3a8d4b 20:25:38 Removing intermediate container afb76e3a8d4b 20:25:38 ---> e8d62bf26127 20:25:38 Step 24/26 : LABEL arch=amd64 20:25:38 ---> Running in e5d351261fdf 20:25:38 Removing intermediate container e5d351261fdf 20:25:38 ---> 28f1e0ef25d8 20:25:38 Step 25/26 : LABEL git_sha=3d756a4b7c159230f2e1fba14dd63f5291fd07a2 20:25:38 ---> Running in b6a09bed8e93 20:25:38 Removing intermediate container b6a09bed8e93 20:25:38 ---> c37a1f27e5c1 20:25:38 Step 26/26 : LABEL version=0.0.0 20:25:38 ---> Running in c1d1a1934da0 20:25:38 Removing intermediate container c1d1a1934da0 20:25:38 ---> 3eae4d6b6d8d 20:25:38 [Warning] One or more build-args [ARCH] were not consumed 20:25:39 Successfully built 3eae4d6b6d8d 20:25:39 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 20:25:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:25:39 20:25:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:25:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:25:39 latest: Pulling from edgex-lftools-log-publisher 20:25:39 5eb5b503b376: Pulling fs layer 20:25:39 5c69ac0246d0: Pulling fs layer 20:25:39 ec43610c2a17: Pulling fs layer 20:25:39 3a2ae6a8a46f: Pulling fs layer 20:25:39 33b1e0a273af: Pulling fs layer 20:25:39 5d3b04190fa2: Pulling fs layer 20:25:39 2f39f015ded8: Pulling fs layer 20:25:39 33b1e0a273af: Waiting 20:25:39 3a2ae6a8a46f: Waiting 20:25:39 2f39f015ded8: Waiting 20:25:39 5d3b04190fa2: Waiting 20:25:39 5c69ac0246d0: Download complete 20:25:39 3a2ae6a8a46f: Verifying Checksum 20:25:39 3a2ae6a8a46f: Download complete 20:25:39 33b1e0a273af: Verifying Checksum 20:25:39 33b1e0a273af: Download complete 20:25:39 5d3b04190fa2: Verifying Checksum 20:25:39 5d3b04190fa2: Download complete 20:25:39 ec43610c2a17: Verifying Checksum 20:25:39 ec43610c2a17: Download complete 20:25:40 5eb5b503b376: Verifying Checksum 20:25:40 5eb5b503b376: Download complete 20:25:40 2f39f015ded8: Download complete 20:25:41 5eb5b503b376: Pull complete 20:25:41 5c69ac0246d0: Pull complete 20:25:42 ec43610c2a17: Pull complete 20:25:42 3a2ae6a8a46f: Pull complete 20:25:42 33b1e0a273af: Pull complete 20:25:42 5d3b04190fa2: Pull complete 20:25:47 2f39f015ded8: Pull complete 20:25:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:25:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:25:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:25:47 prd-ubuntu20.04-docker-8c-8g-42719 does not seem to be running inside a container 20:25:47 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:25:49 $ docker top ee149d83552e8e76bc8cf9f120aeab4606b8e1d527bf6b74631809c66dc1222c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:25:50 ---> job-cost.sh 20:25:50 lf-activate-venv: SKIPPING 20:25:50 INFO: No Stack... 20:25:50 INFO: Retrieving Pricing Info for: v3-standard-8 20:25:50 INFO: Archiving Costs [Pipeline] sh 20:25:51 + cat /w/workspace/foundry_device-virtual-go_PR-283/archives/cost.csv 20:25:51 + cut -d, -f6 [Pipeline] lock 20:25:51 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-283-2-stack-cost] 20:25:51 Resource [jenkins-edgexfoundry-device-virtual-go-PR-283-2-stack-cost] did not exist. Created. 20:25:51 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-283-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:25:51 + echo total: 0.2199999988079071 [Pipeline] stash 20:25:51 Stashed 1 file(s) [Pipeline] } 20:25:51 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-283-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:25:51 $ docker stop --time=1 ee149d83552e8e76bc8cf9f120aeab4606b8e1d527bf6b74631809c66dc1222c 20:25:52 $ docker rm -f ee149d83552e8e76bc8cf9f120aeab4606b8e1d527bf6b74631809c66dc1222c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:26:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-42730 in /w/workspace/foundry_device-virtual-go_PR-283 [Pipeline] { [Pipeline] ws 20:26:53 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 20:26:54 The recommended git tool is: git 20:27:00 using credential edgex-jenkins-ssh 20:27:00 Cloning the remote Git repository 20:27:01 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 20:27:01 > git init /w/workspace/device-virtual-go/2 # timeout=10 20:27:01 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:27:01 > git --version # timeout=10 20:27:01 > git --version # 'git version 2.25.1' 20:27:01 using GIT_SSH to set credentials SSH Credentials for GitHub 20:27:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:27:03 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:27:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:27:03 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:27:03 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:27:03 using GIT_SSH to set credentials SSH Credentials for GitHub 20:27:04 Merging remotes/origin/main commit b3c8352dddffb55a33ce15791a32ab0061559949 into PR head commit 106ada734bee3b96ae747a4ada8c53ae48e75cb7 20:27:04 Merge succeeded, producing a013439234b9307602081a594efb55ca33150c21 20:27:04 Checking out Revision a013439234b9307602081a594efb55ca33150c21 (PR-283) 20:27:03 > 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 20:27:04 > git config core.sparsecheckout # timeout=10 20:27:04 > git checkout -f 106ada734bee3b96ae747a4ada8c53ae48e75cb7 # timeout=10 20:27:04 > git remote # timeout=10 20:27:04 > git config --get remote.origin.url # timeout=10 20:27:04 using GIT_SSH to set credentials SSH Credentials for GitHub 20:27:04 > git merge b3c8352dddffb55a33ce15791a32ab0061559949 # timeout=10 20:27:04 > git rev-parse HEAD^{commit} # timeout=10 20:27:04 > git config core.sparsecheckout # timeout=10 20:27:04 > git checkout -f a013439234b9307602081a594efb55ca33150c21 # timeout=10 20:27:08 Commit message: "Merge commit 'b3c8352dddffb55a33ce15791a32ab0061559949' into HEAD" 20:27:08 > git rev-list --no-walk 106ada734bee3b96ae747a4ada8c53ae48e75cb7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:27:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:27:09 % Total % Received % Xferd Average Speed Time Time Time Current 20:27:09 Dload Upload Total Spent Left Speed 20:27:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 189k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 20:27:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:27:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:27:10 + sudo tee /etc/docker/daemon.new 20:27:10 { 20:27:10 "registry-mirrors": [ 20:27:10 "https://nexus3.edgexfoundry.org:10001" 20:27:10 ], 20:27:10 "bip": "10.250.0.254/24", 20:27:10 "hosts": [ 20:27:10 "tcp://0.0.0.0:5555", 20:27:10 "unix:///var/run/docker.sock" 20:27:10 ], 20:27:10 "mtu": 1458, 20:27:10 "selinux-enabled": true, 20:27:10 "seccomp-profile": "/etc/docker/seccomp.json" 20:27:10 } [Pipeline] sh 20:27:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:27:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:27:29 provisioning config files... 20:27:29 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config1884618488252515854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:27:30 ---> docker-login.sh 20:27:30 nexus3.edgexfoundry.org:10001 20:27:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:30 Configure a credential helper to remove this warning. See 20:27:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:30 20:27:30 Login Succeeded 20:27:30 nexus3.edgexfoundry.org:10002 20:27:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:31 Configure a credential helper to remove this warning. See 20:27:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:31 20:27:31 Login Succeeded 20:27:31 nexus3.edgexfoundry.org:10003 20:27:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:32 Configure a credential helper to remove this warning. See 20:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:32 20:27:32 Login Succeeded 20:27:32 nexus3.edgexfoundry.org:10004 20:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:32 Configure a credential helper to remove this warning. See 20:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:32 20:27:32 Login Succeeded 20:27:32 docker.io 20:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:33 Configure a credential helper to remove this warning. See 20:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:33 20:27:33 Login Succeeded 20:27:33 ---> docker-login.sh ends [Pipeline] } 20:27:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:27:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:27:34 ========================================================= 20:27:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:27:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:27:34 + 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 . 20:27:35 Sending build context to Docker daemon 11.6MB 20:27:35 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:27:35 Step 2/12 : FROM ${BASE} AS builder 20:27:35 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:27:35 9b3977197b4f: Pulling fs layer 20:27:35 1a89e8eeedd5: Pulling fs layer 20:27:35 94645a83ff95: Pulling fs layer 20:27:35 3f3a8bcf1eab: Pulling fs layer 20:27:35 0c92f367c5e7: Pulling fs layer 20:27:35 3096ccb668a1: Pulling fs layer 20:27:35 e8cf19c19ddd: Pulling fs layer 20:27:35 a4caa8a26152: Pulling fs layer 20:27:35 0c92f367c5e7: Waiting 20:27:35 3096ccb668a1: Waiting 20:27:35 e8cf19c19ddd: Waiting 20:27:35 a4caa8a26152: Waiting 20:27:35 3f3a8bcf1eab: Waiting 20:27:35 94645a83ff95: Verifying Checksum 20:27:35 94645a83ff95: Download complete 20:27:35 1a89e8eeedd5: Verifying Checksum 20:27:35 1a89e8eeedd5: Download complete 20:27:35 0c92f367c5e7: Verifying Checksum 20:27:35 0c92f367c5e7: Download complete 20:27:35 3096ccb668a1: Verifying Checksum 20:27:35 3096ccb668a1: Download complete 20:27:35 9b3977197b4f: Verifying Checksum 20:27:35 9b3977197b4f: Download complete 20:27:35 e8cf19c19ddd: Verifying Checksum 20:27:35 e8cf19c19ddd: Download complete 20:27:36 9b3977197b4f: Pull complete 20:27:36 1a89e8eeedd5: Pull complete 20:27:37 94645a83ff95: Pull complete 20:27:37 a4caa8a26152: Verifying Checksum 20:27:37 a4caa8a26152: Download complete 20:27:38 3f3a8bcf1eab: Download complete 20:27:53 3f3a8bcf1eab: Pull complete 20:27:53 0c92f367c5e7: Pull complete 20:27:53 3096ccb668a1: Pull complete 20:27:53 e8cf19c19ddd: Pull complete 20:27:58 a4caa8a26152: Pull complete 20:27:58 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 20:27:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:27:58 ---> 725f1c02e7f9 20:27:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:27:59 ---> Running in 196c9993eeb6 20:27:59 Removing intermediate container 196c9993eeb6 20:27:59 ---> 73a4361603ff 20:27:59 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:27:59 ---> Running in 8082edb60d82 20:28:00 Removing intermediate container 8082edb60d82 20:28:00 ---> 3e2e52a66654 20:28:00 Step 5/12 : WORKDIR /device-virtual-go 20:28:00 ---> Running in e235248a5529 20:28:00 Removing intermediate container e235248a5529 20:28:00 ---> e2361786d47b 20:28:00 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:28:00 ---> Running in 3be0dcc0aa1b 20:28:02 Removing intermediate container 3be0dcc0aa1b 20:28:02 ---> cb41efe6c2c7 20:28:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:28:02 ---> Running in d23988b521c2 20:28:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:28:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:28:05 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:28:05 (2/4) Installing libedit (20210910.3.1-r0) 20:28:05 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:28:06 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:28:06 Executing busybox-1.34.1-r3.trigger 20:28:06 OK: 224 MiB in 56 packages 20:28:07 Removing intermediate container d23988b521c2 20:28:07 ---> faf1793976d6 20:28:07 Step 8/12 : COPY go.mod vendor* ./ 20:28:07 ---> 8d00d44dfc70 20:28:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:28:07 ---> Running in eee6aae63187 20:29:04 Removing intermediate container eee6aae63187 20:29:04 ---> 3d9f6e5129aa 20:29:04 Step 10/12 : COPY . . 20:29:04 ---> 4bae84bb0da2 20:29:04 Step 11/12 : ARG MAKE='make build' 20:29:04 ---> Running in 88a4c359acb1 20:29:04 Removing intermediate container 88a4c359acb1 20:29:04 ---> f5045ed7f517 20:29:04 Step 12/12 : RUN $MAKE 20:29:04 ---> Running in 145d13e93520 20:29:04 noop 20:29:04 Removing intermediate container 145d13e93520 20:29:04 ---> a1d604ec5ea8 20:29:04 Successfully built a1d604ec5ea8 20:29:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:29:04 + docker inspect -f . ci-base-image-arm64 20:29:04 . [Pipeline] withDockerContainer 20:29:05 prd-ubuntu20.04-docker-arm64-4c-16g-42730 does not seem to be running inside a container 20:29:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 20:29:06 $ docker top 5c6f425826f978736ba6258f2708e795c6b1e5cf731b77d6c620b63e13a2d316 -eo pid,comm [Pipeline] { [Pipeline] sh 20:29:07 + go version 20:29:07 go version go1.17.6 linux/arm64 [Pipeline] } 20:29:07 $ docker stop --time=1 5c6f425826f978736ba6258f2708e795c6b1e5cf731b77d6c620b63e13a2d316 20:29:09 $ docker rm -f 5c6f425826f978736ba6258f2708e795c6b1e5cf731b77d6c620b63e13a2d316 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:29:09 + docker inspect -f . ci-base-image-arm64 20:29:09 . [Pipeline] withDockerContainer 20:29:09 prd-ubuntu20.04-docker-arm64-4c-16g-42730 does not seem to be running inside a container 20:29:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 20:29:11 $ docker top 4926d80260812be298d3a3c94897a1e9ea98a67aacaccbd494a1718473756f58 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:29:12 + make test 20:29:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:29:14 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:30:51 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:30:51 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.151s coverage: 65.7% of statements 20:30:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:30:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:31:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:31:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:31:18 ./bin/test-attribution-txt.sh [Pipeline] echo 20:31:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:31:18 $ docker stop --time=1 4926d80260812be298d3a3c94897a1e9ea98a67aacaccbd494a1718473756f58 20:31:20 $ docker rm -f 4926d80260812be298d3a3c94897a1e9ea98a67aacaccbd494a1718473756f58 [Pipeline] // withDockerContainer [Pipeline] sh 20:31:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:31:21 Warning: overwriting stash ‘coverage-report’ 20:31:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:31:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:31:22 + ls -al . 20:31:22 total 184 20:31:22 drwxrwxr-x 7 jenkins jenkins 4096 May 9 20:31 . 20:31:22 drwxrwxr-x 4 jenkins jenkins 4096 May 9 20:27 .. 20:31:22 drwxrwxr-x 8 jenkins jenkins 4096 May 9 20:27 .git 20:31:22 drwxrwxr-x 2 jenkins jenkins 4096 May 9 20:27 .github 20:31:22 -rw-rw-r-- 1 jenkins jenkins 270 May 9 20:27 .gitignore 20:31:22 -rw-rw-r-- 1 jenkins jenkins 41 May 9 20:27 .golangci.yml 20:31:22 -rw-rw-r-- 1 jenkins jenkins 7893 May 9 20:27 Attribution.txt 20:31:22 -rw-rw-r-- 1 jenkins jenkins 9649 May 9 20:27 CHANGELOG.md 20:31:22 -rw-rw-r-- 1 jenkins jenkins 1974 May 9 20:27 Dockerfile 20:31:22 -rw-rw-r-- 1 jenkins jenkins 677 May 9 20:27 GOVERNANCE.md 20:31:22 -rw-rw-r-- 1 jenkins jenkins 660 May 9 20:27 Jenkinsfile 20:31:22 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 20:27 LICENSE 20:31:22 -rw-rw-r-- 1 jenkins jenkins 2248 May 9 20:27 Makefile 20:31:22 -rw-rw-r-- 1 jenkins jenkins 623 May 9 20:27 OWNERS.md 20:31:22 -rw-rw-r-- 1 jenkins jenkins 2914 May 9 20:27 README.md 20:31:22 -rw-rw-r-- 1 jenkins jenkins 5 May 9 20:24 VERSION 20:31:22 drwxrwxr-x 2 jenkins jenkins 4096 May 9 20:27 bin 20:31:22 drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:27 cmd 20:31:22 -rw-r--r-- 1 jenkins jenkins 44128 May 9 20:30 coverage.out 20:31:22 -rw-rw-r-- 1 jenkins jenkins 3185 May 9 20:27 go.mod 20:31:22 -rw-rw-r-- 1 jenkins jenkins 35216 May 9 20:27 go.sum 20:31:22 drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:27 internal 20:31:22 -rw-rw-r-- 1 jenkins jenkins 235 May 9 20:27 version.go [Pipeline] isUnix [Pipeline] sh 20:31:22 + 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=a013439234b9307602081a594efb55ca33150c21 --label arch=arm64 --label version=0.0.0 . 20:31:23 Sending build context to Docker daemon 11.64MB 20:31:23 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 20:31:23 Step 2/26 : FROM ${BASE} AS builder 20:31:23 ---> a1d604ec5ea8 20:31:23 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:31:23 ---> Running in 82819951f78e 20:31:24 Removing intermediate container 82819951f78e 20:31:24 ---> 5a2e0be965af 20:31:24 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:31:24 ---> Running in 9e03ae8b7b3f 20:31:24 Removing intermediate container 9e03ae8b7b3f 20:31:24 ---> 976feed802e1 20:31:24 Step 5/26 : WORKDIR /device-virtual-go 20:31:24 ---> Running in ddb190ec3c85 20:31:25 Removing intermediate container ddb190ec3c85 20:31:25 ---> d87df8464d06 20:31:25 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:31:25 ---> Running in f07d219545cd 20:31:27 Removing intermediate container f07d219545cd 20:31:27 ---> 2b2858bf84f7 20:31:27 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:31:27 ---> Running in 20fc32e36e62 20:31:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:31:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:31:29 OK: 224 MiB in 56 packages 20:31:30 Removing intermediate container 20fc32e36e62 20:31:30 ---> 5491bdda36f7 20:31:30 Step 8/26 : COPY go.mod vendor* ./ 20:31:31 ---> 047bfd3abeb3 20:31:31 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:31:31 ---> Running in bafef7999d14 20:31:33 Removing intermediate container bafef7999d14 20:31:33 ---> 933bdd1dccf1 20:31:33 Step 10/26 : COPY . . 20:31:34 ---> d8b05d1dabc3 20:31:34 Step 11/26 : ARG MAKE='make build' 20:31:34 ---> Running in 4b5a66fb7f91 20:31:34 Removing intermediate container 4b5a66fb7f91 20:31:34 ---> 30381c0faf2b 20:31:34 Step 12/26 : RUN $MAKE 20:31:34 ---> Running in cc4b5e0e2734 20:31:35 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 20:33:57 Removing intermediate container cc4b5e0e2734 20:33:57 ---> b4e761f08eb0 20:33:57 Step 13/26 : FROM alpine:3.14 20:33:57 3.14: Pulling from library/alpine 20:33:57 455c02918c45: Pulling fs layer 20:33:57 455c02918c45: Verifying Checksum 20:33:57 455c02918c45: Download complete 20:33:57 455c02918c45: Pull complete 20:33:57 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:33:57 Status: Downloaded newer image for alpine:3.14 20:33:57 ---> ac73e934f311 20:33:57 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 20:33:57 ---> Running in 063089807bb5 20:33:57 Removing intermediate container 063089807bb5 20:33:57 ---> 35ec7f53d811 20:33:57 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:33:57 ---> Running in 963896e682a4 20:33:57 Removing intermediate container 963896e682a4 20:33:57 ---> 6f70524ba5af 20:33:57 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:33:57 ---> Running in 087d3abee6c2 20:33:57 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:33:57 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:33:57 (1/6) Installing dumb-init (1.2.5-r1) 20:33:57 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:33:57 (3/6) Installing libsodium (1.0.18-r0) 20:33:57 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:33:57 (5/6) Installing libzmq (4.3.4-r0) 20:33:57 (6/6) Installing zeromq (4.3.4-r0) 20:33:57 Executing busybox-1.33.1-r7.trigger 20:33:57 OK: 8 MiB in 20 packages 20:33:57 Removing intermediate container 087d3abee6c2 20:33:57 ---> a9eca179e7f0 20:33:57 Step 17/26 : WORKDIR / 20:33:57 ---> Running in 6c4cbf0fb989 20:33:57 Removing intermediate container 6c4cbf0fb989 20:33:57 ---> 796c61467fd8 20:33:57 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 20:33:57 ---> 4c5a13851036 20:33:57 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 20:33:57 ---> 5dcb4b35956b 20:33:57 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 20:33:57 ---> 7f1ded6d42da 20:33:57 Step 21/26 : EXPOSE 59900 20:33:57 ---> Running in f6ac5874de90 20:33:57 Removing intermediate container f6ac5874de90 20:33:57 ---> d63457ca981d 20:33:57 Step 22/26 : ENTRYPOINT ["/device-virtual"] 20:33:57 ---> Running in a1d6ce93a6b0 20:33:57 Removing intermediate container a1d6ce93a6b0 20:33:57 ---> 71cba90f0b18 20:33:57 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:33:58 ---> Running in 077003b78041 20:33:58 Removing intermediate container 077003b78041 20:33:58 ---> 47ad010a739c 20:33:58 Step 24/26 : LABEL arch=arm64 20:33:58 ---> Running in 325b693e2cb8 20:33:58 Removing intermediate container 325b693e2cb8 20:33:58 ---> 327fef446ae8 20:33:58 Step 25/26 : LABEL git_sha=a013439234b9307602081a594efb55ca33150c21 20:33:58 ---> Running in f6a4ce22c3c5 20:33:59 Removing intermediate container f6a4ce22c3c5 20:33:59 ---> f0524c8f08ac 20:33:59 Step 26/26 : LABEL version=0.0.0 20:33:59 ---> Running in eb5f71f4c1a4 20:33:59 Removing intermediate container eb5f71f4c1a4 20:33:59 ---> 0b738c5f99e0 20:33:59 [Warning] One or more build-args [ARCH] were not consumed 20:33:59 Successfully built 0b738c5f99e0 20:33:59 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 20:34:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:34:00 20:34:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:34:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:34:00 arm64: Pulling from edgex-lftools-log-publisher 20:34:00 8998bd30e6a1: Pulling fs layer 20:34:00 04944245beec: Pulling fs layer 20:34:00 699f458cf7ca: Pulling fs layer 20:34:00 765212b225bb: Pulling fs layer 20:34:00 f23df028b6ca: Pulling fs layer 20:34:00 d65c8cfc05b1: Pulling fs layer 20:34:00 2437ff75d9bd: Pulling fs layer 20:34:00 765212b225bb: Waiting 20:34:00 f23df028b6ca: Waiting 20:34:00 2437ff75d9bd: Waiting 20:34:00 d65c8cfc05b1: Waiting 20:34:00 04944245beec: Verifying Checksum 20:34:00 04944245beec: Download complete 20:34:00 765212b225bb: Verifying Checksum 20:34:00 765212b225bb: Download complete 20:34:00 f23df028b6ca: Verifying Checksum 20:34:00 f23df028b6ca: Download complete 20:34:00 d65c8cfc05b1: Verifying Checksum 20:34:00 d65c8cfc05b1: Download complete 20:34:01 699f458cf7ca: Verifying Checksum 20:34:01 699f458cf7ca: Download complete 20:34:01 8998bd30e6a1: Verifying Checksum 20:34:01 8998bd30e6a1: Download complete 20:34:04 2437ff75d9bd: Verifying Checksum 20:34:04 2437ff75d9bd: Download complete 20:34:05 8998bd30e6a1: Pull complete 20:34:06 04944245beec: Pull complete 20:34:07 699f458cf7ca: Pull complete 20:34:07 765212b225bb: Pull complete 20:34:08 f23df028b6ca: Pull complete 20:34:09 d65c8cfc05b1: Pull complete 20:34:24 2437ff75d9bd: Pull complete 20:34:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:34:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:34:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:34:24 prd-ubuntu20.04-docker-arm64-4c-16g-42730 does not seem to be running inside a container 20:34:24 $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 20:34:27 $ docker top 8f01f681e96ca41d1104e44a88644cac988123b326e989e0547f0398c994d4e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:28 ---> job-cost.sh 20:34:28 lf-activate-venv: SKIPPING 20:34:28 INFO: No Stack... 20:34:28 INFO: Retrieving Pricing Info for: v3-standard-4 20:34:29 INFO: Archiving Costs [Pipeline] sh 20:34:30 + cut -d, -f6 20:34:30 + cat /w/workspace/device-virtual-go/2/archives/cost.csv [Pipeline] lock 20:34:30 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-283-2-stack-cost] 20:34:30 Resource [jenkins-edgexfoundry-device-virtual-go-PR-283-2-stack-cost] did not exist. Created. 20:34:30 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-283-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:34:31 /w/workspace/device-virtual-go/2@tmp/durable-2a81c967/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:34:32 + echo total: 0.10999999940395355 [Pipeline] stash 20:34:32 Warning: overwriting stash ‘stack-cost’ 20:34:32 Stashed 1 file(s) [Pipeline] } 20:34:32 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-283-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:34:32 $ docker stop --time=1 8f01f681e96ca41d1104e44a88644cac988123b326e989e0547f0398c994d4e0 20:34:33 $ docker rm -f 8f01f681e96ca41d1104e44a88644cac988123b326e989e0547f0398c994d4e0 [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 20:34:34 provisioning config files... 20:34:34 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-283@tmp/config7329176929080383730tmp [Pipeline] { [Pipeline] sh 20:34:34 + set +x 20:34:34 + bash -s -- 20:34:34 + curl -s https://codecov.io/bash 20:34:34 20:34:34 _____ _ 20:34:34 / ____| | | 20:34:34 | | ___ __| | ___ ___ _____ __ 20:34:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:34:34 | |___| (_) | (_| | __/ (_| (_) \ V / 20:34:34 \_____\___/ \__,_|\___|\___\___/ \_/ 20:34:34 Bash-1.0.6 20:34:34 20:34:34 20:34:34 ==> git version 2.25.1 found 20:34:34 ==> 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 20:34:34 Release-Date: 2020-01-08 20:34:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:34:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:34:34 ==> Jenkins CI detected. 20:34:34 current dir:  /w/workspace/foundry_device-virtual-go_PR-283 20:34:34 project root: . 20:34:34 --> token set from env 20:34:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:34:34 ==> Running gcov in . (disable via -X gcov) 20:34:34 ==> Python coveragepy not found 20:34:34 ==> Searching for coverage reports in: 20:34:34 + . 20:34:34 -> Found 1 reports 20:34:34 ==> Detecting git/mercurial file structure 20:34:34 ==> Reading reports 20:34:34 + ./coverage.out bytes=44128 20:34:34 ==> Appending adjustments 20:34:34 https://docs.codecov.io/docs/fixing-reports 20:34:34 + Found adjustments 20:34:34 ==> Gzipping contents 20:34:34 8.0K /tmp/codecov.cX2Hm2.gz 20:34:34 ==> Uploading reports 20:34:34 url: https://codecov.io 20:34:34 query: branch=PR-283&commit=3d756a4b7c159230f2e1fba14dd63f5291fd07a2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-283%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=283&job=&cmd_args= 20:34:34 -> Pinging Codecov 20:34:34 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=3d756a4b7c159230f2e1fba14dd63f5291fd07a2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-283%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=283&job=&cmd_args= 20:34:35 -> Uploading to 20:34:35 https://storage.googleapis.com/codecov/v4/raw/2022-05-09/5E52B4B073DB2E39498172D8E973AA87/3d756a4b7c159230f2e1fba14dd63f5291fd07a2/11d7eb95-91d6-4d9f-96a9-f0d00fba724c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220509T203434Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f187a980e4042c77d1b809147f49c5cbeed623be279ff0614eea1ed66d240bfb 20:34:35 % Total % Received % Xferd Average Speed Time Time Time Current 20:34:35 Dload Upload Total Spent Left Speed 20:34:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5293 0 0 100 5293 0 24618 --:--:-- --:--:-- --:--:-- 24733 20:34:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/3d756a4b7c159230f2e1fba14dd63f5291fd07a2 [Pipeline] } 20:34:35 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 20:34:36 + [ -d /w/workspace/foundry_device-virtual-go_PR-283/archives ] 20:34:36 + ls -al /w/workspace/foundry_device-virtual-go_PR-283/archives 20:34:36 total 16 20:34:36 drwxr-xr-x 3 root root 4096 May 9 20:25 . 20:34:36 drwxrwxr-x 9 jenkins jenkins 4096 May 9 20:25 .. 20:34:36 drwxr-xr-x 2 root root 4096 May 9 20:25 cost 20:34:36 -rw-r--r-- 1 root root 88 May 9 20:25 cost.csv 20:34:36 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-283/archives 20:34:36 + ls -al /w/workspace/foundry_device-virtual-go_PR-283/archives 20:34:36 total 16 20:34:36 drwxr-xr-x 3 jenkins jenkins 4096 May 9 20:25 . 20:34:36 drwxrwxr-x 9 jenkins jenkins 4096 May 9 20:25 .. 20:34:36 drwxr-xr-x 2 jenkins jenkins 4096 May 9 20:25 cost 20:34:36 -rw-r--r-- 1 jenkins jenkins 88 May 9 20:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:34:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:34:37 ---> package-listing.sh 20:34:37 ++ facter osfamily 20:34:37 ++ tr '[:upper:]' '[:lower:]' 20:34:37 + OS_FAMILY=debian 20:34:37 + workspace=/w/workspace/foundry_device-virtual-go_PR-283 20:34:37 + START_PACKAGES=/tmp/packages_start.txt 20:34:37 + END_PACKAGES=/tmp/packages_end.txt 20:34:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:34:37 + PACKAGES=/tmp/packages_start.txt 20:34:37 + '[' /w/workspace/foundry_device-virtual-go_PR-283 ']' 20:34:37 + PACKAGES=/tmp/packages_end.txt 20:34:37 + case "${OS_FAMILY}" in 20:34:37 + dpkg -l 20:34:37 + grep '^ii' 20:34:37 + '[' -f /tmp/packages_start.txt ']' 20:34:37 + '[' -f /tmp/packages_end.txt ']' 20:34:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:34:37 + '[' /w/workspace/foundry_device-virtual-go_PR-283 ']' 20:34:37 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-283/archives/ 20:34:37 + 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 20:34:37 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 20:34:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:34:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:34:38 . [Pipeline] withDockerContainer 20:34:38 prd-ubuntu20.04-docker-8c-8g-42719 does not seem to be running inside a container 20:34:38 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:34:38 $ docker top 23f698d8267a4ee3a1888f72f408632f171dce98b20e6630625faddf1171c65a -eo pid,comm [Pipeline] { [Pipeline] sh 20:34:39 + touch /tmp/pre-build-complete [Pipeline] sh 20:34:39 + mkdir -p /var/log/sysstat [Pipeline] sh 20:34:39 + ls /var/log/sa-host 20:34:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:34:39 provisioning config files... 20:34:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-283@tmp/config557731266942326583tmp [Pipeline] { [Pipeline] echo 20:34:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:34:40 ---> create-netrc.sh [Pipeline] } 20:34:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:34:40 ---> python-tools-install.sh [Pipeline] echo 20:34:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:34:40 ---> sudo-logs.sh 20:34:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:34:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:34:41 ---> job-cost.sh 20:34:41 lf-activate-venv: SKIPPING 20:34:41 DEBUG: total: 0.2199999988079071 20:34:41 INFO: Retrieving Stack Cost... 20:34:41 INFO: Retrieving Pricing Info for: v3-standard-8 20:34:42 INFO: Archiving Costs [Pipeline] echo 20:34:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:34:42 ---> logs-deploy.sh 20:34:42 lf-activate-venv: SKIPPING 20:34:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-283/2 20:34:42 INFO: archiving workspace using pattern(s): 20:34:43 Archives upload complete. 20:34:43 INFO: archiving logs to Nexus