Pull request #349 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 67889091cb81185fd3969e397047746b60127084+668751ae10c747c3d9f58507713cbcf82909e340 (2c739349ef620d6c73291a22c6199b21a4d325d6) 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-ssh2310116741134046206.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh8501592660803773523.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-349/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-349/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7507397860072691166.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-349/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1139370379272207351.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh4314351818812522892.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-349/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-349/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10148940983051589199.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7564 in /w/workspace/foundry_device-virtual-go_PR-349 [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-349 # 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 > 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/349/head:refs/remotes/origin/PR-349 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 668751ae10c747c3d9f58507713cbcf82909e340 into PR head commit 67889091cb81185fd3969e397047746b60127084 Merge succeeded, producing 67889091cb81185fd3969e397047746b60127084 Checking out Revision 67889091cb81185fd3969e397047746b60127084 (PR-349) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:59:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 67889091cb81185fd3969e397047746b60127084 # 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 668751ae10c747c3d9f58507713cbcf82909e340 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 67889091cb81185fd3969e397047746b60127084 # timeout=10 [Pipeline] withCredentials 11:59:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:59:29 ========================================================= 11:59:29 EdgeX Global Pipelines Version Info 11:59:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:59:30 ------------------- 11:59:30 stable info: 11:59:30 ------------------- 11:59:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:59:30 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 11:59:30 Message: update stable to v1.0.244 11:59:30 ------------------- 11:59:30 experimental info: 11:59:30 ------------------- 11:59:30 Commited By: **** collab-it+edgex@linuxfoundation.org 11:59:30 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 11:59:30 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:59:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:59:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:59:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:59:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-349 [Pipeline] echo 11:59:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-349 [Pipeline] echo 11:59:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-349 [Pipeline] echo 11:59:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 67889091cb81185fd3969e397047746b60127084 [Pipeline] echo 11:59:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6788909 [Pipeline] echo 11:59:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:59:32 provisioning config files... 11:59:32 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-349@tmp/config15255041135350357100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:59:32 ---> docker-login.sh 11:59:32 nexus3.edgexfoundry.org:10001 11:59:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:33 Configure a credential helper to remove this warning. See 11:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:33 11:59:33 Login Succeeded 11:59:33 nexus3.edgexfoundry.org:10002 11:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:33 Configure a credential helper to remove this warning. See 11:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:33 11:59:33 Login Succeeded 11:59:33 nexus3.edgexfoundry.org:10003 11:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:33 Configure a credential helper to remove this warning. See 11:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:33 11:59:33 Login Succeeded 11:59:33 nexus3.edgexfoundry.org:10004 11:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:33 Configure a credential helper to remove this warning. See 11:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:33 11:59:33 Login Succeeded 11:59:33 docker.io 11:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:33 Configure a credential helper to remove this warning. See 11:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:33 11:59:33 Login Succeeded 11:59:33 ---> docker-login.sh ends [Pipeline] } 11:59:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:59:34 + git rev-list -1 --merges 67889091cb81185fd3969e397047746b60127084~1..67889091cb81185fd3969e397047746b60127084 [Pipeline] echo 11:59:34 -----------> git rev-list -1 --merges 67889091cb81185fd3969e397047746b60127084~1..67889091cb81185fd3969e397047746b60127084 67889091cb81185fd3969e397047746b60127084 [false] [Pipeline] sh 11:59:34 + git log --format=format:%s -1 67889091cb81185fd3969e397047746b60127084 [Pipeline] echo 11:59:34 ========================================================= 11:59:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:59:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:59:35 + git log --format=format:%s -1 67889091cb81185fd3969e397047746b60127084 [Pipeline] echo 11:59:35 [semverPrep] GIT_COMMIT: 67889091cb81185fd3969e397047746b60127084, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 11:59:35 [semverPrep] This is not a build commit. [Pipeline] sh 11:59:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:59:35 + grep -v github /etc/ssh/ssh_known_hosts 11:59:35 + [ -e /tmp/ssh_known_hosts ] 11:59:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:59:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:59:35 + sudo tee -a /etc/ssh/ssh_known_hosts 11:59:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:59:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:59:35 11:59:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:59:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:59:36 0.1.4: Pulling from edgex-devops/py-git-semver 11:59:36 b85a868b505f: Pulling fs layer 11:59:36 e2be974225ed: Pulling fs layer 11:59:36 339a4e72a1f5: Pulling fs layer 11:59:36 988bab9f4d93: Pulling fs layer 11:59:36 1469e6f7b9e6: Pulling fs layer 11:59:36 eaf3925da568: Pulling fs layer 11:59:36 bab4dde63d76: Pulling fs layer 11:59:36 bde34c3a00c8: Pulling fs layer 11:59:36 b352a97aabf1: Pulling fs layer 11:59:36 4872d77fe225: Pulling fs layer 11:59:36 5851b861e8e6: Pulling fs layer 11:59:36 bab4dde63d76: Waiting 11:59:36 bde34c3a00c8: Waiting 11:59:36 b352a97aabf1: Waiting 11:59:36 4872d77fe225: Waiting 11:59:36 5851b861e8e6: Waiting 11:59:36 1469e6f7b9e6: Waiting 11:59:36 988bab9f4d93: Waiting 11:59:36 eaf3925da568: Waiting 11:59:36 e2be974225ed: Verifying Checksum 11:59:36 e2be974225ed: Download complete 11:59:36 988bab9f4d93: Verifying Checksum 11:59:36 988bab9f4d93: Download complete 11:59:36 1469e6f7b9e6: Verifying Checksum 11:59:36 1469e6f7b9e6: Download complete 11:59:36 eaf3925da568: Download complete 11:59:36 339a4e72a1f5: Verifying Checksum 11:59:36 339a4e72a1f5: Download complete 11:59:36 bde34c3a00c8: Download complete 11:59:36 b352a97aabf1: Verifying Checksum 11:59:36 b352a97aabf1: Download complete 11:59:36 4872d77fe225: Download complete 11:59:36 5851b861e8e6: Verifying Checksum 11:59:36 5851b861e8e6: Download complete 11:59:36 b85a868b505f: Download complete 11:59:36 bab4dde63d76: Verifying Checksum 11:59:36 bab4dde63d76: Download complete 11:59:37 b85a868b505f: Pull complete 11:59:38 e2be974225ed: Pull complete 11:59:38 339a4e72a1f5: Pull complete 11:59:38 988bab9f4d93: Pull complete 11:59:38 1469e6f7b9e6: Pull complete 11:59:38 eaf3925da568: Pull complete 11:59:40 bab4dde63d76: Pull complete 11:59:40 bde34c3a00c8: Pull complete 11:59:40 b352a97aabf1: Pull complete 11:59:40 4872d77fe225: Pull complete 11:59:40 5851b861e8e6: Pull complete 11:59:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:59:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:59:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:59:40 prd-ubuntu20.04-docker-8c-8g-7564 does not seem to be running inside a container 11:59:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-349 -v /w/workspace/foundry_device-virtual-go_PR-349:/w/workspace/foundry_device-virtual-go_PR-349:rw,z -v /w/workspace/foundry_device-virtual-go_PR-349@tmp:/w/workspace/foundry_device-virtual-go_PR-349@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:59:43 $ docker top 7fd0eb6e186633f2d3c442dba07f9ea6f6b4dc0a2053f7271808e4423bbc37e3 -eo pid,comm 11:59:43 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). 11:59:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:59:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:59:43 [ssh-agent] Looking for ssh-agent implementation... 11:59:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:59:43 $ docker exec 7fd0eb6e186633f2d3c442dba07f9ea6f6b4dc0a2053f7271808e4423bbc37e3 ssh-agent 11:59:44 SSH_AUTH_SOCK=/tmp/ssh-ZfSxw8l33oZ3/agent.34 11:59:44 SSH_AGENT_PID=40 11:59:44 Running ssh-add (command line suppressed) 11:59:44 Identity added: /w/workspace/foundry_device-virtual-go_PR-349@tmp/private_key_12086810640194063177.key (/w/workspace/foundry_device-virtual-go_PR-349@tmp/private_key_12086810640194063177.key) 11:59:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:59:44 + git tag --points-at HEAD [Pipeline] } 11:59:44 $ docker exec --env ******** --env ******** 7fd0eb6e186633f2d3c442dba07f9ea6f6b4dc0a2053f7271808e4423bbc37e3 ssh-agent -k 11:59:44 unset SSH_AUTH_SOCK; 11:59:44 unset SSH_AGENT_PID; 11:59:44 echo Agent pid 40 killed; 11:59:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:59:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:59:44 [ssh-agent] Looking for ssh-agent implementation... 11:59:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:59:44 $ docker exec 7fd0eb6e186633f2d3c442dba07f9ea6f6b4dc0a2053f7271808e4423bbc37e3 ssh-agent 11:59:45 SSH_AUTH_SOCK=/tmp/ssh-uYvT4UpbLJQd/agent.72 11:59:45 SSH_AGENT_PID=78 11:59:45 Running ssh-add (command line suppressed) 11:59:45 Identity added: /w/workspace/foundry_device-virtual-go_PR-349@tmp/private_key_7583637031717553232.key (/w/workspace/foundry_device-virtual-go_PR-349@tmp/private_key_7583637031717553232.key) 11:59:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:59:45 + git semver init 11:59:45 2023-02-27 11:59:45,660 [run_init] DEBUG init version:0.0.0 force:False 11:59:45 2023-02-27 11:59:45,661 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-349/.semver 11:59:45 2023-02-27 11:59:45,661 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-349/.semver 11:59:45 2023-02-27 11:59:45,661 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-349/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-349, universal_newlines=False, shell=None, istream=None) 11:59:47 2023-02-27 11:59:46,906 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-349/.git/info/exclude 11:59:47 2023-02-27 11:59:46,906 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-349/.semver/PR-349 with force:False 11:59:47 2023-02-27 11:59:46,907 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-349/.semver/PR-349 11:59:47 2023-02-27 11:59:46,910 [execute] INFO git cat-file --batch-check 11:59:47 2023-02-27 11:59:46,910 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-349/.semver, universal_newlines=False, shell=None, istream=) 11:59:47 2023-02-27 11:59:46,915 [execute] INFO git cat-file --batch 11:59:47 2023-02-27 11:59:46,916 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-349/.semver, universal_newlines=False, shell=None, istream=) 11:59:47 2023-02-27 11:59:46,920 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-349/.semver/PR-349 11:59:47 0.0.0 [Pipeline] } 11:59:47 $ docker exec --env ******** --env ******** 7fd0eb6e186633f2d3c442dba07f9ea6f6b4dc0a2053f7271808e4423bbc37e3 ssh-agent -k 11:59:47 unset SSH_AUTH_SOCK; 11:59:47 unset SSH_AGENT_PID; 11:59:47 echo Agent pid 78 killed; 11:59:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:59:47 + git semver [Pipeline] } 11:59:48 $ docker stop --time=1 7fd0eb6e186633f2d3c442dba07f9ea6f6b4dc0a2053f7271808e4423bbc37e3 11:59:49 $ docker rm -f --volumes 7fd0eb6e186633f2d3c442dba07f9ea6f6b4dc0a2053f7271808e4423bbc37e3 [Pipeline] // withDockerContainer [Pipeline] sh 11:59:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:59:49 Stashed 1 file(s) [Pipeline] echo 11:59:50 [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 11:59:50 provisioning config files... 11:59:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-349@tmp/config16129127580901995367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:59:50 ---> docker-login.sh 11:59:50 nexus3.edgexfoundry.org:10001 11:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:50 Configure a credential helper to remove this warning. See 11:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:50 11:59:50 Login Succeeded 11:59:50 nexus3.edgexfoundry.org:10002 11:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:50 Configure a credential helper to remove this warning. See 11:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:50 11:59:50 Login Succeeded 11:59:50 nexus3.edgexfoundry.org:10003 11:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:51 Configure a credential helper to remove this warning. See 11:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:51 11:59:51 Login Succeeded 11:59:51 nexus3.edgexfoundry.org:10004 11:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:51 Configure a credential helper to remove this warning. See 11:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:51 11:59:51 Login Succeeded 11:59:51 docker.io 11:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:51 Configure a credential helper to remove this warning. See 11:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:51 11:59:51 Login Succeeded 11:59:51 ---> docker-login.sh ends [Pipeline] } 11:59:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:59:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:59:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:59:51 ========================================================= 11:59:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 11:59:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:59:52 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 11:59:52 Sending build context to Docker daemon 23.4MB 11:59:52 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 11:59:52 Step 2/12 : FROM ${BASE} AS builder 11:59:52 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 11:59:52 213ec9aee27d: Pulling fs layer 11:59:52 4583459ba037: Pulling fs layer 11:59:52 93c1e223e6f2: Pulling fs layer 11:59:52 53926ce57604: Pulling fs layer 11:59:52 21b2b0c7a3f4: Pulling fs layer 11:59:52 22ff95d597cd: Pulling fs layer 11:59:52 12d6caf4c0d1: Pulling fs layer 11:59:52 96b7cbca73a9: Pulling fs layer 11:59:52 a7acece74701: Pulling fs layer 11:59:52 22ff95d597cd: Waiting 11:59:52 12d6caf4c0d1: Waiting 11:59:52 96b7cbca73a9: Waiting 11:59:52 a7acece74701: Waiting 11:59:52 53926ce57604: Waiting 11:59:52 93c1e223e6f2: Verifying Checksum 11:59:52 93c1e223e6f2: Download complete 11:59:52 4583459ba037: Verifying Checksum 11:59:52 4583459ba037: Download complete 11:59:52 21b2b0c7a3f4: Verifying Checksum 11:59:52 21b2b0c7a3f4: Download complete 11:59:52 22ff95d597cd: Verifying Checksum 11:59:52 22ff95d597cd: Download complete 11:59:52 213ec9aee27d: Download complete 11:59:52 12d6caf4c0d1: Download complete 11:59:52 213ec9aee27d: Pull complete 11:59:52 4583459ba037: Pull complete 11:59:53 93c1e223e6f2: Pull complete 11:59:53 a7acece74701: Verifying Checksum 11:59:53 a7acece74701: Download complete 11:59:53 53926ce57604: Verifying Checksum 11:59:53 53926ce57604: Download complete 11:59:53 96b7cbca73a9: Verifying Checksum 11:59:53 96b7cbca73a9: Download complete 11:59:57 53926ce57604: Pull complete 11:59:57 21b2b0c7a3f4: Pull complete 11:59:57 22ff95d597cd: Pull complete 11:59:57 12d6caf4c0d1: Pull complete 11:59:58 96b7cbca73a9: Pull complete 11:59:59 a7acece74701: Pull complete 11:59:59 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 11:59:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 11:59:59 ---> db6d94c90886 11:59:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:00:03 ---> Running in 09821856efbe 12:00:04 Removing intermediate container 09821856efbe 12:00:04 ---> 59c30236c257 12:00:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:00:04 ---> Running in 4c9ed9005138 12:00:04 Removing intermediate container 4c9ed9005138 12:00:04 ---> e452ac702c6b 12:00:04 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:00:04 ---> Running in f15042db7828 12:00:04 Removing intermediate container f15042db7828 12:00:04 ---> f7af894430ac 12:00:04 Step 6/12 : WORKDIR /device-virtual-go 12:00:04 ---> Running in b294d5087a41 12:00:04 Removing intermediate container b294d5087a41 12:00:04 ---> 0315870e1b27 12:00:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:00:04 ---> Running in 672db269a3bf 12:00:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:00:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:00:05 (1/4) Installing openssh-keygen (9.0_p1-r2) 12:00:05 (2/4) Installing libedit (20210910.3.1-r0) 12:00:05 (3/4) Installing openssh-client-common (9.0_p1-r2) 12:00:05 (4/4) Installing openssh-client-default (9.0_p1-r2) 12:00:05 Executing busybox-1.35.0-r17.trigger 12:00:05 OK: 216 MiB in 55 packages 12:00:05 Still waiting to schedule task 12:00:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:00:05 Removing intermediate container 672db269a3bf 12:00:05 ---> f1ff520c862b 12:00:05 Step 8/12 : COPY go.mod vendor* ./ 12:00:05 ---> 50071830452c 12:00:05 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:00:05 ---> Running in 364d429ae934 12:00:32 Removing intermediate container 364d429ae934 12:00:32 ---> 587d879fa7f6 12:00:32 Step 10/12 : COPY . . 12:00:32 ---> ca81beb9cee6 12:00:32 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:00:32 ---> Running in 2e068cd079c3 12:00:32 Removing intermediate container 2e068cd079c3 12:00:32 ---> a2a220ee76ac 12:00:32 Step 12/12 : RUN $MAKE 12:00:32 ---> Running in 2d243f829a67 12:00:32 noop 12:00:32 Removing intermediate container 2d243f829a67 12:00:32 ---> 47dea249e106 12:00:32 Successfully built 47dea249e106 12:00:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:32 + docker inspect -f . ci-base-image-x86_64 12:00:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:00:32 prd-ubuntu20.04-docker-8c-8g-7564 does not seem to be running inside a container 12:00:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-349 -v /w/workspace/foundry_device-virtual-go_PR-349:/w/workspace/foundry_device-virtual-go_PR-349:rw,z -v /w/workspace/foundry_device-virtual-go_PR-349@tmp:/w/workspace/foundry_device-virtual-go_PR-349@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 ******** ci-base-image-x86_64 cat 12:00:33 $ docker top d39acadcf49f91cee3afe81154b0aabf3e9ccefd0481fa42ad12d0a2e5033cc0 -eo pid,comm [Pipeline] { [Pipeline] sh 12:00:33 + go version 12:00:33 go version go1.18.7 linux/amd64 [Pipeline] } 12:00:33 $ docker stop --time=1 d39acadcf49f91cee3afe81154b0aabf3e9ccefd0481fa42ad12d0a2e5033cc0 12:00:34 $ docker rm -f --volumes d39acadcf49f91cee3afe81154b0aabf3e9ccefd0481fa42ad12d0a2e5033cc0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:35 + docker inspect -f . ci-base-image-x86_64 12:00:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:00:35 prd-ubuntu20.04-docker-8c-8g-7564 does not seem to be running inside a container 12:00:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-349 -v /w/workspace/foundry_device-virtual-go_PR-349:/w/workspace/foundry_device-virtual-go_PR-349:rw,z -v /w/workspace/foundry_device-virtual-go_PR-349@tmp:/w/workspace/foundry_device-virtual-go_PR-349@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 ******** ci-base-image-x86_64 cat 12:00:36 $ docker top bbded9e928a06462ff19694be2ba12ff46ca62ff7b8ae2a3a42029cd0a817cef -eo pid,comm [Pipeline] { [Pipeline] sh 12:00:36 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-349 [Pipeline] fileExists [Pipeline] sh 12:00:36 + make test 12:00:36 go test ./... -coverprofile=coverage.out 12:00:37 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:00:45 # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 12:00:45 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:76:36: not enough arguments in call to clients.NewEventClient 12:00:45 have (string) 12:00:45 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 12:00:45 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:82:37: not enough arguments in call to clients.NewDeviceClient 12:00:45 have (string) 12:00:45 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 12:00:45 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:85:44: not enough arguments in call to clients.NewDeviceServiceClient 12:00:45 have (string) 12:00:45 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 12:00:45 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:88:44: not enough arguments in call to clients.NewDeviceProfileClient 12:00:45 have (string) 12:00:45 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 12:00:45 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:91:47: not enough arguments in call to clients.NewProvisionWatcherClient 12:00:45 have (string) 12:00:45 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 12:00:45 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:118:39: not enough arguments in call to clients.NewCommandClient 12:00:45 have (string) 12:00:45 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 12:00:45 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:130:43: not enough arguments in call to clients.NewNotificationClient 12:00:45 have (string) 12:00:45 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 12:00:45 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:133:43: not enough arguments in call to clients.NewSubscriptionClient 12:00:45 have (string) 12:00:45 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 12:00:45 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:140:39: not enough arguments in call to clients.NewIntervalClient 12:00:45 have (string) 12:00:45 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 12:00:45 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:143:45: not enough arguments in call to clients.NewIntervalActionClient 12:00:45 have (string) 12:00:45 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 12:00:45 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:143:45: too many errors 12:00:45 FAIL github.com/edgexfoundry/device-virtual-go/internal/driver [build failed] 12:00:45 make: *** [Makefile:30: unittest] Error 2 [Pipeline] } 12:00:45 $ docker stop --time=1 bbded9e928a06462ff19694be2ba12ff46ca62ff7b8ae2a3a42029cd0a817cef 12:00:47 $ docker rm -f --volumes bbded9e928a06462ff19694be2ba12ff46ca62ff7b8ae2a3a42029cd0a817cef [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 12:00:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:00:48 12:00:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:00:48 latest: Pulling from edgex-lftools-log-publisher 12:00:48 5eb5b503b376: Pulling fs layer 12:00:48 5c69ac0246d0: Pulling fs layer 12:00:48 ec43610c2a17: Pulling fs layer 12:00:48 3a2ae6a8a46f: Pulling fs layer 12:00:48 33b1e0a273af: Pulling fs layer 12:00:48 5d3b04190fa2: Pulling fs layer 12:00:48 2f39f015ded8: Pulling fs layer 12:00:48 3a2ae6a8a46f: Waiting 12:00:48 5d3b04190fa2: Waiting 12:00:48 33b1e0a273af: Waiting 12:00:48 2f39f015ded8: Waiting 12:00:48 5c69ac0246d0: Verifying Checksum 12:00:48 5c69ac0246d0: Download complete 12:00:48 3a2ae6a8a46f: Verifying Checksum 12:00:48 3a2ae6a8a46f: Download complete 12:00:49 33b1e0a273af: Verifying Checksum 12:00:49 33b1e0a273af: Download complete 12:00:49 ec43610c2a17: Verifying Checksum 12:00:49 ec43610c2a17: Download complete 12:00:49 5d3b04190fa2: Verifying Checksum 12:00:49 5d3b04190fa2: Download complete 12:00:49 5eb5b503b376: Verifying Checksum 12:00:49 5eb5b503b376: Download complete 12:00:49 2f39f015ded8: Verifying Checksum 12:00:49 2f39f015ded8: Download complete 12:00:50 5eb5b503b376: Pull complete 12:00:50 5c69ac0246d0: Pull complete 12:00:50 ec43610c2a17: Pull complete 12:00:50 3a2ae6a8a46f: Pull complete 12:00:50 33b1e0a273af: Pull complete 12:00:50 5d3b04190fa2: Pull complete 12:00:55 2f39f015ded8: Pull complete 12:00:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:00:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:00:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:00:55 prd-ubuntu20.04-docker-8c-8g-7564 does not seem to be running inside a container 12:00:55 $ 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-349 -v /w/workspace/foundry_device-virtual-go_PR-349:/w/workspace/foundry_device-virtual-go_PR-349:rw,z -v /w/workspace/foundry_device-virtual-go_PR-349@tmp:/w/workspace/foundry_device-virtual-go_PR-349@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-lftools-log-publisher:latest cat 12:00:58 $ docker top c7748c8a41daa19007f6a47085352be9b8efa82812159b648ad430230509cf49 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:00:59 ---> job-cost.sh 12:00:59 lf-activate-venv: SKIPPING 12:00:59 INFO: No Stack... 12:00:59 INFO: Retrieving Pricing Info for: v3-standard-8 12:00:59 INFO: Archiving Costs [Pipeline] sh 12:00:59 + cat /w/workspace/foundry_device-virtual-go_PR-349/archives/cost.csv 12:00:59 + cut -d, -f6 [Pipeline] lock 12:01:00 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-349-1-stack-cost] 12:01:00 Resource [jenkins-edgexfoundry-device-virtual-go-PR-349-1-stack-cost] did not exist. Created. 12:01:00 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-349-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:01:00 + echo total: 0.2199999988079071 [Pipeline] stash 12:01:00 Stashed 1 file(s) [Pipeline] } 12:01:00 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-349-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:01:00 $ docker stop --time=1 c7748c8a41daa19007f6a47085352be9b8efa82812159b648ad430230509cf49 12:01:01 $ docker rm -f --volumes c7748c8a41daa19007f6a47085352be9b8efa82812159b648ad430230509cf49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:01:02 Failed in branch amd64 12:02:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7566 in /w/workspace/foundry_device-virtual-go_PR-349 [Pipeline] { [Pipeline] ws 12:02:21 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 12:02:21 The recommended git tool is: git 12:02:28 using credential edgex-jenkins-ssh 12:02:28 Cloning the remote Git repository 12:02:28 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 12:02:28 > git init /w/workspace/device-virtual-go/1 # timeout=10 12:02:28 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 12:02:28 > git --version # timeout=10 12:02:28 > git --version # 'git version 2.25.1' 12:02:28 using GIT_SSH to set credentials SSH Credentials for GitHub 12:02:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:02:30 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 12:02:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:02:31 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 12:02:31 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 12:02:31 using GIT_SSH to set credentials SSH Credentials for GitHub 12:02:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/349/head:refs/remotes/origin/PR-349 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:02:32 Merging remotes/origin/main commit 668751ae10c747c3d9f58507713cbcf82909e340 into PR head commit 67889091cb81185fd3969e397047746b60127084 12:02:32 Merge succeeded, producing 67889091cb81185fd3969e397047746b60127084 12:02:32 Checking out Revision 67889091cb81185fd3969e397047746b60127084 (PR-349) 12:02:32 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 12:02:33 > git --version # timeout=10 12:02:33 > git --version # 'git version 2.25.1' 12:02:33 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:02:32 > git config core.sparsecheckout # timeout=10 12:02:32 > git checkout -f 67889091cb81185fd3969e397047746b60127084 # timeout=10 12:02:32 > git remote # timeout=10 12:02:32 > git config --get remote.origin.url # timeout=10 12:02:32 using GIT_SSH to set credentials SSH Credentials for GitHub 12:02:32 > git merge 668751ae10c747c3d9f58507713cbcf82909e340 # timeout=10 12:02:32 > git rev-parse HEAD^{commit} # timeout=10 12:02:32 > git config core.sparsecheckout # timeout=10 12:02:32 > git checkout -f 67889091cb81185fd3969e397047746b60127084 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:02:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:02:34 % Total % Received % Xferd Average Speed Time Time Time Current 12:02:34 Dload Upload Total Spent Left Speed 12:02:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 12:02:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:02:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:02:35 + sudo tee /etc/docker/daemon.new 12:02:35 { 12:02:35 "registry-mirrors": [ 12:02:35 "https://nexus3.edgexfoundry.org:10001" 12:02:35 ], 12:02:35 "bip": "10.250.0.254/24", 12:02:35 "hosts": [ 12:02:35 "tcp://0.0.0.0:5555", 12:02:35 "unix:///var/run/docker.sock" 12:02:35 ], 12:02:35 "mtu": 1458, 12:02:35 "selinux-enabled": true, 12:02:35 "seccomp-profile": "/etc/docker/seccomp.json" 12:02:35 } [Pipeline] sh 12:02:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:02:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:02:54 provisioning config files... 12:02:54 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config16474000383123501108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:02:54 ---> docker-login.sh 12:02:54 nexus3.edgexfoundry.org:10001 12:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:55 Configure a credential helper to remove this warning. See 12:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:55 12:02:55 Login Succeeded 12:02:55 nexus3.edgexfoundry.org:10002 12:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:55 Configure a credential helper to remove this warning. See 12:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:55 12:02:55 Login Succeeded 12:02:55 nexus3.edgexfoundry.org:10003 12:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:56 Configure a credential helper to remove this warning. See 12:02:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:56 12:02:56 Login Succeeded 12:02:56 nexus3.edgexfoundry.org:10004 12:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:56 Configure a credential helper to remove this warning. See 12:02:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:56 12:02:56 Login Succeeded 12:02:56 docker.io 12:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:57 Configure a credential helper to remove this warning. See 12:02:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:57 12:02:57 Login Succeeded 12:02:57 ---> docker-login.sh ends [Pipeline] } 12:02:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:02:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:02:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:02:57 ========================================================= 12:02:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 12:02:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 12:02:58 Sending build context to Docker daemon 11.85MB 12:02:58 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:02:58 Step 2/12 : FROM ${BASE} AS builder 12:02:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:02:58 9b18e9b68314: Pulling fs layer 12:02:58 35d82f9e3411: Pulling fs layer 12:02:58 e16973657156: Pulling fs layer 12:02:58 fc693d55d65f: Pulling fs layer 12:02:58 7e9fc2657dce: Pulling fs layer 12:02:58 dda99020689f: Pulling fs layer 12:02:58 db1c61fa0a46: Pulling fs layer 12:02:58 891c053d2c06: Pulling fs layer 12:02:58 fc693d55d65f: Waiting 12:02:58 db1c61fa0a46: Waiting 12:02:58 7e9fc2657dce: Waiting 12:02:58 dda99020689f: Waiting 12:02:58 891c053d2c06: Waiting 12:02:58 e16973657156: Verifying Checksum 12:02:58 e16973657156: Download complete 12:02:58 35d82f9e3411: Verifying Checksum 12:02:58 35d82f9e3411: Download complete 12:02:58 7e9fc2657dce: Download complete 12:02:58 dda99020689f: Verifying Checksum 12:02:58 dda99020689f: Download complete 12:02:58 9b18e9b68314: Verifying Checksum 12:02:58 9b18e9b68314: Download complete 12:02:59 9b18e9b68314: Pull complete 12:03:00 891c053d2c06: Verifying Checksum 12:03:00 891c053d2c06: Download complete 12:03:00 35d82f9e3411: Pull complete 12:03:00 e16973657156: Pull complete 12:03:01 db1c61fa0a46: Verifying Checksum 12:03:01 db1c61fa0a46: Download complete 12:03:02 fc693d55d65f: Verifying Checksum 12:03:02 fc693d55d65f: Download complete 12:03:14 fc693d55d65f: Pull complete 12:03:14 7e9fc2657dce: Pull complete 12:03:14 dda99020689f: Pull complete 12:03:21 db1c61fa0a46: Pull complete 12:03:21 891c053d2c06: Pull complete 12:03:21 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 12:03:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 12:03:21 ---> f96f9c87975a 12:03:21 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:03:23 ---> Running in 2645e41c0a0d 12:03:24 Removing intermediate container 2645e41c0a0d 12:03:24 ---> 8e23dab89b4c 12:03:24 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:03:24 ---> Running in c3aa8471d660 12:03:24 Removing intermediate container c3aa8471d660 12:03:24 ---> 8a8bf20f0dca 12:03:24 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:03:24 ---> Running in bb4b12ad2b1e 12:03:24 Removing intermediate container bb4b12ad2b1e 12:03:24 ---> 69caff98c48a 12:03:24 Step 6/12 : WORKDIR /device-virtual-go 12:03:25 ---> Running in 7dff3c60538b 12:03:25 Removing intermediate container 7dff3c60538b 12:03:25 ---> 1bb0853466c2 12:03:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:03:25 ---> Running in 74246e3b4a65 12:03:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:03:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:03:28 (1/4) Installing openssh-keygen (9.0_p1-r2) 12:03:28 (2/4) Installing libedit (20210910.3.1-r0) 12:03:28 (3/4) Installing openssh-client-common (9.0_p1-r2) 12:03:28 (4/4) Installing openssh-client-default (9.0_p1-r2) 12:03:28 Executing busybox-1.35.0-r17.trigger 12:03:28 OK: 226 MiB in 55 packages 12:03:29 Removing intermediate container 74246e3b4a65 12:03:29 ---> c2762dd4223e 12:03:29 Step 8/12 : COPY go.mod vendor* ./ 12:03:29 ---> 075baaa5d3de 12:03:29 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:03:29 ---> Running in b64c3e95a88b 12:04:37 Removing intermediate container b64c3e95a88b 12:04:37 ---> 9a9c0f7b3c3e 12:04:37 Step 10/12 : COPY . . 12:04:37 ---> f8291997c7a2 12:04:37 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:04:37 ---> Running in dfe0d5d8a715 12:04:37 Removing intermediate container dfe0d5d8a715 12:04:37 ---> f0d2822300d5 12:04:37 Step 12/12 : RUN $MAKE 12:04:37 ---> Running in ae26029d4c32 12:04:37 noop 12:04:37 Removing intermediate container ae26029d4c32 12:04:37 ---> 8b2a9ed43718 12:04:37 Successfully built 8b2a9ed43718 12:04:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:38 + docker inspect -f . ci-base-image-arm64 12:04:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:04:38 prd-ubuntu20.04-docker-arm64-4c-16g-7566 does not seem to be running inside a container 12:04:38 $ 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 ******** ci-base-image-arm64 cat 12:04:39 $ docker top 931e74ddab1360a191852a1d023bc659f1bc25fa830b6cd203426974b045a5ec -eo pid,comm [Pipeline] { [Pipeline] sh 12:04:40 + go version 12:04:40 go version go1.18.7 linux/arm64 [Pipeline] } 12:04:40 $ docker stop --time=1 931e74ddab1360a191852a1d023bc659f1bc25fa830b6cd203426974b045a5ec 12:04:42 $ docker rm -f --volumes 931e74ddab1360a191852a1d023bc659f1bc25fa830b6cd203426974b045a5ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:43 + docker inspect -f . ci-base-image-arm64 12:04:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:04:43 prd-ubuntu20.04-docker-arm64-4c-16g-7566 does not seem to be running inside a container 12:04:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** ci-base-image-arm64 cat 12:04:44 $ docker top ac4096dff63f5b69ceab7bca9f4cd9805bb97e24b18ba7af4ab42b4a204d81ae -eo pid,comm [Pipeline] { [Pipeline] sh 12:04:45 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 12:04:46 + make test 12:04:46 go test ./... -coverprofile=coverage.out 12:04:48 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:06:10 # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 12:06:10 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:76:36: not enough arguments in call to clients.NewEventClient 12:06:10 have (string) 12:06:10 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 12:06:10 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:82:37: not enough arguments in call to clients.NewDeviceClient 12:06:10 have (string) 12:06:10 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 12:06:10 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:85:44: not enough arguments in call to clients.NewDeviceServiceClient 12:06:10 have (string) 12:06:10 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 12:06:10 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:88:44: not enough arguments in call to clients.NewDeviceProfileClient 12:06:10 have (string) 12:06:10 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 12:06:10 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:91:47: not enough arguments in call to clients.NewProvisionWatcherClient 12:06:10 have (string) 12:06:10 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 12:06:10 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:118:39: not enough arguments in call to clients.NewCommandClient 12:06:10 have (string) 12:06:10 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 12:06:10 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:130:43: not enough arguments in call to clients.NewNotificationClient 12:06:10 have (string) 12:06:10 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 12:06:10 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:133:43: not enough arguments in call to clients.NewSubscriptionClient 12:06:10 have (string) 12:06:10 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 12:06:10 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:140:39: not enough arguments in call to clients.NewIntervalClient 12:06:10 have (string) 12:06:10 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 12:06:10 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:143:45: not enough arguments in call to clients.NewIntervalActionClient 12:06:10 have (string) 12:06:10 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 12:06:10 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.28/bootstrap/handlers/clients.go:143:45: too many errors 12:06:10 FAIL github.com/edgexfoundry/device-virtual-go/internal/driver [build failed] 12:06:10 make: *** [Makefile:30: unittest] Error 2 [Pipeline] } 12:06:10 $ docker stop --time=1 ac4096dff63f5b69ceab7bca9f4cd9805bb97e24b18ba7af4ab42b4a204d81ae 12:06:11 $ docker rm -f --volumes ac4096dff63f5b69ceab7bca9f4cd9805bb97e24b18ba7af4ab42b4a204d81ae [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 12:06:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:06:13 12:06:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:06:14 arm64: Pulling from edgex-lftools-log-publisher 12:06:14 8998bd30e6a1: Pulling fs layer 12:06:14 04944245beec: Pulling fs layer 12:06:14 699f458cf7ca: Pulling fs layer 12:06:14 765212b225bb: Pulling fs layer 12:06:14 f23df028b6ca: Pulling fs layer 12:06:14 d65c8cfc05b1: Pulling fs layer 12:06:14 2437ff75d9bd: Pulling fs layer 12:06:14 f23df028b6ca: Waiting 12:06:14 d65c8cfc05b1: Waiting 12:06:14 2437ff75d9bd: Waiting 12:06:14 765212b225bb: Waiting 12:06:14 04944245beec: Verifying Checksum 12:06:14 04944245beec: Download complete 12:06:14 765212b225bb: Verifying Checksum 12:06:14 765212b225bb: Download complete 12:06:14 f23df028b6ca: Download complete 12:06:14 d65c8cfc05b1: Verifying Checksum 12:06:14 d65c8cfc05b1: Download complete 12:06:14 699f458cf7ca: Verifying Checksum 12:06:14 699f458cf7ca: Download complete 12:06:14 8998bd30e6a1: Verifying Checksum 12:06:14 8998bd30e6a1: Download complete 12:06:17 2437ff75d9bd: Verifying Checksum 12:06:17 2437ff75d9bd: Download complete 12:06:18 8998bd30e6a1: Pull complete 12:06:19 04944245beec: Pull complete 12:06:20 699f458cf7ca: Pull complete 12:06:20 765212b225bb: Pull complete 12:06:21 f23df028b6ca: Pull complete 12:06:22 d65c8cfc05b1: Pull complete 12:06:37 2437ff75d9bd: Pull complete 12:06:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:06:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:06:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:06:37 prd-ubuntu20.04-docker-arm64-4c-16g-7566 does not seem to be running inside a container 12:06:37 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:06:40 $ docker top 5e18b3e1622b5502d76348ccb5b4bfcf895b5e49185d14402048126a44e0eed1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:06:41 ---> job-cost.sh 12:06:41 lf-activate-venv: SKIPPING 12:06:41 INFO: No Stack... 12:06:41 INFO: Retrieving Pricing Info for: v3-standard-4 12:06:42 INFO: Archiving Costs [Pipeline] sh 12:06:43 + cut -d, -f6 12:06:43 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 12:06:43 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-349-1-stack-cost] 12:06:43 Resource [jenkins-edgexfoundry-device-virtual-go-PR-349-1-stack-cost] did not exist. Created. 12:06:43 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-349-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:06:44 /w/workspace/device-virtual-go/1@tmp/durable-9a51bf58/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:06:44 + echo total: 0.10999999940395355 [Pipeline] stash 12:06:44 Warning: overwriting stash ‘stack-cost’ 12:06:45 Stashed 1 file(s) [Pipeline] } 12:06:45 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-349-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:06:45 $ docker stop --time=1 5e18b3e1622b5502d76348ccb5b4bfcf895b5e49185d14402048126a44e0eed1 12:06:47 $ docker rm -f --volumes 5e18b3e1622b5502d76348ccb5b4bfcf895b5e49185d14402048126a44e0eed1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 12:06:48 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 12:06:49 + [ -d /w/workspace/foundry_device-virtual-go_PR-349/archives ] 12:06:49 + ls -al /w/workspace/foundry_device-virtual-go_PR-349/archives 12:06:49 total 16 12:06:49 drwxr-xr-x 3 root root 4096 Feb 27 12:00 . 12:06:49 drwxrwxr-x 10 jenkins jenkins 4096 Feb 27 12:01 .. 12:06:49 drwxr-xr-x 2 root root 4096 Feb 27 12:00 cost 12:06:49 -rw-r--r-- 1 root root 89 Feb 27 12:00 cost.csv 12:06:49 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-349/archives 12:06:49 + ls -al /w/workspace/foundry_device-virtual-go_PR-349/archives 12:06:49 total 16 12:06:49 drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 12:00 . 12:06:49 drwxrwxr-x 10 jenkins jenkins 4096 Feb 27 12:01 .. 12:06:49 drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 12:00 cost 12:06:49 -rw-r--r-- 1 jenkins jenkins 89 Feb 27 12:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:06:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:06:51 ---> package-listing.sh 12:06:51 ++ tr '[:upper:]' '[:lower:]' 12:06:51 ++ facter osfamily 12:06:51 + OS_FAMILY=debian 12:06:51 + workspace=/w/workspace/foundry_device-virtual-go_PR-349 12:06:51 + START_PACKAGES=/tmp/packages_start.txt 12:06:51 + END_PACKAGES=/tmp/packages_end.txt 12:06:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:06:51 + PACKAGES=/tmp/packages_start.txt 12:06:51 + '[' /w/workspace/foundry_device-virtual-go_PR-349 ']' 12:06:51 + PACKAGES=/tmp/packages_end.txt 12:06:51 + case "${OS_FAMILY}" in 12:06:51 + dpkg -l 12:06:51 + grep '^ii' 12:06:51 + '[' -f /tmp/packages_start.txt ']' 12:06:51 + '[' -f /tmp/packages_end.txt ']' 12:06:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:06:51 + '[' /w/workspace/foundry_device-virtual-go_PR-349 ']' 12:06:51 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-349/archives/ 12:06:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-349/archives/ [Pipeline] echo 12:06:51 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-349/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:06:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:06:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:06:52 prd-ubuntu20.04-docker-8c-8g-7564 does not seem to be running inside a container 12:06:52 $ 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-349/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-349 -v /w/workspace/foundry_device-virtual-go_PR-349:/w/workspace/foundry_device-virtual-go_PR-349:rw,z -v /w/workspace/foundry_device-virtual-go_PR-349@tmp:/w/workspace/foundry_device-virtual-go_PR-349@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-lftools-log-publisher:latest cat 12:06:52 $ docker top d052974ee2da35ddd3f3d7303e4428a8e9c664debc12151d9f620273a7928dd7 -eo pid,comm [Pipeline] { [Pipeline] sh 12:06:53 + touch /tmp/pre-build-complete [Pipeline] sh 12:06:53 + mkdir -p /var/log/sysstat [Pipeline] sh 12:06:53 + ls /var/log/sa-host 12:06:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:06:54 provisioning config files... 12:06:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-349@tmp/config2508390291445512174tmp [Pipeline] { [Pipeline] echo 12:06:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:06:54 ---> create-netrc.sh [Pipeline] } 12:06:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:06:54 ---> python-tools-install.sh [Pipeline] echo 12:06:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:06:55 ---> sudo-logs.sh 12:06:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:06:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:06:55 ---> job-cost.sh 12:06:55 lf-activate-venv: SKIPPING 12:06:55 DEBUG: total: 0.2199999988079071 12:06:55 INFO: Retrieving Stack Cost... 12:06:55 INFO: Retrieving Pricing Info for: v3-standard-8 12:06:56 INFO: Archiving Costs [Pipeline] echo 12:06:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:06:56 ---> logs-deploy.sh 12:06:56 lf-activate-venv: SKIPPING 12:06:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-349/1 12:06:56 INFO: archiving workspace using pattern(s): 12:06:57 Archives upload complete. 12:06:57 INFO: archiving logs to Nexus 12:06:58 ---> uname -a: 12:06:58 Linux prd-ubuntu20-04-docker-8c-8g-7564 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 12:06:58 12:06:58 12:06:58 ---> lscpu: 12:06:58 Architecture: x86_64 12:06:58 CPU op-mode(s): 32-bit, 64-bit 12:06:58 Byte Order: Little Endian 12:06:58 Address sizes: 40 bits physical, 48 bits virtual 12:06:58 CPU(s): 8 12:06:58 On-line CPU(s) list: 0-7 12:06:58 Thread(s) per core: 1 12:06:58 Core(s) per socket: 1 12:06:58 Socket(s): 8 12:06:58 NUMA node(s): 1 12:06:58 Vendor ID: AuthenticAMD 12:06:58 CPU family: 23 12:06:58 Model: 49 12:06:58 Model name: AMD EPYC-Rome Processor 12:06:58 Stepping: 0 12:06:58 CPU MHz: 2799.998 12:06:58 BogoMIPS: 5599.99 12:06:58 Virtualization: AMD-V 12:06:58 Hypervisor vendor: KVM 12:06:58 Virtualization type: full 12:06:58 L1d cache: 256 KiB 12:06:58 L1i cache: 256 KiB 12:06:58 L2 cache: 4 MiB 12:06:58 L3 cache: 128 MiB 12:06:58 NUMA node0 CPU(s): 0-7 12:06:58 Vulnerability Itlb multihit: Not affected 12:06:58 Vulnerability L1tf: Not affected 12:06:58 Vulnerability Mds: Not affected 12:06:58 Vulnerability Meltdown: Not affected 12:06:58 Vulnerability Mmio stale data: Not affected 12:06:58 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 12:06:58 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 12:06:58 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 12:06:58 Vulnerability Srbds: Not affected 12:06:58 Vulnerability Tsx async abort: Not affected 12:06:58 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 12:06:58 12:06:58 12:06:58 ---> nproc: 12:06:58 8 12:06:58 12:06:58 12:06:58 ---> df -h: 12:06:58 Filesystem Size Used Avail Use% Mounted on 12:06:58 overlay 155G 12G 144G 8% / 12:06:58 tmpfs 64M 0 64M 0% /dev 12:06:58 tmpfs 16G 0 16G 0% /sys/fs/cgroup 12:06:58 shm 64M 0 64M 0% /dev/shm 12:06:58 /dev/vda1 155G 12G 144G 8% /facter-os 12:06:58 12:06:58 12:06:58 ---> sar -b -r -n DEV: 12:06:58 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7564) 02/27/23 _x86_64_ (8 CPU) 12:06:58 12:06:58 11:58:51 LINUX RESTART (8 CPU) 12:06:58 12:06:58 11:59:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 12:06:58 12:00:01 137.18 47.81 89.37 0.00 5412.70 100486.59 0.00 12:06:58 12:01:01 214.01 1.22 212.80 0.00 30.79 80178.50 0.00 12:06:58 12:02:01 3.75 0.00 3.75 0.00 0.00 53.21 0.00 12:06:58 12:03:01 1.45 0.00 1.45 0.00 0.00 16.93 0.00 12:06:58 12:04:01 24.76 7.77 17.00 0.00 904.25 2373.74 0.00 12:06:58 12:05:01 31.78 2.82 28.96 0.00 4250.62 6430.93 0.00 12:06:58 12:06:01 3.52 0.02 3.50 0.00 0.13 90.52 0.00 12:06:58 Average: 59.49 8.52 50.97 0.00 1514.07 27090.06 0.00 12:06:58 12:06:58 11:59:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 12:06:58 12:00:01 29161132 31595648 720816 2.19 71812 2639680 1839520 5.42 984240 2380084 310440 12:06:58 12:01:01 27886832 31543184 752960 2.29 151408 3663628 1932460 5.70 1196628 3300480 276 12:06:58 12:02:01 27913160 31568900 729876 2.22 151540 3663488 1770288 5.22 1173620 3300320 164 12:06:58 12:03:01 27913348 31569172 729628 2.22 151580 3663492 1770288 5.22 1172768 3300324 40 12:06:58 12:04:01 27729960 31532768 751356 2.28 168988 3790524 1861740 5.49 1279068 3359156 1468 12:06:58 12:05:01 27392256 31553128 728808 2.22 185480 4118692 1834440 5.41 1490024 3468636 152 12:06:58 12:06:01 27401972 31558192 723668 2.20 184080 4115440 1791812 5.28 1483480 3465532 160 12:06:58 Average: 27914094 31560142 733873 2.23 152127 3664992 1828650 5.39 1254261 3224933 44671 12:06:58 12:06:58 11:59:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 12:06:58 12:00:01 docker0 22.58 24.25 1.93 187.48 0.00 0.00 0.00 0.00 12:06:58 12:00:01 ens3 653.16 398.48 6774.19 87.17 0.00 0.00 0.00 0.00 12:06:58 12:00:01 lo 7.00 7.00 0.67 0.67 0.00 0.00 0.00 0.00 12:06:58 12:01:01 docker0 166.22 259.59 13.88 1925.44 0.00 0.00 0.00 0.00 12:06:58 12:01:01 ens3 397.77 270.10 4474.05 113.59 0.00 0.00 0.00 0.00 12:06:58 12:01:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 12:06:58 12:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:06:58 12:02:01 ens3 13.61 4.82 13.51 0.93 0.00 0.00 0.00 0.00 12:06:58 12:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:06:58 12:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:06:58 12:03:01 ens3 0.70 0.60 0.39 0.28 0.00 0.00 0.00 0.00 12:06:58 12:03:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 12:06:58 12:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:06:58 12:04:01 ens3 41.09 18.86 855.14 1.56 0.00 0.00 0.00 0.00 12:06:58 12:04:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 12:06:58 12:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:06:58 12:05:01 ens3 136.04 75.40 1933.00 5.39 0.00 0.00 0.00 0.00 12:06:58 12:05:01 lo 0.40 0.40 0.03 0.03 0.00 0.00 0.00 0.00 12:06:58 12:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:06:58 12:06:01 ens3 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 12:06:58 12:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:06:58 Average: docker0 26.97 40.55 2.26 301.85 0.00 0.00 0.00 0.00 12:06:58 Average: ens3 177.49 109.76 2007.18 29.84 0.00 0.00 0.00 0.00 12:06:58 Average: lo 1.31 1.31 0.12 0.12 0.00 0.00 0.00 0.00 12:06:58 12:06:58 12:06:58 ---> sar -P ALL: 12:06:58 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7564) 02/27/23 _x86_64_ (8 CPU) 12:06:58 12:06:58 11:58:51 LINUX RESTART (8 CPU) 12:06:58 12:06:58 11:59:01 CPU %user %nice %system %iowait %steal %idle 12:06:58 12:00:01 all 8.69 0.00 3.02 2.17 0.05 86.07 12:06:58 12:00:01 0 9.29 0.00 2.27 1.06 0.07 87.31 12:06:58 12:00:01 1 7.83 0.00 2.37 0.34 0.05 89.41 12:06:58 12:00:01 2 8.43 0.00 1.85 0.22 0.05 89.45 12:06:58 12:00:01 3 7.78 0.00 3.28 0.27 0.05 88.63 12:06:58 12:00:01 4 6.84 0.00 4.73 0.55 0.05 87.83 12:06:58 12:00:01 5 11.39 0.00 3.10 0.55 0.03 84.92 12:06:58 12:00:01 6 7.85 0.00 2.26 2.55 0.05 87.29 12:06:58 12:00:01 7 10.08 0.00 4.33 11.87 0.08 73.63 12:06:58 12:01:01 all 15.72 0.00 4.65 4.04 0.11 75.49 12:06:58 12:01:01 0 15.52 0.00 4.05 0.10 0.13 80.20 12:06:58 12:01:01 1 14.70 0.00 3.95 0.22 0.12 81.02 12:06:58 12:01:01 2 15.34 0.00 3.81 0.34 0.07 80.44 12:06:58 12:01:01 3 17.02 0.00 4.60 0.93 0.08 77.36 12:06:58 12:01:01 4 15.77 0.00 4.78 0.42 0.10 78.92 12:06:58 12:01:01 5 15.84 0.00 6.55 22.27 0.10 55.24 12:06:58 12:01:01 6 15.29 0.00 3.77 1.30 0.12 79.52 12:06:58 12:01:01 7 16.29 0.00 5.69 6.91 0.15 70.97 12:06:58 12:02:01 all 0.12 0.00 0.04 0.02 0.01 99.81 12:06:58 12:02:01 0 0.07 0.00 0.05 0.00 0.00 99.88 12:06:58 12:02:01 1 0.08 0.00 0.02 0.02 0.02 99.87 12:06:58 12:02:01 2 0.02 0.00 0.03 0.02 0.00 99.93 12:06:58 12:02:01 3 0.03 0.00 0.03 0.00 0.02 99.92 12:06:58 12:02:01 4 0.28 0.00 0.02 0.02 0.00 99.68 12:06:58 12:02:01 5 0.02 0.00 0.05 0.08 0.00 99.85 12:06:58 12:02:01 6 0.02 0.00 0.02 0.00 0.00 99.97 12:06:58 12:02:01 7 0.43 0.00 0.10 0.02 0.03 99.42 12:06:58 12:03:01 all 0.27 0.00 0.01 0.00 0.01 99.71 12:06:58 12:03:01 0 0.03 0.00 0.00 0.00 0.00 99.97 12:06:58 12:03:01 1 0.08 0.00 0.00 0.00 0.00 99.92 12:06:58 12:03:01 2 0.02 0.00 0.00 0.00 0.00 99.98 12:06:58 12:03:01 3 0.00 0.00 0.02 0.00 0.02 99.97 12:06:58 12:03:01 4 1.99 0.00 0.02 0.00 0.02 97.98 12:06:58 12:03:01 5 0.00 0.00 0.02 0.02 0.00 99.97 12:06:58 12:03:01 6 0.00 0.00 0.00 0.00 0.00 100.00 12:06:58 12:03:01 7 0.05 0.00 0.03 0.00 0.02 99.90 12:06:58 12:04:01 all 1.05 0.00 0.59 0.19 0.01 98.16 12:06:58 12:04:01 0 1.37 0.00 0.65 0.30 0.02 97.67 12:06:58 12:04:01 1 0.72 0.00 0.35 0.20 0.02 98.72 12:06:58 12:04:01 2 0.80 0.00 0.58 0.02 0.00 98.60 12:06:58 12:04:01 3 0.58 0.00 0.30 0.25 0.00 98.86 12:06:58 12:04:01 4 2.31 0.00 0.26 0.15 0.00 97.28 12:06:58 12:04:01 5 0.48 0.00 1.60 0.10 0.02 97.80 12:06:58 12:04:01 6 1.05 0.00 0.55 0.47 0.00 97.93 12:06:58 12:04:01 7 1.05 0.00 0.45 0.03 0.02 98.45 12:06:58 12:05:01 all 1.37 0.00 0.75 0.94 0.04 96.91 12:06:58 12:05:01 0 1.25 0.00 0.47 0.13 0.07 98.08 12:06:58 12:05:01 1 1.77 0.00 1.82 0.92 0.02 95.47 12:06:58 12:05:01 2 1.92 0.00 0.43 0.55 0.02 97.08 12:06:58 12:05:01 3 1.35 0.00 0.72 0.22 0.03 97.68 12:06:58 12:05:01 4 1.54 0.00 0.80 0.38 0.05 97.23 12:06:58 12:05:01 5 0.90 0.00 0.52 0.22 0.03 98.33 12:06:58 12:05:01 6 1.57 0.00 0.77 1.02 0.05 96.59 12:06:58 12:05:01 7 0.62 0.00 0.45 4.07 0.03 94.83 12:06:58 12:06:01 all 0.07 0.00 0.06 0.01 0.01 99.85 12:06:58 12:06:01 0 0.13 0.00 0.05 0.02 0.02 99.78 12:06:58 12:06:01 1 0.20 0.00 0.12 0.00 0.00 99.68 12:06:58 12:06:01 2 0.03 0.00 0.03 0.02 0.02 99.90 12:06:58 12:06:01 3 0.02 0.00 0.03 0.00 0.02 99.93 12:06:58 12:06:01 4 0.05 0.00 0.05 0.00 0.02 99.88 12:06:58 12:06:01 5 0.03 0.00 0.07 0.00 0.00 99.90 12:06:58 12:06:01 6 0.00 0.00 0.07 0.00 0.00 99.93 12:06:58 12:06:01 7 0.12 0.00 0.05 0.07 0.00 99.77 12:06:58 Average: all 3.87 0.00 1.29 1.05 0.03 93.76 12:06:58 Average: 0 3.93 0.00 1.07 0.23 0.04 94.73 12:06:58 Average: 1 3.61 0.00 1.23 0.24 0.03 94.89 12:06:58 Average: 2 3.78 0.00 0.96 0.16 0.02 95.08 12:06:58 Average: 3 3.80 0.00 1.27 0.24 0.03 94.66 12:06:58 Average: 4 4.08 0.00 1.51 0.22 0.03 94.16 12:06:58 Average: 5 4.06 0.00 1.69 3.27 0.03 90.96 12:06:58 Average: 6 3.67 0.00 1.06 0.76 0.03 94.49 12:06:58 Average: 7 4.05 0.00 1.57 3.26 0.05 91.07 12:06:58 12:06:58 12:06:58