Pull request #287 opened 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 233f1c456e102289b839942e917dfe041468284f 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-ssh12110380392570341583.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-ssh866911320932652761.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-ssh7556983667907943494.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-ssh13728723298756690265.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh17542804962518209052.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-287/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-ssh15753173147801711131.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-546 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 233f1c456e102289b839942e917dfe041468284f Merge succeeded, producing 233f1c456e102289b839942e917dfe041468284f Checking out Revision 233f1c456e102289b839942e917dfe041468284f (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 233f1c456e102289b839942e917dfe041468284f # 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 233f1c456e102289b839942e917dfe041468284f # timeout=10 Commit message: "feat(snap): Add snap packaing" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:49:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:49:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:49:31 ========================================================= 14:49:31 EdgeX Global Pipelines Version Info 14:49:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:49:31 ------------------- 14:49:31 stable info: 14:49:31 ------------------- 14:49:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:49:31 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 14:49:31 Message: update stable to v1.0.230 14:49:32 ------------------- 14:49:32 experimental info: 14:49:32 ------------------- 14:49:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:49:32 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 14:49:32 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:49:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 14:49:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 14:49:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:49:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:49:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-287 [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-287 [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-287 [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 233f1c456e102289b839942e917dfe041468284f [Pipeline] echo 14:49:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 233f1c4 [Pipeline] echo 14:49:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:49:34 provisioning config files... 14:49:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config8746088849959430655tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:49:34 ---> docker-login.sh 14:49:34 nexus3.edgexfoundry.org:10001 14:49:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:34 Configure a credential helper to remove this warning. See 14:49:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:34 14:49:34 Login Succeeded 14:49:34 nexus3.edgexfoundry.org:10002 14:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:35 Configure a credential helper to remove this warning. See 14:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:35 14:49:35 Login Succeeded 14:49:35 nexus3.edgexfoundry.org:10003 14:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:35 Configure a credential helper to remove this warning. See 14:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:35 14:49:35 Login Succeeded 14:49:35 nexus3.edgexfoundry.org:10004 14:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:35 Configure a credential helper to remove this warning. See 14:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:35 14:49:35 Login Succeeded 14:49:35 docker.io 14:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:35 Configure a credential helper to remove this warning. See 14:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:35 14:49:35 Login Succeeded 14:49:35 ---> docker-login.sh ends [Pipeline] } 14:49:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:49:36 + git rev-list -1 --merges 233f1c456e102289b839942e917dfe041468284f~1..233f1c456e102289b839942e917dfe041468284f [Pipeline] echo 14:49:36 -----------> git rev-list -1 --merges 233f1c456e102289b839942e917dfe041468284f~1..233f1c456e102289b839942e917dfe041468284f 233f1c456e102289b839942e917dfe041468284f [false] [Pipeline] sh 14:49:36 + git log --format=format:%s -1 233f1c456e102289b839942e917dfe041468284f [Pipeline] echo 14:49:36 ========================================================= 14:49:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:49:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:49:37 + git log --format=format:%s -1 233f1c456e102289b839942e917dfe041468284f [Pipeline] echo 14:49:37 [semverPrep] GIT_COMMIT: 233f1c456e102289b839942e917dfe041468284f, Commit Message: feat(snap): Add snap packaing [Pipeline] echo 14:49:37 [semverPrep] This is not a build commit. [Pipeline] sh 14:49:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:49:37 + grep -v github /etc/ssh/ssh_known_hosts 14:49:37 + [ -e /tmp/ssh_known_hosts ] 14:49:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:49:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:49:37 + sudo tee -a /etc/ssh/ssh_known_hosts 14:49:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:49:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:49:38 14:49:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:49:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:49:38 latest: Pulling from edgex-devops/py-git-semver 14:49:38 1fe172e4850f: Pulling fs layer 14:49:38 caf521ccaac6: Pulling fs layer 14:49:38 3ead6fa29328: Pulling fs layer 14:49:38 5c2a1cbceb83: Pulling fs layer 14:49:38 a8d5f1318db7: Pulling fs layer 14:49:38 c427282e49a2: Pulling fs layer 14:49:38 1827001aaf11: Pulling fs layer 14:49:38 0714d37db230: Pulling fs layer 14:49:38 ac28cf19c067: Pulling fs layer 14:49:38 c427282e49a2: Waiting 14:49:38 5c2a1cbceb83: Waiting 14:49:38 a8d5f1318db7: Waiting 14:49:38 1827001aaf11: Waiting 14:49:38 ac28cf19c067: Waiting 14:49:38 ca983d60f3e2: Pulling fs layer 14:49:38 9f894cec8388: Pulling fs layer 14:49:38 9f894cec8388: Waiting 14:49:38 ca983d60f3e2: Waiting 14:49:38 caf521ccaac6: Download complete 14:49:38 5c2a1cbceb83: Download complete 14:49:38 a8d5f1318db7: Verifying Checksum 14:49:38 a8d5f1318db7: Download complete 14:49:38 c427282e49a2: Verifying Checksum 14:49:38 c427282e49a2: Download complete 14:49:38 3ead6fa29328: Verifying Checksum 14:49:38 3ead6fa29328: Download complete 14:49:38 0714d37db230: Download complete 14:49:38 ac28cf19c067: Verifying Checksum 14:49:38 ac28cf19c067: Download complete 14:49:38 ca983d60f3e2: Download complete 14:49:38 9f894cec8388: Download complete 14:49:38 1fe172e4850f: Verifying Checksum 14:49:38 1fe172e4850f: Download complete 14:49:39 1827001aaf11: Verifying Checksum 14:49:39 1827001aaf11: Download complete 14:49:40 1fe172e4850f: Pull complete 14:49:40 caf521ccaac6: Pull complete 14:49:40 3ead6fa29328: Pull complete 14:49:40 5c2a1cbceb83: Pull complete 14:49:41 a8d5f1318db7: Pull complete 14:49:41 c427282e49a2: Pull complete 14:49:43 1827001aaf11: Pull complete 14:49:43 0714d37db230: Pull complete 14:49:43 ac28cf19c067: Pull complete 14:49:43 ca983d60f3e2: Pull complete 14:49:43 9f894cec8388: Pull complete 14:49:43 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 14:49:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:49:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:49:43 prd-ubuntu20.04-docker-8c-8g-546 does not seem to be running inside a container 14:49:43 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 14:49:45 $ docker top cef7153f5b6791a077dd5c893d0261f1ee37dc57e84236e7929883cd29428896 -eo pid,comm 14:49:45 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:49:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:49:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:49:45 [ssh-agent] Looking for ssh-agent implementation... 14:49:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:49:45 $ docker exec cef7153f5b6791a077dd5c893d0261f1ee37dc57e84236e7929883cd29428896 ssh-agent 14:49:45 SSH_AUTH_SOCK=/tmp/ssh-Tj87pIvPaFyB/agent.33 14:49:45 SSH_AGENT_PID=39 14:49:45 Running ssh-add (command line suppressed) 14:49:46 Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_8554492827372666133.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_8554492827372666133.key) 14:49:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:49:46 + git tag --points-at HEAD [Pipeline] } 14:49:46 $ docker exec --env ******** --env ******** cef7153f5b6791a077dd5c893d0261f1ee37dc57e84236e7929883cd29428896 ssh-agent -k 14:49:46 unset SSH_AUTH_SOCK; 14:49:46 unset SSH_AGENT_PID; 14:49:46 echo Agent pid 39 killed; 14:49:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:49:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:49:46 [ssh-agent] Looking for ssh-agent implementation... 14:49:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:49:46 $ docker exec cef7153f5b6791a077dd5c893d0261f1ee37dc57e84236e7929883cd29428896 ssh-agent 14:49:46 SSH_AUTH_SOCK=/tmp/ssh-sn02bsa6N6p1/agent.71 14:49:46 SSH_AGENT_PID=77 14:49:46 Running ssh-add (command line suppressed) 14:49:47 Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_329200352660956018.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_329200352660956018.key) 14:49:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:49:47 + git semver init 14:49:47 2022-06-01 14:49:47,637 [run_init] DEBUG init version:0.0.0 force:False 14:49:47 2022-06-01 14:49:47,638 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-287/.semver 14:49:47 2022-06-01 14:49:47,638 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-287/.semver 14:49:47 2022-06-01 14:49:47,638 [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:49:48 2022-06-01 14:49:48,579 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-287/.git/info/exclude 14:49:48 2022-06-01 14:49:48,579 [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:49:48 2022-06-01 14:49:48,579 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 14:49:48 2022-06-01 14:49:48,584 [execute] INFO git cat-file --batch-check 14:49:48 2022-06-01 14:49:48,584 [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:49:48 2022-06-01 14:49:48,590 [execute] INFO git cat-file --batch 14:49:48 2022-06-01 14:49:48,591 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) 14:49:48 2022-06-01 14:49:48,596 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 14:49:48 0.0.0 [Pipeline] } 14:49:48 $ docker exec --env ******** --env ******** cef7153f5b6791a077dd5c893d0261f1ee37dc57e84236e7929883cd29428896 ssh-agent -k 14:49:48 unset SSH_AUTH_SOCK; 14:49:48 unset SSH_AGENT_PID; 14:49:48 echo Agent pid 77 killed; 14:49:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:49:49 + git semver [Pipeline] } 14:49:49 $ docker stop --time=1 cef7153f5b6791a077dd5c893d0261f1ee37dc57e84236e7929883cd29428896 14:49:50 $ docker rm -f cef7153f5b6791a077dd5c893d0261f1ee37dc57e84236e7929883cd29428896 [Pipeline] // withDockerContainer [Pipeline] sh 14:49:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:49:51 Stashed 1 file(s) [Pipeline] echo 14:49:51 [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:49:52 provisioning config files... 14:49:52 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config9151591810602785088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:49:52 ---> docker-login.sh 14:49:52 nexus3.edgexfoundry.org:10001 14:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:52 Configure a credential helper to remove this warning. See 14:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:52 14:49:52 Login Succeeded 14:49:52 nexus3.edgexfoundry.org:10002 14:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:52 Configure a credential helper to remove this warning. See 14:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:52 14:49:52 Login Succeeded 14:49:52 nexus3.edgexfoundry.org:10003 14:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:52 Configure a credential helper to remove this warning. See 14:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:52 14:49:52 Login Succeeded 14:49:52 nexus3.edgexfoundry.org:10004 14:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:53 Configure a credential helper to remove this warning. See 14:49:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:53 14:49:53 Login Succeeded 14:49:53 docker.io 14:49:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:53 Configure a credential helper to remove this warning. See 14:49:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:53 14:49:53 Login Succeeded 14:49:53 ---> docker-login.sh ends [Pipeline] } 14:49:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:49:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:49:53 ========================================================= 14:49:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 14:49:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:49:53 + 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:49:53 Sending build context to Docker daemon 22.93MB 14:49:53 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 14:49:53 Step 2/12 : FROM ${BASE} AS builder 14:49:54 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 14:49:54 59bf1c3509f3: Pulling fs layer 14:49:54 666ba61612fd: Pulling fs layer 14:49:54 8ed8ca486205: Pulling fs layer 14:49:54 4fe6c5a15a65: Pulling fs layer 14:49:54 22a0e8bec74d: Pulling fs layer 14:49:54 ca2b28591e48: Pulling fs layer 14:49:54 a51346096db8: Pulling fs layer 14:49:54 daebc70d1ce1: Pulling fs layer 14:49:54 0e18a0eac166: Pulling fs layer 14:49:54 4fe6c5a15a65: Waiting 14:49:54 ca2b28591e48: Waiting 14:49:54 22a0e8bec74d: Waiting 14:49:54 0e18a0eac166: Waiting 14:49:54 daebc70d1ce1: Waiting 14:49:54 8ed8ca486205: Verifying Checksum 14:49:54 666ba61612fd: Download complete 14:49:54 22a0e8bec74d: Verifying Checksum 14:49:54 22a0e8bec74d: Download complete 14:49:54 ca2b28591e48: Download complete 14:49:54 59bf1c3509f3: Download complete 14:49:54 a51346096db8: Verifying Checksum 14:49:54 a51346096db8: Download complete 14:49:54 daebc70d1ce1: Verifying Checksum 14:49:54 daebc70d1ce1: Download complete 14:49:54 59bf1c3509f3: Pull complete 14:49:54 666ba61612fd: Pull complete 14:49:54 8ed8ca486205: Pull complete 14:49:55 0e18a0eac166: Verifying Checksum 14:49:55 0e18a0eac166: Download complete 14:49:55 4fe6c5a15a65: Verifying Checksum 14:49:55 4fe6c5a15a65: Download complete 14:49:59 4fe6c5a15a65: Pull complete 14:49:59 22a0e8bec74d: Pull complete 14:49:59 ca2b28591e48: Pull complete 14:49:59 a51346096db8: Pull complete 14:49:59 daebc70d1ce1: Pull complete 14:50:01 0e18a0eac166: Pull complete 14:50:01 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 14:50:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 14:50:01 ---> f018257e8ee9 14:50:01 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:50:03 ---> Running in 05d4e6db0784 14:50:03 Removing intermediate container 05d4e6db0784 14:50:03 ---> 1954f7c67efb 14:50:03 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:50:03 ---> Running in c1230d51eb1d 14:50:03 Removing intermediate container c1230d51eb1d 14:50:03 ---> 7e99d3c07783 14:50:03 Step 5/12 : WORKDIR /device-virtual-go 14:50:03 ---> Running in 23b5374d2cfc 14:50:03 Removing intermediate container 23b5374d2cfc 14:50:03 ---> 87050ad81122 14:50:03 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:50:03 ---> Running in 70eb02db5074 14:50:04 Removing intermediate container 70eb02db5074 14:50:04 ---> c09b404bf68e 14:50:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:50:04 ---> Running in b90688e1b8b4 14:50:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:50:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:50:05 (1/4) Installing openssh-keygen (8.8_p1-r1) 14:50:05 (2/4) Installing libedit (20210910.3.1-r0) 14:50:05 (3/4) Installing openssh-client-common (8.8_p1-r1) 14:50:06 (4/4) Installing openssh-client-default (8.8_p1-r1) 14:50:06 Executing busybox-1.34.1-r3.trigger 14:50:06 OK: 224 MiB in 56 packages 14:50:06 Removing intermediate container b90688e1b8b4 14:50:06 ---> 7be139d7845c 14:50:06 Step 8/12 : COPY go.mod vendor* ./ 14:50:06 ---> 708d3bfafdcf 14:50:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:50:06 ---> Running in 0eee08325021 14:50:06 Still waiting to schedule task 14:50:06 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:50:21 Removing intermediate container 0eee08325021 14:50:21 ---> e8c84663012d 14:50:21 Step 10/12 : COPY . . 14:50:21 ---> df7d117b76bb 14:50:21 Step 11/12 : ARG MAKE='make build' 14:50:21 ---> Running in 9099a05b6788 14:50:21 Removing intermediate container 9099a05b6788 14:50:21 ---> 9d350d8e192a 14:50:21 Step 12/12 : RUN $MAKE 14:50:21 ---> Running in e6d48f1df21f 14:50:21 noop 14:50:22 Removing intermediate container e6d48f1df21f 14:50:22 ---> 6e7faec6c88a 14:50:22 Successfully built 6e7faec6c88a 14:50:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:50:22 + docker inspect -f . ci-base-image-x86_64 14:50:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:50:22 prd-ubuntu20.04-docker-8c-8g-546 does not seem to be running inside a container 14:50:22 $ 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 ******** ci-base-image-x86_64 cat 14:50:23 $ docker top 1d64eee892e32c7227b75d927e9ad988a82600f5b435b170c5ff4247afdad365 -eo pid,comm [Pipeline] { [Pipeline] sh 14:50:23 + go version 14:50:23 go version go1.17.6 linux/amd64 [Pipeline] } 14:50:23 $ docker stop --time=1 1d64eee892e32c7227b75d927e9ad988a82600f5b435b170c5ff4247afdad365 14:50:24 $ docker rm -f 1d64eee892e32c7227b75d927e9ad988a82600f5b435b170c5ff4247afdad365 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:50:25 + docker inspect -f . ci-base-image-x86_64 14:50:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:50:25 prd-ubuntu20.04-docker-8c-8g-546 does not seem to be running inside a container 14:50:25 $ 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 ******** ci-base-image-x86_64 cat 14:50:26 $ docker top d11b5cbf57d4e64057788a3a777eebd7dc4bc29cefcac3710df47c7d58edf2c4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:50:26 + make test 14:50:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:50:27 ? github.com/edgexfoundry/device-virtual-go [no test files] 14:50:35 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 14:50:35 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements 14:50:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:50:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:50:46 ./snap/local/hooks/cmd/install/install.go 14:50:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:50:46 make: *** [Makefile:56: test] Error 1 [Pipeline] } 14:50:46 $ docker stop --time=1 d11b5cbf57d4e64057788a3a777eebd7dc4bc29cefcac3710df47c7d58edf2c4 14:50:48 $ docker rm -f d11b5cbf57d4e64057788a3a777eebd7dc4bc29cefcac3710df47c7d58edf2c4 [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:50:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:50:49 14:50:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:50:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:50:49 latest: Pulling from edgex-lftools-log-publisher 14:50:49 5eb5b503b376: Pulling fs layer 14:50:49 5c69ac0246d0: Pulling fs layer 14:50:49 ec43610c2a17: Pulling fs layer 14:50:49 3a2ae6a8a46f: Pulling fs layer 14:50:49 33b1e0a273af: Pulling fs layer 14:50:49 5d3b04190fa2: Pulling fs layer 14:50:49 2f39f015ded8: Pulling fs layer 14:50:49 3a2ae6a8a46f: Waiting 14:50:49 33b1e0a273af: Waiting 14:50:49 5d3b04190fa2: Waiting 14:50:49 2f39f015ded8: Waiting 14:50:49 5c69ac0246d0: Verifying Checksum 14:50:49 5c69ac0246d0: Download complete 14:50:49 3a2ae6a8a46f: Verifying Checksum 14:50:49 3a2ae6a8a46f: Download complete 14:50:49 33b1e0a273af: Verifying Checksum 14:50:49 33b1e0a273af: Download complete 14:50:50 5d3b04190fa2: Verifying Checksum 14:50:50 5d3b04190fa2: Download complete 14:50:50 ec43610c2a17: Verifying Checksum 14:50:50 ec43610c2a17: Download complete 14:50:50 5eb5b503b376: Download complete 14:50:50 2f39f015ded8: Download complete 14:50:51 5eb5b503b376: Pull complete 14:50:51 5c69ac0246d0: Pull complete 14:50:52 ec43610c2a17: Pull complete 14:50:52 3a2ae6a8a46f: Pull complete 14:50:52 33b1e0a273af: Pull complete 14:50:52 5d3b04190fa2: Pull complete 14:50:56 2f39f015ded8: Pull complete 14:50:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:50:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:50:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:50:56 prd-ubuntu20.04-docker-8c-8g-546 does not seem to be running inside a container 14:50:56 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:50:58 $ docker top 5e34fd63fa27ec5538adfaa4b62227d32a5f2cc086006693fe1f8682caded26a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:50:59 ---> job-cost.sh 14:50:59 lf-activate-venv: SKIPPING 14:50:59 INFO: No Stack... 14:50:59 INFO: Retrieving Pricing Info for: v3-standard-8 14:50:59 INFO: Archiving Costs [Pipeline] sh 14:51:00 + cat /w/workspace/foundry_device-virtual-go_PR-287/archives/cost.csv 14:51:00 + cut -d, -f6 [Pipeline] lock 14:51:00 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-1-stack-cost] 14:51:00 Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-1-stack-cost] did not exist. Created. 14:51:00 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:51:00 + echo total: 0.2199999988079071 [Pipeline] stash 14:51:00 Stashed 1 file(s) [Pipeline] } 14:51:00 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:51:00 $ docker stop --time=1 5e34fd63fa27ec5538adfaa4b62227d32a5f2cc086006693fe1f8682caded26a 14:51:01 $ docker rm -f 5e34fd63fa27ec5538adfaa4b62227d32a5f2cc086006693fe1f8682caded26a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:51:02 Failed in branch amd64 14:51:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-547 in /w/workspace/foundry_device-virtual-go_PR-287 [Pipeline] { [Pipeline] ws 14:51:49 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 14:51:49 The recommended git tool is: git 14:51:55 using credential edgex-jenkins-ssh 14:51:55 Cloning the remote Git repository 14:51:55 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 14:51:55 > git init /w/workspace/device-virtual-go/1 # timeout=10 14:51:55 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 14:51:55 > git --version # timeout=10 14:51:55 > git --version # 'git version 2.25.1' 14:51:55 using GIT_SSH to set credentials SSH Credentials for GitHub 14:51:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:51:57 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 14:51:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:51:57 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 14:51:57 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 14:51:57 using GIT_SSH to set credentials SSH Credentials for GitHub 14:51:57 > 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 14:51:58 Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit 233f1c456e102289b839942e917dfe041468284f 14:51:58 Merge succeeded, producing 233f1c456e102289b839942e917dfe041468284f 14:51:58 Checking out Revision 233f1c456e102289b839942e917dfe041468284f (PR-287) 14:51:58 > git config core.sparsecheckout # timeout=10 14:51:58 > git checkout -f 233f1c456e102289b839942e917dfe041468284f # timeout=10 14:51:58 > git remote # timeout=10 14:51:58 > git config --get remote.origin.url # timeout=10 14:51:58 using GIT_SSH to set credentials SSH Credentials for GitHub 14:51:58 > git merge 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 14:51:58 > git rev-parse HEAD^{commit} # timeout=10 14:51:58 > git config core.sparsecheckout # timeout=10 14:51:58 > git checkout -f 233f1c456e102289b839942e917dfe041468284f # timeout=10 14:52:02 Commit message: "feat(snap): Add snap packaing" 14:52:02 > git --version # timeout=10 14:52:02 > git --version # 'git version 2.25.1' 14:52:03 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:52:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:52:04 % Total % Received % Xferd Average Speed Time Time Time Current 14:52:04 Dload Upload Total Spent Left Speed 14:52:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12253 86 10503 0 0 83357 0 --:--:-- --:--:-- --:--:-- 83357 100 12253 100 12253 0 0 96480 0 --:--:-- --:--:-- --:--:-- 95726 [Pipeline] sh 14:52:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:52:05 + sudo tee /etc/docker/daemon.new 14:52:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:52:05 { 14:52:05 "registry-mirrors": [ 14:52:05 "https://nexus3.edgexfoundry.org:10001" 14:52:05 ], 14:52:05 "bip": "10.250.0.254/24", 14:52:05 "hosts": [ 14:52:05 "tcp://0.0.0.0:5555", 14:52:05 "unix:///var/run/docker.sock" 14:52:05 ], 14:52:05 "mtu": 1458, 14:52:05 "selinux-enabled": true, 14:52:05 "seccomp-profile": "/etc/docker/seccomp.json" 14:52:05 } [Pipeline] sh 14:52:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:52:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:52:24 provisioning config files... 14:52:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6535908764863166803tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:52:24 ---> docker-login.sh 14:52:24 nexus3.edgexfoundry.org:10001 14:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:52:25 Configure a credential helper to remove this warning. See 14:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:52:25 14:52:25 Login Succeeded 14:52:25 nexus3.edgexfoundry.org:10002 14:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:52:26 Configure a credential helper to remove this warning. See 14:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:52:26 14:52:26 Login Succeeded 14:52:26 nexus3.edgexfoundry.org:10003 14:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:52:26 Configure a credential helper to remove this warning. See 14:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:52:26 14:52:26 Login Succeeded 14:52:26 nexus3.edgexfoundry.org:10004 14:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:52:27 Configure a credential helper to remove this warning. See 14:52:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:52:27 14:52:27 Login Succeeded 14:52:27 docker.io 14:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:52:27 Configure a credential helper to remove this warning. See 14:52:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:52:27 14:52:27 Login Succeeded 14:52:27 ---> docker-login.sh ends [Pipeline] } 14:52:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:52:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:52:28 ========================================================= 14:52:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 14:52:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:52:28 + 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 . 14:52:28 Sending build context to Docker daemon 11.61MB 14:52:29 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 14:52:29 Step 2/12 : FROM ${BASE} AS builder 14:52:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:52:29 9b3977197b4f: Pulling fs layer 14:52:29 1a89e8eeedd5: Pulling fs layer 14:52:29 94645a83ff95: Pulling fs layer 14:52:29 3f3a8bcf1eab: Pulling fs layer 14:52:29 0c92f367c5e7: Pulling fs layer 14:52:29 3096ccb668a1: Pulling fs layer 14:52:29 e8cf19c19ddd: Pulling fs layer 14:52:29 a4caa8a26152: Pulling fs layer 14:52:29 3f3a8bcf1eab: Waiting 14:52:29 0c92f367c5e7: Waiting 14:52:29 3096ccb668a1: Waiting 14:52:29 a4caa8a26152: Waiting 14:52:29 e8cf19c19ddd: Waiting 14:52:29 94645a83ff95: Verifying Checksum 14:52:29 94645a83ff95: Download complete 14:52:29 1a89e8eeedd5: Verifying Checksum 14:52:29 1a89e8eeedd5: Download complete 14:52:29 0c92f367c5e7: Verifying Checksum 14:52:29 0c92f367c5e7: Download complete 14:52:29 3096ccb668a1: Verifying Checksum 14:52:29 3096ccb668a1: Download complete 14:52:29 9b3977197b4f: Download complete 14:52:29 e8cf19c19ddd: Verifying Checksum 14:52:29 e8cf19c19ddd: Download complete 14:52:30 9b3977197b4f: Pull complete 14:52:30 1a89e8eeedd5: Pull complete 14:52:30 94645a83ff95: Pull complete 14:52:31 a4caa8a26152: Verifying Checksum 14:52:31 3f3a8bcf1eab: Verifying Checksum 14:52:31 3f3a8bcf1eab: Download complete 14:52:44 3f3a8bcf1eab: Pull complete 14:52:44 0c92f367c5e7: Pull complete 14:52:44 3096ccb668a1: Pull complete 14:52:44 e8cf19c19ddd: Pull complete 14:52:51 a4caa8a26152: Pull complete 14:52:51 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 14:52:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 14:52:51 ---> 725f1c02e7f9 14:52:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:52:51 ---> Running in 59f31ceb75da 14:52:52 Removing intermediate container 59f31ceb75da 14:52:52 ---> 732f148de504 14:52:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:52:52 ---> Running in 832ca93d8986 14:52:52 Removing intermediate container 832ca93d8986 14:52:52 ---> adc6134a9a33 14:52:52 Step 5/12 : WORKDIR /device-virtual-go 14:52:52 ---> Running in 6e1f59cdfcd6 14:52:53 Removing intermediate container 6e1f59cdfcd6 14:52:53 ---> b3efacfa6dd3 14:52:53 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:52:53 ---> Running in d57e611dc9dd 14:52:55 Removing intermediate container d57e611dc9dd 14:52:55 ---> 93649cc1f2f0 14:52:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:52:55 ---> Running in 2844efc64178 14:52:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:52:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:52:58 (1/4) Installing openssh-keygen (8.8_p1-r1) 14:52:58 (2/4) Installing libedit (20210910.3.1-r0) 14:52:58 (3/4) Installing openssh-client-common (8.8_p1-r1) 14:52:58 (4/4) Installing openssh-client-default (8.8_p1-r1) 14:52:58 Executing busybox-1.34.1-r3.trigger 14:52:58 OK: 224 MiB in 56 packages 14:52:59 Removing intermediate container 2844efc64178 14:52:59 ---> 16345d6ba8eb 14:52:59 Step 8/12 : COPY go.mod vendor* ./ 14:53:00 ---> 48c1f73c8898 14:53:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:53:00 ---> Running in c2c80a2ea171 14:53:47 Removing intermediate container c2c80a2ea171 14:53:47 ---> b10c8fc65dbd 14:53:47 Step 10/12 : COPY . . 14:53:47 ---> 8b11a97e97f8 14:53:47 Step 11/12 : ARG MAKE='make build' 14:53:47 ---> Running in 1bd0caaf80ac 14:53:47 Removing intermediate container 1bd0caaf80ac 14:53:47 ---> 3c0ee360c1c1 14:53:47 Step 12/12 : RUN $MAKE 14:53:47 ---> Running in e8f38bf71e41 14:53:47 noop 14:53:47 Removing intermediate container e8f38bf71e41 14:53:47 ---> 9502579728ae 14:53:47 Successfully built 9502579728ae 14:53:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:53:47 + docker inspect -f . ci-base-image-arm64 14:53:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:53:48 prd-ubuntu20.04-docker-arm64-4c-16g-547 does not seem to be running inside a container 14:53:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-arm64 cat 14:53:49 $ docker top 52dc373d0fdbfea4bd86e9e002e9ac337a4d4c165e5aa660372047268da7ace5 -eo pid,comm [Pipeline] { [Pipeline] sh 14:53:50 + go version 14:53:50 go version go1.17.6 linux/arm64 [Pipeline] } 14:53:50 $ docker stop --time=1 52dc373d0fdbfea4bd86e9e002e9ac337a4d4c165e5aa660372047268da7ace5 14:53:52 $ docker rm -f 52dc373d0fdbfea4bd86e9e002e9ac337a4d4c165e5aa660372047268da7ace5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:53:53 + docker inspect -f . ci-base-image-arm64 14:53:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:53:53 prd-ubuntu20.04-docker-arm64-4c-16g-547 does not seem to be running inside a container 14:53:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-arm64 cat 14:53:54 $ docker top 29491a1aaa133f0e177dd0fe22dc522b1309f9b440ad20be4b41fabdbaab75ce -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:53:55 + make test 14:53:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:53:57 ? github.com/edgexfoundry/device-virtual-go [no test files] 14:55:19 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 14:55:19 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.131s coverage: 65.7% of statements 14:55:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:55:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:55:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:55:37 ./snap/local/hooks/cmd/install/install.go 14:55:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:55:37 make: *** [Makefile:56: test] Error 1 [Pipeline] } 14:55:37 $ docker stop --time=1 29491a1aaa133f0e177dd0fe22dc522b1309f9b440ad20be4b41fabdbaab75ce 14:55:39 $ docker rm -f 29491a1aaa133f0e177dd0fe22dc522b1309f9b440ad20be4b41fabdbaab75ce [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 14:55:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:55:40 14:55:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:55:41 arm64: Pulling from edgex-lftools-log-publisher 14:55:41 8998bd30e6a1: Pulling fs layer 14:55:41 04944245beec: Pulling fs layer 14:55:41 699f458cf7ca: Pulling fs layer 14:55:41 765212b225bb: Pulling fs layer 14:55:41 f23df028b6ca: Pulling fs layer 14:55:41 d65c8cfc05b1: Pulling fs layer 14:55:41 2437ff75d9bd: Pulling fs layer 14:55:41 765212b225bb: Waiting 14:55:41 f23df028b6ca: Waiting 14:55:41 d65c8cfc05b1: Waiting 14:55:41 2437ff75d9bd: Waiting 14:55:41 04944245beec: Verifying Checksum 14:55:41 04944245beec: Download complete 14:55:41 765212b225bb: Verifying Checksum 14:55:41 765212b225bb: Download complete 14:55:41 f23df028b6ca: Verifying Checksum 14:55:41 f23df028b6ca: Download complete 14:55:41 d65c8cfc05b1: Verifying Checksum 14:55:41 d65c8cfc05b1: Download complete 14:55:41 699f458cf7ca: Verifying Checksum 14:55:41 699f458cf7ca: Download complete 14:55:42 8998bd30e6a1: Verifying Checksum 14:55:42 8998bd30e6a1: Download complete 14:55:44 2437ff75d9bd: Verifying Checksum 14:55:44 2437ff75d9bd: Download complete 14:55:46 8998bd30e6a1: Pull complete 14:55:47 04944245beec: Pull complete 14:55:48 699f458cf7ca: Pull complete 14:55:48 765212b225bb: Pull complete 14:55:49 f23df028b6ca: Pull complete 14:55:49 d65c8cfc05b1: Pull complete 14:56:04 2437ff75d9bd: Pull complete 14:56:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:56:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:56:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:56:05 prd-ubuntu20.04-docker-arm64-4c-16g-547 does not seem to be running inside a container 14:56:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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:arm64 cat 14:56:07 $ docker top 8ece25f6ae00d15b1475f1093e4405c89ddac713922de2ccb4fa2ca1d38bef90 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:56:08 ---> job-cost.sh 14:56:08 lf-activate-venv: SKIPPING 14:56:08 INFO: No Stack... 14:56:09 INFO: Retrieving Pricing Info for: v3-standard-4 14:56:10 INFO: Archiving Costs [Pipeline] sh 14:56:10 + cut -d, -f6 14:56:10 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 14:56:10 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-1-stack-cost] 14:56:10 Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-1-stack-cost] did not exist. Created. 14:56:10 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:56:11 /w/workspace/device-virtual-go/1@tmp/durable-43dd49e7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:56:12 + echo total: 0.10999999940395355 [Pipeline] stash 14:56:12 Warning: overwriting stash ‘stack-cost’ 14:56:12 Stashed 1 file(s) [Pipeline] } 14:56:12 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:56:13 $ docker stop --time=1 8ece25f6ae00d15b1475f1093e4405c89ddac713922de2ccb4fa2ca1d38bef90 14:56:14 $ docker rm -f 8ece25f6ae00d15b1475f1093e4405c89ddac713922de2ccb4fa2ca1d38bef90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:56:15 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 14:56:17 + [ -d /w/workspace/foundry_device-virtual-go_PR-287/archives ] 14:56:17 + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives 14:56:17 total 16 14:56:17 drwxr-xr-x 3 root root 4096 Jun 1 14:50 . 14:56:17 drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 14:51 .. 14:56:17 drwxr-xr-x 2 root root 4096 Jun 1 14:50 cost 14:56:17 -rw-r--r-- 1 root root 88 Jun 1 14:50 cost.csv 14:56:17 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-287/archives 14:56:17 + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives 14:56:17 total 16 14:56:17 drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 14:50 . 14:56:17 drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 14:51 .. 14:56:17 drwxr-xr-x 2 jenkins jenkins 4096 Jun 1 14:50 cost 14:56:17 -rw-r--r-- 1 jenkins jenkins 88 Jun 1 14:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:56:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:56:18 ---> package-listing.sh 14:56:18 ++ facter osfamily 14:56:18 ++ tr '[:upper:]' '[:lower:]' 14:56:18 + OS_FAMILY=debian 14:56:18 + workspace=/w/workspace/foundry_device-virtual-go_PR-287 14:56:18 + START_PACKAGES=/tmp/packages_start.txt 14:56:18 + END_PACKAGES=/tmp/packages_end.txt 14:56:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:56:18 + PACKAGES=/tmp/packages_start.txt 14:56:18 + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' 14:56:18 + PACKAGES=/tmp/packages_end.txt 14:56:18 + case "${OS_FAMILY}" in 14:56:18 + dpkg -l 14:56:18 + grep '^ii' 14:56:18 + '[' -f /tmp/packages_start.txt ']' 14:56:18 + '[' -f /tmp/packages_end.txt ']' 14:56:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:56:18 + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' 14:56:18 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-287/archives/ 14:56:18 + 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 14:56:18 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-287/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:56:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:56:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:56:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:56:19 prd-ubuntu20.04-docker-8c-8g-546 does not seem to be running inside a container 14:56:19 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:56:20 $ docker top ed28ea9dda7f542b609d1e308e3e95b43deab647205dd84cc3c218cbea69486f -eo pid,comm [Pipeline] { [Pipeline] sh 14:56:20 + touch /tmp/pre-build-complete [Pipeline] sh 14:56:20 + mkdir -p /var/log/sysstat [Pipeline] sh 14:56:21 + ls /var/log/sa-host 14:56:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:56:21 provisioning config files... 14:56:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config6029284762187594262tmp [Pipeline] { [Pipeline] echo 14:56:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:56:21 ---> create-netrc.sh [Pipeline] } 14:56:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:56:22 ---> python-tools-install.sh [Pipeline] echo 14:56:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:56:22 ---> sudo-logs.sh 14:56:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:56:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:56:23 ---> job-cost.sh 14:56:23 lf-activate-venv: SKIPPING 14:56:23 DEBUG: total: 0.2199999988079071 14:56:23 INFO: Retrieving Stack Cost... 14:56:24 INFO: Retrieving Pricing Info for: v3-standard-8 14:56:24 INFO: Archiving Costs [Pipeline] echo 14:56:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:56:24 ---> logs-deploy.sh 14:56:24 lf-activate-venv: SKIPPING 14:56:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-287/1 14:56:24 INFO: archiving workspace using pattern(s): 14:56:25 Archives upload complete. 14:56:25 INFO: archiving logs to Nexus