Pull request #287 updated Pull request #287 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of 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-ssh15843462021704791680.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-ssh12812999963668858332.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-ssh7095654280010892041.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-ssh13940007309289150848.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-ssh3598739637103084095.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 ‘prd-ubuntu20.04-docker-8c-8g-546’ is offline Running on prd-ubuntu20.04-docker-8c-8g-548 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 233f1c456e102289b839942e917dfe041468284f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:58:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:58:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:58:12 ========================================================= 14:58:12 EdgeX Global Pipelines Version Info 14:58:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:58:13 ------------------- 14:58:13 stable info: 14:58:13 ------------------- 14:58:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:58:13 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 14:58:13 Message: update stable to v1.0.230 14:58:13 ------------------- 14:58:13 experimental info: 14:58:13 ------------------- 14:58:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:58:13 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 14:58:13 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:58:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 14:58:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 14:58:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:58:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:58:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:58:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 14:58:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:58:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:58:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:58:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:58:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:58:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 14:58:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:58:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:58:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:58:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:58:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:58:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:58:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:58:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:58:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:58:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:58:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:58:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:58:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:58:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:58:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-287 [Pipeline] echo 14:58:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-287 [Pipeline] echo 14:58:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-287 [Pipeline] echo 14:58:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a266ebd99d2e725a38e992c2b726a9db996e56be [Pipeline] echo 14:58:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a266ebd [Pipeline] echo 14:58:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:58:14 provisioning config files... 14:58:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config4239445846380406319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:58:14 ---> docker-login.sh 14:58:14 nexus3.edgexfoundry.org:10001 14:58:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:14 Configure a credential helper to remove this warning. See 14:58:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:14 14:58:14 Login Succeeded 14:58:14 nexus3.edgexfoundry.org:10002 14:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:15 Configure a credential helper to remove this warning. See 14:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:15 14:58:15 Login Succeeded 14:58:15 nexus3.edgexfoundry.org:10003 14:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:15 Configure a credential helper to remove this warning. See 14:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:15 14:58:15 Login Succeeded 14:58:15 nexus3.edgexfoundry.org:10004 14:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:15 Configure a credential helper to remove this warning. See 14:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:15 14:58:15 Login Succeeded 14:58:15 docker.io 14:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:15 Configure a credential helper to remove this warning. See 14:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:15 14:58:15 Login Succeeded 14:58:15 ---> docker-login.sh ends [Pipeline] } 14:58:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:58:16 + git rev-list -1 --merges a266ebd99d2e725a38e992c2b726a9db996e56be~1..a266ebd99d2e725a38e992c2b726a9db996e56be [Pipeline] echo 14:58:16 -----------> git rev-list -1 --merges a266ebd99d2e725a38e992c2b726a9db996e56be~1..a266ebd99d2e725a38e992c2b726a9db996e56be a266ebd99d2e725a38e992c2b726a9db996e56be [false] [Pipeline] sh 14:58:16 + git log --format=format:%s -1 a266ebd99d2e725a38e992c2b726a9db996e56be [Pipeline] echo 14:58:16 ========================================================= 14:58:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:58:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:58:16 + git log --format=format:%s -1 a266ebd99d2e725a38e992c2b726a9db996e56be [Pipeline] echo 14:58:16 [semverPrep] GIT_COMMIT: a266ebd99d2e725a38e992c2b726a9db996e56be, Commit Message: style(snap): Add end of lines [Pipeline] echo 14:58:17 [semverPrep] This is not a build commit. [Pipeline] sh 14:58:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:58:17 + grep -v github /etc/ssh/ssh_known_hosts 14:58:17 + [ -e /tmp/ssh_known_hosts ] 14:58:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:58:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:58:17 + sudo tee -a /etc/ssh/ssh_known_hosts 14:58:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:58:17 14:58:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:58:18 latest: Pulling from edgex-devops/py-git-semver 14:58:18 1fe172e4850f: Pulling fs layer 14:58:18 caf521ccaac6: Pulling fs layer 14:58:18 3ead6fa29328: Pulling fs layer 14:58:18 5c2a1cbceb83: Pulling fs layer 14:58:18 a8d5f1318db7: Pulling fs layer 14:58:18 c427282e49a2: Pulling fs layer 14:58:18 1827001aaf11: Pulling fs layer 14:58:18 0714d37db230: Pulling fs layer 14:58:18 ac28cf19c067: Pulling fs layer 14:58:18 ca983d60f3e2: Pulling fs layer 14:58:18 9f894cec8388: Pulling fs layer 14:58:18 5c2a1cbceb83: Waiting 14:58:18 a8d5f1318db7: Waiting 14:58:18 c427282e49a2: Waiting 14:58:18 ac28cf19c067: Waiting 14:58:18 1827001aaf11: Waiting 14:58:18 ca983d60f3e2: Waiting 14:58:18 9f894cec8388: Waiting 14:58:18 caf521ccaac6: Download complete 14:58:18 5c2a1cbceb83: Download complete 14:58:18 a8d5f1318db7: Verifying Checksum 14:58:18 a8d5f1318db7: Download complete 14:58:18 c427282e49a2: Verifying Checksum 14:58:18 c427282e49a2: Download complete 14:58:18 3ead6fa29328: Verifying Checksum 14:58:18 3ead6fa29328: Download complete 14:58:18 0714d37db230: Verifying Checksum 14:58:18 0714d37db230: Download complete 14:58:18 ac28cf19c067: Verifying Checksum 14:58:18 ac28cf19c067: Download complete 14:58:18 ca983d60f3e2: Download complete 14:58:18 9f894cec8388: Verifying Checksum 14:58:18 9f894cec8388: Download complete 14:58:18 1fe172e4850f: Verifying Checksum 14:58:18 1fe172e4850f: Download complete 14:58:18 1827001aaf11: Verifying Checksum 14:58:19 1fe172e4850f: Pull complete 14:58:19 caf521ccaac6: Pull complete 14:58:20 3ead6fa29328: Pull complete 14:58:20 5c2a1cbceb83: Pull complete 14:58:21 a8d5f1318db7: Pull complete 14:58:21 c427282e49a2: Pull complete 14:58:23 1827001aaf11: Pull complete 14:58:23 0714d37db230: Pull complete 14:58:23 ac28cf19c067: Pull complete 14:58:23 ca983d60f3e2: Pull complete 14:58:23 9f894cec8388: Pull complete 14:58:23 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 14:58:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:58:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:58:23 prd-ubuntu20.04-docker-8c-8g-548 does not seem to be running inside a container 14:58:23 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 14:58:25 $ docker top 6adedd894353bc9e4f0eab1098e2b15fcea7b5c41b923913b4bf10623b7deec0 -eo pid,comm 14:58:25 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). 14:58:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:58:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:58:25 [ssh-agent] Looking for ssh-agent implementation... 14:58:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:58:25 $ docker exec 6adedd894353bc9e4f0eab1098e2b15fcea7b5c41b923913b4bf10623b7deec0 ssh-agent 14:58:25 SSH_AUTH_SOCK=/tmp/ssh-DjRivpDlrK3k/agent.33 14:58:25 SSH_AGENT_PID=39 14:58:25 Running ssh-add (command line suppressed) 14:58:25 Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_4145622688902597470.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_4145622688902597470.key) 14:58:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:58:25 + git tag --points-at HEAD [Pipeline] } 14:58:25 $ docker exec --env ******** --env ******** 6adedd894353bc9e4f0eab1098e2b15fcea7b5c41b923913b4bf10623b7deec0 ssh-agent -k 14:58:26 unset SSH_AUTH_SOCK; 14:58:26 unset SSH_AGENT_PID; 14:58:26 echo Agent pid 39 killed; 14:58:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:58:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:58:26 [ssh-agent] Looking for ssh-agent implementation... 14:58:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:58:26 $ docker exec 6adedd894353bc9e4f0eab1098e2b15fcea7b5c41b923913b4bf10623b7deec0 ssh-agent 14:58:26 SSH_AUTH_SOCK=/tmp/ssh-2a8oOWqhaiGo/agent.73 14:58:26 SSH_AGENT_PID=79 14:58:26 Running ssh-add (command line suppressed) 14:58:26 Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_5663798585839796313.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_5663798585839796313.key) 14:58:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:58:26 + git semver init 14:58:27 2022-06-01 14:58:27,076 [run_init] DEBUG init version:0.0.0 force:False 14:58:27 2022-06-01 14:58:27,077 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-287/.semver 14:58:27 2022-06-01 14:58:27,077 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-287/.semver 14:58:27 2022-06-01 14:58:27,077 [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) 14:58:28 2022-06-01 14:58:28,100 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-287/.git/info/exclude 14:58:28 2022-06-01 14:58:28,100 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 with force:False 14:58:28 2022-06-01 14:58:28,100 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 14:58:28 2022-06-01 14:58:28,104 [execute] INFO git cat-file --batch-check 14:58:28 2022-06-01 14:58:28,104 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) 14:58:28 2022-06-01 14:58:28,110 [execute] INFO git cat-file --batch 14:58:28 2022-06-01 14:58:28,110 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) 14:58:28 2022-06-01 14:58:28,116 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 14:58:28 0.0.0 [Pipeline] } 14:58:28 $ docker exec --env ******** --env ******** 6adedd894353bc9e4f0eab1098e2b15fcea7b5c41b923913b4bf10623b7deec0 ssh-agent -k 14:58:28 unset SSH_AUTH_SOCK; 14:58:28 unset SSH_AGENT_PID; 14:58:28 echo Agent pid 79 killed; 14:58:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:58:28 + git semver [Pipeline] } 14:58:29 $ docker stop --time=1 6adedd894353bc9e4f0eab1098e2b15fcea7b5c41b923913b4bf10623b7deec0 14:58:30 $ docker rm -f 6adedd894353bc9e4f0eab1098e2b15fcea7b5c41b923913b4bf10623b7deec0 [Pipeline] // withDockerContainer [Pipeline] sh 14:58:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:58:31 Stashed 1 file(s) [Pipeline] echo 14:58:31 [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 14:58:31 provisioning config files... 14:58:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config5422176321354218257tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:58:31 ---> docker-login.sh 14:58:31 nexus3.edgexfoundry.org:10001 14:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:31 Configure a credential helper to remove this warning. See 14:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:31 14:58:31 Login Succeeded 14:58:31 nexus3.edgexfoundry.org:10002 14:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:31 Configure a credential helper to remove this warning. See 14:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:31 14:58:31 Login Succeeded 14:58:31 nexus3.edgexfoundry.org:10003 14:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:31 Configure a credential helper to remove this warning. See 14:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:31 14:58:31 Login Succeeded 14:58:31 nexus3.edgexfoundry.org:10004 14:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:32 Configure a credential helper to remove this warning. See 14:58:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:32 14:58:32 Login Succeeded 14:58:32 docker.io 14:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:32 Configure a credential helper to remove this warning. See 14:58:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:32 14:58:32 Login Succeeded 14:58:32 ---> docker-login.sh ends [Pipeline] } 14:58:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:58:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:58:32 ========================================================= 14:58:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 14:58:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:32 + 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 . 14:58:32 Sending build context to Docker daemon 22.95MB 14:58:32 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 14:58:32 Step 2/12 : FROM ${BASE} AS builder 14:58:33 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 14:58:33 59bf1c3509f3: Pulling fs layer 14:58:33 666ba61612fd: Pulling fs layer 14:58:33 8ed8ca486205: Pulling fs layer 14:58:33 4fe6c5a15a65: Pulling fs layer 14:58:33 22a0e8bec74d: Pulling fs layer 14:58:33 ca2b28591e48: Pulling fs layer 14:58:33 a51346096db8: Pulling fs layer 14:58:33 daebc70d1ce1: Pulling fs layer 14:58:33 0e18a0eac166: Pulling fs layer 14:58:33 4fe6c5a15a65: Waiting 14:58:33 a51346096db8: Waiting 14:58:33 22a0e8bec74d: Waiting 14:58:33 daebc70d1ce1: Waiting 14:58:33 0e18a0eac166: Waiting 14:58:33 ca2b28591e48: Waiting 14:58:33 8ed8ca486205: Verifying Checksum 14:58:33 8ed8ca486205: Download complete 14:58:33 666ba61612fd: Download complete 14:58:33 22a0e8bec74d: Verifying Checksum 14:58:33 22a0e8bec74d: Download complete 14:58:33 ca2b28591e48: Verifying Checksum 14:58:33 ca2b28591e48: Download complete 14:58:33 a51346096db8: Verifying Checksum 14:58:33 a51346096db8: Download complete 14:58:33 59bf1c3509f3: Verifying Checksum 14:58:33 59bf1c3509f3: Download complete 14:58:33 daebc70d1ce1: Verifying Checksum 14:58:33 daebc70d1ce1: Download complete 14:58:33 59bf1c3509f3: Pull complete 14:58:33 666ba61612fd: Pull complete 14:58:33 8ed8ca486205: Pull complete 14:58:33 0e18a0eac166: Verifying Checksum 14:58:33 0e18a0eac166: Download complete 14:58:33 4fe6c5a15a65: Verifying Checksum 14:58:33 4fe6c5a15a65: Download complete 14:58:38 4fe6c5a15a65: Pull complete 14:58:38 22a0e8bec74d: Pull complete 14:58:38 ca2b28591e48: Pull complete 14:58:38 a51346096db8: Pull complete 14:58:38 daebc70d1ce1: Pull complete 14:58:40 0e18a0eac166: Pull complete 14:58:40 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 14:58:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 14:58:40 ---> f018257e8ee9 14:58:40 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:58:41 ---> Running in 732930656cee 14:58:41 Removing intermediate container 732930656cee 14:58:41 ---> 5a332516729d 14:58:41 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:58:41 ---> Running in a20ae32c4e78 14:58:41 Removing intermediate container a20ae32c4e78 14:58:41 ---> 6209ddd351a0 14:58:41 Step 5/12 : WORKDIR /device-virtual-go 14:58:41 ---> Running in f71dba1d2220 14:58:42 Removing intermediate container f71dba1d2220 14:58:42 ---> 99f51dc07fa3 14:58:42 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:58:42 ---> Running in 798fc08336b9 14:58:42 Removing intermediate container 798fc08336b9 14:58:42 ---> 9198b18a1bde 14:58:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:58:42 ---> Running in ea609edccbc2 14:58:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:58:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:58:44 (1/4) Installing openssh-keygen (8.8_p1-r1) 14:58:44 (2/4) Installing libedit (20210910.3.1-r0) 14:58:44 (3/4) Installing openssh-client-common (8.8_p1-r1) 14:58:44 (4/4) Installing openssh-client-default (8.8_p1-r1) 14:58:44 Executing busybox-1.34.1-r3.trigger 14:58:44 OK: 224 MiB in 56 packages 14:58:45 Removing intermediate container ea609edccbc2 14:58:45 ---> b1c87e3ea77f 14:58:45 Step 8/12 : COPY go.mod vendor* ./ 14:58:45 ---> d97f7f69c49e 14:58:45 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:58:45 ---> Running in 286839eaefc9 14:58:46 Still waiting to schedule task 14:58:46 ‘prd-ubuntu20.04-docker-arm64-4c-16g-547’ is offline 14:59:07 Removing intermediate container 286839eaefc9 14:59:07 ---> 10afee73f848 14:59:07 Step 10/12 : COPY . . 14:59:07 ---> 1cb46e28e5d1 14:59:07 Step 11/12 : ARG MAKE='make build' 14:59:07 ---> Running in fbe683657017 14:59:07 Removing intermediate container fbe683657017 14:59:07 ---> 88406c8dc881 14:59:07 Step 12/12 : RUN $MAKE 14:59:07 ---> Running in 186418131d6d 14:59:08 noop 14:59:08 Removing intermediate container 186418131d6d 14:59:08 ---> 3f6d647334f3 14:59:08 Successfully built 3f6d647334f3 14:59:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:08 + docker inspect -f . ci-base-image-x86_64 14:59:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:59:08 prd-ubuntu20.04-docker-8c-8g-548 does not seem to be running inside a container 14:59:08 $ 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 ******** ci-base-image-x86_64 cat 14:59:09 $ docker top 14c70feb4459d151111ae16a0ebf9f4e35753effc602973fc2c4d9b589ba45e1 -eo pid,comm [Pipeline] { [Pipeline] sh 14:59:09 + go version 14:59:09 go version go1.17.6 linux/amd64 [Pipeline] } 14:59:09 $ docker stop --time=1 14c70feb4459d151111ae16a0ebf9f4e35753effc602973fc2c4d9b589ba45e1 14:59:10 $ docker rm -f 14c70feb4459d151111ae16a0ebf9f4e35753effc602973fc2c4d9b589ba45e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:11 + docker inspect -f . ci-base-image-x86_64 14:59:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:59:11 prd-ubuntu20.04-docker-8c-8g-548 does not seem to be running inside a container 14:59:11 $ 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 ******** ci-base-image-x86_64 cat 14:59:11 $ docker top b2256f8da6db881cce92b7faea6f347f85157f3a336d686d2556918ddec10ab0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:59:12 + make test 14:59:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:59:12 ? github.com/edgexfoundry/device-virtual-go [no test files] 14:59:22 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 14:59:22 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements 14:59:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:59:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:59:33 ./snap/local/hooks/cmd/configure/configure.go 14:59:33 ./snap/local/hooks/cmd/install/install.go 14:59:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:59:33 make: *** [Makefile:56: test] Error 1 [Pipeline] } 14:59:33 $ docker stop --time=1 b2256f8da6db881cce92b7faea6f347f85157f3a336d686d2556918ddec10ab0 14:59:35 $ docker rm -f b2256f8da6db881cce92b7faea6f347f85157f3a336d686d2556918ddec10ab0 [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 14:59:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:59:36 14:59:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:59:36 latest: Pulling from edgex-lftools-log-publisher 14:59:36 5eb5b503b376: Pulling fs layer 14:59:36 5c69ac0246d0: Pulling fs layer 14:59:36 ec43610c2a17: Pulling fs layer 14:59:36 3a2ae6a8a46f: Pulling fs layer 14:59:36 33b1e0a273af: Pulling fs layer 14:59:36 5d3b04190fa2: Pulling fs layer 14:59:36 2f39f015ded8: Pulling fs layer 14:59:36 3a2ae6a8a46f: Waiting 14:59:36 33b1e0a273af: Waiting 14:59:36 5d3b04190fa2: Waiting 14:59:36 2f39f015ded8: Waiting 14:59:36 5c69ac0246d0: Verifying Checksum 14:59:36 5c69ac0246d0: Download complete 14:59:36 3a2ae6a8a46f: Verifying Checksum 14:59:36 3a2ae6a8a46f: Download complete 14:59:36 33b1e0a273af: Verifying Checksum 14:59:36 33b1e0a273af: Download complete 14:59:37 5d3b04190fa2: Verifying Checksum 14:59:37 5d3b04190fa2: Download complete 14:59:37 ec43610c2a17: Verifying Checksum 14:59:37 ec43610c2a17: Download complete 14:59:37 5eb5b503b376: Download complete 14:59:37 2f39f015ded8: Download complete 14:59:38 5eb5b503b376: Pull complete 14:59:38 5c69ac0246d0: Pull complete 14:59:39 ec43610c2a17: Pull complete 14:59:39 3a2ae6a8a46f: Pull complete 14:59:39 33b1e0a273af: Pull complete 14:59:39 5d3b04190fa2: Pull complete 14:59:44 2f39f015ded8: Pull complete 14:59:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:59:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:59:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:59:44 prd-ubuntu20.04-docker-8c-8g-548 does not seem to be running inside a container 14:59:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:59:46 $ docker top 486ce6059c559aadd8f68fa3fe6c680912ffa638b3faf6672bce6f90bbb4ae29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:59:47 ---> job-cost.sh 14:59:47 lf-activate-venv: SKIPPING 14:59:47 INFO: No Stack... 14:59:47 INFO: Retrieving Pricing Info for: v3-standard-8 14:59:48 INFO: Archiving Costs [Pipeline] sh 14:59:48 + cat /w/workspace/foundry_device-virtual-go_PR-287/archives/cost.csv 14:59:48 + cut -d, -f6 [Pipeline] lock 14:59:48 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-2-stack-cost] 14:59:48 Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-2-stack-cost] did not exist. Created. 14:59:48 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:59:48 + echo total: 0.2199999988079071 [Pipeline] stash 14:59:48 Stashed 1 file(s) [Pipeline] } 14:59:48 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:59:48 $ docker stop --time=1 486ce6059c559aadd8f68fa3fe6c680912ffa638b3faf6672bce6f90bbb4ae29 14:59:49 $ docker rm -f 486ce6059c559aadd8f68fa3fe6c680912ffa638b3faf6672bce6f90bbb4ae29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:59:50 Failed in branch amd64 15:00:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-549 in /w/workspace/foundry_device-virtual-go_PR-287 [Pipeline] { [Pipeline] ws 15:00:30 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 15:00:30 The recommended git tool is: git 15:00:37 using credential edgex-jenkins-ssh 15:00:37 Cloning the remote Git repository 15:00:37 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 15:00:37 > git init /w/workspace/device-virtual-go/2 # timeout=10 15:00:37 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:00:37 > git --version # timeout=10 15:00:37 > git --version # 'git version 2.25.1' 15:00:37 using GIT_SSH to set credentials SSH Credentials for GitHub 15:00:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:00:39 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:00:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:00:39 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:00:39 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:00:39 using GIT_SSH to set credentials SSH Credentials for GitHub 15:00:39 > 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 15:00:40 Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit a266ebd99d2e725a38e992c2b726a9db996e56be 15:00:40 Merge succeeded, producing a266ebd99d2e725a38e992c2b726a9db996e56be 15:00:40 Checking out Revision a266ebd99d2e725a38e992c2b726a9db996e56be (PR-287) 15:00:40 > git config core.sparsecheckout # timeout=10 15:00:40 > git checkout -f a266ebd99d2e725a38e992c2b726a9db996e56be # timeout=10 15:00:40 > git remote # timeout=10 15:00:40 > git config --get remote.origin.url # timeout=10 15:00:40 using GIT_SSH to set credentials SSH Credentials for GitHub 15:00:40 > git merge 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 15:00:40 > git rev-parse HEAD^{commit} # timeout=10 15:00:40 > git config core.sparsecheckout # timeout=10 15:00:40 > git checkout -f a266ebd99d2e725a38e992c2b726a9db996e56be # timeout=10 15:00:44 Commit message: "style(snap): Add end of lines" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:00:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:00:45 % Total % Received % Xferd Average Speed Time Time Time Current 15:00:45 Dload Upload Total Spent Left Speed 15:00:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 45381 0 --:--:-- --:--:-- --:--:-- 45381 [Pipeline] sh 15:00:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:00:46 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 15:00:46 /etc/docker/daemon.json 15:00:46 { 15:00:46 "registry-mirrors": [ 15:00:46 "https://nexus3.edgexfoundry.org:10001" 15:00:46 ], 15:00:46 "bip": "10.250.0.254/24", 15:00:46 "hosts": [ 15:00:46 "tcp://0.0.0.0:5555", 15:00:46 "unix:///var/run/docker.sock" 15:00:46 ], 15:00:46 "mtu": 1458, 15:00:46 "selinux-enabled": true, 15:00:46 "seccomp-profile": "/etc/docker/seccomp.json" 15:00:46 } [Pipeline] sh 15:00:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:00:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:01:05 provisioning config files... 15:01:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config7981539933419130811tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:01:06 ---> docker-login.sh 15:01:06 nexus3.edgexfoundry.org:10001 15:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:07 Configure a credential helper to remove this warning. See 15:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:07 15:01:07 Login Succeeded 15:01:07 nexus3.edgexfoundry.org:10002 15:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:07 Configure a credential helper to remove this warning. See 15:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:07 15:01:07 Login Succeeded 15:01:07 nexus3.edgexfoundry.org:10003 15:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:07 Configure a credential helper to remove this warning. See 15:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:07 15:01:07 Login Succeeded 15:01:07 nexus3.edgexfoundry.org:10004 15:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:08 Configure a credential helper to remove this warning. See 15:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:08 15:01:08 Login Succeeded 15:01:08 docker.io 15:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:09 Configure a credential helper to remove this warning. See 15:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:09 15:01:09 Login Succeeded 15:01:09 ---> docker-login.sh ends [Pipeline] } 15:01:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:01:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:01:09 ========================================================= 15:01:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:01:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:01:10 + 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 . 15:01:10 Sending build context to Docker daemon 11.63MB 15:01:10 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:01:10 Step 2/12 : FROM ${BASE} AS builder 15:01:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:01:10 9b3977197b4f: Pulling fs layer 15:01:10 1a89e8eeedd5: Pulling fs layer 15:01:10 94645a83ff95: Pulling fs layer 15:01:10 3f3a8bcf1eab: Pulling fs layer 15:01:10 0c92f367c5e7: Pulling fs layer 15:01:10 3096ccb668a1: Pulling fs layer 15:01:10 e8cf19c19ddd: Pulling fs layer 15:01:10 a4caa8a26152: Pulling fs layer 15:01:10 3f3a8bcf1eab: Waiting 15:01:10 0c92f367c5e7: Waiting 15:01:10 3096ccb668a1: Waiting 15:01:10 e8cf19c19ddd: Waiting 15:01:10 a4caa8a26152: Waiting 15:01:10 94645a83ff95: Verifying Checksum 15:01:10 94645a83ff95: Download complete 15:01:10 1a89e8eeedd5: Verifying Checksum 15:01:10 1a89e8eeedd5: Download complete 15:01:10 0c92f367c5e7: Download complete 15:01:11 3096ccb668a1: Verifying Checksum 15:01:11 3096ccb668a1: Download complete 15:01:11 9b3977197b4f: Verifying Checksum 15:01:11 9b3977197b4f: Download complete 15:01:11 e8cf19c19ddd: Verifying Checksum 15:01:11 e8cf19c19ddd: Download complete 15:01:11 9b3977197b4f: Pull complete 15:01:12 1a89e8eeedd5: Pull complete 15:01:12 94645a83ff95: Pull complete 15:01:12 a4caa8a26152: Verifying Checksum 15:01:12 a4caa8a26152: Download complete 15:01:13 3f3a8bcf1eab: Verifying Checksum 15:01:13 3f3a8bcf1eab: Download complete 15:01:25 3f3a8bcf1eab: Pull complete 15:01:25 0c92f367c5e7: Pull complete 15:01:25 3096ccb668a1: Pull complete 15:01:25 e8cf19c19ddd: Pull complete 15:01:32 a4caa8a26152: Pull complete 15:01:32 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 15:01:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:01:32 ---> 725f1c02e7f9 15:01:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:01:33 ---> Running in 1cd345445304 15:01:33 Removing intermediate container 1cd345445304 15:01:33 ---> 4fcb35508c2d 15:01:33 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:01:33 ---> Running in e1645736f858 15:01:34 Removing intermediate container e1645736f858 15:01:34 ---> 2461ea14ff7d 15:01:34 Step 5/12 : WORKDIR /device-virtual-go 15:01:34 ---> Running in 9f045a121d6a 15:01:34 Removing intermediate container 9f045a121d6a 15:01:34 ---> f5e310928259 15:01:34 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:01:34 ---> Running in c955bc93316e 15:01:36 Removing intermediate container c955bc93316e 15:01:36 ---> 7dc1584c2db4 15:01:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:01:36 ---> Running in ee3e8dcffd85 15:01:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:01:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:01:40 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:01:40 (2/4) Installing libedit (20210910.3.1-r0) 15:01:40 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:01:40 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:01:41 Executing busybox-1.34.1-r3.trigger 15:01:41 OK: 224 MiB in 56 packages 15:01:41 Removing intermediate container ee3e8dcffd85 15:01:41 ---> 4f7f774d0cdb 15:01:41 Step 8/12 : COPY go.mod vendor* ./ 15:01:42 ---> 4864ab8bceab 15:01:42 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:01:42 ---> Running in bf00fea9b40e 15:02:29 Removing intermediate container bf00fea9b40e 15:02:29 ---> c783d777ab10 15:02:29 Step 10/12 : COPY . . 15:02:29 ---> b7847778d0a4 15:02:29 Step 11/12 : ARG MAKE='make build' 15:02:29 ---> Running in adedf127dba0 15:02:29 Removing intermediate container adedf127dba0 15:02:29 ---> fcd6da54dfdb 15:02:29 Step 12/12 : RUN $MAKE 15:02:29 ---> Running in aa7269a277f5 15:02:29 noop 15:02:29 Removing intermediate container aa7269a277f5 15:02:29 ---> 6a8c78b66f6e 15:02:29 Successfully built 6a8c78b66f6e 15:02:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:02:29 + docker inspect -f . ci-base-image-arm64 15:02:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:02:30 prd-ubuntu20.04-docker-arm64-4c-16g-549 does not seem to be running inside a container 15:02:30 $ 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 ******** ci-base-image-arm64 cat 15:02:31 $ docker top 045e0547478c6512aedc04c4192e2097a85938a76f32951a5e622ddef83052d2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:02:32 + go version 15:02:32 go version go1.17.6 linux/arm64 [Pipeline] } 15:02:32 $ docker stop --time=1 045e0547478c6512aedc04c4192e2097a85938a76f32951a5e622ddef83052d2 15:02:33 $ docker rm -f 045e0547478c6512aedc04c4192e2097a85938a76f32951a5e622ddef83052d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:02:34 + docker inspect -f . ci-base-image-arm64 15:02:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:02:34 prd-ubuntu20.04-docker-arm64-4c-16g-549 does not seem to be running inside a container 15:02:34 $ 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 ******** ci-base-image-arm64 cat 15:02:36 $ docker top 1eca08d2ec80672d1fe5cc78ddc74d2b57293ce09fe5bba9ac38ac1ebd596c2f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:02:36 + make test 15:02:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:02:38 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:04:00 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:04:00 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.135s coverage: 65.7% of statements 15:04:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:04:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:04:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:04:22 ./snap/local/hooks/cmd/install/install.go 15:04:22 ./snap/local/hooks/cmd/configure/configure.go 15:04:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:04:22 make: *** [Makefile:56: test] Error 1 [Pipeline] } 15:04:22 $ docker stop --time=1 1eca08d2ec80672d1fe5cc78ddc74d2b57293ce09fe5bba9ac38ac1ebd596c2f 15:04:24 $ docker rm -f 1eca08d2ec80672d1fe5cc78ddc74d2b57293ce09fe5bba9ac38ac1ebd596c2f [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 15:04:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:04:25 15:04:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:04:25 arm64: Pulling from edgex-lftools-log-publisher 15:04:25 8998bd30e6a1: Pulling fs layer 15:04:25 04944245beec: Pulling fs layer 15:04:25 699f458cf7ca: Pulling fs layer 15:04:25 765212b225bb: Pulling fs layer 15:04:25 f23df028b6ca: Pulling fs layer 15:04:25 d65c8cfc05b1: Pulling fs layer 15:04:25 2437ff75d9bd: Pulling fs layer 15:04:25 d65c8cfc05b1: Waiting 15:04:25 2437ff75d9bd: Waiting 15:04:25 765212b225bb: Waiting 15:04:25 f23df028b6ca: Waiting 15:04:25 04944245beec: Verifying Checksum 15:04:25 04944245beec: Download complete 15:04:25 765212b225bb: Verifying Checksum 15:04:25 765212b225bb: Download complete 15:04:25 f23df028b6ca: Verifying Checksum 15:04:25 f23df028b6ca: Download complete 15:04:25 d65c8cfc05b1: Verifying Checksum 15:04:25 d65c8cfc05b1: Download complete 15:04:26 699f458cf7ca: Verifying Checksum 15:04:26 699f458cf7ca: Download complete 15:04:26 8998bd30e6a1: Verifying Checksum 15:04:26 8998bd30e6a1: Download complete 15:04:29 2437ff75d9bd: Verifying Checksum 15:04:29 2437ff75d9bd: Download complete 15:04:30 8998bd30e6a1: Pull complete 15:04:31 04944245beec: Pull complete 15:04:32 699f458cf7ca: Pull complete 15:04:32 765212b225bb: Pull complete 15:04:33 f23df028b6ca: Pull complete 15:04:34 d65c8cfc05b1: Pull complete 15:04:49 2437ff75d9bd: Pull complete 15:04:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:04:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:04:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:04:49 prd-ubuntu20.04-docker-arm64-4c-16g-549 does not seem to be running inside a container 15:04:49 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:04:51 $ docker top 2534cff9ec955fa7d1b2ff6d7fedeeb10fd818f3b8516a7b8de874a0010f60bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:04:52 ---> job-cost.sh 15:04:52 lf-activate-venv: SKIPPING 15:04:52 INFO: No Stack... 15:04:53 INFO: Retrieving Pricing Info for: v3-standard-4 15:04:54 INFO: Archiving Costs [Pipeline] sh 15:04:54 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 15:04:54 + cut -d, -f6 [Pipeline] lock 15:04:54 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-2-stack-cost] 15:04:54 Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-2-stack-cost] did not exist. Created. 15:04:54 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:04:55 /w/workspace/device-virtual-go/2@tmp/durable-365593d7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:04:56 + echo total: 0.10999999940395355 [Pipeline] stash 15:04:56 Warning: overwriting stash ‘stack-cost’ 15:04:56 Stashed 1 file(s) [Pipeline] } 15:04:56 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:04:56 $ docker stop --time=1 2534cff9ec955fa7d1b2ff6d7fedeeb10fd818f3b8516a7b8de874a0010f60bb 15:04:58 $ docker rm -f 2534cff9ec955fa7d1b2ff6d7fedeeb10fd818f3b8516a7b8de874a0010f60bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:04:58 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 15:04:59 + [ -d /w/workspace/foundry_device-virtual-go_PR-287/archives ] 15:04:59 + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives 15:04:59 total 16 15:04:59 drwxr-xr-x 3 root root 4096 Jun 1 14:59 . 15:04:59 drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 14:59 .. 15:04:59 drwxr-xr-x 2 root root 4096 Jun 1 14:59 cost 15:04:59 -rw-r--r-- 1 root root 88 Jun 1 14:59 cost.csv 15:04:59 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-287/archives 15:04:59 + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives 15:04:59 total 16 15:04:59 drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 14:59 . 15:04:59 drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 14:59 .. 15:04:59 drwxr-xr-x 2 jenkins jenkins 4096 Jun 1 14:59 cost 15:04:59 -rw-r--r-- 1 jenkins jenkins 88 Jun 1 14:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:04:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:05:00 ---> package-listing.sh 15:05:00 ++ facter osfamily 15:05:00 ++ tr '[:upper:]' '[:lower:]' 15:05:00 + OS_FAMILY=debian 15:05:00 + workspace=/w/workspace/foundry_device-virtual-go_PR-287 15:05:00 + START_PACKAGES=/tmp/packages_start.txt 15:05:00 + END_PACKAGES=/tmp/packages_end.txt 15:05:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:05:00 + PACKAGES=/tmp/packages_start.txt 15:05:00 + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' 15:05:00 + PACKAGES=/tmp/packages_end.txt 15:05:00 + case "${OS_FAMILY}" in 15:05:00 + dpkg -l 15:05:00 + grep '^ii' 15:05:00 + '[' -f /tmp/packages_start.txt ']' 15:05:00 + '[' -f /tmp/packages_end.txt ']' 15:05:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:05:00 + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' 15:05:00 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-287/archives/ 15:05:00 + 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 15:05:00 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 15:05:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:05:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:05:01 prd-ubuntu20.04-docker-8c-8g-548 does not seem to be running inside a container 15:05:01 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:05:02 $ docker top c3e943380ceae633f1c41b5c56d02b20fe51917e54a598ddc234fad42af2fae2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:05:02 + touch /tmp/pre-build-complete [Pipeline] sh 15:05:02 + mkdir -p /var/log/sysstat [Pipeline] sh 15:05:02 + ls /var/log/sa-host 15:05:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:05:03 provisioning config files... 15:05:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config618333578289783268tmp [Pipeline] { [Pipeline] echo 15:05:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:05:03 ---> create-netrc.sh [Pipeline] } 15:05:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:05:03 ---> python-tools-install.sh [Pipeline] echo 15:05:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:05:03 ---> sudo-logs.sh 15:05:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:05:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:05:04 ---> job-cost.sh 15:05:04 lf-activate-venv: SKIPPING 15:05:04 DEBUG: total: 0.2199999988079071 15:05:04 INFO: Retrieving Stack Cost... 15:05:04 INFO: Retrieving Pricing Info for: v3-standard-8 15:05:05 INFO: Archiving Costs [Pipeline] echo 15:05:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:05:05 ---> logs-deploy.sh 15:05:05 lf-activate-venv: SKIPPING 15:05:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-287/2 15:05:05 INFO: archiving workspace using pattern(s): 15:05:06 Archives upload complete. 15:05:06 INFO: archiving logs to Nexus