MonicaisHer commented: recheck 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 MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 9cab87334a4d5affcc1b2c5c12d642008ef46c2d rather than a266ebd99d2e725a38e992c2b726a9db996e56be Obtained Jenkinsfile from 9cab87334a4d5affcc1b2c5c12d642008ef46c2d 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-ssh8478712102251619045.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15449564493825235675.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11255040024944126341.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh10951495497572317194.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-287/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-287/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15861187413666300532.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 Running on prd-ubuntu20.04-docker-8c-8g-632 in /w/workspace/foundry_device-virtual-go_PR-287 [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-287 # 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 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit a266ebd99d2e725a38e992c2b726a9db996e56be Merge succeeded, producing a266ebd99d2e725a38e992c2b726a9db996e56be Checking out Revision a266ebd99d2e725a38e992c2b726a9db996e56be (PR-287) > 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/287/head:refs/remotes/origin/PR-287 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a266ebd99d2e725a38e992c2b726a9db996e56be # 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 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a266ebd99d2e725a38e992c2b726a9db996e56be # timeout=10 Commit message: "style(snap): Add end of lines" > git rev-list --no-walk a266ebd99d2e725a38e992c2b726a9db996e56be # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:17:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:17:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:17:56 ========================================================= 06:17:56 EdgeX Global Pipelines Version Info 06:17:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:17:57 ------------------- 06:17:57 stable info: 06:17:57 ------------------- 06:17:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:17:57 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 06:17:57 Message: update stable to v1.0.230 06:17:57 ------------------- 06:17:57 experimental info: 06:17:57 ------------------- 06:17:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:17:57 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 06:17:57 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-287 [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-287 [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-287 [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a266ebd99d2e725a38e992c2b726a9db996e56be [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a266ebd [Pipeline] echo 06:17:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:17:58 provisioning config files... 06:17:58 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config3943018608809126919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:58 ---> docker-login.sh 06:17:58 nexus3.edgexfoundry.org:10001 06:17:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:59 Configure a credential helper to remove this warning. See 06:17:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:59 06:17:59 Login Succeeded 06:17:59 nexus3.edgexfoundry.org:10002 06:17:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:59 Configure a credential helper to remove this warning. See 06:17:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:59 06:17:59 Login Succeeded 06:17:59 nexus3.edgexfoundry.org:10003 06:17:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:59 Configure a credential helper to remove this warning. See 06:17:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:59 06:17:59 Login Succeeded 06:17:59 nexus3.edgexfoundry.org:10004 06:17:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:59 Configure a credential helper to remove this warning. See 06:17:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:59 06:17:59 Login Succeeded 06:17:59 docker.io 06:17:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:59 Configure a credential helper to remove this warning. See 06:17:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:59 06:17:59 Login Succeeded 06:17:59 ---> docker-login.sh ends [Pipeline] } 06:17:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:18:00 + git rev-list -1 --merges a266ebd99d2e725a38e992c2b726a9db996e56be~1..a266ebd99d2e725a38e992c2b726a9db996e56be [Pipeline] echo 06:18:00 -----------> git rev-list -1 --merges a266ebd99d2e725a38e992c2b726a9db996e56be~1..a266ebd99d2e725a38e992c2b726a9db996e56be a266ebd99d2e725a38e992c2b726a9db996e56be [false] [Pipeline] sh 06:18:00 + git log --format=format:%s -1 a266ebd99d2e725a38e992c2b726a9db996e56be [Pipeline] echo 06:18:00 ========================================================= 06:18:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:18:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:18:01 + git log --format=format:%s -1 a266ebd99d2e725a38e992c2b726a9db996e56be [Pipeline] echo 06:18:01 [semverPrep] GIT_COMMIT: a266ebd99d2e725a38e992c2b726a9db996e56be, Commit Message: style(snap): Add end of lines [Pipeline] echo 06:18:01 [semverPrep] This is not a build commit. [Pipeline] sh 06:18:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:18:01 + grep -v github /etc/ssh/ssh_known_hosts 06:18:01 + [ -e /tmp/ssh_known_hosts ] 06:18:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:18:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:18:01 + sudo tee -a /etc/ssh/ssh_known_hosts 06:18:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:18:01 06:18:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:18:02 latest: Pulling from edgex-devops/py-git-semver 06:18:02 1fe172e4850f: Pulling fs layer 06:18:02 caf521ccaac6: Pulling fs layer 06:18:02 3ead6fa29328: Pulling fs layer 06:18:02 5c2a1cbceb83: Pulling fs layer 06:18:02 a8d5f1318db7: Pulling fs layer 06:18:02 c427282e49a2: Pulling fs layer 06:18:02 1827001aaf11: Pulling fs layer 06:18:02 0714d37db230: Pulling fs layer 06:18:02 ac28cf19c067: Pulling fs layer 06:18:02 ca983d60f3e2: Pulling fs layer 06:18:02 9f894cec8388: Pulling fs layer 06:18:02 5c2a1cbceb83: Waiting 06:18:02 a8d5f1318db7: Waiting 06:18:02 c427282e49a2: Waiting 06:18:02 1827001aaf11: Waiting 06:18:02 0714d37db230: Waiting 06:18:02 ac28cf19c067: Waiting 06:18:02 ca983d60f3e2: Waiting 06:18:02 9f894cec8388: Waiting 06:18:02 caf521ccaac6: Download complete 06:18:02 5c2a1cbceb83: Verifying Checksum 06:18:02 3ead6fa29328: Verifying Checksum 06:18:02 3ead6fa29328: Download complete 06:18:02 a8d5f1318db7: Verifying Checksum 06:18:02 a8d5f1318db7: Download complete 06:18:02 c427282e49a2: Download complete 06:18:02 0714d37db230: Verifying Checksum 06:18:02 0714d37db230: Download complete 06:18:02 ac28cf19c067: Verifying Checksum 06:18:02 ac28cf19c067: Download complete 06:18:02 ca983d60f3e2: Verifying Checksum 06:18:02 ca983d60f3e2: Download complete 06:18:02 9f894cec8388: Verifying Checksum 06:18:02 9f894cec8388: Download complete 06:18:02 1fe172e4850f: Verifying Checksum 06:18:02 1fe172e4850f: Download complete 06:18:02 1827001aaf11: Verifying Checksum 06:18:02 1827001aaf11: Download complete 06:18:04 1fe172e4850f: Pull complete 06:18:04 caf521ccaac6: Pull complete 06:18:04 3ead6fa29328: Pull complete 06:18:04 5c2a1cbceb83: Pull complete 06:18:04 a8d5f1318db7: Pull complete 06:18:04 c427282e49a2: Pull complete 06:18:06 1827001aaf11: Pull complete 06:18:07 0714d37db230: Pull complete 06:18:07 ac28cf19c067: Pull complete 06:18:07 ca983d60f3e2: Pull complete 06:18:07 9f894cec8388: Pull complete 06:18:07 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 06:18:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:18:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:07 prd-ubuntu20.04-docker-8c-8g-632 does not seem to be running inside a container 06:18:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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 06:18:08 $ docker top 22f1acb0f8bbb46d3ef260025cd8d44090cf97aeeff68006abe6c21c58af34cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:18:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:18:08 [ssh-agent] Looking for ssh-agent implementation... 06:18:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:18:08 $ docker exec 22f1acb0f8bbb46d3ef260025cd8d44090cf97aeeff68006abe6c21c58af34cd ssh-agent 06:18:09 SSH_AUTH_SOCK=/tmp/ssh-l1FhBIlw3dh9/agent.33 06:18:09 SSH_AGENT_PID=39 06:18:09 Running ssh-add (command line suppressed) 06:18:09 Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_864392985115529329.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_864392985115529329.key) 06:18:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:18:09 + git tag --points-at HEAD [Pipeline] } 06:18:09 $ docker exec --env ******** --env ******** 22f1acb0f8bbb46d3ef260025cd8d44090cf97aeeff68006abe6c21c58af34cd ssh-agent -k 06:18:09 unset SSH_AUTH_SOCK; 06:18:09 unset SSH_AGENT_PID; 06:18:09 echo Agent pid 39 killed; 06:18:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:18:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:18:09 [ssh-agent] Looking for ssh-agent implementation... 06:18:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:18:09 $ docker exec 22f1acb0f8bbb46d3ef260025cd8d44090cf97aeeff68006abe6c21c58af34cd ssh-agent 06:18:10 SSH_AUTH_SOCK=/tmp/ssh-ipDoF5lq2f3b/agent.72 06:18:10 SSH_AGENT_PID=79 06:18:10 Running ssh-add (command line suppressed) 06:18:10 Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_2237333194425520447.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_2237333194425520447.key) 06:18:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:18:10 + git semver init 06:18:10 2022-06-02 06:18:10,622 [run_init] DEBUG init version:0.0.0 force:False 06:18:10 2022-06-02 06:18:10,623 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-287/.semver 06:18:10 2022-06-02 06:18:10,623 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-287/.semver 06:18:10 2022-06-02 06:18:10,623 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-287/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-287, universal_newlines=False, shell=None, istream=None) 06:18:11 2022-06-02 06:18:11,591 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-287/.git/info/exclude 06:18:11 2022-06-02 06:18:11,591 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 with force:False 06:18:11 2022-06-02 06:18:11,591 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 06:18:11 2022-06-02 06:18:11,595 [execute] INFO git cat-file --batch-check 06:18:11 2022-06-02 06:18:11,596 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) 06:18:11 2022-06-02 06:18:11,602 [execute] INFO git cat-file --batch 06:18:11 2022-06-02 06:18:11,602 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) 06:18:11 2022-06-02 06:18:11,607 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 06:18:11 0.0.0 [Pipeline] } 06:18:11 $ docker exec --env ******** --env ******** 22f1acb0f8bbb46d3ef260025cd8d44090cf97aeeff68006abe6c21c58af34cd ssh-agent -k 06:18:11 unset SSH_AUTH_SOCK; 06:18:11 unset SSH_AGENT_PID; 06:18:11 echo Agent pid 79 killed; 06:18:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:18:12 + git semver [Pipeline] } 06:18:12 $ docker stop --time=1 22f1acb0f8bbb46d3ef260025cd8d44090cf97aeeff68006abe6c21c58af34cd 06:18:13 $ docker rm -f 22f1acb0f8bbb46d3ef260025cd8d44090cf97aeeff68006abe6c21c58af34cd [Pipeline] // withDockerContainer [Pipeline] sh 06:18:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:18:14 Stashed 1 file(s) [Pipeline] echo 06:18:14 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:18:14 provisioning config files... 06:18:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config7272572452309194863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:18:14 ---> docker-login.sh 06:18:14 nexus3.edgexfoundry.org:10001 06:18:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:14 Configure a credential helper to remove this warning. See 06:18:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:14 06:18:14 Login Succeeded 06:18:14 nexus3.edgexfoundry.org:10002 06:18:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:14 Configure a credential helper to remove this warning. See 06:18:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:14 06:18:14 Login Succeeded 06:18:14 nexus3.edgexfoundry.org:10003 06:18:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:14 Configure a credential helper to remove this warning. See 06:18:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:14 06:18:14 Login Succeeded 06:18:14 nexus3.edgexfoundry.org:10004 06:18:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:15 Configure a credential helper to remove this warning. See 06:18:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:15 06:18:15 Login Succeeded 06:18:15 docker.io 06:18:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:15 Configure a credential helper to remove this warning. See 06:18:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:15 06:18:15 Login Succeeded 06:18:15 ---> docker-login.sh ends [Pipeline] } 06:18:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:18:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:18:15 ========================================================= 06:18:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:18:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:15 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 06:18:15 Sending build context to Docker daemon 23.01MB 06:18:15 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:18:15 Step 2/12 : FROM ${BASE} AS builder 06:18:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:18:16 59bf1c3509f3: Pulling fs layer 06:18:16 666ba61612fd: Pulling fs layer 06:18:16 8ed8ca486205: Pulling fs layer 06:18:16 4fe6c5a15a65: Pulling fs layer 06:18:16 22a0e8bec74d: Pulling fs layer 06:18:16 ca2b28591e48: Pulling fs layer 06:18:16 a51346096db8: Pulling fs layer 06:18:16 daebc70d1ce1: Pulling fs layer 06:18:16 0e18a0eac166: Pulling fs layer 06:18:16 4fe6c5a15a65: Waiting 06:18:16 22a0e8bec74d: Waiting 06:18:16 ca2b28591e48: Waiting 06:18:16 a51346096db8: Waiting 06:18:16 daebc70d1ce1: Waiting 06:18:16 0e18a0eac166: Waiting 06:18:16 8ed8ca486205: Verifying Checksum 06:18:16 8ed8ca486205: Download complete 06:18:16 666ba61612fd: Verifying Checksum 06:18:16 666ba61612fd: Download complete 06:18:16 22a0e8bec74d: Verifying Checksum 06:18:16 22a0e8bec74d: Download complete 06:18:16 ca2b28591e48: Verifying Checksum 06:18:16 ca2b28591e48: Download complete 06:18:16 59bf1c3509f3: Verifying Checksum 06:18:16 59bf1c3509f3: Download complete 06:18:16 a51346096db8: Verifying Checksum 06:18:16 a51346096db8: Download complete 06:18:16 daebc70d1ce1: Verifying Checksum 06:18:16 daebc70d1ce1: Download complete 06:18:16 59bf1c3509f3: Pull complete 06:18:16 666ba61612fd: Pull complete 06:18:16 8ed8ca486205: Pull complete 06:18:16 0e18a0eac166: Verifying Checksum 06:18:16 0e18a0eac166: Download complete 06:18:16 4fe6c5a15a65: Verifying Checksum 06:18:16 4fe6c5a15a65: Download complete 06:18:21 4fe6c5a15a65: Pull complete 06:18:21 22a0e8bec74d: Pull complete 06:18:21 ca2b28591e48: Pull complete 06:18:21 a51346096db8: Pull complete 06:18:21 daebc70d1ce1: Pull complete 06:18:23 0e18a0eac166: Pull complete 06:18:23 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 06:18:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:18:23 ---> f018257e8ee9 06:18:23 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:18:24 ---> Running in 6cd53913743d 06:18:24 Removing intermediate container 6cd53913743d 06:18:24 ---> 01a82f4ac216 06:18:24 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:18:24 ---> Running in 51230b234ac1 06:18:24 Removing intermediate container 51230b234ac1 06:18:24 ---> 353ff819ae70 06:18:24 Step 5/12 : WORKDIR /device-virtual-go 06:18:24 ---> Running in b4b8e974d649 06:18:24 Removing intermediate container b4b8e974d649 06:18:24 ---> dce2b39a03df 06:18:24 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:18:24 ---> Running in 631d4bd18bd4 06:18:25 Removing intermediate container 631d4bd18bd4 06:18:25 ---> 444bc1cc0898 06:18:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:18:25 ---> Running in 3c20d93de9cc 06:18:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:18:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:18:26 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:18:26 (2/4) Installing libedit (20210910.3.1-r0) 06:18:26 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:18:26 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:18:26 Executing busybox-1.34.1-r3.trigger 06:18:26 OK: 224 MiB in 56 packages 06:18:27 Removing intermediate container 3c20d93de9cc 06:18:27 ---> 59e0b09c40de 06:18:27 Step 8/12 : COPY go.mod vendor* ./ 06:18:27 ---> 3f230e577b5d 06:18:27 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:18:27 ---> Running in af19ed49b627 06:18:29 Still waiting to schedule task 06:18:29 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:18:49 Removing intermediate container af19ed49b627 06:18:49 ---> 767eeb590a7c 06:18:49 Step 10/12 : COPY . . 06:18:49 ---> 067a75820018 06:18:49 Step 11/12 : ARG MAKE='make build' 06:18:49 ---> Running in 8ef9ee0e84d9 06:18:49 Removing intermediate container 8ef9ee0e84d9 06:18:49 ---> f80d9f907fa7 06:18:49 Step 12/12 : RUN $MAKE 06:18:49 ---> Running in 204a49993e86 06:18:49 noop 06:18:49 Removing intermediate container 204a49993e86 06:18:49 ---> 0ff60a0b391c 06:18:49 Successfully built 0ff60a0b391c 06:18:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:49 + docker inspect -f . ci-base-image-x86_64 06:18:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:49 prd-ubuntu20.04-docker-8c-8g-632 does not seem to be running inside a container 06:18:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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 06:18:50 $ docker top db2cdb91206e00a935359bcb06f37ba0bfb0e262b97e5fc0b52c8922093b56a0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:18:50 + go version 06:18:50 go version go1.17.6 linux/amd64 [Pipeline] } 06:18:50 $ docker stop --time=1 db2cdb91206e00a935359bcb06f37ba0bfb0e262b97e5fc0b52c8922093b56a0 06:18:52 $ docker rm -f db2cdb91206e00a935359bcb06f37ba0bfb0e262b97e5fc0b52c8922093b56a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:52 + docker inspect -f . ci-base-image-x86_64 06:18:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:52 prd-ubuntu20.04-docker-8c-8g-632 does not seem to be running inside a container 06:18:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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 06:18:52 $ docker top 71816677fe5c262de33afa8a1d15f798ccfca71c36016e9070ac61a122c5564a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:18:53 + make test 06:18:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:18:53 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:19:03 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:19:03 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.032s coverage: 65.7% of statements 06:19:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:19:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:19:15 ./snap/local/hooks/cmd/configure/configure.go 06:19:15 ./snap/local/hooks/cmd/install/install.go 06:19:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:19:15 make: *** [Makefile:56: test] Error 1 [Pipeline] } 06:19:15 $ docker stop --time=1 71816677fe5c262de33afa8a1d15f798ccfca71c36016e9070ac61a122c5564a 06:19:16 $ docker rm -f 71816677fe5c262de33afa8a1d15f798ccfca71c36016e9070ac61a122c5564a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:19:17 06:19:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:19:17 latest: Pulling from edgex-lftools-log-publisher 06:19:17 5eb5b503b376: Pulling fs layer 06:19:17 5c69ac0246d0: Pulling fs layer 06:19:17 ec43610c2a17: Pulling fs layer 06:19:17 3a2ae6a8a46f: Pulling fs layer 06:19:17 33b1e0a273af: Pulling fs layer 06:19:17 5d3b04190fa2: Pulling fs layer 06:19:17 2f39f015ded8: Pulling fs layer 06:19:17 3a2ae6a8a46f: Waiting 06:19:17 5d3b04190fa2: Waiting 06:19:17 33b1e0a273af: Waiting 06:19:17 5c69ac0246d0: Download complete 06:19:17 3a2ae6a8a46f: Verifying Checksum 06:19:17 3a2ae6a8a46f: Download complete 06:19:18 33b1e0a273af: Verifying Checksum 06:19:18 33b1e0a273af: Download complete 06:19:18 5d3b04190fa2: Download complete 06:19:18 ec43610c2a17: Verifying Checksum 06:19:18 ec43610c2a17: Download complete 06:19:18 5eb5b503b376: Verifying Checksum 06:19:18 5eb5b503b376: Download complete 06:19:18 2f39f015ded8: Download complete 06:19:19 5eb5b503b376: Pull complete 06:19:19 5c69ac0246d0: Pull complete 06:19:19 ec43610c2a17: Pull complete 06:19:20 3a2ae6a8a46f: Pull complete 06:19:20 33b1e0a273af: Pull complete 06:19:20 5d3b04190fa2: Pull complete 06:19:25 2f39f015ded8: Pull complete 06:19:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:19:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:19:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:25 prd-ubuntu20.04-docker-8c-8g-632 does not seem to be running inside a container 06:19:25 $ 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-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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 06:19:27 $ docker top ac41695be64b8f50f62d8b72992d0846db5686a047e21a0e311ca8e05f740e93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:19:27 ---> job-cost.sh 06:19:27 lf-activate-venv: SKIPPING 06:19:27 INFO: No Stack... 06:19:28 INFO: Retrieving Pricing Info for: v3-standard-8 06:19:28 INFO: Archiving Costs [Pipeline] sh 06:19:28 + cat /w/workspace/foundry_device-virtual-go_PR-287/archives/cost.csv 06:19:28 + cut -d, -f6 [Pipeline] lock 06:19:28 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-3-stack-cost] 06:19:28 Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-3-stack-cost] did not exist. Created. 06:19:28 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:19:29 + echo total: 0.2199999988079071 [Pipeline] stash 06:19:29 Stashed 1 file(s) [Pipeline] } 06:19:29 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-3-stack-cost] [Pipeline] // lock [Pipeline] } 06:19:29 $ docker stop --time=1 ac41695be64b8f50f62d8b72992d0846db5686a047e21a0e311ca8e05f740e93 06:19:30 $ docker rm -f ac41695be64b8f50f62d8b72992d0846db5686a047e21a0e311ca8e05f740e93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:19:30 Failed in branch amd64 06:20:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-633 in /w/workspace/foundry_device-virtual-go_PR-287 [Pipeline] { [Pipeline] ws 06:20:08 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 06:20:08 The recommended git tool is: git 06:20:14 using credential edgex-jenkins-ssh 06:20:14 Cloning the remote Git repository 06:20:14 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:20:14 > git init /w/workspace/device-virtual-go/3 # timeout=10 06:20:14 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:20:14 > git --version # timeout=10 06:20:14 > git --version # 'git version 2.25.1' 06:20:14 using GIT_SSH to set credentials SSH Credentials for GitHub 06:20:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:20:16 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:20:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:20:16 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:20:16 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:20:16 using GIT_SSH to set credentials SSH Credentials for GitHub 06:20:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/287/head:refs/remotes/origin/PR-287 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:20:17 Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit a266ebd99d2e725a38e992c2b726a9db996e56be 06:20:17 Merge succeeded, producing a266ebd99d2e725a38e992c2b726a9db996e56be 06:20:17 Checking out Revision a266ebd99d2e725a38e992c2b726a9db996e56be (PR-287) 06:20:17 > git config core.sparsecheckout # timeout=10 06:20:17 > git checkout -f a266ebd99d2e725a38e992c2b726a9db996e56be # timeout=10 06:20:17 > git remote # timeout=10 06:20:17 > git config --get remote.origin.url # timeout=10 06:20:17 using GIT_SSH to set credentials SSH Credentials for GitHub 06:20:17 > git merge 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 06:20:17 > git rev-parse HEAD^{commit} # timeout=10 06:20:17 > git config core.sparsecheckout # timeout=10 06:20:17 > git checkout -f a266ebd99d2e725a38e992c2b726a9db996e56be # timeout=10 06:20:21 Commit message: "style(snap): Add end of lines" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:20:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:20:22 % Total % Received % Xferd Average Speed Time Time Time Current 06:20:22 Dload Upload Total Spent Left Speed 06:20:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 95726 0 --:--:-- --:--:-- --:--:-- 95726 [Pipeline] sh 06:20:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:20:23 + sudo tee /etc/docker/daemon.new 06:20:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:20:23 { 06:20:23 "registry-mirrors": [ 06:20:23 "https://nexus3.edgexfoundry.org:10001" 06:20:23 ], 06:20:23 "bip": "10.250.0.254/24", 06:20:23 "hosts": [ 06:20:23 "tcp://0.0.0.0:5555", 06:20:23 "unix:///var/run/docker.sock" 06:20:23 ], 06:20:23 "mtu": 1458, 06:20:23 "selinux-enabled": true, 06:20:23 "seccomp-profile": "/etc/docker/seccomp.json" 06:20:23 } [Pipeline] sh 06:20:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:20:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:20:42 provisioning config files... 06:20:42 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config2439746581359636600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:20:43 ---> docker-login.sh 06:20:43 nexus3.edgexfoundry.org:10001 06:20:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:44 Configure a credential helper to remove this warning. See 06:20:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:44 06:20:44 Login Succeeded 06:20:44 nexus3.edgexfoundry.org:10002 06:20:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:44 Configure a credential helper to remove this warning. See 06:20:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:44 06:20:44 Login Succeeded 06:20:44 nexus3.edgexfoundry.org:10003 06:20:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:44 Configure a credential helper to remove this warning. See 06:20:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:44 06:20:44 Login Succeeded 06:20:44 nexus3.edgexfoundry.org:10004 06:20:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:45 Configure a credential helper to remove this warning. See 06:20:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:45 06:20:45 Login Succeeded 06:20:45 docker.io 06:20:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:45 Configure a credential helper to remove this warning. See 06:20:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:45 06:20:45 Login Succeeded 06:20:45 ---> docker-login.sh ends [Pipeline] } 06:20:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:20:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:20:46 ========================================================= 06:20:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:20:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:46 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 06:20:47 Sending build context to Docker daemon 11.66MB 06:20:47 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:20:47 Step 2/12 : FROM ${BASE} AS builder 06:20:47 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:20:47 9b3977197b4f: Pulling fs layer 06:20:47 1a89e8eeedd5: Pulling fs layer 06:20:47 94645a83ff95: Pulling fs layer 06:20:47 3f3a8bcf1eab: Pulling fs layer 06:20:47 0c92f367c5e7: Pulling fs layer 06:20:47 3f3a8bcf1eab: Waiting 06:20:47 3096ccb668a1: Pulling fs layer 06:20:47 0c92f367c5e7: Waiting 06:20:47 e8cf19c19ddd: Pulling fs layer 06:20:47 a4caa8a26152: Pulling fs layer 06:20:47 e8cf19c19ddd: Waiting 06:20:47 3096ccb668a1: Waiting 06:20:47 a4caa8a26152: Waiting 06:20:47 94645a83ff95: Download complete 06:20:47 1a89e8eeedd5: Download complete 06:20:47 0c92f367c5e7: Verifying Checksum 06:20:47 0c92f367c5e7: Download complete 06:20:47 3096ccb668a1: Verifying Checksum 06:20:47 3096ccb668a1: Download complete 06:20:47 9b3977197b4f: Download complete 06:20:47 e8cf19c19ddd: Verifying Checksum 06:20:47 e8cf19c19ddd: Download complete 06:20:48 9b3977197b4f: Pull complete 06:20:48 1a89e8eeedd5: Pull complete 06:20:49 94645a83ff95: Pull complete 06:20:49 a4caa8a26152: Verifying Checksum 06:20:49 a4caa8a26152: Download complete 06:20:50 3f3a8bcf1eab: Download complete 06:21:02 3f3a8bcf1eab: Pull complete 06:21:02 0c92f367c5e7: Pull complete 06:21:02 3096ccb668a1: Pull complete 06:21:03 e8cf19c19ddd: Pull complete 06:21:09 a4caa8a26152: Pull complete 06:21:09 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 06:21:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:21:09 ---> 725f1c02e7f9 06:21:09 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:21:09 ---> Running in 5627fd64c241 06:21:10 Removing intermediate container 5627fd64c241 06:21:10 ---> 5c3962f0194d 06:21:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:21:10 ---> Running in e598689c2d84 06:21:10 Removing intermediate container e598689c2d84 06:21:10 ---> de314ac0dbac 06:21:10 Step 5/12 : WORKDIR /device-virtual-go 06:21:10 ---> Running in 55c413d1dae6 06:21:10 Removing intermediate container 55c413d1dae6 06:21:10 ---> 8641b414532d 06:21:10 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:21:10 ---> Running in 8329d3d55377 06:21:12 Removing intermediate container 8329d3d55377 06:21:12 ---> 3fe92d50e27f 06:21:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:21:12 ---> Running in fdb5eda15e53 06:21:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:21:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:21:15 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:21:15 (2/4) Installing libedit (20210910.3.1-r0) 06:21:15 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:21:16 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:21:16 Executing busybox-1.34.1-r3.trigger 06:21:16 OK: 224 MiB in 56 packages 06:21:16 Removing intermediate container fdb5eda15e53 06:21:16 ---> 400f950e2a32 06:21:16 Step 8/12 : COPY go.mod vendor* ./ 06:21:17 ---> 9bf79d45dbcc 06:21:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:21:17 ---> Running in 2e641a9277b7 06:22:04 Removing intermediate container 2e641a9277b7 06:22:04 ---> ca61d536e9b9 06:22:04 Step 10/12 : COPY . . 06:22:04 ---> b9d7f77c2515 06:22:04 Step 11/12 : ARG MAKE='make build' 06:22:04 ---> Running in ea717c29c243 06:22:04 Removing intermediate container ea717c29c243 06:22:04 ---> 2ae16e5e1feb 06:22:04 Step 12/12 : RUN $MAKE 06:22:04 ---> Running in f4253c273b3e 06:22:04 noop 06:22:04 Removing intermediate container f4253c273b3e 06:22:04 ---> c50bcd910476 06:22:04 Successfully built c50bcd910476 06:22:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:04 + docker inspect -f . ci-base-image-arm64 06:22:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:05 prd-ubuntu20.04-docker-arm64-4c-16g-633 does not seem to be running inside a container 06:22:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:22:06 $ docker top e3b3a84f1b835f0de6e7157bec6c8ee7b3a3ccc48ca5d2e4fcd97aef92225dbb -eo pid,comm [Pipeline] { [Pipeline] sh 06:22:07 + go version 06:22:07 go version go1.17.6 linux/arm64 [Pipeline] } 06:22:07 $ docker stop --time=1 e3b3a84f1b835f0de6e7157bec6c8ee7b3a3ccc48ca5d2e4fcd97aef92225dbb 06:22:09 $ docker rm -f e3b3a84f1b835f0de6e7157bec6c8ee7b3a3ccc48ca5d2e4fcd97aef92225dbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:09 + docker inspect -f . ci-base-image-arm64 06:22:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:10 prd-ubuntu20.04-docker-arm64-4c-16g-633 does not seem to be running inside a container 06:22:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:22:11 $ docker top 6ac88be3a66277e5529bb473601dc24bf1a70a681acfa8b8750c73ea693614d0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:22:12 + make test 06:22:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:22:13 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:23:35 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:23:35 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.135s coverage: 65.7% of statements 06:23:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:23:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:23:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:23:57 ./snap/local/hooks/cmd/install/install.go 06:23:57 ./snap/local/hooks/cmd/configure/configure.go 06:23:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:23:57 make: *** [Makefile:56: test] Error 1 [Pipeline] } 06:23:57 $ docker stop --time=1 6ac88be3a66277e5529bb473601dc24bf1a70a681acfa8b8750c73ea693614d0 06:23:59 $ docker rm -f 6ac88be3a66277e5529bb473601dc24bf1a70a681acfa8b8750c73ea693614d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:24:00 06:24:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:24:01 arm64: Pulling from edgex-lftools-log-publisher 06:24:01 8998bd30e6a1: Pulling fs layer 06:24:01 04944245beec: Pulling fs layer 06:24:01 699f458cf7ca: Pulling fs layer 06:24:01 765212b225bb: Pulling fs layer 06:24:01 f23df028b6ca: Pulling fs layer 06:24:01 d65c8cfc05b1: Pulling fs layer 06:24:01 2437ff75d9bd: Pulling fs layer 06:24:01 f23df028b6ca: Waiting 06:24:01 d65c8cfc05b1: Waiting 06:24:01 765212b225bb: Waiting 06:24:01 2437ff75d9bd: Waiting 06:24:01 04944245beec: Verifying Checksum 06:24:01 04944245beec: Download complete 06:24:01 765212b225bb: Verifying Checksum 06:24:01 765212b225bb: Download complete 06:24:01 f23df028b6ca: Verifying Checksum 06:24:01 f23df028b6ca: Download complete 06:24:01 d65c8cfc05b1: Verifying Checksum 06:24:01 d65c8cfc05b1: Download complete 06:24:01 699f458cf7ca: Verifying Checksum 06:24:01 699f458cf7ca: Download complete 06:24:01 8998bd30e6a1: Download complete 06:24:04 2437ff75d9bd: Verifying Checksum 06:24:04 2437ff75d9bd: Download complete 06:24:06 8998bd30e6a1: Pull complete 06:24:06 04944245beec: Pull complete 06:24:08 699f458cf7ca: Pull complete 06:24:08 765212b225bb: Pull complete 06:24:09 f23df028b6ca: Pull complete 06:24:10 d65c8cfc05b1: Pull complete 06:24:25 2437ff75d9bd: Pull complete 06:24:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:24:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:24:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:25 prd-ubuntu20.04-docker-arm64-4c-16g-633 does not seem to be running inside a container 06:24:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:24:27 $ docker top 5cdbd8c87762ac10621325eeb0ec6401777bbb774f4a8443419723380bf786e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:24:28 ---> job-cost.sh 06:24:28 lf-activate-venv: SKIPPING 06:24:28 INFO: No Stack... 06:24:29 INFO: Retrieving Pricing Info for: v3-standard-4 06:24:29 INFO: Archiving Costs [Pipeline] sh 06:24:30 + cat /w/workspace/device-virtual-go/3/archives/cost.csv 06:24:30 + cut -d, -f6 [Pipeline] lock 06:24:30 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-3-stack-cost] 06:24:30 Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-3-stack-cost] did not exist. Created. 06:24:30 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:24:31 /w/workspace/device-virtual-go/3@tmp/durable-5dab2226/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:24:32 + echo total: 0.10999999940395355 [Pipeline] stash 06:24:32 Warning: overwriting stash ‘stack-cost’ 06:24:32 Stashed 1 file(s) [Pipeline] } 06:24:32 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-3-stack-cost] [Pipeline] // lock [Pipeline] } 06:24:32 $ docker stop --time=1 5cdbd8c87762ac10621325eeb0ec6401777bbb774f4a8443419723380bf786e1 06:24:34 $ docker rm -f 5cdbd8c87762ac10621325eeb0ec6401777bbb774f4a8443419723380bf786e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:24:34 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:24:35 + [ -d /w/workspace/foundry_device-virtual-go_PR-287/archives ] 06:24:35 + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives 06:24:35 total 16 06:24:35 drwxr-xr-x 3 root root 4096 Jun 2 06:19 . 06:24:35 drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 06:19 .. 06:24:35 drwxr-xr-x 2 root root 4096 Jun 2 06:19 cost 06:24:35 -rw-r--r-- 1 root root 88 Jun 2 06:19 cost.csv 06:24:35 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-287/archives 06:24:35 + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives 06:24:35 total 16 06:24:35 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 06:19 . 06:24:35 drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 06:19 .. 06:24:35 drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 06:19 cost 06:24:35 -rw-r--r-- 1 jenkins jenkins 88 Jun 2 06:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:24:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:24:36 ---> package-listing.sh 06:24:36 ++ facter osfamily 06:24:36 ++ tr '[:upper:]' '[:lower:]' 06:24:36 + OS_FAMILY=debian 06:24:36 + workspace=/w/workspace/foundry_device-virtual-go_PR-287 06:24:36 + START_PACKAGES=/tmp/packages_start.txt 06:24:36 + END_PACKAGES=/tmp/packages_end.txt 06:24:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:24:36 + PACKAGES=/tmp/packages_start.txt 06:24:36 + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' 06:24:36 + PACKAGES=/tmp/packages_end.txt 06:24:36 + case "${OS_FAMILY}" in 06:24:36 + dpkg -l 06:24:36 + grep '^ii' 06:24:36 + '[' -f /tmp/packages_start.txt ']' 06:24:36 + '[' -f /tmp/packages_end.txt ']' 06:24:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:24:36 + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' 06:24:36 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-287/archives/ 06:24:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-287/archives/ [Pipeline] echo 06:24:36 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-287/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:24:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:24:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:37 prd-ubuntu20.04-docker-8c-8g-632 does not seem to be running inside a container 06:24:37 $ 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-287/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-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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 06:24:37 $ docker top 90b5617cd5c195cad6db2aca87a6fbe86e1a8f31b5e0dfcc049bd065e5710547 -eo pid,comm [Pipeline] { [Pipeline] sh 06:24:38 + touch /tmp/pre-build-complete [Pipeline] sh 06:24:38 + mkdir -p /var/log/sysstat [Pipeline] sh 06:24:38 + ls /var/log/sa-host 06:24:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:24:38 provisioning config files... 06:24:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config1438778462196622930tmp [Pipeline] { [Pipeline] echo 06:24:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:24:39 ---> create-netrc.sh [Pipeline] } 06:24:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:24:39 ---> python-tools-install.sh [Pipeline] echo 06:24:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:24:39 ---> sudo-logs.sh 06:24:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:24:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:24:40 ---> job-cost.sh 06:24:40 lf-activate-venv: SKIPPING 06:24:40 DEBUG: total: 0.2199999988079071 06:24:40 INFO: Retrieving Stack Cost... 06:24:40 INFO: Retrieving Pricing Info for: v3-standard-8 06:24:40 INFO: Archiving Costs [Pipeline] echo 06:24:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:24:41 ---> logs-deploy.sh 06:24:41 lf-activate-venv: SKIPPING 06:24:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-287/3 06:24:41 INFO: archiving workspace using pattern(s): 06:24:42 Archives upload complete. 06:24:42 INFO: archiving logs to Nexus