Pull request #1356 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 107e4c63881265bbe14459a2f732245d35a254e6+b4dcd90c517d60267da088e4e26fcccd6a523ed6 (d43b243f286cca173f621ba8d060a5d0512b141c) 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-ssh1987518994253416103.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-ssh17794019169510564355.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-1356/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-1356/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14951325077658250094.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-1356/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5958051785920223677.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-ssh13803706045813802602.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-1356/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-1356/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1848724104134406729.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-8157 in /w/workspace/gexfoundry_device-sdk-go_PR-1356 [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-1356 # 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/1356/head:refs/remotes/origin/PR-1356 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit 107e4c63881265bbe14459a2f732245d35a254e6 Merge succeeded, producing 107e4c63881265bbe14459a2f732245d35a254e6 Checking out Revision 107e4c63881265bbe14459a2f732245d35a254e6 (PR-1356) > git config core.sparsecheckout # timeout=10 > git checkout -f 107e4c63881265bbe14459a2f732245d35a254e6 # 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 b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 107e4c63881265bbe14459a2f732245d35a254e6 # timeout=10 Commit message: "feat: publish event with updated value for PUT command" 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 09:39:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:39:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:39:59 ========================================================= 09:39:59 EdgeX Global Pipelines Version Info 09:39:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:39:59 ------------------- 09:39:59 stable info: 09:39:59 ------------------- 09:39:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:39:59 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 09:39:59 Message: update stable to v1.0.244 09:40:00 ------------------- 09:40:00 experimental info: 09:40:00 ------------------- 09:40:00 Commited By: **** collab-it+edgex@linuxfoundation.org 09:40:00 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 09:40:00 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:40:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:40:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:40:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:40:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:40:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:40:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:40:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:40:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1356 [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1356 [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1356 [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 107e4c63881265bbe14459a2f732245d35a254e6 [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 107e4c6 [Pipeline] echo 09:40:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:40:02 provisioning config files... 09:40:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config13881693779924058484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:40:02 ---> docker-login.sh 09:40:02 nexus3.edgexfoundry.org:10001 09:40:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:02 Configure a credential helper to remove this warning. See 09:40:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:02 09:40:02 Login Succeeded 09:40:02 nexus3.edgexfoundry.org:10002 09:40:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:02 Configure a credential helper to remove this warning. See 09:40:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:02 09:40:02 Login Succeeded 09:40:02 nexus3.edgexfoundry.org:10003 09:40:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:02 Configure a credential helper to remove this warning. See 09:40:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:02 09:40:02 Login Succeeded 09:40:02 nexus3.edgexfoundry.org:10004 09:40:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:02 Configure a credential helper to remove this warning. See 09:40:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:02 09:40:02 Login Succeeded 09:40:02 docker.io 09:40:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:03 Configure a credential helper to remove this warning. See 09:40:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:03 09:40:03 Login Succeeded 09:40:03 ---> docker-login.sh ends [Pipeline] } 09:40:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:40:04 + git rev-list -1 --merges 107e4c63881265bbe14459a2f732245d35a254e6~1..107e4c63881265bbe14459a2f732245d35a254e6 [Pipeline] echo 09:40:04 -----------> git rev-list -1 --merges 107e4c63881265bbe14459a2f732245d35a254e6~1..107e4c63881265bbe14459a2f732245d35a254e6 107e4c63881265bbe14459a2f732245d35a254e6 [false] [Pipeline] sh 09:40:04 + git log --format=format:%s -1 107e4c63881265bbe14459a2f732245d35a254e6 [Pipeline] echo 09:40:04 ========================================================= 09:40:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:40:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:40:04 + git log --format=format:%s -1 107e4c63881265bbe14459a2f732245d35a254e6 [Pipeline] echo 09:40:05 [semverPrep] GIT_COMMIT: 107e4c63881265bbe14459a2f732245d35a254e6, Commit Message: feat: publish event with updated value for PUT command [Pipeline] echo 09:40:05 [semverPrep] This is not a build commit. [Pipeline] sh 09:40:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:40:05 + grep -v github /etc/ssh/ssh_known_hosts 09:40:05 + [ -e /tmp/ssh_known_hosts ] 09:40:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:40:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:40:05 + sudo tee -a /etc/ssh/ssh_known_hosts 09:40:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:05 09:40:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:06 0.1.4: Pulling from edgex-devops/py-git-semver 09:40:06 b85a868b505f: Pulling fs layer 09:40:06 e2be974225ed: Pulling fs layer 09:40:06 339a4e72a1f5: Pulling fs layer 09:40:06 988bab9f4d93: Pulling fs layer 09:40:06 1469e6f7b9e6: Pulling fs layer 09:40:06 eaf3925da568: Pulling fs layer 09:40:06 bab4dde63d76: Pulling fs layer 09:40:06 bde34c3a00c8: Pulling fs layer 09:40:06 b352a97aabf1: Pulling fs layer 09:40:06 4872d77fe225: Pulling fs layer 09:40:06 5851b861e8e6: Pulling fs layer 09:40:06 1469e6f7b9e6: Waiting 09:40:06 eaf3925da568: Waiting 09:40:06 bab4dde63d76: Waiting 09:40:06 bde34c3a00c8: Waiting 09:40:06 b352a97aabf1: Waiting 09:40:06 4872d77fe225: Waiting 09:40:06 988bab9f4d93: Waiting 09:40:06 e2be974225ed: Verifying Checksum 09:40:06 e2be974225ed: Download complete 09:40:06 988bab9f4d93: Verifying Checksum 09:40:06 988bab9f4d93: Download complete 09:40:06 339a4e72a1f5: Verifying Checksum 09:40:06 339a4e72a1f5: Download complete 09:40:06 eaf3925da568: Verifying Checksum 09:40:06 eaf3925da568: Download complete 09:40:06 1469e6f7b9e6: Verifying Checksum 09:40:06 1469e6f7b9e6: Download complete 09:40:06 bde34c3a00c8: Verifying Checksum 09:40:06 bde34c3a00c8: Download complete 09:40:06 b352a97aabf1: Verifying Checksum 09:40:06 b352a97aabf1: Download complete 09:40:06 4872d77fe225: Verifying Checksum 09:40:06 4872d77fe225: Download complete 09:40:06 5851b861e8e6: Verifying Checksum 09:40:06 5851b861e8e6: Download complete 09:40:06 b85a868b505f: Verifying Checksum 09:40:06 b85a868b505f: Download complete 09:40:06 bab4dde63d76: Verifying Checksum 09:40:06 bab4dde63d76: Download complete 09:40:07 b85a868b505f: Pull complete 09:40:07 e2be974225ed: Pull complete 09:40:08 339a4e72a1f5: Pull complete 09:40:08 988bab9f4d93: Pull complete 09:40:08 1469e6f7b9e6: Pull complete 09:40:08 eaf3925da568: Pull complete 09:40:10 bab4dde63d76: Pull complete 09:40:10 bde34c3a00c8: Pull complete 09:40:10 b352a97aabf1: Pull complete 09:40:10 4872d77fe225: Pull complete 09:40:10 5851b861e8e6: Pull complete 09:40:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:40:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:40:11 prd-ubuntu20.04-docker-8c-8g-8157 does not seem to be running inside a container 09:40:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:40:13 $ docker top f5e27814a515c910e59eb894d30b415b97bed3d8a3e69166d1efed29b88964eb -eo pid,comm 09:40:13 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). 09:40:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:40:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:40:13 [ssh-agent] Looking for ssh-agent implementation... 09:40:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:40:14 $ docker exec f5e27814a515c910e59eb894d30b415b97bed3d8a3e69166d1efed29b88964eb ssh-agent 09:40:14 SSH_AUTH_SOCK=/tmp/ssh-sqtOfAgx6oOP/agent.31 09:40:14 SSH_AGENT_PID=37 09:40:14 Running ssh-add (command line suppressed) 09:40:14 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_7923615511607466512.key (/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_7923615511607466512.key) 09:40:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:40:14 + git tag --points-at HEAD [Pipeline] } 09:40:14 $ docker exec --env ******** --env ******** f5e27814a515c910e59eb894d30b415b97bed3d8a3e69166d1efed29b88964eb ssh-agent -k 09:40:14 unset SSH_AUTH_SOCK; 09:40:14 unset SSH_AGENT_PID; 09:40:14 echo Agent pid 37 killed; 09:40:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:40:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:40:14 [ssh-agent] Looking for ssh-agent implementation... 09:40:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:40:14 $ docker exec f5e27814a515c910e59eb894d30b415b97bed3d8a3e69166d1efed29b88964eb ssh-agent 09:40:15 SSH_AUTH_SOCK=/tmp/ssh-UEIAJ2xBZ6yd/agent.69 09:40:15 SSH_AGENT_PID=75 09:40:15 Running ssh-add (command line suppressed) 09:40:15 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_2286981792052448657.key (/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_2286981792052448657.key) 09:40:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:40:15 + git semver init 09:40:15 2023-03-03 09:40:15,700 [run_init] DEBUG init version:0.0.0 force:False 09:40:15 2023-03-03 09:40:15,701 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver 09:40:15 2023-03-03 09:40:15,701 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver 09:40:15 2023-03-03 09:40:15,702 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356, universal_newlines=False, shell=None, istream=None) 09:40:16 2023-03-03 09:40:16,669 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.git/info/exclude 09:40:16 2023-03-03 09:40:16,670 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 with force:False 09:40:16 2023-03-03 09:40:16,670 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 09:40:16 2023-03-03 09:40:16,674 [execute] INFO git cat-file --batch-check 09:40:16 2023-03-03 09:40:16,675 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver, universal_newlines=False, shell=None, istream=) 09:40:16 2023-03-03 09:40:16,682 [execute] INFO git cat-file --batch 09:40:16 2023-03-03 09:40:16,682 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver, universal_newlines=False, shell=None, istream=) 09:40:16 2023-03-03 09:40:16,687 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 09:40:16 0.0.0 [Pipeline] } 09:40:16 $ docker exec --env ******** --env ******** f5e27814a515c910e59eb894d30b415b97bed3d8a3e69166d1efed29b88964eb ssh-agent -k 09:40:16 unset SSH_AUTH_SOCK; 09:40:16 unset SSH_AGENT_PID; 09:40:16 echo Agent pid 75 killed; 09:40:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:40:17 + git semver [Pipeline] } 09:40:17 $ docker stop --time=1 f5e27814a515c910e59eb894d30b415b97bed3d8a3e69166d1efed29b88964eb 09:40:18 $ docker rm -f --volumes f5e27814a515c910e59eb894d30b415b97bed3d8a3e69166d1efed29b88964eb [Pipeline] // withDockerContainer [Pipeline] sh 09:40:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:40:19 Stashed 1 file(s) [Pipeline] echo 09:40:19 [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 09:40:20 provisioning config files... 09:40:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config11352384130770937215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:40:20 ---> docker-login.sh 09:40:20 nexus3.edgexfoundry.org:10001 09:40:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:20 Configure a credential helper to remove this warning. See 09:40:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:20 09:40:20 Login Succeeded 09:40:20 nexus3.edgexfoundry.org:10002 09:40:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:20 Configure a credential helper to remove this warning. See 09:40:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:20 09:40:20 Login Succeeded 09:40:20 nexus3.edgexfoundry.org:10003 09:40:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:20 Configure a credential helper to remove this warning. See 09:40:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:20 09:40:20 Login Succeeded 09:40:20 nexus3.edgexfoundry.org:10004 09:40:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:20 Configure a credential helper to remove this warning. See 09:40:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:20 09:40:20 Login Succeeded 09:40:20 docker.io 09:40:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:20 Configure a credential helper to remove this warning. See 09:40:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:20 09:40:20 Login Succeeded 09:40:20 ---> docker-login.sh ends [Pipeline] } 09:40:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:40:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:40:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:40:21 ========================================================= 09:40:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:40:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:21 + 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 . 09:40:21 Sending build context to Docker daemon 10.64MB 09:40:21 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 09:40:21 Step 2/10 : FROM ${BASE} AS builder 09:40:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:40:21 213ec9aee27d: Pulling fs layer 09:40:21 4583459ba037: Pulling fs layer 09:40:21 93c1e223e6f2: Pulling fs layer 09:40:21 53926ce57604: Pulling fs layer 09:40:21 21b2b0c7a3f4: Pulling fs layer 09:40:21 22ff95d597cd: Pulling fs layer 09:40:21 12d6caf4c0d1: Pulling fs layer 09:40:21 96b7cbca73a9: Pulling fs layer 09:40:21 a7acece74701: Pulling fs layer 09:40:21 21b2b0c7a3f4: Waiting 09:40:21 22ff95d597cd: Waiting 09:40:21 a7acece74701: Waiting 09:40:21 12d6caf4c0d1: Waiting 09:40:21 96b7cbca73a9: Waiting 09:40:21 53926ce57604: Waiting 09:40:22 93c1e223e6f2: Verifying Checksum 09:40:22 93c1e223e6f2: Download complete 09:40:22 4583459ba037: Verifying Checksum 09:40:22 4583459ba037: Download complete 09:40:22 21b2b0c7a3f4: Verifying Checksum 09:40:22 21b2b0c7a3f4: Download complete 09:40:22 22ff95d597cd: Verifying Checksum 09:40:22 22ff95d597cd: Download complete 09:40:22 213ec9aee27d: Download complete 09:40:22 12d6caf4c0d1: Download complete 09:40:22 213ec9aee27d: Pull complete 09:40:22 4583459ba037: Pull complete 09:40:22 93c1e223e6f2: Pull complete 09:40:22 a7acece74701: Verifying Checksum 09:40:22 a7acece74701: Download complete 09:40:22 96b7cbca73a9: Verifying Checksum 09:40:22 96b7cbca73a9: Download complete 09:40:23 53926ce57604: Verifying Checksum 09:40:23 53926ce57604: Download complete 09:40:27 53926ce57604: Pull complete 09:40:27 21b2b0c7a3f4: Pull complete 09:40:27 22ff95d597cd: Pull complete 09:40:27 12d6caf4c0d1: Pull complete 09:40:29 96b7cbca73a9: Pull complete 09:40:29 a7acece74701: Pull complete 09:40:29 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 09:40:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:40:29 ---> db6d94c90886 09:40:29 Step 3/10 : ARG MAKE=make build 09:40:34 Still waiting to schedule task 09:40:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:40:35 ---> Running in 6ee3858fb87f 09:40:35 Removing intermediate container 6ee3858fb87f 09:40:35 ---> 47965af7c874 09:40:35 Step 4/10 : WORKDIR /device-sdk-go 09:40:35 ---> Running in 5048dfaa7c52 09:40:35 Removing intermediate container 5048dfaa7c52 09:40:35 ---> 276f048d1f62 09:40:35 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:40:35 ---> Running in c3fcf4c8779a 09:40:35 Removing intermediate container c3fcf4c8779a 09:40:35 ---> 40aa824cedd4 09:40:35 Step 6/10 : RUN apk add --update --no-cache make git 09:40:35 ---> Running in 59664af8bf73 09:40:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:40:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:40:35 OK: 211 MiB in 51 packages 09:40:35 Removing intermediate container 59664af8bf73 09:40:35 ---> 709f2d399d1c 09:40:35 Step 7/10 : COPY go.mod vendor* ./ 09:40:35 ---> ffaf525688d7 09:40:35 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:40:35 ---> Running in 249e3df184cc 09:41:14 Removing intermediate container 249e3df184cc 09:41:14 ---> fd4a99c29b44 09:41:14 Step 9/10 : COPY . . 09:41:14 ---> 4d57cd6755ce 09:41:14 Step 10/10 : RUN ${MAKE} 09:41:14 ---> Running in 85b558e25d76 09:41:14 noop 09:41:14 Removing intermediate container 85b558e25d76 09:41:14 ---> 0d5b12e2242f 09:41:14 Successfully built 0d5b12e2242f 09:41:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:15 + docker inspect -f . ci-base-image-x86_64 09:41:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:41:15 prd-ubuntu20.04-docker-8c-8g-8157 does not seem to be running inside a container 09:41:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:41:15 $ docker top 9cbff45159d758295da4e4f38aa44c60a3d463285e78169a23ad79f0ca30c71a -eo pid,comm [Pipeline] { [Pipeline] sh 09:41:15 + go version 09:41:15 go version go1.18.7 linux/amd64 [Pipeline] } 09:41:15 $ docker stop --time=1 9cbff45159d758295da4e4f38aa44c60a3d463285e78169a23ad79f0ca30c71a 09:41:17 $ docker rm -f --volumes 9cbff45159d758295da4e4f38aa44c60a3d463285e78169a23ad79f0ca30c71a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:18 + docker inspect -f . ci-base-image-x86_64 09:41:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:41:18 prd-ubuntu20.04-docker-8c-8g-8157 does not seem to be running inside a container 09:41:18 $ 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-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:41:18 $ docker top 2b71c33b575a3eb666d98ef282c6b308d8519ff24e0a9884d59971bfc8290530 -eo pid,comm [Pipeline] { [Pipeline] sh 09:41:19 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1356 [Pipeline] fileExists [Pipeline] sh 09:41:19 + make test 09:41:19 go test -race -coverprofile=coverage.out ./... 09:41:25 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 09:41:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 09:41:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 09:41:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 09:41:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 09:41:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 09:41:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.063s coverage: 27.6% of statements 09:41:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.066s coverage: 78.9% of statements 09:41:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 09:41:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.104s coverage: 86.0% of statements 09:41:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 09:41:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 09:41:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.138s coverage: 75.4% of statements 09:41:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 09:41:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.066s coverage: 15.1% of statements 09:41:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 09:41:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.100s coverage: 65.2% of statements 09:41:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 09:41:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 09:41:42 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.728s coverage: 89.2% of statements 09:41:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 09:41:42 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.075s coverage: 4.6% of statements 09:41:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 09:41: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." 09:41:57 GO111MODULE=on go vet ./... 09:41:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:41:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:41:58 ./bin/test-attribution-txt.sh [Pipeline] echo 09:41:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:41:59 $ docker stop --time=1 2b71c33b575a3eb666d98ef282c6b308d8519ff24e0a9884d59971bfc8290530 09:42:01 $ docker rm -f --volumes 2b71c33b575a3eb666d98ef282c6b308d8519ff24e0a9884d59971bfc8290530 [Pipeline] // withDockerContainer [Pipeline] sh 09:42:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:42:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:42:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:42:03 + ls -al . 09:42:03 total 280 09:42:03 drwxrwxr-x 11 jenkins jenkins 4096 Mar 3 09:41 . 09:42:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 09:39 .. 09:42:03 -rw-rw-r-- 1 jenkins jenkins 140 Mar 3 09:39 .dockerignore 09:42:03 drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 09:41 .git 09:42:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 09:39 .github 09:42:03 -rw-rw-r-- 1 jenkins jenkins 131 Mar 3 09:39 .gitignore 09:42:03 -rw-rw-r-- 1 jenkins jenkins 42 Mar 3 09:39 .golangci.yml 09:42:03 drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 09:40 .semver 09:42:03 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 3 09:39 CHANGELOG.md 09:42:03 -rw-rw-r-- 1 jenkins jenkins 677 Mar 3 09:39 GOVERNANCE.md 09:42:03 -rw-rw-r-- 1 jenkins jenkins 885 Mar 3 09:39 Jenkinsfile 09:42:03 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 3 09:39 LICENSE 09:42:03 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 3 09:39 Makefile 09:42:03 -rw-rw-r-- 1 jenkins jenkins 619 Mar 3 09:39 OWNERS.md 09:42:03 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 3 09:39 README.md 09:42:03 -rw-rw-r-- 1 jenkins jenkins 5 Mar 3 09:40 VERSION 09:42:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 09:39 bin 09:42:03 -rw-r--r-- 1 jenkins jenkins 111634 Mar 3 09:41 coverage.out 09:42:03 drwxrwxr-x 5 jenkins jenkins 4096 Mar 3 09:39 example 09:42:03 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 3 09:39 go.mod 09:42:03 -rw-rw-r-- 1 jenkins jenkins 30840 Mar 3 09:39 go.sum 09:42:03 drwxrwxr-x 13 jenkins jenkins 4096 Mar 3 09:39 internal 09:42:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 09:39 openapi 09:42:03 drwxrwxr-x 6 jenkins jenkins 4096 Mar 3 09:39 pkg 09:42:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 09:39 snap 09:42:03 -rw-rw-r-- 1 jenkins jenkins 222 Mar 3 09:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:03 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=107e4c63881265bbe14459a2f732245d35a254e6 --label arch=amd64 --label version=0.0.0 . 09:42:03 Sending build context to Docker daemon 10.76MB 09:42:03 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 09:42:03 Step 2/23 : FROM ${BASE} AS builder 09:42:03 ---> 0d5b12e2242f 09:42:03 Step 3/23 : ARG MAKE=make build 09:42:04 ---> Running in 4c7e5c3a6727 09:42:04 Removing intermediate container 4c7e5c3a6727 09:42:04 ---> e5f7f758d91d 09:42:04 Step 4/23 : WORKDIR /device-sdk-go 09:42:04 ---> Running in c8a404f59492 09:42:04 Removing intermediate container c8a404f59492 09:42:04 ---> ee6a88944651 09:42:04 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:42:04 ---> Running in 4df91ca970d2 09:42:04 Removing intermediate container 4df91ca970d2 09:42:04 ---> 95c6acfb4f04 09:42:04 Step 6/23 : RUN apk add --update --no-cache make git 09:42:04 ---> Running in a6cc1fc2bf23 09:42:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:42:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:42:04 OK: 211 MiB in 51 packages 09:42:05 Removing intermediate container a6cc1fc2bf23 09:42:05 ---> 67f84bc354c1 09:42:05 Step 7/23 : COPY go.mod vendor* ./ 09:42:05 ---> 38039c5d7870 09:42:05 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:42:05 ---> Running in cce9392dc6e4 09:42:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8158 in /w/workspace/gexfoundry_device-sdk-go_PR-1356 [Pipeline] { [Pipeline] ws 09:42:06 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 09:42:06 The recommended git tool is: git 09:42:06 Removing intermediate container cce9392dc6e4 09:42:06 ---> 72dc9631f9a1 09:42:06 Step 9/23 : COPY . . 09:42:06 ---> 7afad5b00bed 09:42:06 Step 10/23 : RUN ${MAKE} 09:42:06 ---> Running in 5d30ce60c57f 09:42:06 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:42:11 using credential edgex-jenkins-ssh 09:42:11 Cloning the remote Git repository 09:42:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:42:11 > git init /w/workspace/device-sdk-go/1 # timeout=10 09:42:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:42:11 > git --version # timeout=10 09:42:11 > git --version # 'git version 2.25.1' 09:42:11 using GIT_SSH to set credentials SSH Credentials for GitHub 09:42:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:42:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:42:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:42:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:42:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:42:14 using GIT_SSH to set credentials SSH Credentials for GitHub 09:42:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1356/head:refs/remotes/origin/PR-1356 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:42:15 Merging remotes/origin/main commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit 107e4c63881265bbe14459a2f732245d35a254e6 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:42:15 Failed in branch arm64 09:42:15 > git config core.sparsecheckout # timeout=10 09:42:15 > git checkout -f 107e4c63881265bbe14459a2f732245d35a254e6 # timeout=10 09:42:25 Removing intermediate container 5d30ce60c57f 09:42:25 ---> 5822af2ec84b 09:42:25 Step 11/23 : FROM alpine:3.16 09:42:25 3.16: Pulling from library/alpine 09:42:25 ef5531b6e74e: Pulling fs layer 09:42:25 ef5531b6e74e: Verifying Checksum 09:42:25 ef5531b6e74e: Download complete 09:42:25 ef5531b6e74e: Pull complete 09:42:25 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 09:42:25 Status: Downloaded newer image for alpine:3.16 09:42:25 ---> dfd21b5a31f5 09:42:25 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:42:25 ---> Running in 3b19abe8b4a6 09:42:26 Removing intermediate container 3b19abe8b4a6 09:42:26 ---> 05d73f6e31c4 09:42:26 Step 13/23 : RUN apk add --update --no-cache 09:42:26 ---> Running in 67d8a2fb4874 09:42:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:42:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:42:26 OK: 6 MiB in 14 packages 09:42:27 Removing intermediate container 67d8a2fb4874 09:42:27 ---> 2888cc574884 09:42:27 Step 14/23 : WORKDIR / 09:42:27 ---> Running in c9559516b1ce 09:42:27 Removing intermediate container c9559516b1ce 09:42:27 ---> feac5a03d074 09:42:27 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:42:27 ---> 89569a619a1e 09:42:27 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:42:28 ---> 243981ef7600 09:42:28 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:42:28 ---> fd6c41143928 09:42:28 Step 18/23 : EXPOSE 59999 09:42:28 ---> Running in d2533d27dd2b 09:42:28 Removing intermediate container d2533d27dd2b 09:42:28 ---> e7b0ff6be4ff 09:42:28 Step 19/23 : ENTRYPOINT ["/device-simple"] 09:42:28 ---> Running in 45d6ba3ba80a 09:42:28 Removing intermediate container 45d6ba3ba80a 09:42:28 ---> cc79ed5f9987 09:42:28 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:42:28 ---> Running in c45d40acfb91 09:42:28 Removing intermediate container c45d40acfb91 09:42:28 ---> e88ddaef90d7 09:42:28 Step 21/23 : LABEL arch=amd64 09:42:28 ---> Running in 6fbc5421b42b 09:42:28 Removing intermediate container 6fbc5421b42b 09:42:28 ---> 7b49d31e3a42 09:42:28 Step 22/23 : LABEL git_sha=107e4c63881265bbe14459a2f732245d35a254e6 09:42:28 ---> Running in 3df106d8fd78 09:42:28 Removing intermediate container 3df106d8fd78 09:42:28 ---> 3ecc73a03eb5 09:42:28 Step 23/23 : LABEL version=0.0.0 09:42:28 ---> Running in 95bfadb88787 09:42:28 Removing intermediate container 95bfadb88787 09:42:28 ---> 471135243c2a 09:42:28 [Warning] One or more build-args [ARCH] were not consumed 09:42:28 Successfully built 471135243c2a 09:42:28 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:42:29 09:42:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:42:30 latest: Pulling from edgex-lftools-log-publisher 09:42:30 5eb5b503b376: Pulling fs layer 09:42:30 5c69ac0246d0: Pulling fs layer 09:42:30 ec43610c2a17: Pulling fs layer 09:42:30 3a2ae6a8a46f: Pulling fs layer 09:42:30 33b1e0a273af: Pulling fs layer 09:42:30 5d3b04190fa2: Pulling fs layer 09:42:30 2f39f015ded8: Pulling fs layer 09:42:30 3a2ae6a8a46f: Waiting 09:42:30 33b1e0a273af: Waiting 09:42:30 5d3b04190fa2: Waiting 09:42:30 2f39f015ded8: Waiting 09:42:30 5c69ac0246d0: Verifying Checksum 09:42:30 5c69ac0246d0: Download complete 09:42:30 3a2ae6a8a46f: Verifying Checksum 09:42:30 3a2ae6a8a46f: Download complete 09:42:30 33b1e0a273af: Verifying Checksum 09:42:30 33b1e0a273af: Download complete 09:42:30 5d3b04190fa2: Verifying Checksum 09:42:30 5d3b04190fa2: Download complete 09:42:30 ec43610c2a17: Verifying Checksum 09:42:30 ec43610c2a17: Download complete 09:42:30 5eb5b503b376: Verifying Checksum 09:42:30 5eb5b503b376: Download complete 09:42:30 2f39f015ded8: Download complete 09:42:31 5eb5b503b376: Pull complete 09:42:31 5c69ac0246d0: Pull complete 09:42:32 ec43610c2a17: Pull complete 09:42:32 3a2ae6a8a46f: Pull complete 09:42:32 33b1e0a273af: Pull complete 09:42:32 5d3b04190fa2: Pull complete 09:42:36 2f39f015ded8: Pull complete 09:42:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:42:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:42:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:37 prd-ubuntu20.04-docker-8c-8g-8157 does not seem to be running inside a container 09:42:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:42:39 $ docker top 43a66ad4047896ebab626e6f639fee7576f5628b73640b8443ddc87c524fad94 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:42:39 ---> job-cost.sh 09:42:39 lf-activate-venv: SKIPPING 09:42:39 INFO: No Stack... 09:42:39 INFO: Retrieving Pricing Info for: v3-standard-8 09:42:40 INFO: Archiving Costs [Pipeline] sh 09:42:40 + cut -d, -f6 09:42:40 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/cost.csv [Pipeline] lock 09:42:40 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1356-1-stack-cost] 09:42:40 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-1-stack-cost] did not exist. Created. 09:42:40 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1356-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:42:41 + echo total: 0.2199999988079071 [Pipeline] stash 09:42:41 Stashed 1 file(s) [Pipeline] } 09:42:41 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:42:41 $ docker stop --time=1 43a66ad4047896ebab626e6f639fee7576f5628b73640b8443ddc87c524fad94 09:42:42 $ docker rm -f --volumes 43a66ad4047896ebab626e6f639fee7576f5628b73640b8443ddc87c524fad94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [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 09:42:44 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives ] 09:42:44 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives 09:42:44 total 16 09:42:44 drwxr-xr-x 3 root root 4096 Mar 3 09:42 . 09:42:44 drwxrwxr-x 12 jenkins jenkins 4096 Mar 3 09:42 .. 09:42:44 drwxr-xr-x 2 root root 4096 Mar 3 09:42 cost 09:42:44 -rw-r--r-- 1 root root 86 Mar 3 09:42 cost.csv 09:42:44 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives 09:42:44 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives 09:42:44 total 16 09:42:44 drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 09:42 . 09:42:44 drwxrwxr-x 12 jenkins jenkins 4096 Mar 3 09:42 .. 09:42:44 drwxr-xr-x 2 jenkins jenkins 4096 Mar 3 09:42 cost 09:42:44 -rw-r--r-- 1 jenkins jenkins 86 Mar 3 09:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:42:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:42:46 ---> package-listing.sh 09:42:46 ++ facter osfamily 09:42:46 ++ tr '[:upper:]' '[:lower:]' 09:42:46 + OS_FAMILY=debian 09:42:46 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1356 09:42:46 + START_PACKAGES=/tmp/packages_start.txt 09:42:46 + END_PACKAGES=/tmp/packages_end.txt 09:42:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:42:46 + PACKAGES=/tmp/packages_start.txt 09:42:46 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1356 ']' 09:42:46 + PACKAGES=/tmp/packages_end.txt 09:42:46 + case "${OS_FAMILY}" in 09:42:46 + dpkg -l 09:42:46 + grep '^ii' 09:42:46 + '[' -f /tmp/packages_start.txt ']' 09:42:46 + '[' -f /tmp/packages_end.txt ']' 09:42:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:42:46 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1356 ']' 09:42:46 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/ 09:42:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/ [Pipeline] echo 09:42:46 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-1356/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:42:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:42:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:47 prd-ubuntu20.04-docker-8c-8g-8157 does not seem to be running inside a container 09:42:47 $ 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-1356/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-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@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 09:42:47 $ docker top 39a2a534ae47768dd75b415e3ce9775a829f973c6b0fc5a50bdec0b052c05e54 -eo pid,comm [Pipeline] { [Pipeline] sh 09:42:48 + touch /tmp/pre-build-complete [Pipeline] sh 09:42:48 + mkdir -p /var/log/sysstat [Pipeline] sh 09:42:48 + ls /var/log/sa-host 09:42:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:42:48 provisioning config files... 09:42:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config14184855781613358853tmp [Pipeline] { [Pipeline] echo 09:42:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:42:49 ---> create-netrc.sh [Pipeline] } 09:42:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:42:49 ---> python-tools-install.sh [Pipeline] echo 09:42:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:42:50 ---> sudo-logs.sh 09:42:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:42:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:42:50 ---> job-cost.sh 09:42:50 lf-activate-venv: SKIPPING 09:42:50 DEBUG: total: 0.2199999988079071 09:42:50 INFO: Retrieving Stack Cost... 09:42:50 INFO: Retrieving Pricing Info for: v3-standard-8 09:42:51 INFO: Archiving Costs [Pipeline] echo 09:42:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:42:51 ---> logs-deploy.sh 09:42:51 lf-activate-venv: SKIPPING 09:42:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1356/1 09:42:51 INFO: archiving workspace using pattern(s): 09:42:52 Archives upload complete. 09:42:52 INFO: archiving logs to Nexus 09:42:53 ---> uname -a: 09:42:53 Linux prd-ubuntu20-04-docker-8c-8g-8157 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 09:42:53 09:42:53 09:42:53 ---> lscpu: 09:42:53 Architecture: x86_64 09:42:53 CPU op-mode(s): 32-bit, 64-bit 09:42:53 Byte Order: Little Endian 09:42:53 Address sizes: 40 bits physical, 48 bits virtual 09:42:53 CPU(s): 8 09:42:53 On-line CPU(s) list: 0-7 09:42:53 Thread(s) per core: 1 09:42:53 Core(s) per socket: 1 09:42:53 Socket(s): 8 09:42:53 NUMA node(s): 1 09:42:53 Vendor ID: AuthenticAMD 09:42:53 CPU family: 23 09:42:53 Model: 49 09:42:53 Model name: AMD EPYC-Rome Processor 09:42:53 Stepping: 0 09:42:53 CPU MHz: 2799.956 09:42:53 BogoMIPS: 5599.91 09:42:53 Virtualization: AMD-V 09:42:53 Hypervisor vendor: KVM 09:42:53 Virtualization type: full 09:42:53 L1d cache: 256 KiB 09:42:53 L1i cache: 256 KiB 09:42:53 L2 cache: 4 MiB 09:42:53 L3 cache: 128 MiB 09:42:53 NUMA node0 CPU(s): 0-7 09:42:53 Vulnerability Itlb multihit: Not affected 09:42:53 Vulnerability L1tf: Not affected 09:42:53 Vulnerability Mds: Not affected 09:42:53 Vulnerability Meltdown: Not affected 09:42:53 Vulnerability Mmio stale data: Not affected 09:42:53 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:42:53 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 09:42:53 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 09:42:53 Vulnerability Srbds: Not affected 09:42:53 Vulnerability Tsx async abort: Not affected 09:42:53 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 09:42:53 09:42:53 09:42:53 ---> nproc: 09:42:53 8 09:42:53 09:42:53 09:42:53 ---> df -h: 09:42:53 Filesystem Size Used Avail Use% Mounted on 09:42:53 overlay 155G 12G 144G 8% / 09:42:53 tmpfs 64M 0 64M 0% /dev 09:42:53 tmpfs 16G 0 16G 0% /sys/fs/cgroup 09:42:53 shm 64M 0 64M 0% /dev/shm 09:42:53 /dev/vda1 155G 12G 144G 8% /facter-os 09:42:53 09:42:53 09:42:53 ---> sar -b -r -n DEV: 09:42:53 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8157) 03/03/23 _x86_64_ (8 CPU) 09:42:53 09:42:53 09:39:15 LINUX RESTART (8 CPU) 09:42:53 09:42:53 09:40:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:42:53 09:41:01 152.69 4.39 148.30 0.00 513.95 58991.63 0.00 09:42:53 09:42:01 84.20 0.07 84.14 0.00 1.60 35621.93 0.00 09:42:53 Average: 118.16 2.21 115.95 0.00 255.62 47208.60 0.00 09:42:53 09:42:53 09:40:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:42:53 09:41:01 28292484 31555824 749140 2.28 113176 3361420 2054364 6.05 1173608 2980944 181164 09:42:53 09:42:01 28059136 31551492 736620 2.24 147028 3533648 1892172 5.58 1202144 3146576 9456 09:42:53 Average: 28175810 31553658 742880 2.26 130102 3447534 1973268 5.82 1187876 3063760 95310 09:42:53 09:42:53 09:40:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:42:53 09:41:01 docker0 230.08 357.85 17.43 2007.55 0.00 0.00 0.00 0.00 09:42:53 09:41:01 lo 5.22 5.22 0.51 0.51 0.00 0.00 0.00 0.00 09:42:53 09:41:01 ens3 635.10 421.06 7774.71 79.89 0.00 0.00 0.00 0.00 09:42:53 09:42:01 docker0 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 09:42:53 09:42:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 09:42:53 09:42:01 ens3 31.99 20.50 29.65 12.57 0.00 0.00 0.00 0.00 09:42:53 Average: docker0 114.07 177.47 8.64 995.34 0.00 0.00 0.00 0.00 09:42:53 Average: lo 2.69 2.69 0.26 0.26 0.00 0.00 0.00 0.00 09:42:53 Average: ens3 331.01 219.10 3869.64 45.95 0.00 0.00 0.00 0.00 09:42:53 09:42:53 09:42:53 ---> sar -P ALL: 09:42:53 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8157) 03/03/23 _x86_64_ (8 CPU) 09:42:53 09:42:53 09:39:15 LINUX RESTART (8 CPU) 09:42:53 09:42:53 09:40:02 CPU %user %nice %system %iowait %steal %idle 09:42:53 09:41:01 all 8.44 0.00 3.67 2.63 0.06 85.20 09:42:53 09:41:01 0 7.54 0.00 3.96 2.07 0.05 86.38 09:42:53 09:41:01 1 8.44 0.00 3.59 0.05 0.05 87.87 09:42:53 09:41:01 2 8.17 0.00 3.44 2.84 0.05 85.50 09:42:53 09:41:01 3 7.98 0.00 4.55 2.25 0.07 85.16 09:42:53 09:41:01 4 9.46 0.00 2.96 1.44 0.05 86.10 09:42:53 09:41:01 5 8.19 0.00 3.05 6.20 0.05 82.50 09:42:53 09:41:01 6 9.32 0.00 4.18 4.90 0.03 81.57 09:42:53 09:41:01 7 8.43 0.00 3.68 1.31 0.09 86.50 09:42:53 09:42:01 all 38.44 0.00 5.65 1.48 0.08 54.35 09:42:53 09:42:01 0 38.89 0.00 6.30 0.15 0.13 54.52 09:42:53 09:42:01 1 38.54 0.00 5.23 0.25 0.07 55.91 09:42:53 09:42:01 2 38.53 0.00 5.72 0.12 0.07 55.56 09:42:53 09:42:01 3 40.17 0.00 5.30 1.44 0.08 53.01 09:42:53 09:42:01 4 37.17 0.00 5.78 0.15 0.07 56.83 09:42:53 09:42:01 5 38.49 0.00 5.00 0.02 0.07 56.43 09:42:53 09:42:01 6 37.39 0.00 6.33 9.56 0.08 46.64 09:42:53 09:42:01 7 38.32 0.00 5.56 0.22 0.08 55.82 09:42:53 Average: all 23.56 0.00 4.67 2.05 0.07 69.64 09:42:53 Average: 0 23.36 0.00 5.14 1.10 0.09 70.30 09:42:53 Average: 1 23.60 0.00 4.42 0.15 0.06 71.77 09:42:53 Average: 2 23.46 0.00 4.59 1.47 0.06 70.42 09:42:53 Average: 3 24.20 0.00 4.93 1.84 0.08 68.96 09:42:53 Average: 4 23.46 0.00 4.38 0.79 0.06 71.31 09:42:53 Average: 5 23.45 0.00 4.03 3.09 0.06 69.37 09:42:53 Average: 6 23.44 0.00 5.26 7.24 0.06 63.99 09:42:53 Average: 7 23.52 0.00 4.63 0.76 0.09 71.00 09:42:53 09:42:53 09:42:53