Pull request #1345 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from bb66b8c204369bdfdebca585240405043febbe36+b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 (745a5850de23dfadc188db09e04fd8406d55ca06) 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-ssh16638418262176847445.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-ssh18291081568580675286.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-sdk-go/branches/PR-1345/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-sdk-go/branches/PR-1345/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8286469973893631903.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-sdk-go/branches/PR-1345/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7908300533363517948.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-ssh6530553181324673976.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-sdk-go/branches/PR-1345/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-sdk-go/branches/PR-1345/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17527567015850910297.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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 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-7237 in /w/workspace/gexfoundry_device-sdk-go_PR-1345 [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-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1345 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1345/head:refs/remotes/origin/PR-1345 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 into PR head commit bb66b8c204369bdfdebca585240405043febbe36 Merge succeeded, producing bb66b8c204369bdfdebca585240405043febbe36 Checking out Revision bb66b8c204369bdfdebca585240405043febbe36 (PR-1345) > git config core.sparsecheckout # timeout=10 > git checkout -f bb66b8c204369bdfdebca585240405043febbe36 # 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 b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb66b8c204369bdfdebca585240405043febbe36 # timeout=10 Commit message: "refactor: update for the new ProtocolDriver change" 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 13:24:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:24:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:24:01 ========================================================= 13:24:01 EdgeX Global Pipelines Version Info 13:24:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:24:01 ------------------- 13:24:01 stable info: 13:24:01 ------------------- 13:24:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:24:01 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 13:24:01 Message: update stable to v1.0.244 13:24:02 ------------------- 13:24:02 experimental info: 13:24:02 ------------------- 13:24:02 Commited By: **** collab-it+edgex@linuxfoundation.org 13:24:02 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 13:24:02 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:24:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 13:24:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 13:24:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:24:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:24:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:24:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 13:24:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:24:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 13:24:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1345 [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1345 [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1345 [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb66b8c204369bdfdebca585240405043febbe36 [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb66b8c [Pipeline] echo 13:24:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:24:04 provisioning config files... 13:24:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config13746945679528916249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:24:04 ---> docker-login.sh 13:24:04 nexus3.edgexfoundry.org:10001 13:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:04 Configure a credential helper to remove this warning. See 13:24:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:04 13:24:04 Login Succeeded 13:24:04 nexus3.edgexfoundry.org:10002 13:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:04 Configure a credential helper to remove this warning. See 13:24:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:04 13:24:04 Login Succeeded 13:24:04 nexus3.edgexfoundry.org:10003 13:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:04 Configure a credential helper to remove this warning. See 13:24:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:04 13:24:04 Login Succeeded 13:24:04 nexus3.edgexfoundry.org:10004 13:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:05 Configure a credential helper to remove this warning. See 13:24:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:05 13:24:05 Login Succeeded 13:24:05 docker.io 13:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:05 Configure a credential helper to remove this warning. See 13:24:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:05 13:24:05 Login Succeeded 13:24:05 ---> docker-login.sh ends [Pipeline] } 13:24:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:24:06 + git rev-list -1 --merges bb66b8c204369bdfdebca585240405043febbe36~1..bb66b8c204369bdfdebca585240405043febbe36 [Pipeline] echo 13:24:06 -----------> git rev-list -1 --merges bb66b8c204369bdfdebca585240405043febbe36~1..bb66b8c204369bdfdebca585240405043febbe36 bb66b8c204369bdfdebca585240405043febbe36 [false] [Pipeline] sh 13:24:06 + git log --format=format:%s -1 bb66b8c204369bdfdebca585240405043febbe36 [Pipeline] echo 13:24:06 ========================================================= 13:24:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:24:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:24:06 + git log --format=format:%s -1 bb66b8c204369bdfdebca585240405043febbe36 [Pipeline] echo 13:24:07 [semverPrep] GIT_COMMIT: bb66b8c204369bdfdebca585240405043febbe36, Commit Message: refactor: update for the new ProtocolDriver change [Pipeline] echo 13:24:07 [semverPrep] This is not a build commit. [Pipeline] sh 13:24:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:24:07 + grep -v github /etc/ssh/ssh_known_hosts 13:24:07 + [ -e /tmp/ssh_known_hosts ] 13:24:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:24:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:24:07 + sudo tee -a /etc/ssh/ssh_known_hosts 13:24:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:24:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:24:07 13:24:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:24:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:24:08 0.1.4: Pulling from edgex-devops/py-git-semver 13:24:08 b85a868b505f: Pulling fs layer 13:24:08 e2be974225ed: Pulling fs layer 13:24:08 339a4e72a1f5: Pulling fs layer 13:24:08 988bab9f4d93: Pulling fs layer 13:24:08 1469e6f7b9e6: Pulling fs layer 13:24:08 eaf3925da568: Pulling fs layer 13:24:08 bab4dde63d76: Pulling fs layer 13:24:08 bde34c3a00c8: Pulling fs layer 13:24:08 b352a97aabf1: Pulling fs layer 13:24:08 4872d77fe225: Pulling fs layer 13:24:08 5851b861e8e6: Pulling fs layer 13:24:08 b352a97aabf1: Waiting 13:24:08 bde34c3a00c8: Waiting 13:24:08 1469e6f7b9e6: Waiting 13:24:08 4872d77fe225: Waiting 13:24:08 eaf3925da568: Waiting 13:24:08 bab4dde63d76: Waiting 13:24:08 5851b861e8e6: Waiting 13:24:08 988bab9f4d93: Waiting 13:24:08 e2be974225ed: Verifying Checksum 13:24:08 e2be974225ed: Download complete 13:24:08 988bab9f4d93: Verifying Checksum 13:24:08 988bab9f4d93: Download complete 13:24:08 1469e6f7b9e6: Verifying Checksum 13:24:08 1469e6f7b9e6: Download complete 13:24:08 eaf3925da568: Verifying Checksum 13:24:08 eaf3925da568: Download complete 13:24:08 339a4e72a1f5: Verifying Checksum 13:24:08 339a4e72a1f5: Download complete 13:24:08 bde34c3a00c8: Download complete 13:24:08 b352a97aabf1: Verifying Checksum 13:24:08 b352a97aabf1: Download complete 13:24:08 4872d77fe225: Download complete 13:24:08 5851b861e8e6: Verifying Checksum 13:24:08 5851b861e8e6: Download complete 13:24:08 b85a868b505f: Verifying Checksum 13:24:08 b85a868b505f: Download complete 13:24:08 bab4dde63d76: Verifying Checksum 13:24:08 bab4dde63d76: Download complete 13:24:09 b85a868b505f: Pull complete 13:24:10 e2be974225ed: Pull complete 13:24:10 339a4e72a1f5: Pull complete 13:24:10 988bab9f4d93: Pull complete 13:24:10 1469e6f7b9e6: Pull complete 13:24:10 eaf3925da568: Pull complete 13:24:12 bab4dde63d76: Pull complete 13:24:12 bde34c3a00c8: Pull complete 13:24:12 b352a97aabf1: Pull complete 13:24:12 4872d77fe225: Pull complete 13:24:12 5851b861e8e6: Pull complete 13:24:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:24:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:24:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:24:12 prd-ubuntu20.04-docker-8c-8g-7237 does not seem to be running inside a container 13:24:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:24:14 $ docker top 078e481785c774aba7226eeca577f948d0a38605c16ed62648798122db0f53c2 -eo pid,comm 13:24:14 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). 13:24:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:24:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:24:14 [ssh-agent] Looking for ssh-agent implementation... 13:24:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:24:14 $ docker exec 078e481785c774aba7226eeca577f948d0a38605c16ed62648798122db0f53c2 ssh-agent 13:24:14 SSH_AUTH_SOCK=/tmp/ssh-YUyHmGJz39p0/agent.33 13:24:14 SSH_AGENT_PID=39 13:24:14 Running ssh-add (command line suppressed) 13:24:14 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_17694705059061716196.key (/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_17694705059061716196.key) 13:24:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:24:15 + git tag --points-at HEAD [Pipeline] } 13:24:15 $ docker exec --env ******** --env ******** 078e481785c774aba7226eeca577f948d0a38605c16ed62648798122db0f53c2 ssh-agent -k 13:24:15 unset SSH_AUTH_SOCK; 13:24:15 unset SSH_AGENT_PID; 13:24:15 echo Agent pid 39 killed; 13:24:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:24:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:24:15 [ssh-agent] Looking for ssh-agent implementation... 13:24:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:24:15 $ docker exec 078e481785c774aba7226eeca577f948d0a38605c16ed62648798122db0f53c2 ssh-agent 13:24:15 SSH_AUTH_SOCK=/tmp/ssh-Hbgk0wO7yx0J/agent.71 13:24:15 SSH_AGENT_PID=77 13:24:15 Running ssh-add (command line suppressed) 13:24:15 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_9480315701959501190.key (/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_9480315701959501190.key) 13:24:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:24:16 + git semver init 13:24:16 2023-02-23 13:24:16,381 [run_init] DEBUG init version:0.0.0 force:False 13:24:16 2023-02-23 13:24:16,382 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver 13:24:16 2023-02-23 13:24:16,383 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver 13:24:16 2023-02-23 13:24:16,383 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345, universal_newlines=False, shell=None, istream=None) 13:24:17 2023-02-23 13:24:17,317 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.git/info/exclude 13:24:17 2023-02-23 13:24:17,318 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 with force:False 13:24:17 2023-02-23 13:24:17,318 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 13:24:17 2023-02-23 13:24:17,323 [execute] INFO git cat-file --batch-check 13:24:17 2023-02-23 13:24:17,323 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver, universal_newlines=False, shell=None, istream=) 13:24:17 2023-02-23 13:24:17,331 [execute] INFO git cat-file --batch 13:24:17 2023-02-23 13:24:17,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver, universal_newlines=False, shell=None, istream=) 13:24:17 2023-02-23 13:24:17,337 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 13:24:17 0.0.0 [Pipeline] } 13:24:17 $ docker exec --env ******** --env ******** 078e481785c774aba7226eeca577f948d0a38605c16ed62648798122db0f53c2 ssh-agent -k 13:24:17 unset SSH_AUTH_SOCK; 13:24:17 unset SSH_AGENT_PID; 13:24:17 echo Agent pid 77 killed; 13:24:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:24:17 + git semver [Pipeline] } 13:24:18 $ docker stop --time=1 078e481785c774aba7226eeca577f948d0a38605c16ed62648798122db0f53c2 13:24:19 $ docker rm -f --volumes 078e481785c774aba7226eeca577f948d0a38605c16ed62648798122db0f53c2 [Pipeline] // withDockerContainer [Pipeline] sh 13:24:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:24:20 Stashed 1 file(s) [Pipeline] echo 13:24:20 [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 13:24:20 provisioning config files... 13:24:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config2647118036694306326tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:24:21 ---> docker-login.sh 13:24:21 nexus3.edgexfoundry.org:10001 13:24:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:21 Configure a credential helper to remove this warning. See 13:24:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:21 13:24:21 Login Succeeded 13:24:21 nexus3.edgexfoundry.org:10002 13:24:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:21 Configure a credential helper to remove this warning. See 13:24:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:21 13:24:21 Login Succeeded 13:24:21 nexus3.edgexfoundry.org:10003 13:24:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:21 Configure a credential helper to remove this warning. See 13:24:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:21 13:24:21 Login Succeeded 13:24:21 nexus3.edgexfoundry.org:10004 13:24:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:21 Configure a credential helper to remove this warning. See 13:24:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:21 13:24:21 Login Succeeded 13:24:21 docker.io 13:24:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:21 Configure a credential helper to remove this warning. See 13:24:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:21 13:24:21 Login Succeeded 13:24:21 ---> docker-login.sh ends [Pipeline] } 13:24:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:24:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:24:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:24:21 ========================================================= 13:24:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 13:24:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:24:22 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 13:24:22 Sending build context to Docker daemon 10.62MB 13:24:22 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 13:24:22 Step 2/10 : FROM ${BASE} AS builder 13:24:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 13:24:22 213ec9aee27d: Pulling fs layer 13:24:22 4583459ba037: Pulling fs layer 13:24:22 93c1e223e6f2: Pulling fs layer 13:24:22 53926ce57604: Pulling fs layer 13:24:22 21b2b0c7a3f4: Pulling fs layer 13:24:22 53926ce57604: Waiting 13:24:22 22ff95d597cd: Pulling fs layer 13:24:22 12d6caf4c0d1: Pulling fs layer 13:24:22 96b7cbca73a9: Pulling fs layer 13:24:22 22ff95d597cd: Waiting 13:24:22 12d6caf4c0d1: Waiting 13:24:22 21b2b0c7a3f4: Waiting 13:24:22 a7acece74701: Pulling fs layer 13:24:22 a7acece74701: Waiting 13:24:22 93c1e223e6f2: Verifying Checksum 13:24:22 93c1e223e6f2: Download complete 13:24:22 4583459ba037: Verifying Checksum 13:24:22 4583459ba037: Download complete 13:24:22 21b2b0c7a3f4: Verifying Checksum 13:24:22 21b2b0c7a3f4: Download complete 13:24:22 22ff95d597cd: Verifying Checksum 13:24:22 22ff95d597cd: Download complete 13:24:22 213ec9aee27d: Verifying Checksum 13:24:22 213ec9aee27d: Download complete 13:24:22 12d6caf4c0d1: Verifying Checksum 13:24:22 12d6caf4c0d1: Download complete 13:24:22 213ec9aee27d: Pull complete 13:24:22 4583459ba037: Pull complete 13:24:22 93c1e223e6f2: Pull complete 13:24:23 a7acece74701: Verifying Checksum 13:24:23 a7acece74701: Download complete 13:24:23 53926ce57604: Verifying Checksum 13:24:23 53926ce57604: Download complete 13:24:23 96b7cbca73a9: Verifying Checksum 13:24:23 96b7cbca73a9: Download complete 13:24:27 53926ce57604: Pull complete 13:24:27 21b2b0c7a3f4: Pull complete 13:24:27 22ff95d597cd: Pull complete 13:24:27 12d6caf4c0d1: Pull complete 13:24:29 96b7cbca73a9: Pull complete 13:24:30 a7acece74701: Pull complete 13:24:30 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 13:24:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:24:30 ---> db6d94c90886 13:24:30 Step 3/10 : ARG MAKE=make build 13:24:32 ---> Running in 582d51d08f2e 13:24:32 Removing intermediate container 582d51d08f2e 13:24:32 ---> 8c667d14b844 13:24:32 Step 4/10 : WORKDIR /device-sdk-go 13:24:32 ---> Running in 000dd7566685 13:24:32 Removing intermediate container 000dd7566685 13:24:32 ---> 03394e225ddb 13:24:32 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:24:32 ---> Running in 1b6dfb838ead 13:24:32 Removing intermediate container 1b6dfb838ead 13:24:32 ---> 485d97962bea 13:24:32 Step 6/10 : RUN apk add --update --no-cache make git 13:24:32 ---> Running in 2b9f87ca1ec7 13:24:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:24:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:24:32 OK: 211 MiB in 51 packages 13:24:33 Removing intermediate container 2b9f87ca1ec7 13:24:33 ---> 1fc52d1cce33 13:24:33 Step 7/10 : COPY go.mod vendor* ./ 13:24:33 ---> 4711256483a7 13:24:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:24:33 ---> Running in c8840c9c6e40 13:24:35 Still waiting to schedule task 13:24:35 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:25:12 Removing intermediate container c8840c9c6e40 13:25:12 ---> 1e47969df3dd 13:25:12 Step 9/10 : COPY . . 13:25:12 ---> 5eb3e601266c 13:25:12 Step 10/10 : RUN ${MAKE} 13:25:12 ---> Running in 636be44d656b 13:25:12 noop 13:25:12 Removing intermediate container 636be44d656b 13:25:12 ---> 47f26293bd55 13:25:12 Successfully built 47f26293bd55 13:25:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:25:12 + docker inspect -f . ci-base-image-x86_64 13:25:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:25:12 prd-ubuntu20.04-docker-8c-8g-7237 does not seem to be running inside a container 13:25:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:25:13 $ docker top ec84c2df13e09b622ea1dcf3958a05b941556acf954282e356572c54d7ad78aa -eo pid,comm [Pipeline] { [Pipeline] sh 13:25:13 + go version 13:25:13 go version go1.18.7 linux/amd64 [Pipeline] } 13:25:13 $ docker stop --time=1 ec84c2df13e09b622ea1dcf3958a05b941556acf954282e356572c54d7ad78aa 13:25:14 $ docker rm -f --volumes ec84c2df13e09b622ea1dcf3958a05b941556acf954282e356572c54d7ad78aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:25:15 + docker inspect -f . ci-base-image-x86_64 13:25:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:25:15 prd-ubuntu20.04-docker-8c-8g-7237 does not seem to be running inside a container 13:25:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:25:16 $ docker top f28a8025badd79462297a4763186c9b4c655e8525de1c0e0b93052b664d2e602 -eo pid,comm [Pipeline] { [Pipeline] sh 13:25:16 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1345 [Pipeline] fileExists [Pipeline] sh 13:25:16 + make test 13:25:16 go test -race -coverprofile=coverage.out ./... 13:25:23 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 13:25:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 13:25:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 13:25:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 13:25:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 13:25:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 13:25:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.083s coverage: 27.6% of statements 13:25:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.088s coverage: 78.9% of statements 13:25:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.127s coverage: 86.0% of statements 13:25:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 13:25:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 13:25:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.098s coverage: 74.7% of statements 13:25:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 13:25:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.072s coverage: 15.5% of statements 13:25:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 13:25:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.109s coverage: 65.2% of statements 13:25:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 13:25:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 13:25:39 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.779s coverage: 89.2% of statements 13:25:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 13:25:39 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.066s coverage: 4.7% of statements 13:25:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 13:25:57 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 13:25:57 pkg/service/service.go:88:3: unreachable: unreachable code (govet) 13:25:57 _, _ = fmt.Fprintf(os.Stderr, "Please implement and specify the protocoldriver") 13:25:57 ^ 13:25:57 make: *** [Makefile:39: lint] Error 1 [Pipeline] } 13:25:57 $ docker stop --time=1 f28a8025badd79462297a4763186c9b4c655e8525de1c0e0b93052b664d2e602 13:26:00 $ docker rm -f --volumes f28a8025badd79462297a4763186c9b4c655e8525de1c0e0b93052b664d2e602 [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 13:26:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:26:01 13:26:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:26:01 latest: Pulling from edgex-lftools-log-publisher 13:26:01 5eb5b503b376: Pulling fs layer 13:26:01 5c69ac0246d0: Pulling fs layer 13:26:01 ec43610c2a17: Pulling fs layer 13:26:01 3a2ae6a8a46f: Pulling fs layer 13:26:01 3a2ae6a8a46f: Waiting 13:26:01 33b1e0a273af: Pulling fs layer 13:26:01 5d3b04190fa2: Pulling fs layer 13:26:01 2f39f015ded8: Pulling fs layer 13:26:01 33b1e0a273af: Waiting 13:26:01 2f39f015ded8: Waiting 13:26:01 5d3b04190fa2: Waiting 13:26:01 5c69ac0246d0: Download complete 13:26:01 3a2ae6a8a46f: Verifying Checksum 13:26:01 3a2ae6a8a46f: Download complete 13:26:01 33b1e0a273af: Verifying Checksum 13:26:01 33b1e0a273af: Download complete 13:26:01 5d3b04190fa2: Verifying Checksum 13:26:01 5d3b04190fa2: Download complete 13:26:01 ec43610c2a17: Verifying Checksum 13:26:01 ec43610c2a17: Download complete 13:26:01 5eb5b503b376: Verifying Checksum 13:26:01 5eb5b503b376: Download complete 13:26:02 2f39f015ded8: Download complete 13:26:03 5eb5b503b376: Pull complete 13:26:03 5c69ac0246d0: Pull complete 13:26:03 ec43610c2a17: Pull complete 13:26:03 3a2ae6a8a46f: Pull complete 13:26:03 33b1e0a273af: Pull complete 13:26:04 5d3b04190fa2: Pull complete 13:26:09 2f39f015ded8: Pull complete 13:26:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:26:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:26:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:26:09 prd-ubuntu20.04-docker-8c-8g-7237 does not seem to be running inside a container 13:26:09 $ 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/gexfoundry_device-sdk-go_PR-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:26:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7238 in /w/workspace/gexfoundry_device-sdk-go_PR-1345 13:26:12 $ docker top 7856d69065ae6fee437ff077e4996085a667e4de2f68ca9d2ddb8616b931bdbd -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 13:26:12 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 13:26:13 The recommended git tool is: git 13:26:13 ---> job-cost.sh 13:26:13 lf-activate-venv: SKIPPING 13:26:13 INFO: No Stack... 13:26:13 INFO: Retrieving Pricing Info for: v3-standard-8 13:26:13 INFO: Archiving Costs [Pipeline] sh 13:26:14 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/cost.csv 13:26:14 + cut -d, -f6 [Pipeline] lock 13:26:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1345-1-stack-cost] 13:26:14 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-1-stack-cost] did not exist. Created. 13:26:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1345-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:26:14 + echo total: 0.2199999988079071 [Pipeline] stash 13:26:14 Stashed 1 file(s) [Pipeline] } 13:26:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:26:14 $ docker stop --time=1 7856d69065ae6fee437ff077e4996085a667e4de2f68ca9d2ddb8616b931bdbd 13:26:15 $ docker rm -f --volumes 7856d69065ae6fee437ff077e4996085a667e4de2f68ca9d2ddb8616b931bdbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:26:16 Failed in branch amd64 13:26:17 using credential edgex-jenkins-ssh 13:26:17 Cloning the remote Git repository 13:26:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 13:26:17 > git init /w/workspace/device-sdk-go/1 # timeout=10 13:26:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:26:17 > git --version # timeout=10 13:26:18 > git --version # 'git version 2.25.1' 13:26:18 using GIT_SSH to set credentials SSH Credentials for GitHub 13:26:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:26:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:26:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:26:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:26:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:26:21 using GIT_SSH to set credentials SSH Credentials for GitHub 13:26:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1345/head:refs/remotes/origin/PR-1345 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:26:22 Merging remotes/origin/main commit b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 into PR head commit bb66b8c204369bdfdebca585240405043febbe36 13:26:22 Merge succeeded, producing bb66b8c204369bdfdebca585240405043febbe36 13:26:22 Checking out Revision bb66b8c204369bdfdebca585240405043febbe36 (PR-1345) 13:26:22 > git config core.sparsecheckout # timeout=10 13:26:22 > git checkout -f bb66b8c204369bdfdebca585240405043febbe36 # timeout=10 13:26:22 > git remote # timeout=10 13:26:22 > git config --get remote.origin.url # timeout=10 13:26:22 using GIT_SSH to set credentials SSH Credentials for GitHub 13:26:22 > git merge b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 # timeout=10 13:26:22 > git rev-parse HEAD^{commit} # timeout=10 13:26:22 > git config core.sparsecheckout # timeout=10 13:26:22 > git checkout -f bb66b8c204369bdfdebca585240405043febbe36 # timeout=10 13:26:25 Commit message: "refactor: update for the new ProtocolDriver change" 13:26:25 > git --version # timeout=10 13:26:25 > git --version # 'git version 2.25.1' 13:26:25 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:26:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:26:27 % Total % Received % Xferd Average Speed Time Time Time Current 13:26:27 Dload Upload Total Spent Left Speed 13:26:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 87335 [Pipeline] sh 13:26:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:26:28 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:26:28 sudo tee /etc/docker/daemon.new 13:26:28 { 13:26:28 "registry-mirrors": [ 13:26:28 "https://nexus3.edgexfoundry.org:10001" 13:26:28 ], 13:26:28 "bip": "10.250.0.254/24", 13:26:28 "hosts": [ 13:26:28 "tcp://0.0.0.0:5555", 13:26:28 "unix:///var/run/docker.sock" 13:26:28 ], 13:26:28 "mtu": 1458, 13:26:28 "selinux-enabled": true, 13:26:28 "seccomp-profile": "/etc/docker/seccomp.json" 13:26:28 } [Pipeline] sh 13:26:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:26:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:26:47 provisioning config files... 13:26:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7609556352120918441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:26:47 ---> docker-login.sh 13:26:47 nexus3.edgexfoundry.org:10001 13:26:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:26:48 Configure a credential helper to remove this warning. See 13:26:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:26:48 13:26:48 Login Succeeded 13:26:48 nexus3.edgexfoundry.org:10002 13:26:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:26:48 Configure a credential helper to remove this warning. See 13:26:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:26:48 13:26:48 Login Succeeded 13:26:48 nexus3.edgexfoundry.org:10003 13:26:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:26:49 Configure a credential helper to remove this warning. See 13:26:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:26:49 13:26:49 Login Succeeded 13:26:49 nexus3.edgexfoundry.org:10004 13:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:26:49 Configure a credential helper to remove this warning. See 13:26:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:26:49 13:26:49 Login Succeeded 13:26:49 docker.io 13:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:26:50 Configure a credential helper to remove this warning. See 13:26:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:26:50 13:26:50 Login Succeeded 13:26:50 ---> docker-login.sh ends [Pipeline] } 13:26:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:26:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:26:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:26:50 ========================================================= 13:26:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 13:26:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:50 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 13:26:51 Sending build context to Docker daemon 5.736MB 13:26:51 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 13:26:51 Step 2/10 : FROM ${BASE} AS builder 13:26:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:26:51 9b18e9b68314: Pulling fs layer 13:26:51 35d82f9e3411: Pulling fs layer 13:26:51 e16973657156: Pulling fs layer 13:26:51 fc693d55d65f: Pulling fs layer 13:26:51 7e9fc2657dce: Pulling fs layer 13:26:51 dda99020689f: Pulling fs layer 13:26:51 db1c61fa0a46: Pulling fs layer 13:26:51 891c053d2c06: Pulling fs layer 13:26:51 fc693d55d65f: Waiting 13:26:51 7e9fc2657dce: Waiting 13:26:51 dda99020689f: Waiting 13:26:51 db1c61fa0a46: Waiting 13:26:51 891c053d2c06: Waiting 13:26:51 e16973657156: Download complete 13:26:51 35d82f9e3411: Verifying Checksum 13:26:51 35d82f9e3411: Download complete 13:26:51 7e9fc2657dce: Verifying Checksum 13:26:51 7e9fc2657dce: Download complete 13:26:51 dda99020689f: Verifying Checksum 13:26:51 dda99020689f: Download complete 13:26:51 9b18e9b68314: Verifying Checksum 13:26:52 9b18e9b68314: Pull complete 13:26:52 891c053d2c06: Verifying Checksum 13:26:52 891c053d2c06: Download complete 13:26:53 35d82f9e3411: Pull complete 13:26:53 e16973657156: Pull complete 13:26:53 db1c61fa0a46: Verifying Checksum 13:26:53 db1c61fa0a46: Download complete 13:26:54 fc693d55d65f: Verifying Checksum 13:26:54 fc693d55d65f: Download complete 13:27:06 fc693d55d65f: Pull complete 13:27:06 7e9fc2657dce: Pull complete 13:27:06 dda99020689f: Pull complete 13:27:12 db1c61fa0a46: Pull complete 13:27:14 891c053d2c06: Pull complete 13:27:14 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 13:27:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:27:14 ---> f96f9c87975a 13:27:14 Step 3/10 : ARG MAKE=make build 13:27:16 ---> Running in d06160715ef8 13:27:16 Removing intermediate container d06160715ef8 13:27:16 ---> 5975b293dcfd 13:27:16 Step 4/10 : WORKDIR /device-sdk-go 13:27:16 ---> Running in f7558b0eacd2 13:27:16 Removing intermediate container f7558b0eacd2 13:27:16 ---> 6fef98e6c0d8 13:27:16 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:27:16 ---> Running in 021901849bd0 13:27:17 Removing intermediate container 021901849bd0 13:27:17 ---> b823165f776e 13:27:17 Step 6/10 : RUN apk add --update --no-cache make git 13:27:17 ---> Running in 17f68b7c6b17 13:27:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:27:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:27:19 OK: 221 MiB in 51 packages 13:27:19 Removing intermediate container 17f68b7c6b17 13:27:19 ---> 71b3f030428a 13:27:19 Step 7/10 : COPY go.mod vendor* ./ 13:27:20 ---> 92754555db8e 13:27:20 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:27:20 ---> Running in 2d4746eea108 13:28:28 Removing intermediate container 2d4746eea108 13:28:28 ---> 7c7f02be0f67 13:28:28 Step 9/10 : COPY . . 13:28:28 ---> 81fc85cfe0be 13:28:28 Step 10/10 : RUN ${MAKE} 13:28:28 ---> Running in 08377454d028 13:28:28 noop 13:28:28 Removing intermediate container 08377454d028 13:28:28 ---> 97c5d0ae544f 13:28:28 Successfully built 97c5d0ae544f 13:28:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:28 + docker inspect -f . ci-base-image-arm64 13:28:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:28:29 prd-ubuntu20.04-docker-arm64-4c-16g-7238 does not seem to be running inside a container 13:28:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:28:30 $ docker top d24dbf7c4d3bad9108d6f19a4ac08b1e2f47acc593a6a58f9180dfb50173a54e -eo pid,comm [Pipeline] { [Pipeline] sh 13:28:31 + go version 13:28:31 go version go1.18.7 linux/arm64 [Pipeline] } 13:28:31 $ docker stop --time=1 d24dbf7c4d3bad9108d6f19a4ac08b1e2f47acc593a6a58f9180dfb50173a54e 13:28:32 $ docker rm -f --volumes d24dbf7c4d3bad9108d6f19a4ac08b1e2f47acc593a6a58f9180dfb50173a54e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:33 + docker inspect -f . ci-base-image-arm64 13:28:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:28:33 prd-ubuntu20.04-docker-arm64-4c-16g-7238 does not seem to be running inside a container 13:28:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:28:35 $ docker top 1ba05430edd13eb5190dd9af5b8d0a92c78854356babc6cb64aa2c14a9f0a098 -eo pid,comm [Pipeline] { [Pipeline] sh 13:28:35 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 13:28:36 + make test 13:28:36 go test -race -coverprofile=coverage.out ./... 13:29:08 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 13:31:00 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 13:31:00 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 13:31:00 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 13:31:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 13:31:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 13:31:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.396s coverage: 27.6% of statements 13:31:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.397s coverage: 78.9% of statements 13:31:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.538s coverage: 86.0% of statements 13:31:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 13:31:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 13:31:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.535s coverage: 74.7% of statements 13:31:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 13:31:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.421s coverage: 15.5% of statements 13:31:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 13:31:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.433s coverage: 65.2% of statements 13:31:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 13:31:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 13:31:13 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.166s coverage: 89.2% of statements 13:31:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 13:31:13 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.350s coverage: 4.7% of statements 13:31:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 13:31:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:31:14 GO111MODULE=on go vet ./... 13:32:35 # github.com/edgexfoundry/device-sdk-go/v3/pkg/service 13:32:35 pkg/service/service.go:88:3: unreachable code 13:32:38 make: *** [Makefile:42: test] Error 2 [Pipeline] } 13:32:38 $ docker stop --time=1 1ba05430edd13eb5190dd9af5b8d0a92c78854356babc6cb64aa2c14a9f0a098 13:32:40 $ docker rm -f --volumes 1ba05430edd13eb5190dd9af5b8d0a92c78854356babc6cb64aa2c14a9f0a098 [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 13:32:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:32:42 13:32:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:32:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:32:42 arm64: Pulling from edgex-lftools-log-publisher 13:32:42 8998bd30e6a1: Pulling fs layer 13:32:42 04944245beec: Pulling fs layer 13:32:42 699f458cf7ca: Pulling fs layer 13:32:42 765212b225bb: Pulling fs layer 13:32:42 f23df028b6ca: Pulling fs layer 13:32:42 d65c8cfc05b1: Pulling fs layer 13:32:42 2437ff75d9bd: Pulling fs layer 13:32:42 765212b225bb: Waiting 13:32:42 f23df028b6ca: Waiting 13:32:42 d65c8cfc05b1: Waiting 13:32:42 2437ff75d9bd: Waiting 13:32:42 04944245beec: Verifying Checksum 13:32:42 04944245beec: Download complete 13:32:42 765212b225bb: Verifying Checksum 13:32:42 765212b225bb: Download complete 13:32:42 f23df028b6ca: Verifying Checksum 13:32:42 f23df028b6ca: Download complete 13:32:42 d65c8cfc05b1: Verifying Checksum 13:32:42 d65c8cfc05b1: Download complete 13:32:43 699f458cf7ca: Verifying Checksum 13:32:43 699f458cf7ca: Download complete 13:32:43 8998bd30e6a1: Verifying Checksum 13:32:43 8998bd30e6a1: Download complete 13:32:45 2437ff75d9bd: Verifying Checksum 13:32:45 2437ff75d9bd: Download complete 13:32:46 8998bd30e6a1: Pull complete 13:32:47 04944245beec: Pull complete 13:32:48 699f458cf7ca: Pull complete 13:32:48 765212b225bb: Pull complete 13:32:49 f23df028b6ca: Pull complete 13:32:49 d65c8cfc05b1: Pull complete 13:33:02 2437ff75d9bd: Pull complete 13:33:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:33:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:33:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:33:02 prd-ubuntu20.04-docker-arm64-4c-16g-7238 does not seem to be running inside a container 13:33:02 $ 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-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:33:04 $ docker top e3446458f7a408461e81a3196f7cdbb5b3cd1cbe918453c8ce9167f0abb44c47 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:33:05 ---> job-cost.sh 13:33:05 lf-activate-venv: SKIPPING 13:33:05 INFO: No Stack... 13:33:06 INFO: Retrieving Pricing Info for: v3-standard-4 13:33:07 INFO: Archiving Costs [Pipeline] sh 13:33:07 + cut -d, -f6 13:33:07 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 13:33:07 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1345-1-stack-cost] 13:33:07 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-1-stack-cost] did not exist. Created. 13:33:07 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1345-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:33:07 /w/workspace/device-sdk-go/1@tmp/durable-e25519dc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:33:08 + echo total: 0.10999999940395355 [Pipeline] stash 13:33:08 Warning: overwriting stash ‘stack-cost’ 13:33:08 Stashed 1 file(s) [Pipeline] } 13:33:08 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:33:08 $ docker stop --time=1 e3446458f7a408461e81a3196f7cdbb5b3cd1cbe918453c8ce9167f0abb44c47 13:33:10 $ docker rm -f --volumes e3446458f7a408461e81a3196f7cdbb5b3cd1cbe918453c8ce9167f0abb44c47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 13:33:10 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 13:33:12 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives ] 13:33:12 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives 13:33:12 total 16 13:33:12 drwxr-xr-x 3 root root 4096 Feb 23 13:26 . 13:33:12 drwxrwxr-x 12 jenkins jenkins 4096 Feb 23 13:26 .. 13:33:12 drwxr-xr-x 2 root root 4096 Feb 23 13:26 cost 13:33:12 -rw-r--r-- 1 root root 86 Feb 23 13:26 cost.csv 13:33:12 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives 13:33:12 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives 13:33:12 total 16 13:33:12 drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 13:26 . 13:33:12 drwxrwxr-x 12 jenkins jenkins 4096 Feb 23 13:26 .. 13:33:12 drwxr-xr-x 2 jenkins jenkins 4096 Feb 23 13:26 cost 13:33:12 -rw-r--r-- 1 jenkins jenkins 86 Feb 23 13:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:33:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:33:14 ---> package-listing.sh 13:33:14 ++ facter osfamily 13:33:14 ++ tr '[:upper:]' '[:lower:]' 13:33:14 + OS_FAMILY=debian 13:33:14 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1345 13:33:14 + START_PACKAGES=/tmp/packages_start.txt 13:33:14 + END_PACKAGES=/tmp/packages_end.txt 13:33:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:33:14 + PACKAGES=/tmp/packages_start.txt 13:33:14 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1345 ']' 13:33:14 + PACKAGES=/tmp/packages_end.txt 13:33:14 + case "${OS_FAMILY}" in 13:33:14 + dpkg -l 13:33:14 + grep '^ii' 13:33:14 + '[' -f /tmp/packages_start.txt ']' 13:33:14 + '[' -f /tmp/packages_end.txt ']' 13:33:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:33:14 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1345 ']' 13:33:14 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/ 13:33:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/ [Pipeline] echo 13:33:14 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/gexfoundry_device-sdk-go_PR-1345/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:33:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:33:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:33:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:33:15 prd-ubuntu20.04-docker-8c-8g-7237 does not seem to be running inside a container 13:33:15 $ 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/gexfoundry_device-sdk-go_PR-1345/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:33:15 $ docker top 04946c41fdd09b53bfa869a58d9af1e3691268174db0a37cedb2f2f3b7f65569 -eo pid,comm [Pipeline] { [Pipeline] sh 13:33:16 + touch /tmp/pre-build-complete [Pipeline] sh 13:33:16 + mkdir -p /var/log/sysstat [Pipeline] sh 13:33:16 + ls /var/log/sa-host 13:33:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:33:17 provisioning config files... 13:33:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config15578253715118197144tmp [Pipeline] { [Pipeline] echo 13:33:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:33:17 ---> create-netrc.sh [Pipeline] } 13:33:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:33:17 ---> python-tools-install.sh [Pipeline] echo 13:33:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:33:18 ---> sudo-logs.sh 13:33:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:33:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:33:18 ---> job-cost.sh 13:33:18 lf-activate-venv: SKIPPING 13:33:18 DEBUG: total: 0.2199999988079071 13:33:18 INFO: Retrieving Stack Cost... 13:33:18 INFO: Retrieving Pricing Info for: v3-standard-8 13:33:19 INFO: Archiving Costs [Pipeline] echo 13:33:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:33:19 ---> logs-deploy.sh 13:33:19 lf-activate-venv: SKIPPING 13:33:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1345/1 13:33:19 INFO: archiving workspace using pattern(s): 13:33:20 Archives upload complete. 13:33:20 INFO: archiving logs to Nexus 13:33:21 ---> uname -a: 13:33:21 Linux prd-ubuntu20-04-docker-8c-8g-7237 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 13:33:21 13:33:21 13:33:21 ---> lscpu: 13:33:21 Architecture: x86_64 13:33:21 CPU op-mode(s): 32-bit, 64-bit 13:33:21 Byte Order: Little Endian 13:33:21 Address sizes: 40 bits physical, 48 bits virtual 13:33:21 CPU(s): 8 13:33:21 On-line CPU(s) list: 0-7 13:33:21 Thread(s) per core: 1 13:33:21 Core(s) per socket: 1 13:33:21 Socket(s): 8 13:33:21 NUMA node(s): 1 13:33:21 Vendor ID: AuthenticAMD 13:33:21 CPU family: 23 13:33:21 Model: 49 13:33:21 Model name: AMD EPYC-Rome Processor 13:33:21 Stepping: 0 13:33:21 CPU MHz: 2800.002 13:33:21 BogoMIPS: 5600.00 13:33:21 Virtualization: AMD-V 13:33:21 Hypervisor vendor: KVM 13:33:21 Virtualization type: full 13:33:21 L1d cache: 256 KiB 13:33:21 L1i cache: 256 KiB 13:33:21 L2 cache: 4 MiB 13:33:21 L3 cache: 128 MiB 13:33:21 NUMA node0 CPU(s): 0-7 13:33:21 Vulnerability Itlb multihit: Not affected 13:33:21 Vulnerability L1tf: Not affected 13:33:21 Vulnerability Mds: Not affected 13:33:21 Vulnerability Meltdown: Not affected 13:33:21 Vulnerability Mmio stale data: Not affected 13:33:21 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:33:21 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 13:33:21 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 13:33:21 Vulnerability Srbds: Not affected 13:33:21 Vulnerability Tsx async abort: Not affected 13:33:21 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 13:33:21 13:33:21 13:33:21 ---> nproc: 13:33:21 8 13:33:21 13:33:21 13:33:21 ---> df -h: 13:33:21 Filesystem Size Used Avail Use% Mounted on 13:33:21 overlay 155G 12G 144G 8% / 13:33:21 tmpfs 64M 0 64M 0% /dev 13:33:21 tmpfs 16G 0 16G 0% /sys/fs/cgroup 13:33:21 shm 64M 0 64M 0% /dev/shm 13:33:21 /dev/vda1 155G 12G 144G 8% /facter-os 13:33:21 13:33:21 13:33:21 ---> sar -b -r -n DEV: 13:33:21 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7237) 02/23/23 _x86_64_ (8 CPU) 13:33:21 13:33:21 13:23:20 LINUX RESTART (8 CPU) 13:33:21 13:33:21 13:24:03 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 13:33:21 13:25:01 163.80 10.93 152.87 0.00 1766.87 60543.49 0.00 13:33:21 13:26:01 93.58 0.12 93.47 0.00 11.20 36081.85 0.00 13:33:21 13:27:01 35.04 0.17 34.88 0.00 7.20 16822.68 0.00 13:33:21 13:28:01 1.27 0.00 1.27 0.00 0.00 15.46 0.00 13:33:21 13:29:01 54.30 11.60 42.70 0.00 5175.87 8765.88 0.00 13:33:21 13:30:01 6.35 0.02 6.33 0.00 0.13 126.25 0.00 13:33:21 13:31:01 1.10 0.00 1.10 0.00 0.00 12.93 0.00 13:33:21 13:32:01 1.62 0.00 1.62 0.00 0.00 18.66 0.00 13:33:21 13:33:01 0.88 0.00 0.88 0.00 0.00 10.00 0.00 13:33:21 Average: 39.31 2.51 36.81 0.00 769.86 13425.12 0.00 13:33:21 13:33:21 13:24:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:33:21 13:25:01 28154540 31555460 750964 2.28 123420 3472932 2054668 6.06 1187848 3092684 307840 13:33:21 13:26:01 28467860 31582268 721060 2.19 147260 3182404 1748072 5.15 1170260 2811760 224 13:33:21 13:27:01 27961032 31583160 718320 2.18 153408 3634416 1755676 5.17 1184260 3250924 24 13:33:21 13:28:01 27961168 31583412 717700 2.18 153448 3634412 1755676 5.17 1183736 3250928 12 13:33:21 13:29:01 27430752 31563592 723784 2.20 187280 4090364 1799220 5.30 1503900 3423220 932 13:33:21 13:30:01 27437764 31565676 721792 2.20 185884 4087108 1793652 5.29 1501632 3420048 28 13:33:21 13:31:01 27447228 31575204 712148 2.17 185924 4087116 1793652 5.29 1491964 3420052 8 13:33:21 13:32:01 27447520 31575540 711760 2.16 185972 4087116 1793652 5.29 1492004 3420056 8 13:33:21 13:33:01 27447724 31575796 711472 2.16 185988 4087120 1793652 5.29 1491980 3420104 8 13:33:21 Average: 27750621 31573345 721000 2.19 167620 3818110 1809769 5.33 1356398 3278864 34343 13:33:21 13:33:21 13:24:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:33:21 13:25:01 lo 6.00 6.00 0.59 0.59 0.00 0.00 0.00 0.00 13:33:21 13:25:01 docker0 188.97 321.67 15.47 2044.37 0.00 0.00 0.00 0.00 13:33:21 13:25:01 ens3 606.10 392.29 7920.88 79.81 0.00 0.00 0.00 0.00 13:33:21 13:26:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 13:33:21 13:26:01 docker0 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 13:33:21 13:26:01 ens3 33.91 22.55 31.47 13.33 0.00 0.00 0.00 0.00 13:33:21 13:27:01 lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 13:33:21 13:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:33:21 13:27:01 ens3 108.52 66.51 2525.54 11.00 0.00 0.00 0.00 0.00 13:33:21 13:28:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 13:33:21 13:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:33:21 13:28:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 13:33:21 13:29:01 lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 13:33:21 13:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:33:21 13:29:01 ens3 209.20 116.01 2789.42 8.09 0.00 0.00 0.00 0.00 13:33:21 13:30:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 13:33:21 13:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:33:21 13:30:01 ens3 0.33 0.27 0.02 0.02 0.00 0.00 0.00 0.00 13:33:21 13:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:33:21 13:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:33:21 13:31:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:33:21 13:32:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 13:33:21 13:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:33:21 13:32:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 13:33:21 13:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:33:21 13:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:33:21 13:33:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:33:21 Average: lo 0.91 0.91 0.09 0.09 0.00 0.00 0.00 0.00 13:33:21 Average: docker0 20.37 34.69 1.67 220.39 0.00 0.00 0.00 0.00 13:33:21 Average: ens3 104.62 65.22 1450.21 12.22 0.00 0.00 0.00 0.00 13:33:21 13:33:21 13:33:21 ---> sar -P ALL: 13:33:21 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7237) 02/23/23 _x86_64_ (8 CPU) 13:33:21 13:33:21 13:23:20 LINUX RESTART (8 CPU) 13:33:21 13:33:21 13:24:03 CPU %user %nice %system %iowait %steal %idle 13:33:21 13:25:01 all 8.86 0.00 3.89 1.25 0.06 85.94 13:33:21 13:25:01 0 9.00 0.00 4.11 0.40 0.05 86.44 13:33:21 13:25:01 1 8.87 0.00 3.76 0.89 0.07 86.41 13:33:21 13:25:01 2 8.70 0.00 4.32 1.34 0.03 85.60 13:33:21 13:25:01 3 8.56 0.00 3.75 3.19 0.07 84.44 13:33:21 13:25:01 4 8.36 0.00 3.02 0.10 0.05 88.47 13:33:21 13:25:01 5 10.09 0.00 3.54 1.29 0.05 85.02 13:33:21 13:25:01 6 8.59 0.00 4.49 0.44 0.05 86.44 13:33:21 13:25:01 7 8.73 0.00 4.13 2.35 0.07 84.72 13:33:21 13:26:01 all 38.99 0.00 5.22 0.67 0.07 55.05 13:33:21 13:26:01 0 39.48 0.00 4.89 0.74 0.07 54.83 13:33:21 13:26:01 1 38.95 0.00 5.49 0.39 0.07 55.11 13:33:21 13:26:01 2 38.43 0.00 5.40 0.05 0.07 56.05 13:33:21 13:26:01 3 39.51 0.00 5.04 0.39 0.07 55.00 13:33:21 13:26:01 4 38.02 0.00 5.02 0.03 0.07 56.87 13:33:21 13:26:01 5 39.22 0.00 4.58 0.08 0.05 56.06 13:33:21 13:26:01 6 39.52 0.00 5.20 0.05 0.07 55.17 13:33:21 13:26:01 7 38.79 0.00 6.16 3.64 0.08 51.32 13:33:21 13:27:01 all 2.62 0.00 1.23 0.62 0.03 95.51 13:33:21 13:27:01 0 2.91 0.00 1.32 0.62 0.02 95.14 13:33:21 13:27:01 1 2.43 0.00 1.60 2.23 0.03 93.71 13:33:21 13:27:01 2 2.36 0.00 1.02 0.02 0.02 96.59 13:33:21 13:27:01 3 2.69 0.00 1.04 0.89 0.02 95.37 13:33:21 13:27:01 4 2.67 0.00 0.80 0.02 0.02 96.50 13:33:21 13:27:01 5 2.33 0.00 1.29 0.00 0.02 96.37 13:33:21 13:27:01 6 3.09 0.00 1.39 0.28 0.03 95.21 13:33:21 13:27:01 7 2.52 0.00 1.36 0.89 0.05 95.17 13:33:21 13:28:01 all 0.02 0.00 0.02 0.00 0.01 99.95 13:33:21 13:28:01 0 0.03 0.00 0.00 0.02 0.02 99.93 13:33:21 13:28:01 1 0.03 0.00 0.00 0.00 0.02 99.95 13:33:21 13:28:01 2 0.00 0.00 0.03 0.00 0.00 99.97 13:33:21 13:28:01 3 0.08 0.00 0.03 0.00 0.02 99.87 13:33:21 13:28:01 4 0.00 0.00 0.02 0.00 0.02 99.97 13:33:21 13:28:01 5 0.00 0.00 0.02 0.00 0.00 99.98 13:33:21 13:28:01 6 0.02 0.00 0.03 0.00 0.02 99.93 13:33:21 13:28:01 7 0.02 0.00 0.02 0.00 0.00 99.97 13:33:21 13:29:01 all 2.24 0.00 1.55 0.43 0.02 95.76 13:33:21 13:29:01 0 1.98 0.00 1.48 1.32 0.02 95.20 13:33:21 13:29:01 1 1.24 0.00 0.99 0.02 0.02 97.74 13:33:21 13:29:01 2 2.87 0.00 0.97 0.03 0.02 96.11 13:33:21 13:29:01 3 2.04 0.00 4.11 0.94 0.03 92.88 13:33:21 13:29:01 4 1.94 0.00 0.95 0.48 0.02 96.61 13:33:21 13:29:01 5 2.34 0.00 1.07 0.48 0.02 96.10 13:33:21 13:29:01 6 3.78 0.00 1.94 0.07 0.03 94.18 13:33:21 13:29:01 7 1.74 0.00 0.91 0.07 0.02 97.27 13:33:21 13:30:01 all 0.09 0.00 0.07 0.01 0.01 99.82 13:33:21 13:30:01 0 0.07 0.00 0.05 0.07 0.00 99.82 13:33:21 13:30:01 1 0.05 0.00 0.07 0.00 0.02 99.87 13:33:21 13:30:01 2 0.02 0.00 0.07 0.03 0.00 99.88 13:33:21 13:30:01 3 0.03 0.00 0.07 0.00 0.00 99.90 13:33:21 13:30:01 4 0.33 0.00 0.10 0.00 0.02 99.55 13:33:21 13:30:01 5 0.03 0.00 0.07 0.02 0.02 99.87 13:33:21 13:30:01 6 0.05 0.00 0.07 0.00 0.00 99.88 13:33:21 13:30:01 7 0.10 0.00 0.05 0.00 0.02 99.83 13:33:21 13:31:01 all 0.03 0.00 0.01 0.00 0.01 99.95 13:33:21 13:31:01 0 0.03 0.00 0.02 0.02 0.00 99.93 13:33:21 13:31:01 1 0.05 0.00 0.02 0.00 0.02 99.92 13:33:21 13:31:01 2 0.03 0.00 0.02 0.00 0.02 99.93 13:33:21 13:31:01 3 0.03 0.00 0.00 0.00 0.00 99.97 13:33:21 13:31:01 4 0.03 0.00 0.03 0.00 0.03 99.90 13:33:21 13:31:01 5 0.03 0.00 0.00 0.02 0.00 99.95 13:33:21 13:31:01 6 0.00 0.00 0.00 0.00 0.00 100.00 13:33:21 13:31:01 7 0.02 0.00 0.02 0.00 0.00 99.97 13:33:21 13:32:01 all 0.01 0.00 0.00 0.00 0.01 99.97 13:33:21 13:32:01 0 0.02 0.00 0.00 0.02 0.02 99.95 13:33:21 13:32:01 1 0.02 0.00 0.00 0.00 0.02 99.97 13:33:21 13:32:01 2 0.03 0.00 0.00 0.02 0.00 99.95 13:33:21 13:32:01 3 0.00 0.00 0.02 0.00 0.00 99.98 13:33:21 13:32:01 4 0.02 0.00 0.02 0.00 0.00 99.97 13:33:21 13:32:01 5 0.03 0.00 0.00 0.00 0.02 99.95 13:33:21 13:32:01 6 0.00 0.00 0.00 0.00 0.00 100.00 13:33:21 13:32:01 7 0.00 0.00 0.00 0.00 0.00 100.00 13:33:21 13:33:01 all 0.03 0.00 0.01 0.00 0.01 99.95 13:33:21 13:33:01 0 0.05 0.00 0.02 0.00 0.00 99.93 13:33:21 13:33:01 1 0.03 0.00 0.02 0.00 0.02 99.93 13:33:21 13:33:01 2 0.03 0.00 0.02 0.00 0.02 99.93 13:33:21 13:33:01 3 0.03 0.00 0.00 0.00 0.00 99.97 13:33:21 13:33:01 4 0.02 0.00 0.02 0.00 0.02 99.95 13:33:21 13:33:01 5 0.03 0.00 0.03 0.02 0.00 99.92 13:33:21 13:33:01 6 0.00 0.00 0.00 0.00 0.00 100.00 13:33:21 13:33:01 7 0.03 0.00 0.02 0.00 0.00 99.95 13:33:21 Average: all 5.83 0.00 1.32 0.33 0.02 92.50 13:33:21 Average: 0 5.90 0.00 1.30 0.35 0.02 92.42 13:33:21 Average: 1 5.70 0.00 1.31 0.39 0.03 92.57 13:33:21 Average: 2 5.79 0.00 1.30 0.16 0.02 92.74 13:33:21 Average: 3 5.85 0.00 1.55 0.59 0.02 92.00 13:33:21 Average: 4 5.67 0.00 1.09 0.07 0.03 93.14 13:33:21 Average: 5 5.96 0.00 1.16 0.21 0.02 92.65 13:33:21 Average: 6 6.08 0.00 1.44 0.09 0.02 92.37 13:33:21 Average: 7 5.72 0.00 1.38 0.76 0.03 92.11 13:33:21 13:33:21 13:33:21