Pull request #1341 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 07c320666c424d37aa722c01eaad1debc22dfcab+64ca9b081847739b4160c0dc87966f6c81a47c16 (3298cf5c4b2da6e3c03e91bbc6ae38112a5f822c) 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-ssh5025556768448094685.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-ssh1121833189166140131.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-1341/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-1341/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15927380825734591301.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-1341/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11898917133213882284.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-ssh7495381554270583441.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-1341/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-1341/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15074101539921812005.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 ‘prd-ubuntu20.04-docker-8c-8g-6982’ Running on prd-ubuntu20.04-docker-8c-8g-6985 in /w/workspace/gexfoundry_device-sdk-go_PR-1341 [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-1341 # 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 Merging remotes/origin/main commit 64ca9b081847739b4160c0dc87966f6c81a47c16 into PR head commit 07c320666c424d37aa722c01eaad1debc22dfcab Merge succeeded, producing 07c320666c424d37aa722c01eaad1debc22dfcab Checking out Revision 07c320666c424d37aa722c01eaad1debc22dfcab (PR-1341) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 > 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/1341/head:refs/remotes/origin/PR-1341 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 07c320666c424d37aa722c01eaad1debc22dfcab # 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 64ca9b081847739b4160c0dc87966f6c81a47c16 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 07c320666c424d37aa722c01eaad1debc22dfcab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:16:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:16:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:16:25 ========================================================= 04:16:25 EdgeX Global Pipelines Version Info 04:16:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:16:26 ------------------- 04:16:26 stable info: 04:16:26 ------------------- 04:16:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:16:26 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:16:26 Message: update stable to v1.0.244 04:16:26 ------------------- 04:16:26 experimental info: 04:16:26 ------------------- 04:16:26 Commited By: **** collab-it+edgex@linuxfoundation.org 04:16:26 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:16:26 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:16:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:16:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:16:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:16:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1341 [Pipeline] echo 04:16:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1341 [Pipeline] echo 04:16:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1341 [Pipeline] echo 04:16:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 07c320666c424d37aa722c01eaad1debc22dfcab [Pipeline] echo 04:16:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 07c3206 [Pipeline] echo 04:16:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:16:28 provisioning config files... 04:16:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1341@tmp/config8767035122891761191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:16:28 ---> docker-login.sh 04:16:28 nexus3.edgexfoundry.org:10001 04:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:29 Configure a credential helper to remove this warning. See 04:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:29 04:16:29 Login Succeeded 04:16:29 nexus3.edgexfoundry.org:10002 04:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:29 Configure a credential helper to remove this warning. See 04:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:29 04:16:29 Login Succeeded 04:16:29 nexus3.edgexfoundry.org:10003 04:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:29 Configure a credential helper to remove this warning. See 04:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:29 04:16:29 Login Succeeded 04:16:29 nexus3.edgexfoundry.org:10004 04:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:29 Configure a credential helper to remove this warning. See 04:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:29 04:16:29 Login Succeeded 04:16:29 docker.io 04:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:29 Configure a credential helper to remove this warning. See 04:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:29 04:16:29 Login Succeeded 04:16:29 ---> docker-login.sh ends [Pipeline] } 04:16:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:16:30 + git rev-list -1 --merges 07c320666c424d37aa722c01eaad1debc22dfcab~1..07c320666c424d37aa722c01eaad1debc22dfcab [Pipeline] echo 04:16:30 -----------> git rev-list -1 --merges 07c320666c424d37aa722c01eaad1debc22dfcab~1..07c320666c424d37aa722c01eaad1debc22dfcab 07c320666c424d37aa722c01eaad1debc22dfcab [false] [Pipeline] sh 04:16:30 + git log --format=format:%s -1 07c320666c424d37aa722c01eaad1debc22dfcab [Pipeline] echo 04:16:30 ========================================================= 04:16:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:16:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:16:31 + git log --format=format:%s -1 07c320666c424d37aa722c01eaad1debc22dfcab [Pipeline] echo 04:16:31 [semverPrep] GIT_COMMIT: 07c320666c424d37aa722c01eaad1debc22dfcab, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo 04:16:31 [semverPrep] This is not a build commit. [Pipeline] sh 04:16:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:16:31 + grep -v github /etc/ssh/ssh_known_hosts 04:16:31 + [ -e /tmp/ssh_known_hosts ] 04:16:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:16:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:16:31 + sudo tee -a /etc/ssh/ssh_known_hosts 04:16:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:16:32 04:16:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:16:32 0.1.4: Pulling from edgex-devops/py-git-semver 04:16:32 b85a868b505f: Pulling fs layer 04:16:32 e2be974225ed: Pulling fs layer 04:16:32 339a4e72a1f5: Pulling fs layer 04:16:32 988bab9f4d93: Pulling fs layer 04:16:32 1469e6f7b9e6: Pulling fs layer 04:16:32 eaf3925da568: Pulling fs layer 04:16:32 bab4dde63d76: Pulling fs layer 04:16:32 bde34c3a00c8: Pulling fs layer 04:16:32 b352a97aabf1: Pulling fs layer 04:16:32 4872d77fe225: Pulling fs layer 04:16:32 5851b861e8e6: Pulling fs layer 04:16:32 bab4dde63d76: Waiting 04:16:32 bde34c3a00c8: Waiting 04:16:32 b352a97aabf1: Waiting 04:16:32 4872d77fe225: Waiting 04:16:32 5851b861e8e6: Waiting 04:16:32 eaf3925da568: Waiting 04:16:32 988bab9f4d93: Waiting 04:16:32 e2be974225ed: Download complete 04:16:32 988bab9f4d93: Verifying Checksum 04:16:32 988bab9f4d93: Download complete 04:16:32 1469e6f7b9e6: Verifying Checksum 04:16:32 1469e6f7b9e6: Download complete 04:16:32 eaf3925da568: Download complete 04:16:32 339a4e72a1f5: Verifying Checksum 04:16:32 339a4e72a1f5: Download complete 04:16:32 bde34c3a00c8: Verifying Checksum 04:16:32 bde34c3a00c8: Download complete 04:16:32 b352a97aabf1: Verifying Checksum 04:16:32 b352a97aabf1: Download complete 04:16:32 4872d77fe225: Verifying Checksum 04:16:32 4872d77fe225: Download complete 04:16:32 5851b861e8e6: Download complete 04:16:32 b85a868b505f: Download complete 04:16:33 bab4dde63d76: Verifying Checksum 04:16:33 bab4dde63d76: Download complete 04:16:34 b85a868b505f: Pull complete 04:16:34 e2be974225ed: Pull complete 04:16:35 339a4e72a1f5: Pull complete 04:16:35 988bab9f4d93: Pull complete 04:16:35 1469e6f7b9e6: Pull complete 04:16:35 eaf3925da568: Pull complete 04:16:37 bab4dde63d76: Pull complete 04:16:37 bde34c3a00c8: Pull complete 04:16:37 b352a97aabf1: Pull complete 04:16:37 4872d77fe225: Pull complete 04:16:37 5851b861e8e6: Pull complete 04:16:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:16:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:16:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:37 prd-ubuntu20.04-docker-8c-8g-6985 does not seem to be running inside a container 04:16:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1341 -v /w/workspace/gexfoundry_device-sdk-go_PR-1341:/w/workspace/gexfoundry_device-sdk-go_PR-1341:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1341@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1341@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:16:40 $ docker top aea67fe58a2e9d648e6ccc361892d6028783be9580a0197d4e310fc3dd1e46ae -eo pid,comm 04:16:40 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:16:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:16:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:16:40 [ssh-agent] Looking for ssh-agent implementation... 04:16:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:16:40 $ docker exec aea67fe58a2e9d648e6ccc361892d6028783be9580a0197d4e310fc3dd1e46ae ssh-agent 04:16:40 SSH_AUTH_SOCK=/tmp/ssh-1TgfevYCOcQl/agent.32 04:16:40 SSH_AGENT_PID=38 04:16:40 Running ssh-add (command line suppressed) 04:16:40 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1341@tmp/private_key_15130368836527962994.key (/w/workspace/gexfoundry_device-sdk-go_PR-1341@tmp/private_key_15130368836527962994.key) 04:16:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:16:41 + git tag --points-at HEAD [Pipeline] } 04:16:41 $ docker exec --env ******** --env ******** aea67fe58a2e9d648e6ccc361892d6028783be9580a0197d4e310fc3dd1e46ae ssh-agent -k 04:16:41 unset SSH_AUTH_SOCK; 04:16:41 unset SSH_AGENT_PID; 04:16:41 echo Agent pid 38 killed; 04:16:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:16:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:16:41 [ssh-agent] Looking for ssh-agent implementation... 04:16:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:16:41 $ docker exec aea67fe58a2e9d648e6ccc361892d6028783be9580a0197d4e310fc3dd1e46ae ssh-agent 04:16:41 SSH_AUTH_SOCK=/tmp/ssh-mTiK2fAT1xcd/agent.72 04:16:41 SSH_AGENT_PID=78 04:16:41 Running ssh-add (command line suppressed) 04:16:41 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1341@tmp/private_key_12292836384904235803.key (/w/workspace/gexfoundry_device-sdk-go_PR-1341@tmp/private_key_12292836384904235803.key) 04:16:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:16:42 + git semver init 04:16:42 2023-02-22 04:16:42,410 [run_init] DEBUG init version:0.0.0 force:False 04:16:42 2023-02-22 04:16:42,411 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1341/.semver 04:16:42 2023-02-22 04:16:42,411 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1341/.semver 04:16:42 2023-02-22 04:16:42,412 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1341/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1341, universal_newlines=False, shell=None, istream=None) 04:16:43 2023-02-22 04:16:43,381 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1341/.git/info/exclude 04:16:43 2023-02-22 04:16:43,382 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1341/.semver/PR-1341 with force:False 04:16:43 2023-02-22 04:16:43,382 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1341/.semver/PR-1341 04:16:43 2023-02-22 04:16:43,386 [execute] INFO git cat-file --batch-check 04:16:43 2023-02-22 04:16:43,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1341/.semver, universal_newlines=False, shell=None, istream=) 04:16:43 2023-02-22 04:16:43,391 [execute] INFO git cat-file --batch 04:16:43 2023-02-22 04:16:43,392 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1341/.semver, universal_newlines=False, shell=None, istream=) 04:16:43 2023-02-22 04:16:43,395 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1341/.semver/PR-1341 04:16:43 0.0.0 [Pipeline] } 04:16:43 $ docker exec --env ******** --env ******** aea67fe58a2e9d648e6ccc361892d6028783be9580a0197d4e310fc3dd1e46ae ssh-agent -k 04:16:43 unset SSH_AUTH_SOCK; 04:16:43 unset SSH_AGENT_PID; 04:16:43 echo Agent pid 78 killed; 04:16:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:16:44 + git semver [Pipeline] } 04:16:44 $ docker stop --time=1 aea67fe58a2e9d648e6ccc361892d6028783be9580a0197d4e310fc3dd1e46ae 04:16:45 $ docker rm -f --volumes aea67fe58a2e9d648e6ccc361892d6028783be9580a0197d4e310fc3dd1e46ae [Pipeline] // withDockerContainer [Pipeline] sh 04:16:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:16:46 Stashed 1 file(s) [Pipeline] echo 04:16:46 [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:16:47 provisioning config files... 04:16:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1341@tmp/config17183224094917911889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:16:47 ---> docker-login.sh 04:16:47 nexus3.edgexfoundry.org:10001 04:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:47 Configure a credential helper to remove this warning. See 04:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:47 04:16:47 Login Succeeded 04:16:47 nexus3.edgexfoundry.org:10002 04:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:47 Configure a credential helper to remove this warning. See 04:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:47 04:16:47 Login Succeeded 04:16:47 nexus3.edgexfoundry.org:10003 04:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:47 Configure a credential helper to remove this warning. See 04:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:47 04:16:47 Login Succeeded 04:16:47 nexus3.edgexfoundry.org:10004 04:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:47 Configure a credential helper to remove this warning. See 04:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:47 04:16:47 Login Succeeded 04:16:47 docker.io 04:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:48 Configure a credential helper to remove this warning. See 04:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:48 04:16:48 Login Succeeded 04:16:48 ---> docker-login.sh ends [Pipeline] } 04:16:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:16:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:16:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:16:48 ========================================================= 04:16:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:16:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:48 + 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:16:48 Sending build context to Docker daemon 10.54MB 04:16:48 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:16:48 Step 2/10 : FROM ${BASE} AS builder 04:16:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:16:48 213ec9aee27d: Pulling fs layer 04:16:48 4583459ba037: Pulling fs layer 04:16:48 93c1e223e6f2: Pulling fs layer 04:16:48 53926ce57604: Pulling fs layer 04:16:48 21b2b0c7a3f4: Pulling fs layer 04:16:48 22ff95d597cd: Pulling fs layer 04:16:48 12d6caf4c0d1: Pulling fs layer 04:16:48 96b7cbca73a9: Pulling fs layer 04:16:48 a7acece74701: Pulling fs layer 04:16:48 21b2b0c7a3f4: Waiting 04:16:48 96b7cbca73a9: Waiting 04:16:48 a7acece74701: Waiting 04:16:48 22ff95d597cd: Waiting 04:16:48 12d6caf4c0d1: Waiting 04:16:48 93c1e223e6f2: Download complete 04:16:49 4583459ba037: Download complete 04:16:49 21b2b0c7a3f4: Verifying Checksum 04:16:49 22ff95d597cd: Verifying Checksum 04:16:49 22ff95d597cd: Download complete 04:16:49 213ec9aee27d: Verifying Checksum 04:16:49 213ec9aee27d: Download complete 04:16:49 12d6caf4c0d1: Download complete 04:16:49 213ec9aee27d: Pull complete 04:16:49 4583459ba037: Pull complete 04:16:49 93c1e223e6f2: Pull complete 04:16:49 a7acece74701: Verifying Checksum 04:16:49 a7acece74701: Download complete 04:16:49 96b7cbca73a9: Verifying Checksum 04:16:49 96b7cbca73a9: Download complete 04:16:49 53926ce57604: Verifying Checksum 04:16:49 53926ce57604: Download complete 04:16:54 53926ce57604: Pull complete 04:16:54 21b2b0c7a3f4: Pull complete 04:16:54 22ff95d597cd: Pull complete 04:16:54 12d6caf4c0d1: Pull complete 04:16:56 96b7cbca73a9: Pull complete 04:16:56 a7acece74701: Pull complete 04:16:56 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:16:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:16:56 ---> db6d94c90886 04:16:56 Step 3/10 : ARG MAKE=make build 04:17:02 Still waiting to schedule task 04:17:02 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6983’ 04:17:05 ---> Running in 354c7175de36 04:17:05 Removing intermediate container 354c7175de36 04:17:05 ---> 53ca08f55fa1 04:17:05 Step 4/10 : WORKDIR /device-sdk-go 04:17:05 ---> Running in 1fdaa5446de9 04:17:05 Removing intermediate container 1fdaa5446de9 04:17:05 ---> 7e5b9d4b0cac 04:17:05 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:17:05 ---> Running in 823ed1e3a1e2 04:17:06 Removing intermediate container 823ed1e3a1e2 04:17:06 ---> 7e721ab321a8 04:17:06 Step 6/10 : RUN apk add --update --no-cache make git 04:17:07 ---> Running in ba998475347f 04:17:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:17:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:17:07 OK: 211 MiB in 51 packages 04:17:09 Removing intermediate container ba998475347f 04:17:09 ---> 56eaadb22f4c 04:17:09 Step 7/10 : COPY go.mod vendor* ./ 04:17:09 ---> ca60d850c36c 04:17:09 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:17:09 ---> Running in 5d23771e5540 04:17:48 Removing intermediate container 5d23771e5540 04:17:48 ---> c89e4453cd60 04:17:48 Step 9/10 : COPY . . 04:17:48 ---> 018785b3289c 04:17:48 Step 10/10 : RUN ${MAKE} 04:17:48 ---> Running in 9f3f650bc494 04:17:48 noop 04:17:48 Removing intermediate container 9f3f650bc494 04:17:48 ---> 5d1f689c6123 04:17:48 Successfully built 5d1f689c6123 04:17:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:48 + docker inspect -f . ci-base-image-x86_64 04:17:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:49 prd-ubuntu20.04-docker-8c-8g-6985 does not seem to be running inside a container 04:17:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1341 -v /w/workspace/gexfoundry_device-sdk-go_PR-1341:/w/workspace/gexfoundry_device-sdk-go_PR-1341:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1341@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1341@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:17:49 $ docker top 96bd1d68c59938578ff26e0c71f12f69bad41b20e3c3dd278a4a7fb89f915a47 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:49 + go version 04:17:49 go version go1.18.7 linux/amd64 [Pipeline] } 04:17:49 $ docker stop --time=1 96bd1d68c59938578ff26e0c71f12f69bad41b20e3c3dd278a4a7fb89f915a47 04:17:51 $ docker rm -f --volumes 96bd1d68c59938578ff26e0c71f12f69bad41b20e3c3dd278a4a7fb89f915a47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:51 + docker inspect -f . ci-base-image-x86_64 04:17:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:51 prd-ubuntu20.04-docker-8c-8g-6985 does not seem to be running inside a container 04:17:51 $ 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-1341 -v /w/workspace/gexfoundry_device-sdk-go_PR-1341:/w/workspace/gexfoundry_device-sdk-go_PR-1341:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1341@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1341@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:17:52 $ docker top 70aa4268e8d8aa7bae39b610e17c0a17c765cffcfdde3e4bae4d1285513ef6a2 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:52 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1341 [Pipeline] fileExists [Pipeline] sh 04:17:53 + make test 04:17:53 go test -race -coverprofile=coverage.out ./... 04:17:59 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:18:11 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:18:11 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:18:11 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:18:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:18:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:18:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements 04:18:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.116s coverage: 78.9% of statements 04:18:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:18:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.087s coverage: 86.0% of statements 04:18:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:18:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:18:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.096s coverage: 77.0% of statements 04:18:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:18:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 04:18:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:18:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.095s coverage: 65.2% of statements 04:18:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:18:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:18:12 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.743s coverage: 89.2% of statements 04:18:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:18:12 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.059s coverage: 4.7% of statements 04:18:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:18:27 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:18:27 GO111MODULE=on go vet ./... 04:18:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:18:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:18:31 ./bin/test-attribution-txt.sh [Pipeline] echo 04:18:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:18:31 $ docker stop --time=1 70aa4268e8d8aa7bae39b610e17c0a17c765cffcfdde3e4bae4d1285513ef6a2 04:18:36 $ docker rm -f --volumes 70aa4268e8d8aa7bae39b610e17c0a17c765cffcfdde3e4bae4d1285513ef6a2 [Pipeline] // withDockerContainer [Pipeline] sh 04:18:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:18:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:18:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:18:38 + ls -al . 04:18:38 total 272 04:18:38 drwxrwxr-x 11 jenkins jenkins 4096 Feb 22 04:17 . 04:18:38 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 04:16 .. 04:18:38 -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 04:16 .dockerignore 04:18:38 drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 04:18 .git 04:18:38 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 04:16 .github 04:18:38 -rw-rw-r-- 1 jenkins jenkins 131 Feb 22 04:16 .gitignore 04:18:38 -rw-rw-r-- 1 jenkins jenkins 42 Feb 22 04:16 .golangci.yml 04:18:38 drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 04:16 .semver 04:18:38 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 22 04:16 CHANGELOG.md 04:18:38 -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 04:16 GOVERNANCE.md 04:18:38 -rw-rw-r-- 1 jenkins jenkins 885 Feb 22 04:16 Jenkinsfile 04:18:38 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 04:16 LICENSE 04:18:38 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 22 04:16 Makefile 04:18:38 -rw-rw-r-- 1 jenkins jenkins 619 Feb 22 04:16 OWNERS.md 04:18:38 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 22 04:16 README.md 04:18:38 -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 04:16 VERSION 04:18:38 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 04:16 bin 04:18:38 -rw-r--r-- 1 jenkins jenkins 98531 Feb 22 04:18 coverage.out 04:18:38 drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 04:16 example 04:18:38 -rw-rw-r-- 1 jenkins jenkins 3266 Feb 22 04:16 go.mod 04:18:38 -rw-rw-r-- 1 jenkins jenkins 32794 Feb 22 04:16 go.sum 04:18:38 drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 04:16 internal 04:18:38 drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 04:16 openapi 04:18:38 drwxrwxr-x 6 jenkins jenkins 4096 Feb 22 04:16 pkg 04:18:38 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 04:16 snap 04:18:38 -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 04:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:38 + 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=07c320666c424d37aa722c01eaad1debc22dfcab --label arch=amd64 --label version=0.0.0 . 04:18:38 Sending build context to Docker daemon 10.64MB 04:18:38 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:18:38 Step 2/23 : FROM ${BASE} AS builder 04:18:38 ---> 5d1f689c6123 04:18:38 Step 3/23 : ARG MAKE=make build 04:18:39 ---> Running in 6fdc742710ed 04:18:39 Removing intermediate container 6fdc742710ed 04:18:39 ---> cba016aa35a4 04:18:39 Step 4/23 : WORKDIR /device-sdk-go 04:18:39 ---> Running in 08759c889aca 04:18:39 Removing intermediate container 08759c889aca 04:18:39 ---> 7c1ebb551868 04:18:39 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:18:39 ---> Running in 3afef9aae1f1 04:18:39 Removing intermediate container 3afef9aae1f1 04:18:39 ---> 79a3a21d5eb5 04:18:39 Step 6/23 : RUN apk add --update --no-cache make git 04:18:39 ---> Running in 8da5adcae089 04:18:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:18:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:18:39 OK: 211 MiB in 51 packages 04:18:40 Removing intermediate container 8da5adcae089 04:18:40 ---> 35c2863a3d83 04:18:40 Step 7/23 : COPY go.mod vendor* ./ 04:18:40 ---> 0caca5eae30b 04:18:40 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:18:40 ---> Running in 706ac3c5c2b7 04:18:41 Removing intermediate container 706ac3c5c2b7 04:18:41 ---> d8d5e0f8eb69 04:18:41 Step 9/23 : COPY . . 04:18:41 ---> 38a175d7b3fa 04:18:41 Step 10/23 : RUN ${MAKE} 04:18:41 ---> Running in 87ecf9355fa3 04:18:41 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:19:03 Removing intermediate container 87ecf9355fa3 04:19:03 ---> 56dc13c2ba97 04:19:03 Step 11/23 : FROM alpine:3.16 04:19:03 3.16: Pulling from library/alpine 04:19:03 ef5531b6e74e: Pulling fs layer 04:19:03 ef5531b6e74e: Verifying Checksum 04:19:03 ef5531b6e74e: Download complete 04:19:03 ef5531b6e74e: Pull complete 04:19:03 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 04:19:03 Status: Downloaded newer image for alpine:3.16 04:19:03 ---> dfd21b5a31f5 04:19:03 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:19:03 ---> Running in 96f0c89a386f 04:19:03 Removing intermediate container 96f0c89a386f 04:19:03 ---> 3d9941aee831 04:19:03 Step 13/23 : RUN apk add --update --no-cache 04:19:03 ---> Running in 17b4d87ede83 04:19:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:19:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:19:03 OK: 6 MiB in 14 packages 04:19:03 Removing intermediate container 17b4d87ede83 04:19:03 ---> 4cda082d2672 04:19:03 Step 14/23 : WORKDIR / 04:19:03 ---> Running in eec1cc235114 04:19:03 Removing intermediate container eec1cc235114 04:19:03 ---> ea80db40d910 04:19:03 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:19:03 ---> a91330951924 04:19:03 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:19:03 ---> d45fd8433470 04:19:03 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:19:03 ---> 0f26366314d4 04:19:03 Step 18/23 : EXPOSE 59999 04:19:03 ---> Running in 1cd69f79f95b 04:19:04 Removing intermediate container 1cd69f79f95b 04:19:04 ---> 054953b12dcc 04:19:04 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:19:04 ---> Running in f0f31d5be22e 04:19:04 Removing intermediate container f0f31d5be22e 04:19:04 ---> 6ef17534feb5 04:19:04 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:19:04 ---> Running in b93d6b424407 04:19:04 Removing intermediate container b93d6b424407 04:19:04 ---> 5b42b3ed3403 04:19:04 Step 21/23 : LABEL arch=amd64 04:19:04 ---> Running in c8cfefa6c781 04:19:04 Removing intermediate container c8cfefa6c781 04:19:04 ---> 19dbfbb5f37a 04:19:04 Step 22/23 : LABEL git_sha=07c320666c424d37aa722c01eaad1debc22dfcab 04:19:04 ---> Running in 6d7aaeeebafc 04:19:04 Removing intermediate container 6d7aaeeebafc 04:19:04 ---> 9fa4e5d7f7c2 04:19:04 Step 23/23 : LABEL version=0.0.0 04:19:04 ---> Running in 43790f7f405d 04:19:04 Removing intermediate container 43790f7f405d 04:19:04 ---> b9848ba3368e 04:19:04 [Warning] One or more build-args [ARCH] were not consumed 04:19:04 Successfully built b9848ba3368e 04:19:04 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:19:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:19:05 04:19:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:19:05 latest: Pulling from edgex-lftools-log-publisher 04:19:05 5eb5b503b376: Pulling fs layer 04:19:05 5c69ac0246d0: Pulling fs layer 04:19:05 ec43610c2a17: Pulling fs layer 04:19:05 3a2ae6a8a46f: Pulling fs layer 04:19:05 33b1e0a273af: Pulling fs layer 04:19:05 5d3b04190fa2: Pulling fs layer 04:19:05 2f39f015ded8: Pulling fs layer 04:19:05 33b1e0a273af: Waiting 04:19:05 5d3b04190fa2: Waiting 04:19:05 3a2ae6a8a46f: Waiting 04:19:05 5c69ac0246d0: Download complete 04:19:05 3a2ae6a8a46f: Download complete 04:19:05 33b1e0a273af: Verifying Checksum 04:19:05 33b1e0a273af: Download complete 04:19:05 5d3b04190fa2: Download complete 04:19:05 ec43610c2a17: Verifying Checksum 04:19:05 ec43610c2a17: Download complete 04:19:05 5eb5b503b376: Verifying Checksum 04:19:05 5eb5b503b376: Download complete 04:19:06 2f39f015ded8: Download complete 04:19:06 5eb5b503b376: Pull complete 04:19:06 5c69ac0246d0: Pull complete 04:19:07 ec43610c2a17: Pull complete 04:19:07 3a2ae6a8a46f: Pull complete 04:19:07 33b1e0a273af: Pull complete 04:19:07 5d3b04190fa2: Pull complete 04:19:11 2f39f015ded8: Pull complete 04:19:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:19:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:19:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:12 prd-ubuntu20.04-docker-8c-8g-6985 does not seem to be running inside a container 04:19: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-1341 -v /w/workspace/gexfoundry_device-sdk-go_PR-1341:/w/workspace/gexfoundry_device-sdk-go_PR-1341:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1341@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1341@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:19:15 $ docker top eb229ffc19c75ea8e1e1bba1d315ba862294f4a458c07ef5567491983054bcd1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:15 ---> job-cost.sh 04:19:15 lf-activate-venv: SKIPPING 04:19:15 INFO: No Stack... 04:19:16 INFO: Retrieving Pricing Info for: v3-standard-8 04:19:16 INFO: Archiving Costs [Pipeline] sh 04:19:16 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1341/archives/cost.csv 04:19:16 + cut -d, -f6 [Pipeline] lock 04:19:16 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1341-1-stack-cost] 04:19:16 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1341-1-stack-cost] did not exist. Created. 04:19:16 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1341-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:19:17 + echo total: 0.2199999988079071 [Pipeline] stash 04:19:17 Stashed 1 file(s) [Pipeline] } 04:19:17 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1341-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:19:17 $ docker stop --time=1 eb229ffc19c75ea8e1e1bba1d315ba862294f4a458c07ef5567491983054bcd1 04:19:18 $ docker rm -f --volumes eb229ffc19c75ea8e1e1bba1d315ba862294f4a458c07ef5567491983054bcd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:19:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6993 in /w/workspace/gexfoundry_device-sdk-go_PR-1341 [Pipeline] { [Pipeline] ws 04:19:24 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:19:24 The recommended git tool is: git 04:19:30 using credential edgex-jenkins-ssh 04:19:30 Cloning the remote Git repository 04:19:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:19:31 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:19:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:19:31 > git --version # timeout=10 04:19:31 > git --version # 'git version 2.25.1' 04:19:31 using GIT_SSH to set credentials SSH Credentials for GitHub 04:19:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:19:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:19:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:19:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:19:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:19:34 using GIT_SSH to set credentials SSH Credentials for GitHub 04:19:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1341/head:refs/remotes/origin/PR-1341 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:19:35 Merging remotes/origin/main commit 64ca9b081847739b4160c0dc87966f6c81a47c16 into PR head commit 07c320666c424d37aa722c01eaad1debc22dfcab 04:19:35 Merge succeeded, producing 07c320666c424d37aa722c01eaad1debc22dfcab 04:19:35 Checking out Revision 07c320666c424d37aa722c01eaad1debc22dfcab (PR-1341) 04:19:36 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" 04:19:35 > git config core.sparsecheckout # timeout=10 04:19:35 > git checkout -f 07c320666c424d37aa722c01eaad1debc22dfcab # timeout=10 04:19:35 > git remote # timeout=10 04:19:35 > git config --get remote.origin.url # timeout=10 04:19:35 using GIT_SSH to set credentials SSH Credentials for GitHub 04:19:35 > git merge 64ca9b081847739b4160c0dc87966f6c81a47c16 # timeout=10 04:19:35 > git rev-parse HEAD^{commit} # timeout=10 04:19:35 > git config core.sparsecheckout # timeout=10 04:19:35 > git checkout -f 07c320666c424d37aa722c01eaad1debc22dfcab # timeout=10 04:19:36 > git --version # timeout=10 04:19:36 > git --version # 'git version 2.25.1' 04:19:36 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:19:37 % Total % Received % Xferd Average Speed Time Time Time Current 04:19:37 Dload Upload Total Spent Left Speed 04:19:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh 04:19:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:19:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:19:38 + sudo tee /etc/docker/daemon.new 04:19:39 { 04:19:39 "registry-mirrors": [ 04:19:39 "https://nexus3.edgexfoundry.org:10001" 04:19:39 ], 04:19:39 "bip": "10.250.0.254/24", 04:19:39 "hosts": [ 04:19:39 "tcp://0.0.0.0:5555", 04:19:39 "unix:///var/run/docker.sock" 04:19:39 ], 04:19:39 "mtu": 1458, 04:19:39 "selinux-enabled": true, 04:19:39 "seccomp-profile": "/etc/docker/seccomp.json" 04:19:39 } [Pipeline] sh 04:19:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:19:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:19:58 provisioning config files... 04:19:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config11568184687287116423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:58 ---> docker-login.sh 04:19:58 nexus3.edgexfoundry.org:10001 04:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:59 Configure a credential helper to remove this warning. See 04:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:59 04:19:59 Login Succeeded 04:19:59 nexus3.edgexfoundry.org:10002 04:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:00 Configure a credential helper to remove this warning. See 04:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:00 04:20:00 Login Succeeded 04:20:00 nexus3.edgexfoundry.org:10003 04:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:00 Configure a credential helper to remove this warning. See 04:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:00 04:20:00 Login Succeeded 04:20:00 nexus3.edgexfoundry.org:10004 04:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:00 Configure a credential helper to remove this warning. See 04:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:00 04:20:00 Login Succeeded 04:20:00 docker.io 04:20:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:01 Configure a credential helper to remove this warning. See 04:20:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:01 04:20:01 Login Succeeded 04:20:01 ---> docker-login.sh ends [Pipeline] } 04:20:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:20:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:20:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:20:01 ========================================================= 04:20:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:20:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:02 + 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:20:02 Sending build context to Docker daemon 5.66MB 04:20:03 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:20:03 Step 2/10 : FROM ${BASE} AS builder 04:20:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:20:05 9b18e9b68314: Pulling fs layer 04:20:05 35d82f9e3411: Pulling fs layer 04:20:05 e16973657156: Pulling fs layer 04:20:05 fc693d55d65f: Pulling fs layer 04:20:05 7e9fc2657dce: Pulling fs layer 04:20:05 dda99020689f: Pulling fs layer 04:20:05 db1c61fa0a46: Pulling fs layer 04:20:05 891c053d2c06: Pulling fs layer 04:20:05 dda99020689f: Waiting 04:20:05 db1c61fa0a46: Waiting 04:20:05 891c053d2c06: Waiting 04:20:05 fc693d55d65f: Waiting 04:20:05 7e9fc2657dce: Waiting 04:20:05 e16973657156: Verifying Checksum 04:20:05 e16973657156: Download complete 04:20:05 35d82f9e3411: Verifying Checksum 04:20:05 35d82f9e3411: Download complete 04:20:05 7e9fc2657dce: Verifying Checksum 04:20:05 7e9fc2657dce: Download complete 04:20:05 dda99020689f: Verifying Checksum 04:20:05 dda99020689f: Download complete 04:20:05 9b18e9b68314: Verifying Checksum 04:20:05 9b18e9b68314: Download complete 04:20:06 9b18e9b68314: Pull complete 04:20:07 891c053d2c06: Verifying Checksum 04:20:07 891c053d2c06: Download complete 04:20:07 35d82f9e3411: Pull complete 04:20:08 e16973657156: Pull complete 04:20:08 db1c61fa0a46: Download complete 04:20:08 fc693d55d65f: Verifying Checksum 04:20:08 fc693d55d65f: Download complete 04:20:21 fc693d55d65f: Pull complete 04:20:21 7e9fc2657dce: Pull complete 04:20:21 dda99020689f: Pull complete 04:20:26 db1c61fa0a46: Pull complete 04:20:28 891c053d2c06: Pull complete 04:20:28 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:20:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:20:28 ---> f96f9c87975a 04:20:28 Step 3/10 : ARG MAKE=make build 04:20:31 ---> Running in c6a7bf3634bf 04:20:31 Removing intermediate container c6a7bf3634bf 04:20:31 ---> fab0a28970f7 04:20:31 Step 4/10 : WORKDIR /device-sdk-go 04:20:31 ---> Running in d72319b3ed86 04:20:32 Removing intermediate container d72319b3ed86 04:20:32 ---> 2a4619f69cc3 04:20:32 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:20:32 ---> Running in 4216be2882e5 04:20:32 Removing intermediate container 4216be2882e5 04:20:32 ---> d149388fed23 04:20:32 Step 6/10 : RUN apk add --update --no-cache make git 04:20:32 ---> Running in f492b7097882 04:20:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:20:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:20:36 OK: 221 MiB in 51 packages 04:20:37 Removing intermediate container f492b7097882 04:20:37 ---> c1157b9e39e1 04:20:37 Step 7/10 : COPY go.mod vendor* ./ 04:20:37 ---> 40c04126a030 04:20:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:20:37 ---> Running in dd8f78e8df3f 04:21:45 Removing intermediate container dd8f78e8df3f 04:21:45 ---> aea0f356059f 04:21:45 Step 9/10 : COPY . . 04:21:45 ---> 0de3592c0742 04:21:45 Step 10/10 : RUN ${MAKE} 04:21:45 ---> Running in df05885275e4 04:21:45 noop 04:21:45 Removing intermediate container df05885275e4 04:21:45 ---> ac872260ffcf 04:21:45 Successfully built ac872260ffcf 04:21:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:46 + docker inspect -f . ci-base-image-arm64 04:21:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:46 prd-ubuntu20.04-docker-arm64-4c-16g-6993 does not seem to be running inside a container 04:21:46 $ 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:21:48 $ docker top f4f12f293f7f8556b56879f7932dae476c322f1a14e086074dcf3f57b085c9e6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:49 + go version 04:21:49 go version go1.18.7 linux/arm64 [Pipeline] } 04:21:49 $ docker stop --time=1 f4f12f293f7f8556b56879f7932dae476c322f1a14e086074dcf3f57b085c9e6 04:21:50 $ docker rm -f --volumes f4f12f293f7f8556b56879f7932dae476c322f1a14e086074dcf3f57b085c9e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:51 + docker inspect -f . ci-base-image-arm64 04:21:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:52 prd-ubuntu20.04-docker-arm64-4c-16g-6993 does not seem to be running inside a container 04:21:52 $ 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:21:53 $ docker top af817b78e544499e1b76f0c22dfcad3eb8aa89e0be86f8fb976889fe8ad097e6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:54 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:21:55 + make test 04:21:55 go test -race -coverprofile=coverage.out ./... 04:22:42 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:24:48 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:24:48 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:24:48 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:24:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:24:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:24:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.327s coverage: 27.6% of statements 04:24:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.388s coverage: 78.9% of statements 04:24:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:25:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.545s coverage: 86.0% of statements 04:25:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:25:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:25:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.533s coverage: 77.0% of statements 04:25:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:25:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 04:25:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:25:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.466s coverage: 65.2% of statements 04:25:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:25:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:25:10 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.102s coverage: 89.2% of statements 04:25:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:25:10 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.339s coverage: 4.7% of statements 04:25:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:25:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:25:11 GO111MODULE=on go vet ./... 04:27:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:27:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:27:02 ./bin/test-attribution-txt.sh [Pipeline] echo 04:27:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:27:02 $ docker stop --time=1 af817b78e544499e1b76f0c22dfcad3eb8aa89e0be86f8fb976889fe8ad097e6 04:27:04 $ docker rm -f --volumes af817b78e544499e1b76f0c22dfcad3eb8aa89e0be86f8fb976889fe8ad097e6 [Pipeline] // withDockerContainer [Pipeline] sh 04:27:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:27:06 Warning: overwriting stash ‘coverage-report’ 04:27:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:27:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:27:08 + ls -al . 04:27:08 total 268 04:27:08 drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 04:21 . 04:27:08 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 04:19 .. 04:27:08 -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 04:19 .dockerignore 04:27:08 drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 04:19 .git 04:27:08 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 04:19 .github 04:27:08 -rw-rw-r-- 1 jenkins jenkins 131 Feb 22 04:19 .gitignore 04:27:08 -rw-rw-r-- 1 jenkins jenkins 42 Feb 22 04:19 .golangci.yml 04:27:08 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 22 04:19 CHANGELOG.md 04:27:08 -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 04:19 GOVERNANCE.md 04:27:08 -rw-rw-r-- 1 jenkins jenkins 885 Feb 22 04:19 Jenkinsfile 04:27:08 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 04:19 LICENSE 04:27:08 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 22 04:19 Makefile 04:27:08 -rw-rw-r-- 1 jenkins jenkins 619 Feb 22 04:19 OWNERS.md 04:27:08 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 22 04:19 README.md 04:27:08 -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 04:16 VERSION 04:27:08 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 04:19 bin 04:27:08 -rw-r--r-- 1 jenkins jenkins 98530 Feb 22 04:25 coverage.out 04:27:08 drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 04:19 example 04:27:08 -rw-rw-r-- 1 jenkins jenkins 3266 Feb 22 04:19 go.mod 04:27:08 -rw-rw-r-- 1 jenkins jenkins 32794 Feb 22 04:19 go.sum 04:27:08 drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 04:19 internal 04:27:08 drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 04:19 openapi 04:27:08 drwxrwxr-x 6 jenkins jenkins 4096 Feb 22 04:19 pkg 04:27:08 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 04:19 snap 04:27:08 -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 04:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:08 + 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=07c320666c424d37aa722c01eaad1debc22dfcab --label arch=arm64 --label version=0.0.0 . 04:27:09 Sending build context to Docker daemon 5.759MB 04:27:09 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:27:09 Step 2/23 : FROM ${BASE} AS builder 04:27:09 ---> ac872260ffcf 04:27:09 Step 3/23 : ARG MAKE=make build 04:27:09 ---> Running in 7b65c77c733c 04:27:09 Removing intermediate container 7b65c77c733c 04:27:09 ---> 6ab65bbd1e70 04:27:09 Step 4/23 : WORKDIR /device-sdk-go 04:27:09 ---> Running in a40a1de9fe06 04:27:09 Removing intermediate container a40a1de9fe06 04:27:09 ---> af4542be9b40 04:27:09 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:27:10 ---> Running in 0be50a1c7dc7 04:27:10 Removing intermediate container 0be50a1c7dc7 04:27:10 ---> cd87c785451a 04:27:10 Step 6/23 : RUN apk add --update --no-cache make git 04:27:10 ---> Running in fae76f5b34d0 04:27:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:27:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:27:13 OK: 221 MiB in 51 packages 04:27:14 Removing intermediate container fae76f5b34d0 04:27:14 ---> d6c09725c9cc 04:27:14 Step 7/23 : COPY go.mod vendor* ./ 04:27:14 ---> 97341470c35f 04:27:14 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:27:15 ---> Running in 2aea8eb0cca4 04:27:17 Removing intermediate container 2aea8eb0cca4 04:27:17 ---> bcaa6f926d16 04:27:17 Step 9/23 : COPY . . 04:27:19 ---> 2e16c61333e5 04:27:19 Step 10/23 : RUN ${MAKE} 04:27:19 ---> Running in c1f854f0e1da 04:27:20 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:29:57 Removing intermediate container c1f854f0e1da 04:29:57 ---> e6fefd8f92fc 04:29:57 Step 11/23 : FROM alpine:3.16 04:29:57 3.16: Pulling from library/alpine 04:29:57 3760b48202b3: Pulling fs layer 04:29:57 3760b48202b3: Verifying Checksum 04:29:57 3760b48202b3: Download complete 04:29:57 3760b48202b3: Pull complete 04:29:57 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 04:29:57 Status: Downloaded newer image for alpine:3.16 04:29:57 ---> 4c81e5bf8899 04:29:57 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:29:57 ---> Running in 14e5e5a63941 04:29:57 Removing intermediate container 14e5e5a63941 04:29:57 ---> 0990604e8faf 04:29:57 Step 13/23 : RUN apk add --update --no-cache 04:29:57 ---> Running in 224bcf95dd44 04:29:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:29:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:29:57 OK: 5 MiB in 14 packages 04:29:57 Removing intermediate container 224bcf95dd44 04:29:57 ---> d74158f43b51 04:29:57 Step 14/23 : WORKDIR / 04:29:57 ---> Running in a99c07704e6f 04:29:57 Removing intermediate container a99c07704e6f 04:29:57 ---> 7fc5d2ffab32 04:29:57 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:29:57 ---> 73597a2dc2c3 04:29:57 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:29:57 ---> 438e0a5539ae 04:29:57 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:29:57 ---> 7e13ddf0e654 04:29:57 Step 18/23 : EXPOSE 59999 04:29:57 ---> Running in b2edf32949da 04:29:58 Removing intermediate container b2edf32949da 04:29:58 ---> cd4735e455b9 04:29:58 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:29:58 ---> Running in 0f9f31ecb782 04:29:58 Removing intermediate container 0f9f31ecb782 04:29:58 ---> 5e5d5e6a0a6e 04:29:58 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:29:58 ---> Running in 3aaf431e2cd8 04:29:58 Removing intermediate container 3aaf431e2cd8 04:29:58 ---> b3d5cd1a23bd 04:29:58 Step 21/23 : LABEL arch=arm64 04:29:58 ---> Running in 3ddade300346 04:29:59 Removing intermediate container 3ddade300346 04:29:59 ---> 275614737e4a 04:29:59 Step 22/23 : LABEL git_sha=07c320666c424d37aa722c01eaad1debc22dfcab 04:29:59 ---> Running in 95a964c90c60 04:29:59 Removing intermediate container 95a964c90c60 04:29:59 ---> 22c0f9ed44a0 04:29:59 Step 23/23 : LABEL version=0.0.0 04:29:59 ---> Running in 0e1897b63aee 04:30:00 Removing intermediate container 0e1897b63aee 04:30:00 ---> 49cc1b7e311d 04:30:00 [Warning] One or more build-args [ARCH] were not consumed 04:30:00 Successfully built 49cc1b7e311d 04:30:00 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:30:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:30:01 04:30:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:30:01 arm64: Pulling from edgex-lftools-log-publisher 04:30:01 8998bd30e6a1: Pulling fs layer 04:30:01 04944245beec: Pulling fs layer 04:30:01 699f458cf7ca: Pulling fs layer 04:30:01 765212b225bb: Pulling fs layer 04:30:01 f23df028b6ca: Pulling fs layer 04:30:01 d65c8cfc05b1: Pulling fs layer 04:30:01 2437ff75d9bd: Pulling fs layer 04:30:01 765212b225bb: Waiting 04:30:01 f23df028b6ca: Waiting 04:30:01 d65c8cfc05b1: Waiting 04:30:01 2437ff75d9bd: Waiting 04:30:01 04944245beec: Verifying Checksum 04:30:01 04944245beec: Download complete 04:30:01 765212b225bb: Verifying Checksum 04:30:01 765212b225bb: Download complete 04:30:01 f23df028b6ca: Verifying Checksum 04:30:01 f23df028b6ca: Download complete 04:30:01 d65c8cfc05b1: Verifying Checksum 04:30:01 d65c8cfc05b1: Download complete 04:30:02 699f458cf7ca: Verifying Checksum 04:30:02 699f458cf7ca: Download complete 04:30:02 8998bd30e6a1: Verifying Checksum 04:30:02 8998bd30e6a1: Download complete 04:30:04 2437ff75d9bd: Verifying Checksum 04:30:04 2437ff75d9bd: Download complete 04:30:06 8998bd30e6a1: Pull complete 04:30:06 04944245beec: Pull complete 04:30:07 699f458cf7ca: Pull complete 04:30:07 765212b225bb: Pull complete 04:30:08 f23df028b6ca: Pull complete 04:30:08 d65c8cfc05b1: Pull complete 04:30:23 2437ff75d9bd: Pull complete 04:30:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:30:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:30:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:24 prd-ubuntu20.04-docker-arm64-4c-16g-6993 does not seem to be running inside a container 04:30:24 $ 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:30:27 $ docker top f3eca8f47ef94badf7d88823fee19df94cb032645d2c98f0e7b7509efd38e9a3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:30:28 ---> job-cost.sh 04:30:28 lf-activate-venv: SKIPPING 04:30:28 INFO: No Stack... 04:30:28 INFO: Retrieving Pricing Info for: v3-standard-4 04:30:29 INFO: Archiving Costs [Pipeline] sh 04:30:29 + cut -d, -f6 04:30:29 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 04:30:30 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1341-1-stack-cost] 04:30:30 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1341-1-stack-cost] did not exist. Created. 04:30:30 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1341-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:30:30 /w/workspace/device-sdk-go/1@tmp/durable-022b2b83/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:30:30 + echo total: 0.10999999940395355 [Pipeline] stash 04:30:30 Warning: overwriting stash ‘stack-cost’ 04:30:30 Stashed 1 file(s) [Pipeline] } 04:30:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1341-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:30:31 $ docker stop --time=1 f3eca8f47ef94badf7d88823fee19df94cb032645d2c98f0e7b7509efd38e9a3 04:30:32 $ docker rm -f --volumes f3eca8f47ef94badf7d88823fee19df94cb032645d2c98f0e7b7509efd38e9a3 [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:30:33 provisioning config files... 04:30:33 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1341@tmp/config8786401177300281068tmp [Pipeline] { [Pipeline] sh 04:30:33 + set +x 04:30:33 + curl -s https://codecov.io/bash 04:30:33 + bash -s -- 04:30:33 04:30:33 _____ _ 04:30:33 / ____| | | 04:30:33 | | ___ __| | ___ ___ _____ __ 04:30:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:30:33 | |___| (_) | (_| | __/ (_| (_) \ V / 04:30:33 \_____\___/ \__,_|\___|\___\___/ \_/ 04:30:33 Bash-1.0.6 04:30:33 04:30:33 04:30:33 ==> git version 2.25.1 found 04:30:33 ==> 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:30:33 Release-Date: 2020-01-08 04:30:33 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:30:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:30:33 ==> Jenkins CI detected. 04:30:33 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1341 04:30:33 project root: . 04:30:33 --> token set from env 04:30:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:30:33 ==> Running gcov in . (disable via -X gcov) 04:30:33 ==> Python coveragepy not found 04:30:33 ==> Searching for coverage reports in: 04:30:33 + . 04:30:33 -> Found 1 reports 04:30:33 ==> Detecting git/mercurial file structure 04:30:33 ==> Reading reports 04:30:33 + ./coverage.out bytes=98530 04:30:33 ==> Appending adjustments 04:30:33 https://docs.codecov.io/docs/fixing-reports 04:30:34 + Found adjustments 04:30:34 ==> Gzipping contents 04:30:34 16K /tmp/codecov.ze5YTD.gz 04:30:34 ==> Uploading reports 04:30:34 url: https://codecov.io 04:30:34 query: branch=PR-1341&commit=07c320666c424d37aa722c01eaad1debc22dfcab&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1341%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1341&job=&cmd_args= 04:30:34 -> Pinging Codecov 04:30:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1341&commit=07c320666c424d37aa722c01eaad1debc22dfcab&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1341%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1341&job=&cmd_args= 04:30:34 -> Uploading to 04:30:34 https://storage.googleapis.com/codecov/v4/raw/2023-02-22/7E55EF52A471D76F132DFD9A03CDDE97/07c320666c424d37aa722c01eaad1debc22dfcab/3ad8e15c-c154-49fa-ac27-b875bd63ba06.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230222T043034Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3ac35f052d902d4e2ff3531c3545096f91bfe9ab679ec84bf5a3a1e6e6f3839b 04:30:34 % Total % Received % Xferd Average Speed Time Time Time Current 04:30:34 Dload Upload Total Spent Left Speed 04:30:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14340 0 0 100 14340 0 56235 --:--:-- --:--:-- --:--:-- 56235 04:30:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/07c320666c424d37aa722c01eaad1debc22dfcab [Pipeline] } 04:30:34 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:30:36 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1341/archives ] 04:30:36 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1341/archives 04:30:36 total 16 04:30:36 drwxr-xr-x 3 root root 4096 Feb 22 04:19 . 04:30:36 drwxrwxr-x 12 jenkins jenkins 4096 Feb 22 04:19 .. 04:30:36 drwxr-xr-x 2 root root 4096 Feb 22 04:19 cost 04:30:36 -rw-r--r-- 1 root root 86 Feb 22 04:19 cost.csv 04:30:36 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1341/archives 04:30:36 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1341/archives 04:30:36 total 16 04:30:36 drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 04:19 . 04:30:36 drwxrwxr-x 12 jenkins jenkins 4096 Feb 22 04:19 .. 04:30:36 drwxr-xr-x 2 jenkins jenkins 4096 Feb 22 04:19 cost 04:30:36 -rw-r--r-- 1 jenkins jenkins 86 Feb 22 04:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:30:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:30:37 ---> package-listing.sh 04:30:37 ++ facter osfamily 04:30:37 ++ tr '[:upper:]' '[:lower:]' 04:30:37 + OS_FAMILY=debian 04:30:37 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1341 04:30:37 + START_PACKAGES=/tmp/packages_start.txt 04:30:37 + END_PACKAGES=/tmp/packages_end.txt 04:30:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:30:37 + PACKAGES=/tmp/packages_start.txt 04:30:37 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1341 ']' 04:30:37 + PACKAGES=/tmp/packages_end.txt 04:30:37 + case "${OS_FAMILY}" in 04:30:37 + dpkg -l 04:30:37 + grep '^ii' 04:30:37 + '[' -f /tmp/packages_start.txt ']' 04:30:37 + '[' -f /tmp/packages_end.txt ']' 04:30:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:30:37 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1341 ']' 04:30:37 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1341/archives/ 04:30:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1341/archives/ [Pipeline] echo 04:30:37 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-1341/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:30:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:30:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:38 prd-ubuntu20.04-docker-8c-8g-6985 does not seem to be running inside a container 04:30:39 $ 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-1341/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-1341 -v /w/workspace/gexfoundry_device-sdk-go_PR-1341:/w/workspace/gexfoundry_device-sdk-go_PR-1341:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1341@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1341@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:30:39 $ docker top b4929b58d0dbd548c11a59639da095cb641114e919019aa5b1e88e2fd429887c -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:39 + touch /tmp/pre-build-complete [Pipeline] sh 04:30:39 + mkdir -p /var/log/sysstat [Pipeline] sh 04:30:40 + ls /var/log/sa-host 04:30:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:30:40 provisioning config files... 04:30:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1341@tmp/config8407254131476788266tmp [Pipeline] { [Pipeline] echo 04:30:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:30:40 ---> create-netrc.sh [Pipeline] } 04:30:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:30:41 ---> python-tools-install.sh [Pipeline] echo 04:30:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:30:41 ---> sudo-logs.sh 04:30:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:30:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:30:42 ---> job-cost.sh 04:30:42 lf-activate-venv: SKIPPING 04:30:42 DEBUG: total: 0.2199999988079071 04:30:42 INFO: Retrieving Stack Cost... 04:30:42 INFO: Retrieving Pricing Info for: v3-standard-8 04:30:42 INFO: Archiving Costs [Pipeline] echo 04:30:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:30:43 ---> logs-deploy.sh 04:30:43 lf-activate-venv: SKIPPING 04:30:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1341/1 04:30:43 INFO: archiving workspace using pattern(s): 04:30:44 Archives upload complete. 04:30:44 INFO: archiving logs to Nexus 04:30:44 ---> uname -a: 04:30:44 Linux prd-ubuntu20-04-docker-8c-8g-6985 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 04:30:44 04:30:44 04:30:44 ---> lscpu: 04:30:44 Architecture: x86_64 04:30:44 CPU op-mode(s): 32-bit, 64-bit 04:30:44 Byte Order: Little Endian 04:30:44 Address sizes: 40 bits physical, 48 bits virtual 04:30:44 CPU(s): 8 04:30:44 On-line CPU(s) list: 0-7 04:30:44 Thread(s) per core: 1 04:30:44 Core(s) per socket: 1 04:30:44 Socket(s): 8 04:30:44 NUMA node(s): 1 04:30:44 Vendor ID: AuthenticAMD 04:30:44 CPU family: 23 04:30:44 Model: 49 04:30:44 Model name: AMD EPYC-Rome Processor 04:30:44 Stepping: 0 04:30:44 CPU MHz: 2799.998 04:30:44 BogoMIPS: 5599.99 04:30:44 Virtualization: AMD-V 04:30:44 Hypervisor vendor: KVM 04:30:44 Virtualization type: full 04:30:44 L1d cache: 256 KiB 04:30:44 L1i cache: 256 KiB 04:30:44 L2 cache: 4 MiB 04:30:44 L3 cache: 128 MiB 04:30:44 NUMA node0 CPU(s): 0-7 04:30:44 Vulnerability Itlb multihit: Not affected 04:30:44 Vulnerability L1tf: Not affected 04:30:44 Vulnerability Mds: Not affected 04:30:44 Vulnerability Meltdown: Not affected 04:30:44 Vulnerability Mmio stale data: Not affected 04:30:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:30:44 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 04:30:44 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 04:30:44 Vulnerability Srbds: Not affected 04:30:44 Vulnerability Tsx async abort: Not affected 04:30:44 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:30:44 04:30:44 04:30:44 ---> nproc: 04:30:44 8 04:30:44 04:30:44 04:30:44 ---> df -h: 04:30:44 Filesystem Size Used Avail Use% Mounted on 04:30:44 overlay 155G 12G 144G 8% / 04:30:44 tmpfs 64M 0 64M 0% /dev 04:30:44 tmpfs 16G 0 16G 0% /sys/fs/cgroup 04:30:44 shm 64M 0 64M 0% /dev/shm 04:30:44 /dev/vda1 155G 12G 144G 8% /facter-os 04:30:44 04:30:44 04:30:44 ---> sar -b -r -n DEV: 04:30:44 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-6985) 02/22/23 _x86_64_ (8 CPU) 04:30:44 04:30:44 04:15:48 LINUX RESTART (8 CPU) 04:30:44 04:30:44 04:16:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 04:30:44 04:17:01 151.16 47.76 103.40 0.00 5374.84 184844.53 0.00 04:30:44 04:18:01 159.32 1.45 157.87 0.00 16.53 50462.66 0.00 04:30:44 04:19:01 100.03 0.25 99.78 0.00 9.60 28716.43 0.00 04:30:44 04:20:01 79.77 0.03 79.74 0.00 6.00 19107.23 0.00 04:30:44 04:21:01 5.92 0.97 4.95 0.00 67.46 216.90 0.00 04:30:44 04:22:01 21.88 0.00 21.88 0.00 0.00 1265.79 0.00 04:30:44 04:23:01 21.60 0.00 21.60 0.00 0.00 1445.49 0.00 04:30:44 04:24:01 18.89 0.00 18.89 0.00 0.00 1239.59 0.00 04:30:44 04:25:01 21.01 0.00 21.01 0.00 0.00 1262.86 0.00 04:30:44 04:26:01 36.38 8.05 28.33 0.00 2838.06 3594.47 0.00 04:30:44 04:27:01 22.00 0.00 22.00 0.00 0.00 1304.98 0.00 04:30:44 04:28:01 21.09 0.00 21.09 0.00 0.00 1259.98 0.00 04:30:44 04:29:01 21.18 0.00 21.18 0.00 0.00 1279.51 0.00 04:30:44 04:30:01 21.13 0.00 21.13 0.00 0.00 1289.12 0.00 04:30:44 Average: 50.13 4.18 45.95 0.00 594.43 21258.36 0.00 04:30:44 04:30:44 04:16:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:30:44 04:17:01 29230552 31644852 683140 2.08 72204 2617956 1847396 5.44 949104 2355820 93284 04:30:44 04:18:01 28135312 31461236 843920 2.57 144720 3374828 2272756 6.70 1353364 2938276 191748 04:30:44 04:19:01 28203760 31566316 741816 2.26 149612 3407912 2271388 6.69 1197640 3029864 548 04:30:44 04:20:01 27721436 31608876 697460 2.12 159104 3872912 1772940 5.23 1201408 3457656 164 04:30:44 04:21:01 27710624 31606788 698736 2.12 161008 3879284 1788812 5.27 1204580 3463900 1560 04:30:44 04:22:01 27704596 31612216 693872 2.11 164292 3887024 1805832 5.32 1205504 3471644 4692 04:30:44 04:23:01 27694104 31614804 691216 2.10 167352 3896672 1805832 5.32 1208804 3481344 3880 04:30:44 04:24:01 27691584 31622508 683596 2.08 170260 3903692 1805832 5.32 1202400 3488332 2748 04:30:44 04:25:01 27683344 31622284 683704 2.08 173196 3908552 1805832 5.32 1205352 3493196 2192 04:30:44 04:26:01 27529088 31609548 693716 2.11 177880 4036804 1841992 5.43 1305880 3532512 6292 04:30:44 04:27:01 27517936 31612044 691184 2.10 180508 4047480 1841992 5.43 1308396 3543184 5020 04:30:44 04:28:01 27503976 31611540 691580 2.10 183292 4057940 1841992 5.43 1311076 3553612 4964 04:30:44 04:29:01 27491928 31612760 690244 2.10 185480 4068536 1841992 5.43 1313304 3564244 4564 04:30:44 04:30:01 27479068 31613096 689884 2.10 187376 4079464 1841992 5.43 1315288 3575144 4368 04:30:44 Average: 27806951 31601348 705291 2.14 162592 3788504 1884756 5.55 1234436 3353481 23287 04:30:44 04:30:44 04:16:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:30:44 04:17:01 lo 7.07 7.07 0.68 0.68 0.00 0.00 0.00 0.00 04:30:44 04:17:01 docker0 7.15 6.88 0.72 74.32 0.00 0.00 0.00 0.00 04:30:44 04:17:01 ens3 590.53 355.29 6555.53 84.95 0.00 0.00 0.00 0.00 04:30:44 04:18:01 veth7361209 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 04:30:44 04:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:30:44 04:18:01 docker0 166.09 291.92 13.57 1900.93 0.00 0.00 0.00 0.00 04:30:44 04:18:01 ens3 322.35 184.92 1932.75 28.63 0.00 0.00 0.00 0.00 04:30:44 04:19:01 veth694db22 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:44 04:19:01 veth16cce11 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:44 04:19:01 lo 1.00 1.00 0.10 0.10 0.00 0.00 0.00 0.00 04:30:44 04:19:01 docker0 1.38 2.93 0.08 40.49 0.00 0.00 0.00 0.00 04:30:44 04:19:01 ens3 38.67 31.91 108.91 85.51 0.00 0.00 0.00 0.00 04:30:44 04:20:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 04:30:44 04:20:01 docker0 1.28 2.30 0.08 40.45 0.00 0.00 0.00 0.00 04:30:44 04:20:01 ens3 104.88 64.19 2565.33 11.59 0.00 0.00 0.00 0.00 04:30:44 04:21:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 04:30:44 04:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:44 04:21:01 ens3 14.31 10.46 22.59 1.42 0.00 0.00 0.00 0.00 04:30:44 04:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:30:44 04:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:44 04:22:01 ens3 69.89 44.64 133.79 3.12 0.00 0.00 0.00 0.00 04:30:44 04:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:44 04:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:44 04:23:01 ens3 81.60 54.17 166.16 3.49 0.00 0.00 0.00 0.00 04:30:44 04:24:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:30:44 04:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:44 04:24:01 ens3 54.18 32.79 118.49 2.11 0.00 0.00 0.00 0.00 04:30:44 04:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:44 04:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:44 04:25:01 ens3 40.21 27.65 83.62 1.78 0.00 0.00 0.00 0.00 04:30:44 04:26:01 lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 04:30:44 04:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:44 04:26:01 ens3 72.62 41.18 152.20 2.88 0.00 0.00 0.00 0.00 04:30:44 04:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:44 04:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:44 04:27:01 ens3 87.12 41.29 183.17 2.91 0.00 0.00 0.00 0.00 04:30:44 04:28:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:30:44 04:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:44 04:28:01 ens3 85.60 41.44 181.32 2.67 0.00 0.00 0.00 0.00 04:30:44 04:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:44 04:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:44 04:29:01 ens3 89.80 42.15 184.28 2.71 0.00 0.00 0.00 0.00 04:30:44 04:30:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:30:44 04:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:44 04:30:01 ens3 92.47 43.69 188.13 2.82 0.00 0.00 0.00 0.00 04:30:44 Average: lo 0.79 0.79 0.07 0.07 0.00 0.00 0.00 0.00 04:30:44 Average: docker0 12.58 21.74 1.03 147.04 0.00 0.00 0.00 0.00 04:30:44 Average: ens3 124.63 72.59 899.13 16.92 0.00 0.00 0.00 0.00 04:30:44 04:30:44