Pull request #1307 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 79355e312bfe44d179a53fdb703147f62f46463b+93a0268657819106988a1ad83ac56bb06d25ff7d (53acb42120b1612cdc2caf92766ae4cd1fa588e9) 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-ssh14411311592420008228.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-ssh11771770288300333418.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-1307/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-1307/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh796646239757921250.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-1307/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4271498145830327233.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-ssh15397925165522426400.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-1307/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-1307/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14344727138789852234.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4835 in /w/workspace/gexfoundry_device-sdk-go_PR-1307 [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-1307 # 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/1307/head:refs/remotes/origin/PR-1307 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 93a0268657819106988a1ad83ac56bb06d25ff7d into PR head commit 79355e312bfe44d179a53fdb703147f62f46463b Merge succeeded, producing 79355e312bfe44d179a53fdb703147f62f46463b Checking out Revision 79355e312bfe44d179a53fdb703147f62f46463b (PR-1307) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 > git config core.sparsecheckout # timeout=10 > git checkout -f 79355e312bfe44d179a53fdb703147f62f46463b # 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 93a0268657819106988a1ad83ac56bb06d25ff7d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 79355e312bfe44d179a53fdb703147f62f46463b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:12:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:12:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:12:57 ========================================================= 04:12:57 EdgeX Global Pipelines Version Info 04:12:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:12:58 ------------------- 04:12:58 stable info: 04:12:58 ------------------- 04:12:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:12:58 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:12:58 Message: update stable to v1.0.244 04:12:58 ------------------- 04:12:58 experimental info: 04:12:58 ------------------- 04:12:58 Commited By: **** collab-it+edgex@linuxfoundation.org 04:12:58 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:12:58 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:12:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:12:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:12:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:12:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:12:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:12:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:12:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:12:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:12:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:12:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:13:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:13:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:13:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:13:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:13:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:13:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:13:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:13:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:13:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:13:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:13:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1307 [Pipeline] echo 04:13:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1307 [Pipeline] echo 04:13:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1307 [Pipeline] echo 04:13:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 79355e312bfe44d179a53fdb703147f62f46463b [Pipeline] echo 04:13:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 79355e3 [Pipeline] echo 04:13:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:13:00 provisioning config files... 04:13:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp/config11548551504881959505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:13:01 ---> docker-login.sh 04:13:01 nexus3.edgexfoundry.org:10001 04:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:01 Configure a credential helper to remove this warning. See 04:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:01 04:13:01 Login Succeeded 04:13:01 nexus3.edgexfoundry.org:10002 04:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:01 Configure a credential helper to remove this warning. See 04:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:01 04:13:01 Login Succeeded 04:13:01 nexus3.edgexfoundry.org:10003 04:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:01 Configure a credential helper to remove this warning. See 04:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:01 04:13:01 Login Succeeded 04:13:01 nexus3.edgexfoundry.org:10004 04:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:01 Configure a credential helper to remove this warning. See 04:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:01 04:13:01 Login Succeeded 04:13:01 docker.io 04:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:01 Configure a credential helper to remove this warning. See 04:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:01 04:13:01 Login Succeeded 04:13:02 ---> docker-login.sh ends [Pipeline] } 04:13:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:13:02 + git rev-list -1 --merges 79355e312bfe44d179a53fdb703147f62f46463b~1..79355e312bfe44d179a53fdb703147f62f46463b [Pipeline] echo 04:13:02 -----------> git rev-list -1 --merges 79355e312bfe44d179a53fdb703147f62f46463b~1..79355e312bfe44d179a53fdb703147f62f46463b 79355e312bfe44d179a53fdb703147f62f46463b [false] [Pipeline] sh 04:13:03 + git log --format=format:%s -1 79355e312bfe44d179a53fdb703147f62f46463b [Pipeline] echo 04:13:03 ========================================================= 04:13:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:13:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:13:03 + git log --format=format:%s -1 79355e312bfe44d179a53fdb703147f62f46463b [Pipeline] echo 04:13:03 [semverPrep] GIT_COMMIT: 79355e312bfe44d179a53fdb703147f62f46463b, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:13:03 [semverPrep] This is not a build commit. [Pipeline] sh 04:13:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:13:04 + grep -v github /etc/ssh/ssh_known_hosts 04:13:04 + [ -e /tmp/ssh_known_hosts ] 04:13:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:13:04 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:13:04 sudo tee -a /etc/ssh/ssh_known_hosts 04:13:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:13:04 04:13:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:13:06 0.1.4: Pulling from edgex-devops/py-git-semver 04:13:06 b85a868b505f: Pulling fs layer 04:13:06 e2be974225ed: Pulling fs layer 04:13:06 339a4e72a1f5: Pulling fs layer 04:13:06 988bab9f4d93: Pulling fs layer 04:13:06 1469e6f7b9e6: Pulling fs layer 04:13:06 eaf3925da568: Pulling fs layer 04:13:06 bab4dde63d76: Pulling fs layer 04:13:06 bde34c3a00c8: Pulling fs layer 04:13:06 b352a97aabf1: Pulling fs layer 04:13:06 4872d77fe225: Pulling fs layer 04:13:06 988bab9f4d93: Waiting 04:13:06 5851b861e8e6: Pulling fs layer 04:13:06 1469e6f7b9e6: Waiting 04:13:06 eaf3925da568: Waiting 04:13:06 bab4dde63d76: Waiting 04:13:06 bde34c3a00c8: Waiting 04:13:06 b352a97aabf1: Waiting 04:13:06 4872d77fe225: Waiting 04:13:06 5851b861e8e6: Waiting 04:13:06 e2be974225ed: Verifying Checksum 04:13:06 e2be974225ed: Download complete 04:13:06 988bab9f4d93: Download complete 04:13:06 339a4e72a1f5: Verifying Checksum 04:13:06 339a4e72a1f5: Download complete 04:13:06 eaf3925da568: Verifying Checksum 04:13:06 eaf3925da568: Download complete 04:13:06 1469e6f7b9e6: Verifying Checksum 04:13:06 1469e6f7b9e6: Download complete 04:13:06 bde34c3a00c8: Verifying Checksum 04:13:06 bde34c3a00c8: Download complete 04:13:06 b352a97aabf1: Verifying Checksum 04:13:06 b352a97aabf1: Download complete 04:13:06 4872d77fe225: Download complete 04:13:06 5851b861e8e6: Download complete 04:13:06 b85a868b505f: Verifying Checksum 04:13:06 b85a868b505f: Download complete 04:13:07 bab4dde63d76: Verifying Checksum 04:13:07 bab4dde63d76: Download complete 04:13:09 b85a868b505f: Pull complete 04:13:10 e2be974225ed: Pull complete 04:13:12 339a4e72a1f5: Pull complete 04:13:12 988bab9f4d93: Pull complete 04:13:13 1469e6f7b9e6: Pull complete 04:13:13 eaf3925da568: Pull complete 04:13:16 bab4dde63d76: Pull complete 04:13:16 bde34c3a00c8: Pull complete 04:13:16 b352a97aabf1: Pull complete 04:13:16 4872d77fe225: Pull complete 04:13:16 5851b861e8e6: Pull complete 04:13:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:13:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:13:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:17 prd-ubuntu20.04-docker-8c-8g-4835 does not seem to be running inside a container 04:13:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1307 -v /w/workspace/gexfoundry_device-sdk-go_PR-1307:/w/workspace/gexfoundry_device-sdk-go_PR-1307:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:13:21 $ docker top a86b3fc2a3f02748a79a71d52817d47acb1339cd9606867faeaf90af1a740db2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:13:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:13:21 [ssh-agent] Looking for ssh-agent implementation... 04:13:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:13:21 $ docker exec a86b3fc2a3f02748a79a71d52817d47acb1339cd9606867faeaf90af1a740db2 ssh-agent 04:13:21 SSH_AUTH_SOCK=/tmp/ssh-MZVzZA8D7mAp/agent.32 04:13:21 SSH_AGENT_PID=38 04:13:21 Running ssh-add (command line suppressed) 04:13:21 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp/private_key_16735208463040634972.key (/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp/private_key_16735208463040634972.key) 04:13:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:13:22 + git tag --points-at HEAD [Pipeline] } 04:13:22 $ docker exec --env ******** --env ******** a86b3fc2a3f02748a79a71d52817d47acb1339cd9606867faeaf90af1a740db2 ssh-agent -k 04:13:22 unset SSH_AUTH_SOCK; 04:13:22 unset SSH_AGENT_PID; 04:13:22 echo Agent pid 38 killed; 04:13:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:13:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:13:22 [ssh-agent] Looking for ssh-agent implementation... 04:13:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:13:22 $ docker exec a86b3fc2a3f02748a79a71d52817d47acb1339cd9606867faeaf90af1a740db2 ssh-agent 04:13:22 SSH_AUTH_SOCK=/tmp/ssh-x5iyiK5UEprH/agent.69 04:13:22 SSH_AGENT_PID=75 04:13:22 Running ssh-add (command line suppressed) 04:13:22 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp/private_key_12914787791479729305.key (/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp/private_key_12914787791479729305.key) 04:13:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:13:23 + git semver init 04:13:23 2023-02-07 04:13:23,267 [run_init] DEBUG init version:0.0.0 force:False 04:13:23 2023-02-07 04:13:23,268 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1307/.semver 04:13:23 2023-02-07 04:13:23,268 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1307/.semver 04:13:23 2023-02-07 04:13:23,269 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1307/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1307, universal_newlines=False, shell=None, istream=None) 04:13:24 2023-02-07 04:13:24,330 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1307/.git/info/exclude 04:13:24 2023-02-07 04:13:24,330 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1307/.semver/PR-1307 with force:False 04:13:24 2023-02-07 04:13:24,330 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1307/.semver/PR-1307 04:13:24 2023-02-07 04:13:24,335 [execute] INFO git cat-file --batch-check 04:13:24 2023-02-07 04:13:24,335 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1307/.semver, universal_newlines=False, shell=None, istream=) 04:13:24 2023-02-07 04:13:24,342 [execute] INFO git cat-file --batch 04:13:24 2023-02-07 04:13:24,342 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1307/.semver, universal_newlines=False, shell=None, istream=) 04:13:24 2023-02-07 04:13:24,348 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1307/.semver/PR-1307 04:13:24 0.0.0 [Pipeline] } 04:13:24 $ docker exec --env ******** --env ******** a86b3fc2a3f02748a79a71d52817d47acb1339cd9606867faeaf90af1a740db2 ssh-agent -k 04:13:24 unset SSH_AUTH_SOCK; 04:13:24 unset SSH_AGENT_PID; 04:13:24 echo Agent pid 75 killed; 04:13:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:13:25 + git semver [Pipeline] } 04:13:25 $ docker stop --time=1 a86b3fc2a3f02748a79a71d52817d47acb1339cd9606867faeaf90af1a740db2 04:13:26 $ docker rm -f --volumes a86b3fc2a3f02748a79a71d52817d47acb1339cd9606867faeaf90af1a740db2 [Pipeline] // withDockerContainer [Pipeline] sh 04:13:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:13:27 Stashed 1 file(s) [Pipeline] echo 04:13:27 [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 04:13:28 provisioning config files... 04:13:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp/config5043159770145478589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:13:28 ---> docker-login.sh 04:13:28 nexus3.edgexfoundry.org:10001 04:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:28 Configure a credential helper to remove this warning. See 04:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:28 04:13:28 Login Succeeded 04:13:28 nexus3.edgexfoundry.org:10002 04:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:28 Configure a credential helper to remove this warning. See 04:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:28 04:13:28 Login Succeeded 04:13:28 nexus3.edgexfoundry.org:10003 04:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:28 Configure a credential helper to remove this warning. See 04:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:28 04:13:28 Login Succeeded 04:13:28 nexus3.edgexfoundry.org:10004 04:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:28 Configure a credential helper to remove this warning. See 04:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:28 04:13:28 Login Succeeded 04:13:28 docker.io 04:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:28 Configure a credential helper to remove this warning. See 04:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:28 04:13:28 Login Succeeded 04:13:29 ---> docker-login.sh ends [Pipeline] } 04:13:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:13:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:13:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:13:29 ========================================================= 04:13:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:13:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:30 + 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 . 04:13:30 Sending build context to Docker daemon 10.52MB 04:13:30 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:13:30 Step 2/10 : FROM ${BASE} AS builder 04:13:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:13:30 213ec9aee27d: Pulling fs layer 04:13:30 4583459ba037: Pulling fs layer 04:13:30 93c1e223e6f2: Pulling fs layer 04:13:30 53926ce57604: Pulling fs layer 04:13:30 21b2b0c7a3f4: Pulling fs layer 04:13:30 22ff95d597cd: Pulling fs layer 04:13:30 12d6caf4c0d1: Pulling fs layer 04:13:30 96b7cbca73a9: Pulling fs layer 04:13:30 a7acece74701: Pulling fs layer 04:13:30 12d6caf4c0d1: Waiting 04:13:30 21b2b0c7a3f4: Waiting 04:13:30 96b7cbca73a9: Waiting 04:13:30 22ff95d597cd: Waiting 04:13:30 a7acece74701: Waiting 04:13:30 53926ce57604: Waiting 04:13:30 93c1e223e6f2: Verifying Checksum 04:13:30 93c1e223e6f2: Download complete 04:13:30 4583459ba037: Verifying Checksum 04:13:30 4583459ba037: Download complete 04:13:30 21b2b0c7a3f4: Verifying Checksum 04:13:30 21b2b0c7a3f4: Download complete 04:13:30 22ff95d597cd: Verifying Checksum 04:13:30 22ff95d597cd: Download complete 04:13:30 213ec9aee27d: Verifying Checksum 04:13:30 213ec9aee27d: Download complete 04:13:30 12d6caf4c0d1: Verifying Checksum 04:13:30 12d6caf4c0d1: Download complete 04:13:30 213ec9aee27d: Pull complete 04:13:30 4583459ba037: Pull complete 04:13:30 93c1e223e6f2: Pull complete 04:13:31 a7acece74701: Verifying Checksum 04:13:31 a7acece74701: Download complete 04:13:31 96b7cbca73a9: Verifying Checksum 04:13:31 96b7cbca73a9: Download complete 04:13:31 53926ce57604: Verifying Checksum 04:13:31 53926ce57604: Download complete 04:13:36 53926ce57604: Pull complete 04:13:36 21b2b0c7a3f4: Pull complete 04:13:36 22ff95d597cd: Pull complete 04:13:36 12d6caf4c0d1: Pull complete 04:13:38 96b7cbca73a9: Pull complete 04:13:38 a7acece74701: Pull complete 04:13:38 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:13:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:13:38 ---> db6d94c90886 04:13:38 Step 3/10 : ARG MAKE=make build 04:13:42 Still waiting to schedule task 04:13:42 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 04:13:45 ---> Running in ef02f034a89f 04:13:45 Removing intermediate container ef02f034a89f 04:13:45 ---> 687ef2f42946 04:13:45 Step 4/10 : WORKDIR /device-sdk-go 04:13:45 ---> Running in 464f5af16037 04:13:45 Removing intermediate container 464f5af16037 04:13:45 ---> a1352dc34434 04:13:45 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:13:45 ---> Running in 29ffa656c5a9 04:13:45 Removing intermediate container 29ffa656c5a9 04:13:45 ---> bf03b1d8e7f7 04:13:45 Step 6/10 : RUN apk add --update --no-cache make git 04:13:45 ---> Running in e2f5f245051f 04:13:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:13:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:13:47 OK: 211 MiB in 51 packages 04:13:47 Removing intermediate container e2f5f245051f 04:13:47 ---> 0f208f3d2697 04:13:47 Step 7/10 : COPY go.mod vendor* ./ 04:13:47 ---> 87b11f41637b 04:13:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:13:47 ---> Running in 6f0a32a7f966 04:14:34 Removing intermediate container 6f0a32a7f966 04:14:34 ---> 9842ea14f7ae 04:14:34 Step 9/10 : COPY . . 04:14:34 ---> eea9c5cb3409 04:14:34 Step 10/10 : RUN ${MAKE} 04:14:34 ---> Running in 04f5a9f9f5e1 04:14:34 noop 04:14:34 Removing intermediate container 04f5a9f9f5e1 04:14:34 ---> e8b7400ebacd 04:14:34 Successfully built e8b7400ebacd 04:14:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:34 + docker inspect -f . ci-base-image-x86_64 04:14:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:14:34 prd-ubuntu20.04-docker-8c-8g-4835 does not seem to be running inside a container 04:14:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1307 -v /w/workspace/gexfoundry_device-sdk-go_PR-1307:/w/workspace/gexfoundry_device-sdk-go_PR-1307:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:14:35 $ docker top 854751a49b00896a54eaef7c0081644a8d069a8798cbb70ad923a110c28873dc -eo pid,comm [Pipeline] { [Pipeline] sh 04:14:35 + go version 04:14:35 go version go1.18.7 linux/amd64 [Pipeline] } 04:14:35 $ docker stop --time=1 854751a49b00896a54eaef7c0081644a8d069a8798cbb70ad923a110c28873dc 04:14:37 $ docker rm -f --volumes 854751a49b00896a54eaef7c0081644a8d069a8798cbb70ad923a110c28873dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:37 + docker inspect -f . ci-base-image-x86_64 04:14:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:14:37 prd-ubuntu20.04-docker-8c-8g-4835 does not seem to be running inside a container 04:14:37 $ 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-1307 -v /w/workspace/gexfoundry_device-sdk-go_PR-1307:/w/workspace/gexfoundry_device-sdk-go_PR-1307:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:14:38 $ docker top 261d59bbf5a1a4092512158fdd02c0689268b956c0d43975b9c6283ffd025402 -eo pid,comm [Pipeline] { [Pipeline] sh 04:14:38 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1307 [Pipeline] fileExists [Pipeline] sh 04:14:39 + make test 04:14:39 go test -race -coverprofile=coverage.out ./... 04:14:45 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:15:00 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:15:00 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:15:00 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:15:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:15:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:15:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.078s coverage: 27.6% of statements 04:15:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.076s coverage: 78.9% of statements 04:15:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:15:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.117s coverage: 77.8% of statements 04:15:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:15:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:15:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.128s coverage: 59.8% of statements 04:15:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:15:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 04:15:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:15:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.108s coverage: 65.2% of statements 04:15:00 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:15:00 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:15:00 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.793s coverage: 89.2% of statements 04:15:00 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:15:01 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 4.7% of statements 04:15:01 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:15:23 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." 04:15:23 GO111MODULE=on go vet ./... 04:15:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:15:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:15:24 ./bin/test-attribution-txt.sh [Pipeline] echo 04:15:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:15:24 $ docker stop --time=1 261d59bbf5a1a4092512158fdd02c0689268b956c0d43975b9c6283ffd025402 04:15:28 $ docker rm -f --volumes 261d59bbf5a1a4092512158fdd02c0689268b956c0d43975b9c6283ffd025402 [Pipeline] // withDockerContainer [Pipeline] sh 04:15:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:15:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:15:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:15:30 + ls -al . 04:15:30 total 272 04:15:30 drwxrwxr-x 11 jenkins jenkins 4096 Feb 7 04:14 . 04:15:30 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 04:04 .. 04:15:30 -rw-rw-r-- 1 jenkins jenkins 140 Feb 7 04:04 .dockerignore 04:15:30 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 04:15 .git 04:15:30 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 04:04 .github 04:15:30 -rw-rw-r-- 1 jenkins jenkins 131 Feb 7 04:04 .gitignore 04:15:30 -rw-rw-r-- 1 jenkins jenkins 42 Feb 7 04:04 .golangci.yml 04:15:30 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 04:13 .semver 04:15:30 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 7 04:04 CHANGELOG.md 04:15:30 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 04:04 GOVERNANCE.md 04:15:30 -rw-rw-r-- 1 jenkins jenkins 885 Feb 7 04:04 Jenkinsfile 04:15:30 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 7 04:04 LICENSE 04:15:30 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 7 04:04 Makefile 04:15:30 -rw-rw-r-- 1 jenkins jenkins 619 Feb 7 04:04 OWNERS.md 04:15:30 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 7 04:04 README.md 04:15:30 -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 04:13 VERSION 04:15:30 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 04:04 bin 04:15:30 -rw-r--r-- 1 jenkins jenkins 100848 Feb 7 04:15 coverage.out 04:15:30 drwxrwxr-x 5 jenkins jenkins 4096 Feb 7 04:04 example 04:15:30 -rw-rw-r-- 1 jenkins jenkins 3264 Feb 7 04:04 go.mod 04:15:30 -rw-rw-r-- 1 jenkins jenkins 32817 Feb 7 04:04 go.sum 04:15:30 drwxrwxr-x 13 jenkins jenkins 4096 Feb 7 04:04 internal 04:15:30 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 04:04 openapi 04:15:30 drwxrwxr-x 6 jenkins jenkins 4096 Feb 7 04:04 pkg 04:15:30 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 04:04 snap 04:15:30 -rw-rw-r-- 1 jenkins jenkins 222 Feb 7 04:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:30 + 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=79355e312bfe44d179a53fdb703147f62f46463b --label arch=amd64 --label version=0.0.0 . 04:15:30 Sending build context to Docker daemon 10.62MB 04:15:30 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:15:30 Step 2/23 : FROM ${BASE} AS builder 04:15:30 ---> e8b7400ebacd 04:15:30 Step 3/23 : ARG MAKE=make build 04:15:30 ---> Running in 7fcaa231f828 04:15:31 Removing intermediate container 7fcaa231f828 04:15:31 ---> 53d406afe2e5 04:15:31 Step 4/23 : WORKDIR /device-sdk-go 04:15:31 ---> Running in 59092b5b5b9b 04:15:31 Removing intermediate container 59092b5b5b9b 04:15:31 ---> fb83daf36b45 04:15:31 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:15:31 ---> Running in 444c3f5313bf 04:15:31 Removing intermediate container 444c3f5313bf 04:15:31 ---> 75bd18f7e362 04:15:31 Step 6/23 : RUN apk add --update --no-cache make git 04:15:31 ---> Running in 359f0eaeff0c 04:15:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:15:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:15:31 OK: 211 MiB in 51 packages 04:15:32 Removing intermediate container 359f0eaeff0c 04:15:32 ---> f9256d16b1f4 04:15:32 Step 7/23 : COPY go.mod vendor* ./ 04:15:32 ---> 5a2d6c6066da 04:15:32 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:15:32 ---> Running in a4e34f102c0b 04:15:33 Removing intermediate container a4e34f102c0b 04:15:33 ---> 52b1020793b6 04:15:33 Step 9/23 : COPY . . 04:15:34 ---> e7a8f975786c 04:15:34 Step 10/23 : RUN ${MAKE} 04:15:34 ---> Running in 2d6a898b114e 04:15:34 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 04:16:00 Removing intermediate container 2d6a898b114e 04:16:00 ---> 775e52a1687b 04:16:00 Step 11/23 : FROM alpine:3.16 04:16:00 3.16: Pulling from library/alpine 04:16:00 ca7dd9ec2225: Pulling fs layer 04:16:00 ca7dd9ec2225: Download complete 04:16:00 ca7dd9ec2225: Pull complete 04:16:00 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:16:00 Status: Downloaded newer image for alpine:3.16 04:16:00 ---> bfe296a52501 04:16:00 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:16:00 ---> Running in cc757cf29f2b 04:16:00 Removing intermediate container cc757cf29f2b 04:16:00 ---> aa3db0bf079e 04:16:00 Step 13/23 : RUN apk add --update --no-cache 04:16:00 ---> Running in 33c414dfaf30 04:16:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:16:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:16:00 OK: 6 MiB in 14 packages 04:16:00 Removing intermediate container 33c414dfaf30 04:16:00 ---> adbbffb086e8 04:16:00 Step 14/23 : WORKDIR / 04:16:00 ---> Running in 5ff75fbd3b75 04:16:01 Removing intermediate container 5ff75fbd3b75 04:16:01 ---> 941b1cafbb4c 04:16:01 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:16:01 ---> cc6d10718416 04:16:01 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:16:02 ---> b5641dc4df8d 04:16:02 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:16:02 ---> e2ba590a170d 04:16:02 Step 18/23 : EXPOSE 59999 04:16:02 ---> Running in 78e085eea983 04:16:02 Removing intermediate container 78e085eea983 04:16:02 ---> 5bdd15f775ba 04:16:02 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:16:02 ---> Running in 6ccb71b63560 04:16:02 Removing intermediate container 6ccb71b63560 04:16:02 ---> 406dd470e576 04:16:02 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:16:02 ---> Running in 5af4c52146f2 04:16:02 Removing intermediate container 5af4c52146f2 04:16:02 ---> 40228f3a5ed6 04:16:02 Step 21/23 : LABEL arch=amd64 04:16:02 ---> Running in 05967c9cf0ff 04:16:03 Removing intermediate container 05967c9cf0ff 04:16:03 ---> ccffcc06a3c9 04:16:03 Step 22/23 : LABEL git_sha=79355e312bfe44d179a53fdb703147f62f46463b 04:16:03 ---> Running in f0a9aa94d0c0 04:16:03 Removing intermediate container f0a9aa94d0c0 04:16:03 ---> 2736ba9be214 04:16:03 Step 23/23 : LABEL version=0.0.0 04:16:03 ---> Running in 29e55d386f47 04:16:03 Removing intermediate container 29e55d386f47 04:16:03 ---> 8453a38f86b8 04:16:03 [Warning] One or more build-args [ARCH] were not consumed 04:16:03 Successfully built 8453a38f86b8 04:16:03 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 04:16:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:03 04:16:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:04 latest: Pulling from edgex-lftools-log-publisher 04:16:04 5eb5b503b376: Pulling fs layer 04:16:04 5c69ac0246d0: Pulling fs layer 04:16:04 ec43610c2a17: Pulling fs layer 04:16:04 3a2ae6a8a46f: Pulling fs layer 04:16:04 33b1e0a273af: Pulling fs layer 04:16:04 3a2ae6a8a46f: Waiting 04:16:04 5d3b04190fa2: Pulling fs layer 04:16:04 2f39f015ded8: Pulling fs layer 04:16:04 5d3b04190fa2: Waiting 04:16:04 2f39f015ded8: Waiting 04:16:04 5c69ac0246d0: Verifying Checksum 04:16:04 5c69ac0246d0: Download complete 04:16:04 3a2ae6a8a46f: Verifying Checksum 04:16:04 3a2ae6a8a46f: Download complete 04:16:04 33b1e0a273af: Verifying Checksum 04:16:04 33b1e0a273af: Download complete 04:16:04 5d3b04190fa2: Verifying Checksum 04:16:04 5d3b04190fa2: Download complete 04:16:04 ec43610c2a17: Verifying Checksum 04:16:04 ec43610c2a17: Download complete 04:16:04 5eb5b503b376: Verifying Checksum 04:16:04 5eb5b503b376: Download complete 04:16:05 2f39f015ded8: Download complete 04:16:05 5eb5b503b376: Pull complete 04:16:06 5c69ac0246d0: Pull complete 04:16:06 ec43610c2a17: Pull complete 04:16:06 3a2ae6a8a46f: Pull complete 04:16:07 33b1e0a273af: Pull complete 04:16:07 5d3b04190fa2: Pull complete 04:16:12 2f39f015ded8: Pull complete 04:16:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:16:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:12 prd-ubuntu20.04-docker-8c-8g-4835 does not seem to be running inside a container 04:16:12 $ 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-1307 -v /w/workspace/gexfoundry_device-sdk-go_PR-1307:/w/workspace/gexfoundry_device-sdk-go_PR-1307:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:16:19 $ docker top b76b6cbb1586f70de9b7071e0850e799c0ee3c5b6360f85eec5a5569185fc5b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:16:19 ---> job-cost.sh 04:16:19 lf-activate-venv: SKIPPING 04:16:19 INFO: No Stack... 04:16:20 INFO: Retrieving Pricing Info for: v3-standard-8 04:16:20 INFO: Archiving Costs [Pipeline] sh 04:16:21 + + cut -d, -f6cat 04:16:21 /w/workspace/gexfoundry_device-sdk-go_PR-1307/archives/cost.csv [Pipeline] lock 04:16:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1307-1-stack-cost] 04:16:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1307-1-stack-cost] did not exist. Created. 04:16:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1307-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:16:21 + echo total: 0.2199999988079071 [Pipeline] stash 04:16:21 Stashed 1 file(s) [Pipeline] } 04:16:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1307-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:16:21 $ docker stop --time=1 b76b6cbb1586f70de9b7071e0850e799c0ee3c5b6360f85eec5a5569185fc5b5 04:16:22 $ docker rm -f --volumes b76b6cbb1586f70de9b7071e0850e799c0ee3c5b6360f85eec5a5569185fc5b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:16:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4840 in /w/workspace/gexfoundry_device-sdk-go_PR-1307 [Pipeline] { [Pipeline] ws 04:16:53 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:16:53 The recommended git tool is: git 04:16:59 using credential edgex-jenkins-ssh 04:16:59 Cloning the remote Git repository 04:16:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:16:59 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:16:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:16:59 > git --version # timeout=10 04:17:00 > git --version # 'git version 2.25.1' 04:17:00 using GIT_SSH to set credentials SSH Credentials for GitHub 04:17:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:17:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:17:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:17:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:17:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:17:02 using GIT_SSH to set credentials SSH Credentials for GitHub 04:17:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1307/head:refs/remotes/origin/PR-1307 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:17:03 Merging remotes/origin/main commit 93a0268657819106988a1ad83ac56bb06d25ff7d into PR head commit 79355e312bfe44d179a53fdb703147f62f46463b 04:17:04 Merge succeeded, producing 79355e312bfe44d179a53fdb703147f62f46463b 04:17:04 Checking out Revision 79355e312bfe44d179a53fdb703147f62f46463b (PR-1307) 04:17:04 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:17:04 > git --version # timeout=10 04:17:04 > git --version # 'git version 2.25.1' 04:17:04 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:17:03 > git config core.sparsecheckout # timeout=10 04:17:03 > git checkout -f 79355e312bfe44d179a53fdb703147f62f46463b # timeout=10 04:17:03 > git remote # timeout=10 04:17:03 > git config --get remote.origin.url # timeout=10 04:17:03 using GIT_SSH to set credentials SSH Credentials for GitHub 04:17:03 > git merge 93a0268657819106988a1ad83ac56bb06d25ff7d # timeout=10 04:17:03 > git rev-parse HEAD^{commit} # timeout=10 04:17:03 > git config core.sparsecheckout # timeout=10 04:17:03 > git checkout -f 79355e312bfe44d179a53fdb703147f62f46463b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:17:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:17:06 % Total % Received % Xferd Average Speed Time Time Time Current 04:17:06 Dload Upload Total Spent Left Speed 04:17:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 04:17:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:17:07 + sudo tee /etc/docker/daemon.new 04:17:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:17:07 { 04:17:07 "registry-mirrors": [ 04:17:07 "https://nexus3.edgexfoundry.org:10001" 04:17:07 ], 04:17:07 "bip": "10.250.0.254/24", 04:17:07 "hosts": [ 04:17:07 "tcp://0.0.0.0:5555", 04:17:07 "unix:///var/run/docker.sock" 04:17:07 ], 04:17:07 "mtu": 1458, 04:17:07 "selinux-enabled": true, 04:17:07 "seccomp-profile": "/etc/docker/seccomp.json" 04:17:07 } [Pipeline] sh 04:17:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:17:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:17:26 provisioning config files... 04:17:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8104406592645239535tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:17:26 ---> docker-login.sh 04:17:26 nexus3.edgexfoundry.org:10001 04:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:17:27 Configure a credential helper to remove this warning. See 04:17:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:17:27 04:17:27 Login Succeeded 04:17:27 nexus3.edgexfoundry.org:10002 04:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:17:28 Configure a credential helper to remove this warning. See 04:17:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:17:28 04:17:28 Login Succeeded 04:17:28 nexus3.edgexfoundry.org:10003 04:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:17:28 Configure a credential helper to remove this warning. See 04:17:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:17:28 04:17:28 Login Succeeded 04:17:28 nexus3.edgexfoundry.org:10004 04:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:17:29 Configure a credential helper to remove this warning. See 04:17:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:17:29 04:17:29 Login Succeeded 04:17:29 docker.io 04:17:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:17:29 Configure a credential helper to remove this warning. See 04:17:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:17:29 04:17:29 Login Succeeded 04:17:29 ---> docker-login.sh ends [Pipeline] } 04:17:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:17:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:17:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:17:30 ========================================================= 04:17:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:17:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:30 + 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 . 04:17:31 Sending build context to Docker daemon 5.648MB 04:17:31 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:17:31 Step 2/10 : FROM ${BASE} AS builder 04:17:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:17:31 9b18e9b68314: Pulling fs layer 04:17:31 35d82f9e3411: Pulling fs layer 04:17:31 e16973657156: Pulling fs layer 04:17:31 fc693d55d65f: Pulling fs layer 04:17:31 7e9fc2657dce: Pulling fs layer 04:17:31 dda99020689f: Pulling fs layer 04:17:31 db1c61fa0a46: Pulling fs layer 04:17:31 891c053d2c06: Pulling fs layer 04:17:31 fc693d55d65f: Waiting 04:17:31 7e9fc2657dce: Waiting 04:17:31 dda99020689f: Waiting 04:17:31 db1c61fa0a46: Waiting 04:17:31 891c053d2c06: Waiting 04:17:31 e16973657156: Verifying Checksum 04:17:31 e16973657156: Download complete 04:17:31 35d82f9e3411: Download complete 04:17:31 7e9fc2657dce: Verifying Checksum 04:17:31 7e9fc2657dce: Download complete 04:17:31 dda99020689f: Verifying Checksum 04:17:31 dda99020689f: Download complete 04:17:31 9b18e9b68314: Verifying Checksum 04:17:31 9b18e9b68314: Download complete 04:17:32 9b18e9b68314: Pull complete 04:17:32 891c053d2c06: Verifying Checksum 04:17:32 891c053d2c06: Download complete 04:17:33 35d82f9e3411: Pull complete 04:17:33 e16973657156: Pull complete 04:17:34 db1c61fa0a46: Verifying Checksum 04:17:34 db1c61fa0a46: Download complete 04:17:35 fc693d55d65f: Download complete 04:17:47 fc693d55d65f: Pull complete 04:17:47 7e9fc2657dce: Pull complete 04:17:47 dda99020689f: Pull complete 04:17:54 db1c61fa0a46: Pull complete 04:17:55 891c053d2c06: Pull complete 04:17:55 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:17:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:17:55 ---> f96f9c87975a 04:17:55 Step 3/10 : ARG MAKE=make build 04:17:56 ---> Running in dc91571ac7fd 04:17:57 Removing intermediate container dc91571ac7fd 04:17:57 ---> e060f335c389 04:17:57 Step 4/10 : WORKDIR /device-sdk-go 04:17:57 ---> Running in df7d89bf219f 04:17:57 Removing intermediate container df7d89bf219f 04:17:57 ---> 8c0277eabd6a 04:17:57 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:17:57 ---> Running in dd01a418e835 04:17:58 Removing intermediate container dd01a418e835 04:17:58 ---> 3d1d655054a4 04:17:58 Step 6/10 : RUN apk add --update --no-cache make git 04:17:58 ---> Running in 986d101fe7f3 04:17:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:17:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:18:01 OK: 221 MiB in 51 packages 04:18:02 Removing intermediate container 986d101fe7f3 04:18:02 ---> a3b23653b62f 04:18:02 Step 7/10 : COPY go.mod vendor* ./ 04:18:02 ---> be1a8a223a72 04:18:02 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:18:02 ---> Running in b20d13b2af45 04:19:24 Removing intermediate container b20d13b2af45 04:19:24 ---> 898382c93999 04:19:24 Step 9/10 : COPY . . 04:19:24 ---> 8f425cac5d4d 04:19:24 Step 10/10 : RUN ${MAKE} 04:19:24 ---> Running in 43c366259dd4 04:19:24 noop 04:19:24 Removing intermediate container 43c366259dd4 04:19:24 ---> 09b39cfa9623 04:19:24 Successfully built 09b39cfa9623 04:19:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:24 + docker inspect -f . ci-base-image-arm64 04:19:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:25 prd-ubuntu20.04-docker-arm64-4c-16g-4840 does not seem to be running inside a container 04:19:25 $ 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 ******** ci-base-image-arm64 cat 04:19:26 $ docker top e42861511e78cfcdc107d27f04568a5cd1c06b48d56ac03bfb3a1beaa72d793a -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:27 + go version 04:19:27 go version go1.18.7 linux/arm64 [Pipeline] } 04:19:27 $ docker stop --time=1 e42861511e78cfcdc107d27f04568a5cd1c06b48d56ac03bfb3a1beaa72d793a 04:19:29 $ docker rm -f --volumes e42861511e78cfcdc107d27f04568a5cd1c06b48d56ac03bfb3a1beaa72d793a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:30 + docker inspect -f . ci-base-image-arm64 04:19:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:30 prd-ubuntu20.04-docker-arm64-4c-16g-4840 does not seem to be running inside a container 04:19:30 $ 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 ******** ci-base-image-arm64 cat 04:19:31 $ docker top ea8395ac55005c9cf5febee578a22705ff19f5dfff6e8a6f9f037bf0cbd99215 -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:32 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:19:33 + make test 04:19:33 go test -race -coverprofile=coverage.out ./... 04:20:12 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:22:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:22:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:22:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:22:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:22:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:22:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.380s coverage: 27.6% of statements 04:22:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.352s coverage: 78.9% of statements 04:22:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:22:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.406s coverage: 77.8% of statements 04:22:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:22:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:22:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.534s coverage: 59.8% of statements 04:22:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:22:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 04:22:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:22:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.455s coverage: 65.2% of statements 04:22:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:22:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:22:39 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.237s coverage: 89.2% of statements 04:22:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:22:39 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.305s coverage: 4.7% of statements 04:22:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:22:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:22:40 GO111MODULE=on go vet ./... 04:24:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:24:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:24:17 ./bin/test-attribution-txt.sh [Pipeline] echo 04:24:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:24:17 $ docker stop --time=1 ea8395ac55005c9cf5febee578a22705ff19f5dfff6e8a6f9f037bf0cbd99215 04:24:19 $ docker rm -f --volumes ea8395ac55005c9cf5febee578a22705ff19f5dfff6e8a6f9f037bf0cbd99215 [Pipeline] // withDockerContainer [Pipeline] sh 04:24:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:24:20 Warning: overwriting stash ‘coverage-report’ 04:24:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:24:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:24:21 + ls -al . 04:24:21 total 268 04:24:21 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 04:19 . 04:24:21 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 04:17 .. 04:24:21 -rw-rw-r-- 1 jenkins jenkins 140 Feb 7 04:17 .dockerignore 04:24:21 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 04:17 .git 04:24:21 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 04:17 .github 04:24:21 -rw-rw-r-- 1 jenkins jenkins 131 Feb 7 04:17 .gitignore 04:24:21 -rw-rw-r-- 1 jenkins jenkins 42 Feb 7 04:17 .golangci.yml 04:24:21 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 7 04:17 CHANGELOG.md 04:24:21 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 04:17 GOVERNANCE.md 04:24:21 -rw-rw-r-- 1 jenkins jenkins 885 Feb 7 04:17 Jenkinsfile 04:24:21 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 7 04:17 LICENSE 04:24:21 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 7 04:17 Makefile 04:24:21 -rw-rw-r-- 1 jenkins jenkins 619 Feb 7 04:17 OWNERS.md 04:24:21 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 7 04:17 README.md 04:24:21 -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 04:13 VERSION 04:24:21 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 04:17 bin 04:24:21 -rw-r--r-- 1 jenkins jenkins 100848 Feb 7 04:22 coverage.out 04:24:21 drwxrwxr-x 5 jenkins jenkins 4096 Feb 7 04:17 example 04:24:21 -rw-rw-r-- 1 jenkins jenkins 3264 Feb 7 04:17 go.mod 04:24:21 -rw-rw-r-- 1 jenkins jenkins 32817 Feb 7 04:17 go.sum 04:24:21 drwxrwxr-x 13 jenkins jenkins 4096 Feb 7 04:17 internal 04:24:21 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 04:17 openapi 04:24:21 drwxrwxr-x 6 jenkins jenkins 4096 Feb 7 04:17 pkg 04:24:21 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 04:17 snap 04:24:21 -rw-rw-r-- 1 jenkins jenkins 222 Feb 7 04:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:22 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=79355e312bfe44d179a53fdb703147f62f46463b --label arch=arm64 --label version=0.0.0 . 04:24:22 Sending build context to Docker daemon 5.749MB 04:24:22 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:24:22 Step 2/23 : FROM ${BASE} AS builder 04:24:22 ---> 09b39cfa9623 04:24:22 Step 3/23 : ARG MAKE=make build 04:24:22 ---> Running in 76c12599d94b 04:24:23 Removing intermediate container 76c12599d94b 04:24:23 ---> 8d01daad4d5a 04:24:23 Step 4/23 : WORKDIR /device-sdk-go 04:24:23 ---> Running in 9ed8ce3fc649 04:24:23 Removing intermediate container 9ed8ce3fc649 04:24:23 ---> d07a7a91a586 04:24:23 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:24:23 ---> Running in 7517fbded60d 04:24:24 Removing intermediate container 7517fbded60d 04:24:24 ---> 16e1860b1678 04:24:24 Step 6/23 : RUN apk add --update --no-cache make git 04:24:24 ---> Running in 21245da9f20d 04:24:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:24:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:24:26 OK: 221 MiB in 51 packages 04:24:27 Removing intermediate container 21245da9f20d 04:24:27 ---> d3e7184d953e 04:24:27 Step 7/23 : COPY go.mod vendor* ./ 04:24:27 ---> 0bf4988ad9d6 04:24:27 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:24:27 ---> Running in 1ecaa42b963e 04:24:31 Removing intermediate container 1ecaa42b963e 04:24:31 ---> 539c17ec6926 04:24:31 Step 9/23 : COPY . . 04:24:32 ---> 55333460128d 04:24:32 Step 10/23 : RUN ${MAKE} 04:24:32 ---> Running in 4d87b64c7220 04:24:33 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 04:26:40 Removing intermediate container 4d87b64c7220 04:26:40 ---> 9e7c7661c43f 04:26:40 Step 11/23 : FROM alpine:3.16 04:26:40 3.16: Pulling from library/alpine 04:26:40 6875df1f5354: Pulling fs layer 04:26:40 6875df1f5354: Verifying Checksum 04:26:40 6875df1f5354: Download complete 04:26:40 6875df1f5354: Pull complete 04:26:40 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:26:40 Status: Downloaded newer image for alpine:3.16 04:26:40 ---> 2b4661558fb8 04:26:40 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:26:40 ---> Running in f35498e1ba51 04:26:40 Removing intermediate container f35498e1ba51 04:26:40 ---> f8b4de1a375b 04:26:40 Step 13/23 : RUN apk add --update --no-cache 04:26:40 ---> Running in 7964acff5bd3 04:26:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:26:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:26:40 OK: 5 MiB in 14 packages 04:26:40 Removing intermediate container 7964acff5bd3 04:26:40 ---> fb824e6037c3 04:26:40 Step 14/23 : WORKDIR / 04:26:40 ---> Running in 9c18af715c5f 04:26:40 Removing intermediate container 9c18af715c5f 04:26:40 ---> 3a9fff1dada7 04:26:40 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:26:40 ---> c38dffcbc779 04:26:40 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:26:40 ---> 477b19254a11 04:26:40 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:26:40 ---> 7adbbdc2d138 04:26:40 Step 18/23 : EXPOSE 59999 04:26:40 ---> Running in ed506e731d9f 04:26:40 Removing intermediate container ed506e731d9f 04:26:40 ---> b38ceaa5040a 04:26:40 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:26:40 ---> Running in 1f20e0d3257c 04:26:40 Removing intermediate container 1f20e0d3257c 04:26:40 ---> 984013ce20c0 04:26:40 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:26:40 ---> Running in 1a78d5f60454 04:26:40 Removing intermediate container 1a78d5f60454 04:26:40 ---> e6565386959b 04:26:40 Step 21/23 : LABEL arch=arm64 04:26:40 ---> Running in c1cc46d32ea6 04:26:40 Removing intermediate container c1cc46d32ea6 04:26:40 ---> bc94deba7ca7 04:26:40 Step 22/23 : LABEL git_sha=79355e312bfe44d179a53fdb703147f62f46463b 04:26:40 ---> Running in a8967bddb97b 04:26:41 Removing intermediate container a8967bddb97b 04:26:41 ---> 2f5c277be2eb 04:26:41 Step 23/23 : LABEL version=0.0.0 04:26:41 ---> Running in 05e58dd3db2f 04:26:41 Removing intermediate container 05e58dd3db2f 04:26:41 ---> cd9c4186dc08 04:26:41 [Warning] One or more build-args [ARCH] were not consumed 04:26:41 Successfully built cd9c4186dc08 04:26:41 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:26:42 04:26:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:26:42 arm64: Pulling from edgex-lftools-log-publisher 04:26:42 8998bd30e6a1: Pulling fs layer 04:26:42 04944245beec: Pulling fs layer 04:26:42 699f458cf7ca: Pulling fs layer 04:26:42 765212b225bb: Pulling fs layer 04:26:42 f23df028b6ca: Pulling fs layer 04:26:42 d65c8cfc05b1: Pulling fs layer 04:26:42 2437ff75d9bd: Pulling fs layer 04:26:42 f23df028b6ca: Waiting 04:26:42 d65c8cfc05b1: Waiting 04:26:42 2437ff75d9bd: Waiting 04:26:42 765212b225bb: Waiting 04:26:42 04944245beec: Verifying Checksum 04:26:42 04944245beec: Download complete 04:26:42 765212b225bb: Download complete 04:26:42 f23df028b6ca: Download complete 04:26:42 d65c8cfc05b1: Verifying Checksum 04:26:42 d65c8cfc05b1: Download complete 04:26:43 699f458cf7ca: Verifying Checksum 04:26:43 699f458cf7ca: Download complete 04:26:43 8998bd30e6a1: Verifying Checksum 04:26:43 8998bd30e6a1: Download complete 04:26:45 2437ff75d9bd: Verifying Checksum 04:26:45 2437ff75d9bd: Download complete 04:26:47 8998bd30e6a1: Pull complete 04:26:47 04944245beec: Pull complete 04:26:48 699f458cf7ca: Pull complete 04:26:48 765212b225bb: Pull complete 04:26:49 f23df028b6ca: Pull complete 04:26:49 d65c8cfc05b1: Pull complete 04:27:02 2437ff75d9bd: Pull complete 04:27:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:27:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:27:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:02 prd-ubuntu20.04-docker-arm64-4c-16g-4840 does not seem to be running inside a container 04:27: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:27:05 $ docker top 36508b39061bba2147d0a37a2dd65172c4c8f4a1d158168280632ea9a64d15be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:27:06 ---> job-cost.sh 04:27:06 lf-activate-venv: SKIPPING 04:27:06 INFO: No Stack... 04:27:11 INFO: Retrieving Pricing Info for: v3-standard-4 04:27:11 INFO: Archiving Costs [Pipeline] sh 04:27:11 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:27:11 + cut -d, -f6 [Pipeline] lock 04:27:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1307-1-stack-cost] 04:27:11 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1307-1-stack-cost] did not exist. Created. 04:27:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1307-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:27:11 /w/workspace/device-sdk-go/1@tmp/durable-4c1bb03c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:27:12 + echo total: 0.10999999940395355 [Pipeline] stash 04:27:12 Warning: overwriting stash ‘stack-cost’ 04:27:12 Stashed 1 file(s) [Pipeline] } 04:27:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1307-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:27:12 $ docker stop --time=1 36508b39061bba2147d0a37a2dd65172c4c8f4a1d158168280632ea9a64d15be 04:27:13 $ docker rm -f --volumes 36508b39061bba2147d0a37a2dd65172c4c8f4a1d158168280632ea9a64d15be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:27:14 provisioning config files... 04:27:14 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp/config2877276550877386921tmp [Pipeline] { [Pipeline] sh 04:27:15 + set +x 04:27:15 + curl -s https://codecov.io/bash 04:27:15 + bash -s -- 04:27:15 04:27:15 _____ _ 04:27:15 / ____| | | 04:27:15 | | ___ __| | ___ ___ _____ __ 04:27:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:27:15 | |___| (_) | (_| | __/ (_| (_) \ V / 04:27:15 \_____\___/ \__,_|\___|\___\___/ \_/ 04:27:15 Bash-1.0.6 04:27:15 04:27:15 04:27:15 ==> git version 2.25.1 found 04:27:15 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:27:15 Release-Date: 2020-01-08 04:27:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:27:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:27:15 ==> Jenkins CI detected. 04:27:15 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1307 04:27:15 project root: . 04:27:15 --> token set from env 04:27:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:27:15 ==> Running gcov in . (disable via -X gcov) 04:27:15 ==> Python coveragepy not found 04:27:15 ==> Searching for coverage reports in: 04:27:15 + . 04:27:15 -> Found 1 reports 04:27:15 ==> Detecting git/mercurial file structure 04:27:15 ==> Reading reports 04:27:15 + ./coverage.out bytes=100848 04:27:15 ==> Appending adjustments 04:27:15 https://docs.codecov.io/docs/fixing-reports 04:27:15 + Found adjustments 04:27:15 ==> Gzipping contents 04:27:15 16K /tmp/codecov.Cba7Ze.gz 04:27:15 ==> Uploading reports 04:27:15 url: https://codecov.io 04:27:15 query: branch=PR-1307&commit=79355e312bfe44d179a53fdb703147f62f46463b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1307%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1307&job=&cmd_args= 04:27:15 -> Pinging Codecov 04:27:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1307&commit=79355e312bfe44d179a53fdb703147f62f46463b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1307%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1307&job=&cmd_args= 04:27:16 -> Uploading to 04:27:16 https://storage.googleapis.com/codecov/v4/raw/2023-02-07/7E55EF52A471D76F132DFD9A03CDDE97/79355e312bfe44d179a53fdb703147f62f46463b/0734bce2-7e4e-4411-9588-e65d4c85c503.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230207T042716Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f96b7ccfdfda46e2a4d14d3d099e62a2cfd80bc69b173df61b34609267a4859c 04:27:16 % Total % Received % Xferd Average Speed Time Time Time Current 04:27:16 Dload Upload Total Spent Left Speed 04:27:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14564 0 0 100 14564 0 44674 --:--:-- --:--:-- --:--:-- 44674 04:27:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/79355e312bfe44d179a53fdb703147f62f46463b [Pipeline] } 04:27:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:27:18 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1307/archives ] 04:27:18 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1307/archives 04:27:18 total 16 04:27:18 drwxr-xr-x 3 root root 4096 Feb 7 04:16 . 04:27:18 drwxrwxr-x 12 jenkins jenkins 4096 Feb 7 04:16 .. 04:27:18 drwxr-xr-x 2 root root 4096 Feb 7 04:16 cost 04:27:18 -rw-r--r-- 1 root root 86 Feb 7 04:16 cost.csv 04:27:18 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1307/archives 04:27:18 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1307/archives 04:27:18 total 16 04:27:18 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 04:16 . 04:27:18 drwxrwxr-x 12 jenkins jenkins 4096 Feb 7 04:16 .. 04:27:18 drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 04:16 cost 04:27:18 -rw-r--r-- 1 jenkins jenkins 86 Feb 7 04:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:27:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:27:19 ---> package-listing.sh 04:27:19 ++ facter osfamily 04:27:19 ++ tr '[:upper:]' '[:lower:]' 04:27:20 + OS_FAMILY=debian 04:27:20 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1307 04:27:20 + START_PACKAGES=/tmp/packages_start.txt 04:27:20 + END_PACKAGES=/tmp/packages_end.txt 04:27:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:27:20 + PACKAGES=/tmp/packages_start.txt 04:27:20 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1307 ']' 04:27:20 + PACKAGES=/tmp/packages_end.txt 04:27:20 + case "${OS_FAMILY}" in 04:27:20 + dpkg -l 04:27:20 + grep '^ii' 04:27:20 + '[' -f /tmp/packages_start.txt ']' 04:27:20 + '[' -f /tmp/packages_end.txt ']' 04:27:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:27:20 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1307 ']' 04:27:20 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1307/archives/ 04:27:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1307/archives/ [Pipeline] echo 04:27:20 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-1307/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:27:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:27:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:21 prd-ubuntu20.04-docker-8c-8g-4835 does not seem to be running inside a container 04:27:21 $ 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-1307/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-1307 -v /w/workspace/gexfoundry_device-sdk-go_PR-1307:/w/workspace/gexfoundry_device-sdk-go_PR-1307:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:27:21 $ docker top 5987e0e58a1fca02b1405d2ce7f8cc2a3cca4d902818cb2bc489d1d13448131f -eo pid,comm [Pipeline] { [Pipeline] sh 04:27:21 + touch /tmp/pre-build-complete [Pipeline] sh 04:27:22 + mkdir -p /var/log/sysstat [Pipeline] sh 04:27:22 + ls /var/log/sa-host 04:27:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:27:22 provisioning config files... 04:27:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp/config11515510660412345535tmp [Pipeline] { [Pipeline] echo 04:27:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:27:23 ---> create-netrc.sh [Pipeline] } 04:27:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:27:23 ---> python-tools-install.sh [Pipeline] echo 04:27:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:27:23 ---> sudo-logs.sh 04:27:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:27:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:27:24 ---> job-cost.sh 04:27:24 lf-activate-venv: SKIPPING 04:27:24 DEBUG: total: 0.2199999988079071 04:27:24 INFO: Retrieving Stack Cost... 04:27:24 INFO: Retrieving Pricing Info for: v3-standard-8 04:27:25 INFO: Archiving Costs [Pipeline] echo 04:27:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:27:25 ---> logs-deploy.sh 04:27:25 lf-activate-venv: SKIPPING 04:27:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1307/1 04:27:25 INFO: archiving workspace using pattern(s): 04:27:26 Archives upload complete. 04:27:26 INFO: archiving logs to Nexus 04:27:27 ---> uname -a: 04:27:27 Linux prd-ubuntu20-04-docker-8c-8g-4835 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 04:27:27 04:27:27 04:27:27 ---> lscpu: 04:27:27 Architecture: x86_64 04:27:27 CPU op-mode(s): 32-bit, 64-bit 04:27:27 Byte Order: Little Endian 04:27:27 Address sizes: 40 bits physical, 48 bits virtual 04:27:27 CPU(s): 8 04:27:27 On-line CPU(s) list: 0-7 04:27:27 Thread(s) per core: 1 04:27:27 Core(s) per socket: 1 04:27:27 Socket(s): 8 04:27:27 NUMA node(s): 1 04:27:27 Vendor ID: AuthenticAMD 04:27:27 CPU family: 23 04:27:27 Model: 49 04:27:27 Model name: AMD EPYC-Rome Processor 04:27:27 Stepping: 0 04:27:27 CPU MHz: 2799.998 04:27:27 BogoMIPS: 5599.99 04:27:27 Virtualization: AMD-V 04:27:27 Hypervisor vendor: KVM 04:27:27 Virtualization type: full 04:27:27 L1d cache: 256 KiB 04:27:27 L1i cache: 256 KiB 04:27:27 L2 cache: 4 MiB 04:27:27 L3 cache: 128 MiB 04:27:27 NUMA node0 CPU(s): 0-7 04:27:27 Vulnerability Itlb multihit: Not affected 04:27:27 Vulnerability L1tf: Not affected 04:27:27 Vulnerability Mds: Not affected 04:27:27 Vulnerability Meltdown: Not affected 04:27:27 Vulnerability Mmio stale data: Not affected 04:27:27 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:27:27 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 04:27:27 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 04:27:27 Vulnerability Srbds: Not affected 04:27:27 Vulnerability Tsx async abort: Not affected 04:27:27 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 04:27:27 04:27:27 04:27:27 ---> nproc: 04:27:27 8 04:27:27 04:27:27 04:27:27 ---> df -h: 04:27:27 Filesystem Size Used Avail Use% Mounted on 04:27:27 overlay 155G 12G 144G 8% / 04:27:27 tmpfs 64M 0 64M 0% /dev 04:27:27 tmpfs 16G 0 16G 0% /sys/fs/cgroup 04:27:27 shm 64M 0 64M 0% /dev/shm 04:27:27 /dev/vda1 155G 12G 144G 8% /facter-os 04:27:27 04:27:27 04:27:27 ---> sar -b -r -n DEV: 04:27:27 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-4835) 02/07/23 _x86_64_ (8 CPU) 04:27:27 04:27:27 04:03:55 LINUX RESTART (8 CPU) 04:27:27 04:27:27 04:04:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 04:27:27 04:05:15 72.07 30.14 41.93 0.00 2923.66 115808.24 0.00 04:27:27 04:06:01 1.87 0.00 1.87 0.00 0.00 109.91 0.00 04:27:27 04:07:01 1.10 0.00 1.10 0.00 0.00 13.60 0.00 04:27:27 04:08:01 0.75 0.00 0.75 0.00 0.00 10.40 0.00 04:27:27 04:09:01 4.00 0.98 3.02 0.00 68.39 1125.95 0.00 04:27:27 04:10:01 51.97 9.67 42.31 0.00 5087.42 7796.57 0.00 04:27:27 04:11:01 3.57 0.02 3.55 0.00 0.13 95.72 0.00 04:27:27 04:12:01 1.43 0.00 1.43 0.00 0.00 19.46 0.00 04:27:27 04:13:01 7.70 6.47 1.23 0.00 1256.46 118.91 0.00 04:27:27 04:14:01 117.69 4.72 112.98 0.00 515.43 41152.82 0.00 04:27:27 04:15:01 95.95 0.05 95.90 0.00 3.73 41065.82 0.00 04:27:27 04:16:01 111.01 0.17 110.85 0.00 2.67 28656.18 0.00 04:27:27 04:17:01 63.81 0.03 63.78 0.00 2.00 18704.70 0.00 04:27:27 04:18:01 2.00 0.00 2.00 0.00 0.00 22.66 0.00 04:27:27 04:19:01 1.22 0.00 1.22 0.00 0.00 15.06 0.00 04:27:27 04:20:01 1.33 0.02 1.32 0.00 0.13 19.46 0.00 04:27:27 04:21:01 1.12 0.00 1.12 0.00 0.00 14.40 0.00 04:27:27 04:22:01 0.82 0.00 0.82 0.00 0.00 10.13 0.00 04:27:27 04:23:01 1.12 0.00 1.12 0.00 0.00 13.73 0.00 04:27:27 04:24:01 1.37 0.00 1.37 0.00 0.00 18.13 0.00 04:27:27 04:25:01 0.87 0.00 0.87 0.00 0.00 10.53 0.00 04:27:27 04:26:01 0.88 0.00 0.88 0.00 0.00 12.53 0.00 04:27:27 04:27:01 1.02 0.00 1.02 0.00 0.00 12.26 0.00 04:27:27 Average: 24.42 2.59 21.83 0.00 459.60 12306.35 0.00 04:27:27 04:27:27 04:04:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:27:27 04:05:15 30434864 31733372 637864 1.94 47768 1565492 1667756 4.92 755884 1427280 1608 04:27:27 04:06:01 30435824 31734440 636256 1.93 47800 1565496 1667756 4.92 755436 1427268 216 04:27:27 04:07:01 30436272 31735016 635660 1.93 47832 1565496 1667756 4.92 754696 1427380 12 04:27:27 04:08:01 30435680 31734520 636160 1.93 47880 1565500 1667756 4.92 755592 1427392 104 04:27:27 04:09:01 30370060 31728004 641372 1.95 49544 1621528 1703332 5.02 765212 1483904 524 04:27:27 04:10:01 29906732 31701836 641148 1.95 82380 2020176 1747096 5.15 1079756 1593420 260 04:27:27 04:11:01 29911872 31702288 641012 1.95 81012 2016924 1725768 5.09 1078408 1590180 8 04:27:27 04:12:01 29911880 31702416 640864 1.95 81108 2016920 1725768 5.09 1078392 1590184 112 04:27:27 04:13:01 29848820 31680140 662136 2.01 81204 2057612 1873716 5.52 1144372 1589564 28 04:27:27 04:14:01 28004036 31583556 703756 2.14 141032 3636252 1947156 5.74 1438388 2974256 480696 04:27:27 04:15:01 27668704 31536132 745372 2.27 178824 3854368 1915000 5.64 1501760 3206528 215532 04:27:27 04:16:01 27628728 31543920 740012 2.25 182924 3908788 1931476 5.69 1541524 3218652 3744 04:27:27 04:17:01 27172876 31563176 719908 2.19 192052 4326060 1776436 5.24 1541396 3622972 16 04:27:27 04:18:01 27173132 31563672 719116 2.19 192112 4326064 1776436 5.24 1541256 3622976 4 04:27:27 04:19:01 27177368 31567980 714764 2.17 192160 4326072 1776436 5.24 1537024 3622988 16 04:27:27 04:20:01 27177016 31567916 714564 2.17 192204 4326180 1809712 5.33 1537148 3623096 132 04:27:27 04:21:01 27187512 31578416 703936 2.14 192240 4326184 1809712 5.33 1526640 3623100 8 04:27:27 04:22:01 27187452 31578412 704116 2.14 192256 4326188 1809712 5.33 1526692 3623104 148 04:27:27 04:23:01 27187444 31578448 704060 2.14 192296 4326188 1809712 5.33 1526440 3623104 16 04:27:27 04:24:01 27187612 31578656 704016 2.14 192336 4326176 1809712 5.33 1526468 3623116 136 04:27:27 04:25:01 27187692 31578776 703932 2.14 192352 4326192 1809712 5.33 1526592 3623116 8 04:27:27 04:26:01 27187392 31578508 704140 2.14 192384 4326192 1809712 5.33 1526576 3623120 140 04:27:27 04:27:01 27187200 31578344 704176 2.14 192404 4326200 1809712 5.33 1527232 3623124 156 04:27:27 Average: 28435051 31627302 685145 2.08 138439 3260098 1784667 5.26 1282299 2730862 30592 04:27:27 04:27:27 04:04:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:27:27 04:05:15 ens3 191.06 134.77 588.12 40.31 0.00 0.00 0.00 0.00 04:27:27 04:05:15 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:05:15 lo 0.80 0.80 0.07 0.07 0.00 0.00 0.00 0.00 04:27:27 04:06:01 ens3 0.87 0.15 0.08 0.01 0.00 0.00 0.00 0.00 04:27:27 04:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:06:01 lo 0.26 0.26 0.02 0.02 0.00 0.00 0.00 0.00 04:27:27 04:07:01 ens3 1.18 0.37 0.40 0.27 0.00 0.00 0.00 0.00 04:27:27 04:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:08:01 ens3 3.23 0.93 4.50 0.31 0.00 0.00 0.00 0.00 04:27:27 04:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:27:27 04:09:01 ens3 52.52 29.10 855.27 2.08 0.00 0.00 0.00 0.00 04:27:27 04:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:09:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 04:27:27 04:10:01 ens3 108.90 59.46 1898.58 4.23 0.00 0.00 0.00 0.00 04:27:27 04:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:10:01 lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 04:27:27 04:11:01 ens3 0.93 0.77 0.46 0.30 0.00 0.00 0.00 0.00 04:27:27 04:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:12:01 ens3 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 04:27:27 04:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:27:27 04:13:01 ens3 43.41 22.78 68.01 5.87 0.00 0.00 0.00 0.00 04:27:27 04:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:13:01 lo 1.73 1.73 0.16 0.16 0.00 0.00 0.00 0.00 04:27:27 04:14:01 ens3 475.74 326.29 7635.26 49.20 0.00 0.00 0.00 0.00 04:27:27 04:14:01 docker0 172.01 242.82 14.63 1963.46 0.00 0.00 0.00 0.00 04:27:27 04:14:01 lo 4.60 4.60 0.44 0.44 0.00 0.00 0.00 0.00 04:27:27 04:15:01 ens3 41.06 49.24 26.47 88.34 0.00 0.00 0.00 0.00 04:27:27 04:15:01 docker0 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 04:27:27 04:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:15:01 vethf271962 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 04:27:27 04:16:01 ens3 35.45 22.99 154.03 13.36 0.00 0.00 0.00 0.00 04:27:27 04:16:01 docker0 3.00 6.63 0.18 81.03 0.00 0.00 0.00 0.00 04:27:27 04:16:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 04:27:27 04:17:01 ens3 100.43 64.85 2523.87 11.70 0.00 0.00 0.00 0.00 04:27:27 04:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:17:01 lo 1.00 1.00 0.10 0.10 0.00 0.00 0.00 0.00 04:27:27 04:18:01 ens3 0.08 0.07 0.01 0.01 0.00 0.00 0.00 0.00 04:27:27 04:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:27:27 04:19:01 ens3 0.13 0.03 0.01 0.00 0.00 0.00 0.00 0.00 04:27:27 04:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:20:01 ens3 0.28 0.20 0.09 0.07 0.00 0.00 0.00 0.00 04:27:27 04:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:27:27 04:21:01 ens3 0.15 0.08 0.01 0.00 0.00 0.00 0.00 0.00 04:27:27 04:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:22:01 ens3 0.07 0.08 0.01 0.01 0.00 0.00 0.00 0.00 04:27:27 04:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:27:27 04:23:01 ens3 0.33 0.07 0.08 0.00 0.00 0.00 0.00 0.00 04:27:27 04:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:24:01 ens3 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 04:27:27 04:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:24:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:27:27 04:25:01 ens3 0.20 0.13 0.08 0.07 0.00 0.00 0.00 0.00 04:27:27 04:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:26:01 ens3 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 04:27:27 04:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:26:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:27:27 04:27:01 ens3 0.53 0.48 0.26 0.22 0.00 0.00 0.00 0.00 04:27:27 04:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 04:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:27:27 Average: ens3 47.96 32.42 604.07 9.83 0.00 0.00 0.00 0.00 04:27:27 Average: docker0 7.61 10.85 0.64 88.86 0.00 0.00 0.00 0.00 04:27:27 Average: lo 0.52 0.52 0.05 0.05 0.00 0.00 0.00 0.00 04:27:27 04:27:27