Pull request #1515 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lindseysimple for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 99bffe55a167fbdf699e8d0fc0cb96b378c583c3+26847311c5e80852903f42d5f4b76f1d4cba51bb (ea70e3f023810496818b1c1188aa62649151ede3) 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-ssh10984094135323271015.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh9534667051475943731.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-1515/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-1515/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1285183315324658629.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-1515/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2478572929714691955.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh7176482441938988714.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-1515/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-1515/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh538390155815180940.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6652 in /w/workspace/gexfoundry_device-sdk-go_PR-1515 [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-1515 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1515/head:refs/remotes/origin/PR-1515 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 26847311c5e80852903f42d5f4b76f1d4cba51bb into PR head commit 99bffe55a167fbdf699e8d0fc0cb96b378c583c3 Merge succeeded, producing 99bffe55a167fbdf699e8d0fc0cb96b378c583c3 Checking out Revision 99bffe55a167fbdf699e8d0fc0cb96b378c583c3 (PR-1515) > git config core.sparsecheckout # timeout=10 > git checkout -f 99bffe55a167fbdf699e8d0fc0cb96b378c583c3 # 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 26847311c5e80852903f42d5f4b76f1d4cba51bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 99bffe55a167fbdf699e8d0fc0cb96b378c583c3 # timeout=10 Commit message: "feat: Add device last connected metrics" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:08:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:08:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:08:41 ========================================================= 02:08:41 EdgeX Global Pipelines Version Info 02:08:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:08:42 ------------------- 02:08:42 stable info: 02:08:42 ------------------- 02:08:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:08:42 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 02:08:42 Message: update stable to v1.0.254 02:08:42 ------------------- 02:08:42 experimental info: 02:08:42 ------------------- 02:08:42 Commited By: **** collab-it+edgex@linuxfoundation.org 02:08:42 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 02:08:42 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 02:08:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:08:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:08:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:08:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:08:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:08:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1515 [Pipeline] echo 02:08:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1515 [Pipeline] echo 02:08:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1515 [Pipeline] echo 02:08:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 99bffe55a167fbdf699e8d0fc0cb96b378c583c3 [Pipeline] echo 02:08:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 99bffe5 [Pipeline] echo 02:08:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:08:44 provisioning config files... 02:08:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config17627408004771217147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:08:44 ---> docker-login.sh 02:08:44 nexus3.edgexfoundry.org:10001 02:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:08:45 Configure a credential helper to remove this warning. See 02:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:08:45 02:08:45 Login Succeeded 02:08:45 nexus3.edgexfoundry.org:10002 02:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:08:45 Configure a credential helper to remove this warning. See 02:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:08:45 02:08:45 Login Succeeded 02:08:45 nexus3.edgexfoundry.org:10003 02:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:08:45 Configure a credential helper to remove this warning. See 02:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:08:45 02:08:45 Login Succeeded 02:08:45 nexus3.edgexfoundry.org:10004 02:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:08:45 Configure a credential helper to remove this warning. See 02:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:08:45 02:08:45 Login Succeeded 02:08:45 docker.io 02:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:08:45 Configure a credential helper to remove this warning. See 02:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:08:45 02:08:45 Login Succeeded 02:08:45 ---> docker-login.sh ends [Pipeline] } 02:08:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:08:46 + git rev-list -1 --merges 99bffe55a167fbdf699e8d0fc0cb96b378c583c3~1..99bffe55a167fbdf699e8d0fc0cb96b378c583c3 [Pipeline] echo 02:08:46 -----------> git rev-list -1 --merges 99bffe55a167fbdf699e8d0fc0cb96b378c583c3~1..99bffe55a167fbdf699e8d0fc0cb96b378c583c3 99bffe55a167fbdf699e8d0fc0cb96b378c583c3 [false] [Pipeline] sh 02:08:47 + git log --format=format:%s -1 99bffe55a167fbdf699e8d0fc0cb96b378c583c3 [Pipeline] echo 02:08:47 ========================================================= 02:08:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:08:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:08:47 + git log --format=format:%s -1 99bffe55a167fbdf699e8d0fc0cb96b378c583c3 [Pipeline] echo 02:08:47 [semverPrep] GIT_COMMIT: 99bffe55a167fbdf699e8d0fc0cb96b378c583c3, Commit Message: feat: Add device last connected metrics [Pipeline] echo 02:08:47 [semverPrep] This is not a build commit. [Pipeline] sh 02:08:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:08:47 + grep -v github /etc/ssh/ssh_known_hosts 02:08:47 + [ -e /tmp/ssh_known_hosts ] 02:08:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:08:47 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:08:47 sudo tee -a /etc/ssh/ssh_known_hosts 02:08:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:08:48 02:08:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:08:48 0.1.4: Pulling from edgex-devops/py-git-semver 02:08:48 b85a868b505f: Pulling fs layer 02:08:48 e2be974225ed: Pulling fs layer 02:08:48 339a4e72a1f5: Pulling fs layer 02:08:48 988bab9f4d93: Pulling fs layer 02:08:48 1469e6f7b9e6: Pulling fs layer 02:08:48 eaf3925da568: Pulling fs layer 02:08:48 988bab9f4d93: Waiting 02:08:48 1469e6f7b9e6: Waiting 02:08:48 bab4dde63d76: Pulling fs layer 02:08:48 bde34c3a00c8: Pulling fs layer 02:08:48 b352a97aabf1: Pulling fs layer 02:08:48 eaf3925da568: Waiting 02:08:48 4872d77fe225: Pulling fs layer 02:08:48 5851b861e8e6: Pulling fs layer 02:08:48 5851b861e8e6: Waiting 02:08:48 4872d77fe225: Waiting 02:08:48 bde34c3a00c8: Waiting 02:08:48 bab4dde63d76: Waiting 02:08:48 b352a97aabf1: Waiting 02:08:48 e2be974225ed: Verifying Checksum 02:08:48 e2be974225ed: Download complete 02:08:48 988bab9f4d93: Verifying Checksum 02:08:48 988bab9f4d93: Download complete 02:08:49 339a4e72a1f5: Verifying Checksum 02:08:49 339a4e72a1f5: Download complete 02:08:49 1469e6f7b9e6: Verifying Checksum 02:08:49 1469e6f7b9e6: Download complete 02:08:49 eaf3925da568: Verifying Checksum 02:08:49 eaf3925da568: Download complete 02:08:49 bde34c3a00c8: Verifying Checksum 02:08:49 bde34c3a00c8: Download complete 02:08:49 b352a97aabf1: Download complete 02:08:49 4872d77fe225: Download complete 02:08:49 5851b861e8e6: Verifying Checksum 02:08:49 5851b861e8e6: Download complete 02:08:49 b85a868b505f: Verifying Checksum 02:08:49 b85a868b505f: Download complete 02:08:49 bab4dde63d76: Verifying Checksum 02:08:49 bab4dde63d76: Download complete 02:08:50 b85a868b505f: Pull complete 02:08:50 e2be974225ed: Pull complete 02:08:51 339a4e72a1f5: Pull complete 02:08:51 988bab9f4d93: Pull complete 02:08:51 1469e6f7b9e6: Pull complete 02:08:51 eaf3925da568: Pull complete 02:08:53 bab4dde63d76: Pull complete 02:08:53 bde34c3a00c8: Pull complete 02:08:53 b352a97aabf1: Pull complete 02:08:53 4872d77fe225: Pull complete 02:08:53 5851b861e8e6: Pull complete 02:08:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:08:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:08:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:08:53 prd-ubuntu20.04-docker-8c-8g-6652 does not seem to be running inside a container 02:08:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:08:56 $ docker top 10b8f1777c7b7a2921adbcb0d63286fe755f1f82a23a0bdc030c8f13043d04e6 -eo pid,comm 02:08:56 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). 02:08:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:08:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:08:56 [ssh-agent] Looking for ssh-agent implementation... 02:08:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:08:56 $ docker exec 10b8f1777c7b7a2921adbcb0d63286fe755f1f82a23a0bdc030c8f13043d04e6 ssh-agent 02:08:56 SSH_AUTH_SOCK=/tmp/ssh-kLETFguqzeRu/agent.32 02:08:56 SSH_AGENT_PID=38 02:08:56 Running ssh-add (command line suppressed) 02:08:56 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_1230158838149663671.key (/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_1230158838149663671.key) 02:08:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:08:57 + git tag --points-at HEAD [Pipeline] } 02:08:57 $ docker exec --env ******** --env ******** 10b8f1777c7b7a2921adbcb0d63286fe755f1f82a23a0bdc030c8f13043d04e6 ssh-agent -k 02:08:57 unset SSH_AUTH_SOCK; 02:08:57 unset SSH_AGENT_PID; 02:08:57 echo Agent pid 38 killed; 02:08:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:08:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:08:57 [ssh-agent] Looking for ssh-agent implementation... 02:08:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:08:57 $ docker exec 10b8f1777c7b7a2921adbcb0d63286fe755f1f82a23a0bdc030c8f13043d04e6 ssh-agent 02:08:57 SSH_AUTH_SOCK=/tmp/ssh-xDV0onv0HXte/agent.70 02:08:57 SSH_AGENT_PID=76 02:08:57 Running ssh-add (command line suppressed) 02:08:57 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_16787382290922025551.key (/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_16787382290922025551.key) 02:08:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:08:58 + git semver init 02:08:58 2023-09-20 02:08:58,216 [run_init] DEBUG init version:0.0.0 force:False 02:08:58 2023-09-20 02:08:58,216 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver 02:08:58 2023-09-20 02:08:58,217 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver 02:08:58 2023-09-20 02:08:58,217 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1515, universal_newlines=False, shell=None, istream=None) 02:08:59 2023-09-20 02:08:59,163 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.git/info/exclude 02:08:59 2023-09-20 02:08:59,164 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver/PR-1515 with force:False 02:08:59 2023-09-20 02:08:59,164 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver/PR-1515 02:08:59 2023-09-20 02:08:59,168 [execute] INFO git cat-file --batch-check 02:08:59 2023-09-20 02:08:59,168 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver, universal_newlines=False, shell=None, istream=) 02:08:59 2023-09-20 02:08:59,173 [execute] INFO git cat-file --batch 02:08:59 2023-09-20 02:08:59,173 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver, universal_newlines=False, shell=None, istream=) 02:08:59 2023-09-20 02:08:59,177 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver/PR-1515 02:08:59 0.0.0 [Pipeline] } 02:08:59 $ docker exec --env ******** --env ******** 10b8f1777c7b7a2921adbcb0d63286fe755f1f82a23a0bdc030c8f13043d04e6 ssh-agent -k 02:08:59 unset SSH_AUTH_SOCK; 02:08:59 unset SSH_AGENT_PID; 02:08:59 echo Agent pid 76 killed; 02:08:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:08:59 + git semver [Pipeline] } 02:09:00 $ docker stop --time=1 10b8f1777c7b7a2921adbcb0d63286fe755f1f82a23a0bdc030c8f13043d04e6 02:09:01 $ docker rm -f --volumes 10b8f1777c7b7a2921adbcb0d63286fe755f1f82a23a0bdc030c8f13043d04e6 [Pipeline] // withDockerContainer [Pipeline] sh 02:09:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:09:02 Stashed 1 file(s) [Pipeline] echo 02:09:02 [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 02:09:02 provisioning config files... 02:09:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config18262121665907964873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:09:03 ---> docker-login.sh 02:09:03 nexus3.edgexfoundry.org:10001 02:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:09:03 Configure a credential helper to remove this warning. See 02:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:09:03 02:09:03 Login Succeeded 02:09:03 nexus3.edgexfoundry.org:10002 02:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:09:03 Configure a credential helper to remove this warning. See 02:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:09:03 02:09:03 Login Succeeded 02:09:03 nexus3.edgexfoundry.org:10003 02:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:09:03 Configure a credential helper to remove this warning. See 02:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:09:03 02:09:03 Login Succeeded 02:09:03 nexus3.edgexfoundry.org:10004 02:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:09:03 Configure a credential helper to remove this warning. See 02:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:09:03 02:09:03 Login Succeeded 02:09:03 docker.io 02:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:09:03 Configure a credential helper to remove this warning. See 02:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:09:03 02:09:03 Login Succeeded 02:09:03 ---> docker-login.sh ends [Pipeline] } 02:09:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:09:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:09:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:09:03 ========================================================= 02:09:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:09:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:04 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 02:09:04 Sending build context to Docker daemon 11.2MB 02:09:04 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 02:09:04 Step 2/10 : FROM ${BASE} AS builder 02:09:04 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:09:04 7264a8db6415: Pulling fs layer 02:09:04 c4d48a809fc2: Pulling fs layer 02:09:04 4f1c88b9dad5: Pulling fs layer 02:09:04 ad3a456e5733: Pulling fs layer 02:09:04 9e4f439ed901: Pulling fs layer 02:09:04 feaf6a47b606: Pulling fs layer 02:09:04 5e8b037d7d82: Pulling fs layer 02:09:04 8ac70367396e: Pulling fs layer 02:09:04 6db16350a2e2: Pulling fs layer 02:09:04 9250d5d63582: Pulling fs layer 02:09:04 5e8b037d7d82: Waiting 02:09:04 6db16350a2e2: Waiting 02:09:04 ad3a456e5733: Waiting 02:09:04 9250d5d63582: Waiting 02:09:04 8ac70367396e: Waiting 02:09:04 9e4f439ed901: Waiting 02:09:05 c4d48a809fc2: Verifying Checksum 02:09:05 c4d48a809fc2: Download complete 02:09:05 ad3a456e5733: Download complete 02:09:05 9e4f439ed901: Download complete 02:09:05 7264a8db6415: Verifying Checksum 02:09:05 7264a8db6415: Download complete 02:09:05 feaf6a47b606: Verifying Checksum 02:09:05 feaf6a47b606: Download complete 02:09:05 7264a8db6415: Pull complete 02:09:05 c4d48a809fc2: Pull complete 02:09:06 8ac70367396e: Verifying Checksum 02:09:06 8ac70367396e: Download complete 02:09:06 4f1c88b9dad5: Verifying Checksum 02:09:06 4f1c88b9dad5: Download complete 02:09:06 6db16350a2e2: Verifying Checksum 02:09:06 6db16350a2e2: Download complete 02:09:06 9250d5d63582: Verifying Checksum 02:09:06 9250d5d63582: Download complete 02:09:06 5e8b037d7d82: Verifying Checksum 02:09:06 5e8b037d7d82: Download complete 02:09:09 4f1c88b9dad5: Pull complete 02:09:09 ad3a456e5733: Pull complete 02:09:09 9e4f439ed901: Pull complete 02:09:09 feaf6a47b606: Pull complete 02:09:11 5e8b037d7d82: Pull complete 02:09:12 8ac70367396e: Pull complete 02:09:12 6db16350a2e2: Pull complete 02:09:13 9250d5d63582: Pull complete 02:09:13 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 02:09:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:09:13 ---> fa269f55d9b9 02:09:13 Step 3/10 : ARG MAKE=make build 02:09:17 Still waiting to schedule task 02:09:17 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:09:20 ---> Running in 22e734368564 02:09:20 Removing intermediate container 22e734368564 02:09:20 ---> 893f6323ddab 02:09:20 Step 4/10 : WORKDIR /device-sdk-go 02:09:20 ---> Running in 8629e2f8dc7b 02:09:20 Removing intermediate container 8629e2f8dc7b 02:09:20 ---> 34d37474f34b 02:09:20 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:09:20 ---> Running in 05b392ff0fb9 02:09:20 Removing intermediate container 05b392ff0fb9 02:09:20 ---> aeb81eb036f7 02:09:20 Step 6/10 : RUN apk add --update --no-cache make git 02:09:20 ---> Running in 93fe1d45055c 02:09:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:09:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:09:20 OK: 265 MiB in 56 packages 02:09:20 Removing intermediate container 93fe1d45055c 02:09:20 ---> 4fb98c94c396 02:09:20 Step 7/10 : COPY go.mod vendor* ./ 02:09:20 ---> 0a9c2768ae51 02:09:20 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:09:20 ---> Running in 667743a987cb 02:10:42 Removing intermediate container 667743a987cb 02:10:42 ---> 408f1a5acf0b 02:10:42 Step 9/10 : COPY . . 02:10:42 ---> ec6d1af62568 02:10:42 Step 10/10 : RUN ${MAKE} 02:10:42 ---> Running in 68272af9fac9 02:10:42 noop 02:10:42 Removing intermediate container 68272af9fac9 02:10:42 ---> 62b020214f7d 02:10:42 Successfully built 62b020214f7d 02:10:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:42 + docker inspect -f . ci-base-image-x86_64 02:10:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:42 prd-ubuntu20.04-docker-8c-8g-6652 does not seem to be running inside a container 02:10:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:10:43 $ docker top d8125be738d422e1de95e9f8ac4195df1ee15f47a0548b0cb7f2f6f50707804b -eo pid,comm [Pipeline] { [Pipeline] sh 02:10:43 + go version 02:10:43 go version go1.21.0 linux/amd64 [Pipeline] } 02:10:43 $ docker stop --time=1 d8125be738d422e1de95e9f8ac4195df1ee15f47a0548b0cb7f2f6f50707804b 02:10:45 $ docker rm -f --volumes d8125be738d422e1de95e9f8ac4195df1ee15f47a0548b0cb7f2f6f50707804b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:45 + docker inspect -f . ci-base-image-x86_64 02:10:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:46 prd-ubuntu20.04-docker-8c-8g-6652 does not seem to be running inside a container 02:10:46 $ 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-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:10:46 $ docker top f7e97a9fd6b2ddae17c2db5e202dc283c03941756e7a3a870978da79667b4793 -eo pid,comm [Pipeline] { [Pipeline] sh 02:10:46 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1515 [Pipeline] fileExists [Pipeline] sh 02:10:47 + make test 02:10:47 go test -race -coverprofile=coverage.out ./... 02:10:55 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 02:11:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 02:11:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 02:11:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 02:11:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 02:11:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 02:11:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 02:11:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 02:11:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.036s coverage: 27.6% of statements 02:11:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.043s coverage: 79.1% of statements 02:11:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 02:11:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.071s coverage: 86.0% of statements 02:11:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.075s coverage: 71.8% of statements 02:11:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 02:11:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 02:11:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 02:11:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.056s coverage: 14.4% of statements 02:11:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.015s coverage: 45.6% of statements 02:11:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.073s coverage: 68.5% of statements 02:11:14 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.116s coverage: 89.2% of statements 02:11:14 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.042s coverage: 5.5% of statements 02:11:40 GO111MODULE=on go vet ./... 02:11:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:11:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:11:42 ./bin/test-attribution-txt.sh [Pipeline] echo 02:11:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:11:42 $ docker stop --time=1 f7e97a9fd6b2ddae17c2db5e202dc283c03941756e7a3a870978da79667b4793 02:11:54 $ docker rm -f --volumes f7e97a9fd6b2ddae17c2db5e202dc283c03941756e7a3a870978da79667b4793 [Pipeline] // withDockerContainer [Pipeline] sh 02:11:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:11:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:11:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:11:56 + ls -al . 02:11:56 total 304 02:11:56 drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 02:10 . 02:11:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 02:08 .. 02:11:56 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 02:08 .dockerignore 02:11:56 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 02:11 .git 02:11:56 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 02:08 .github 02:11:56 -rw-rw-r-- 1 jenkins jenkins 137 Sep 20 02:08 .gitignore 02:11:56 -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 02:08 .golangci.yml 02:11:56 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 02:08 .semver 02:11:56 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 20 02:08 CHANGELOG.md 02:11:56 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 02:08 GOVERNANCE.md 02:11:56 -rw-rw-r-- 1 jenkins jenkins 885 Sep 20 02:08 Jenkinsfile 02:11:56 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 02:08 LICENSE 02:11:56 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 20 02:08 Makefile 02:11:56 -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 02:08 OWNERS.md 02:11:56 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 20 02:08 README.md 02:11:56 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 02:09 VERSION 02:11:56 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 02:08 bin 02:11:56 -rw-r--r-- 1 jenkins jenkins 121985 Sep 20 02:11 coverage.out 02:11:56 drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 02:08 example 02:11:56 -rw-rw-r-- 1 jenkins jenkins 3722 Sep 20 02:08 go.mod 02:11:56 -rw-rw-r-- 1 jenkins jenkins 34806 Sep 20 02:08 go.sum 02:11:56 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 02:08 internal 02:11:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 02:08 openapi 02:11:56 drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 02:08 pkg 02:11:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 02:08 snap 02:11:56 -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 02:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:56 + 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=99bffe55a167fbdf699e8d0fc0cb96b378c583c3 --label arch=amd64 --label version=0.0.0 . 02:11:56 Sending build context to Docker daemon 11.32MB 02:11:56 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 02:11:56 Step 2/23 : FROM ${BASE} AS builder 02:11:56 ---> 62b020214f7d 02:11:56 Step 3/23 : ARG MAKE=make build 02:11:58 ---> Running in 90feedcbe8a0 02:11:59 Removing intermediate container 90feedcbe8a0 02:11:59 ---> 4bcd0758c689 02:11:59 Step 4/23 : WORKDIR /device-sdk-go 02:12:00 ---> Running in 373876b9e6e0 02:12:01 Removing intermediate container 373876b9e6e0 02:12:01 ---> 7f1a15930489 02:12:01 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:12:02 ---> Running in 37fa527d30f1 02:12:03 Removing intermediate container 37fa527d30f1 02:12:03 ---> 455d42d0ece5 02:12:03 Step 6/23 : RUN apk add --update --no-cache make git 02:12:04 ---> Running in 59dbcd2a11b0 02:12:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:12:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:12:05 OK: 265 MiB in 56 packages 02:12:08 Removing intermediate container 59dbcd2a11b0 02:12:08 ---> 4114e9241890 02:12:08 Step 7/23 : COPY go.mod vendor* ./ 02:12:08 ---> 262ed32930be 02:12:08 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:12:09 ---> Running in f2745a8320ea 02:12:12 Removing intermediate container f2745a8320ea 02:12:12 ---> 6f5e8dd38fde 02:12:12 Step 9/23 : COPY . . 02:12:13 ---> 4cf13a988e8d 02:12:13 Step 10/23 : RUN ${MAKE} 02:12:14 ---> Running in 2a8a81d011d7 02:12:15 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:12:37 Removing intermediate container 2a8a81d011d7 02:12:37 ---> 1fc2d24ac477 02:12:37 Step 11/23 : FROM alpine:3.18 02:12:37 3.18: Pulling from library/alpine 02:12:37 7264a8db6415: Already exists 02:12:37 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 02:12:37 Status: Downloaded newer image for alpine:3.18 02:12:37 ---> 7e01a0d0a1dc 02:12:37 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:12:37 ---> Running in e386eaa7ce30 02:12:37 Removing intermediate container e386eaa7ce30 02:12:37 ---> cb39f4a48a7b 02:12:37 Step 13/23 : RUN apk add --update --no-cache 02:12:37 ---> Running in c468a7c36290 02:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:12:38 OK: 7 MiB in 15 packages 02:12:38 Removing intermediate container c468a7c36290 02:12:38 ---> 91f8bea07eab 02:12:38 Step 14/23 : WORKDIR / 02:12:38 ---> Running in 2e8d55ba10a4 02:12:38 Removing intermediate container 2e8d55ba10a4 02:12:38 ---> fc2a996a0722 02:12:38 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:12:38 ---> f45c1f5381de 02:12:38 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:12:39 ---> d9d64f521637 02:12:39 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:12:39 ---> 2ff7d165c761 02:12:39 Step 18/23 : EXPOSE 59999 02:12:39 ---> Running in 6a5993aa20f3 02:12:39 Removing intermediate container 6a5993aa20f3 02:12:39 ---> 57d26bb51a57 02:12:39 Step 19/23 : ENTRYPOINT ["/device-simple"] 02:12:39 ---> Running in acd97372a74b 02:12:39 Removing intermediate container acd97372a74b 02:12:39 ---> 31348d1efa46 02:12:39 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:12:39 ---> Running in aa7538daa374 02:12:40 Removing intermediate container aa7538daa374 02:12:40 ---> 29b81eed861b 02:12:40 Step 21/23 : LABEL arch=amd64 02:12:40 ---> Running in eafe86aaa096 02:12:40 Removing intermediate container eafe86aaa096 02:12:40 ---> da69c417ebcb 02:12:40 Step 22/23 : LABEL git_sha=99bffe55a167fbdf699e8d0fc0cb96b378c583c3 02:12:40 ---> Running in 869a3e4ee877 02:12:40 Removing intermediate container 869a3e4ee877 02:12:40 ---> 290189e21b5e 02:12:40 Step 23/23 : LABEL version=0.0.0 02:12:40 ---> Running in 2917e773a902 02:12:40 Removing intermediate container 2917e773a902 02:12:40 ---> 293bf6a4aa15 02:12:40 [Warning] One or more build-args [ARCH] were not consumed 02:12:40 Successfully built 293bf6a4aa15 02:12:40 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 02:12:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:12:41 02:12:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:12:41 latest: Pulling from edgex-lftools-log-publisher 02:12:41 5eb5b503b376: Pulling fs layer 02:12:41 5c69ac0246d0: Pulling fs layer 02:12:41 ec43610c2a17: Pulling fs layer 02:12:41 3a2ae6a8a46f: Pulling fs layer 02:12:41 33b1e0a273af: Pulling fs layer 02:12:41 5d3b04190fa2: Pulling fs layer 02:12:41 2f39f015ded8: Pulling fs layer 02:12:41 3a2ae6a8a46f: Waiting 02:12:41 5d3b04190fa2: Waiting 02:12:41 33b1e0a273af: Waiting 02:12:41 2f39f015ded8: Waiting 02:12:41 5c69ac0246d0: Download complete 02:12:41 3a2ae6a8a46f: Download complete 02:12:41 33b1e0a273af: Verifying Checksum 02:12:41 33b1e0a273af: Download complete 02:12:41 ec43610c2a17: Verifying Checksum 02:12:41 ec43610c2a17: Download complete 02:12:41 5d3b04190fa2: Verifying Checksum 02:12:41 5d3b04190fa2: Download complete 02:12:41 5eb5b503b376: Verifying Checksum 02:12:41 5eb5b503b376: Download complete 02:12:43 5eb5b503b376: Pull complete 02:12:43 5c69ac0246d0: Pull complete 02:12:43 ec43610c2a17: Pull complete 02:12:43 3a2ae6a8a46f: Pull complete 02:12:43 33b1e0a273af: Pull complete 02:12:44 5d3b04190fa2: Pull complete 02:12:48 2f39f015ded8: Pull complete 02:12:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:12:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:12:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:48 prd-ubuntu20.04-docker-8c-8g-6652 does not seem to be running inside a container 02:12:48 $ 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-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:12:54 $ docker top c35864e2d57bd65fdad2a0f35cfd36d7abc2fd2b1020a6ad2d8324dc22544fdd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:12:55 ---> job-cost.sh 02:12:55 lf-activate-venv: SKIPPING 02:12:55 INFO: No Stack... 02:12:55 INFO: Retrieving Pricing Info for: v3-standard-8 02:12:55 INFO: Archiving Costs [Pipeline] sh 02:12:56 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives/cost.csv 02:12:56 + cut -d, -f6 [Pipeline] lock 02:12:56 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1515-1-stack-cost] 02:12:56 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-1-stack-cost] did not exist. Created. 02:12:56 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1515-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:12:56 + echo total: 0.2199999988079071 [Pipeline] stash 02:12:56 Stashed 1 file(s) [Pipeline] } 02:12:56 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:12:56 $ docker stop --time=1 c35864e2d57bd65fdad2a0f35cfd36d7abc2fd2b1020a6ad2d8324dc22544fdd 02:12:57 $ docker rm -f --volumes c35864e2d57bd65fdad2a0f35cfd36d7abc2fd2b1020a6ad2d8324dc22544fdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:13:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6653 in /w/workspace/gexfoundry_device-sdk-go_PR-1515 [Pipeline] { [Pipeline] ws 02:13:23 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 02:13:23 The recommended git tool is: git 02:13:32 using credential edgex-jenkins-ssh 02:13:32 Cloning the remote Git repository 02:13:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:13:33 > git init /w/workspace/device-sdk-go/1 # timeout=10 02:13:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:13:33 > git --version # timeout=10 02:13:33 > git --version # 'git version 2.25.1' 02:13:33 using GIT_SSH to set credentials SSH Credentials for GitHub 02:13:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:13:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:13:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:13:37 Merging remotes/origin/main commit 26847311c5e80852903f42d5f4b76f1d4cba51bb into PR head commit 99bffe55a167fbdf699e8d0fc0cb96b378c583c3 02:13:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:13:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:13:36 using GIT_SSH to set credentials SSH Credentials for GitHub 02:13:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1515/head:refs/remotes/origin/PR-1515 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:13:37 > git config core.sparsecheckout # timeout=10 02:13:37 > git checkout -f 99bffe55a167fbdf699e8d0fc0cb96b378c583c3 # timeout=10 02:13:37 > git remote # timeout=10 02:13:41 Merge succeeded, producing 99bffe55a167fbdf699e8d0fc0cb96b378c583c3 02:13:41 Checking out Revision 99bffe55a167fbdf699e8d0fc0cb96b378c583c3 (PR-1515) 02:13:41 > git config --get remote.origin.url # timeout=10 02:13:41 using GIT_SSH to set credentials SSH Credentials for GitHub 02:13:41 > git merge 26847311c5e80852903f42d5f4b76f1d4cba51bb # timeout=10 02:13:41 > git rev-parse HEAD^{commit} # timeout=10 02:13:41 > git config core.sparsecheckout # timeout=10 02:13:41 > git checkout -f 99bffe55a167fbdf699e8d0fc0cb96b378c583c3 # timeout=10 02:13:45 Commit message: "feat: Add device last connected metrics" 02:13:45 > git --version # timeout=10 02:13:45 > git --version # 'git version 2.25.1' 02:13:45 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:13:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:13:46 % Total % Received % Xferd Average Speed Time Time Time Current 02:13:46 Dload Upload Total Spent Left Speed 02:13:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 81216 [Pipeline] sh 02:13:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:13:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:13:48 + sudo tee /etc/docker/daemon.new 02:13:48 { 02:13:48 "registry-mirrors": [ 02:13:48 "https://nexus3.edgexfoundry.org:10001" 02:13:48 ], 02:13:48 "bip": "10.250.0.254/24", 02:13:48 "hosts": [ 02:13:48 "tcp://0.0.0.0:5555", 02:13:48 "unix:///var/run/docker.sock" 02:13:48 ], 02:13:48 "mtu": 1458, 02:13:48 "selinux-enabled": true, 02:13:48 "seccomp-profile": "/etc/docker/seccomp.json" 02:13:48 } [Pipeline] sh 02:13:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:13:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:14:07 provisioning config files... 02:14:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2771494902162161791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:14:08 ---> docker-login.sh 02:14:08 nexus3.edgexfoundry.org:10001 02:14:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:08 Configure a credential helper to remove this warning. See 02:14:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:08 02:14:08 Login Succeeded 02:14:08 nexus3.edgexfoundry.org:10002 02:14:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:09 Configure a credential helper to remove this warning. See 02:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:09 02:14:09 Login Succeeded 02:14:09 nexus3.edgexfoundry.org:10003 02:14:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:09 Configure a credential helper to remove this warning. See 02:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:09 02:14:09 Login Succeeded 02:14:09 nexus3.edgexfoundry.org:10004 02:14:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:09 Configure a credential helper to remove this warning. See 02:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:09 02:14:09 Login Succeeded 02:14:09 docker.io 02:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:10 Configure a credential helper to remove this warning. See 02:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:10 02:14:10 Login Succeeded 02:14:10 ---> docker-login.sh ends [Pipeline] } 02:14:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:14:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:14:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:14:11 ========================================================= 02:14:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:14:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:11 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 02:14:11 Sending build context to Docker daemon 6.007MB 02:14:11 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 02:14:11 Step 2/10 : FROM ${BASE} AS builder 02:14:12 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:14:12 9fda8d8052c6: Pulling fs layer 02:14:12 5d54e960e981: Pulling fs layer 02:14:12 c4a7e357bf2a: Pulling fs layer 02:14:12 f0e02332f6b5: Pulling fs layer 02:14:12 66412af1f25a: Pulling fs layer 02:14:12 1baf3a5c0e64: Pulling fs layer 02:14:12 9a37bb91b891: Pulling fs layer 02:14:12 a29adfc67d43: Pulling fs layer 02:14:12 d5de9f91c1a4: Pulling fs layer 02:14:12 f0e02332f6b5: Waiting 02:14:12 66412af1f25a: Waiting 02:14:12 1baf3a5c0e64: Waiting 02:14:12 9a37bb91b891: Waiting 02:14:12 a29adfc67d43: Waiting 02:14:12 d5de9f91c1a4: Waiting 02:14:12 5d54e960e981: Download complete 02:14:12 f0e02332f6b5: Verifying Checksum 02:14:12 f0e02332f6b5: Download complete 02:14:12 66412af1f25a: Verifying Checksum 02:14:12 66412af1f25a: Download complete 02:14:12 9fda8d8052c6: Verifying Checksum 02:14:12 9fda8d8052c6: Download complete 02:14:12 9a37bb91b891: Verifying Checksum 02:14:12 9a37bb91b891: Download complete 02:14:13 a29adfc67d43: Verifying Checksum 02:14:13 a29adfc67d43: Download complete 02:14:13 9fda8d8052c6: Pull complete 02:14:13 5d54e960e981: Pull complete 02:14:13 d5de9f91c1a4: Download complete 02:14:14 c4a7e357bf2a: Download complete 02:14:15 1baf3a5c0e64: Verifying Checksum 02:14:15 1baf3a5c0e64: Download complete 02:14:25 c4a7e357bf2a: Pull complete 02:14:25 f0e02332f6b5: Pull complete 02:14:25 66412af1f25a: Pull complete 02:14:32 1baf3a5c0e64: Pull complete 02:14:33 9a37bb91b891: Pull complete 02:14:36 a29adfc67d43: Pull complete 02:14:38 d5de9f91c1a4: Pull complete 02:14:38 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 02:14:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:14:38 ---> 746ca1b523b5 02:14:38 Step 3/10 : ARG MAKE=make build 02:14:39 ---> Running in e283f8e3faf5 02:14:39 Removing intermediate container e283f8e3faf5 02:14:39 ---> 66d52787aa10 02:14:39 Step 4/10 : WORKDIR /device-sdk-go 02:14:40 ---> Running in 8824333af4ed 02:14:40 Removing intermediate container 8824333af4ed 02:14:40 ---> 9b36c23e835c 02:14:40 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:14:40 ---> Running in 557693a64b48 02:14:40 Removing intermediate container 557693a64b48 02:14:40 ---> e3fa4c13447d 02:14:40 Step 6/10 : RUN apk add --update --no-cache make git 02:14:40 ---> Running in 7fbaa28ab623 02:14:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:14:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:14:43 OK: 267 MiB in 56 packages 02:14:44 Removing intermediate container 7fbaa28ab623 02:14:44 ---> 73fa75e2c3ee 02:14:44 Step 7/10 : COPY go.mod vendor* ./ 02:14:44 ---> 7f9e41ad39a9 02:14:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:14:44 ---> Running in d4bd6796b731 02:15:52 Removing intermediate container d4bd6796b731 02:15:52 ---> 630dd275347b 02:15:52 Step 9/10 : COPY . . 02:15:52 ---> e2ca8a7b8975 02:15:52 Step 10/10 : RUN ${MAKE} 02:15:52 ---> Running in 92c1d658d8a3 02:15:52 noop 02:15:52 Removing intermediate container 92c1d658d8a3 02:15:52 ---> 2879bcbea961 02:15:52 Successfully built 2879bcbea961 02:15:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:52 + docker inspect -f . ci-base-image-arm64 02:15:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:15:53 prd-ubuntu20.04-docker-arm64-4c-16g-6653 does not seem to be running inside a container 02:15:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:15:54 $ docker top 27e9ed54474963ef4921730613622def64e990ceac6a4e269c86d4454d8e265c -eo pid,comm [Pipeline] { [Pipeline] sh 02:15:55 + go version 02:15:55 go version go1.21.0 linux/arm64 [Pipeline] } 02:15:55 $ docker stop --time=1 27e9ed54474963ef4921730613622def64e990ceac6a4e269c86d4454d8e265c 02:15:57 $ docker rm -f --volumes 27e9ed54474963ef4921730613622def64e990ceac6a4e269c86d4454d8e265c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:58 + docker inspect -f . ci-base-image-arm64 02:15:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:15:58 prd-ubuntu20.04-docker-arm64-4c-16g-6653 does not seem to be running inside a container 02:15:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:15:59 $ docker top fcfdd512dc94751e8e2549cdf579cbfe021f608fdc71944bd5214ad3581c6daf -eo pid,comm [Pipeline] { [Pipeline] sh 02:16:00 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 02:16:00 + make test 02:16:00 go test -race -coverprofile=coverage.out ./... 02:16:32 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 02:18:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 02:18:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 02:18:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 02:18:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 02:18:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 02:18:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.203s coverage: 27.6% of statements 02:18:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.267s coverage: 79.1% of statements 02:18:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 02:18:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 02:18:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.309s coverage: 86.0% of statements 02:18:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 02:18:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.428s coverage: 71.8% of statements 02:18:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.256s coverage: 14.4% of statements 02:18:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.889s coverage: 45.9% of statements 02:18:43 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 02:18:43 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 02:18:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.369s coverage: 68.5% of statements 02:18:48 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.409s coverage: 89.2% of statements 02:18:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 02:18:49 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.230s coverage: 5.5% of statements 02:18:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:18:49 GO111MODULE=on go vet ./... 02:20:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:20:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:20:41 ./bin/test-attribution-txt.sh [Pipeline] echo 02:20:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:20:41 $ docker stop --time=1 fcfdd512dc94751e8e2549cdf579cbfe021f608fdc71944bd5214ad3581c6daf 02:20:43 $ docker rm -f --volumes fcfdd512dc94751e8e2549cdf579cbfe021f608fdc71944bd5214ad3581c6daf [Pipeline] // withDockerContainer [Pipeline] sh 02:20:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:20:45 Warning: overwriting stash ‘coverage-report’ 02:20:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:20:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:20:47 + ls -al . 02:20:47 total 300 02:20:47 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 02:16 . 02:20:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 02:13 .. 02:20:47 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 02:13 .dockerignore 02:20:47 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 02:13 .git 02:20:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 02:13 .github 02:20:47 -rw-rw-r-- 1 jenkins jenkins 137 Sep 20 02:13 .gitignore 02:20:47 -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 02:13 .golangci.yml 02:20:47 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 20 02:13 CHANGELOG.md 02:20:47 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 02:13 GOVERNANCE.md 02:20:47 -rw-rw-r-- 1 jenkins jenkins 885 Sep 20 02:13 Jenkinsfile 02:20:47 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 02:13 LICENSE 02:20:47 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 20 02:13 Makefile 02:20:47 -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 02:13 OWNERS.md 02:20:47 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 20 02:13 README.md 02:20:47 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 02:09 VERSION 02:20:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 02:13 bin 02:20:47 -rw-r--r-- 1 jenkins jenkins 121985 Sep 20 02:18 coverage.out 02:20:47 drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 02:13 example 02:20:47 -rw-rw-r-- 1 jenkins jenkins 3722 Sep 20 02:13 go.mod 02:20:47 -rw-rw-r-- 1 jenkins jenkins 34806 Sep 20 02:13 go.sum 02:20:47 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 02:13 internal 02:20:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 02:13 openapi 02:20:47 drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 02:13 pkg 02:20:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 02:13 snap 02:20:47 -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 02:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:20:47 + 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=99bffe55a167fbdf699e8d0fc0cb96b378c583c3 --label arch=arm64 --label version=0.0.0 . 02:20:47 Sending build context to Docker daemon 6.13MB 02:20:47 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 02:20:47 Step 2/23 : FROM ${BASE} AS builder 02:20:47 ---> 2879bcbea961 02:20:47 Step 3/23 : ARG MAKE=make build 02:20:48 ---> Running in d2fc8d876762 02:20:48 Removing intermediate container d2fc8d876762 02:20:48 ---> 2be9f4a1901c 02:20:48 Step 4/23 : WORKDIR /device-sdk-go 02:20:48 ---> Running in bb3569fa845e 02:20:48 Removing intermediate container bb3569fa845e 02:20:48 ---> 4c3b105ec8b5 02:20:48 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:20:48 ---> Running in 430433ab8b74 02:20:48 Removing intermediate container 430433ab8b74 02:20:48 ---> 73920e4fa4c9 02:20:48 Step 6/23 : RUN apk add --update --no-cache make git 02:20:49 ---> Running in 5ee4d365d6b7 02:20:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:20:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:20:51 OK: 267 MiB in 56 packages 02:20:52 Removing intermediate container 5ee4d365d6b7 02:20:52 ---> 59e0dfaadcb0 02:20:52 Step 7/23 : COPY go.mod vendor* ./ 02:20:52 ---> 0a9f0dd66b43 02:20:52 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:20:52 ---> Running in d744ffbbd6cc 02:20:54 Removing intermediate container d744ffbbd6cc 02:20:54 ---> 395b9a0d2710 02:20:54 Step 9/23 : COPY . . 02:20:55 ---> ef59e517d68d 02:20:55 Step 10/23 : RUN ${MAKE} 02:20:56 ---> Running in 29d68a5f68f4 02:20:57 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:22:48 Removing intermediate container 29d68a5f68f4 02:22:48 ---> 5fc77be36718 02:22:48 Step 11/23 : FROM alpine:3.18 02:22:48 3.18: Pulling from library/alpine 02:22:48 9fda8d8052c6: Already exists 02:22:48 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 02:22:48 Status: Downloaded newer image for alpine:3.18 02:22:48 ---> f6648c04cd6c 02:22:48 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:22:48 ---> Running in 9786745219ab 02:22:48 Removing intermediate container 9786745219ab 02:22:48 ---> 97cbc138e87a 02:22:48 Step 13/23 : RUN apk add --update --no-cache 02:22:48 ---> Running in 27740b27ae79 02:22:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:22:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:22:48 OK: 8 MiB in 15 packages 02:22:48 Removing intermediate container 27740b27ae79 02:22:48 ---> 899e5bf2760d 02:22:48 Step 14/23 : WORKDIR / 02:22:48 ---> Running in f8690d33a0ad 02:22:48 Removing intermediate container f8690d33a0ad 02:22:48 ---> 21b72d9afa85 02:22:48 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:22:48 ---> 28cc71f75942 02:22:48 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:22:48 ---> d857307bd1d8 02:22:48 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:22:48 ---> 3b057bc9ff0d 02:22:48 Step 18/23 : EXPOSE 59999 02:22:48 ---> Running in 83e75cfa4f17 02:22:48 Removing intermediate container 83e75cfa4f17 02:22:48 ---> 4e0c7bb6e90d 02:22:48 Step 19/23 : ENTRYPOINT ["/device-simple"] 02:22:48 ---> Running in 845d9279339a 02:22:48 Removing intermediate container 845d9279339a 02:22:48 ---> 04273350e2cc 02:22:48 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:22:48 ---> Running in 0a19c8fe3e35 02:22:49 Removing intermediate container 0a19c8fe3e35 02:22:49 ---> 8ad5d72c3e5a 02:22:49 Step 21/23 : LABEL arch=arm64 02:22:49 ---> Running in dda9bc65209c 02:22:49 Removing intermediate container dda9bc65209c 02:22:49 ---> ba03ea4f2696 02:22:49 Step 22/23 : LABEL git_sha=99bffe55a167fbdf699e8d0fc0cb96b378c583c3 02:22:49 ---> Running in 0997057778ea 02:22:50 Removing intermediate container 0997057778ea 02:22:50 ---> 01f3833ac2e5 02:22:50 Step 23/23 : LABEL version=0.0.0 02:22:50 ---> Running in 323b9a6cfd19 02:22:50 Removing intermediate container 323b9a6cfd19 02:22:50 ---> e221c087e77a 02:22:50 [Warning] One or more build-args [ARCH] were not consumed 02:22:50 Successfully built e221c087e77a 02:22:50 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 02:22:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:22:51 02:22:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:22:51 arm64: Pulling from edgex-lftools-log-publisher 02:22:51 8998bd30e6a1: Pulling fs layer 02:22:51 04944245beec: Pulling fs layer 02:22:51 699f458cf7ca: Pulling fs layer 02:22:51 765212b225bb: Pulling fs layer 02:22:51 f23df028b6ca: Pulling fs layer 02:22:51 d65c8cfc05b1: Pulling fs layer 02:22:51 2437ff75d9bd: Pulling fs layer 02:22:51 f23df028b6ca: Waiting 02:22:51 d65c8cfc05b1: Waiting 02:22:51 2437ff75d9bd: Waiting 02:22:51 765212b225bb: Waiting 02:22:52 04944245beec: Verifying Checksum 02:22:52 04944245beec: Download complete 02:22:52 765212b225bb: Verifying Checksum 02:22:52 765212b225bb: Download complete 02:22:52 f23df028b6ca: Download complete 02:22:52 699f458cf7ca: Verifying Checksum 02:22:52 699f458cf7ca: Download complete 02:22:52 8998bd30e6a1: Verifying Checksum 02:22:52 8998bd30e6a1: Download complete 02:22:54 2437ff75d9bd: Verifying Checksum 02:22:54 2437ff75d9bd: Download complete 02:22:56 8998bd30e6a1: Pull complete 02:22:56 04944245beec: Pull complete 02:22:58 699f458cf7ca: Pull complete 02:22:58 765212b225bb: Pull complete 02:22:59 f23df028b6ca: Pull complete 02:22:59 d65c8cfc05b1: Pull complete 02:23:14 2437ff75d9bd: Pull complete 02:23:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:23:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:23:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:23:14 prd-ubuntu20.04-docker-arm64-4c-16g-6653 does not seem to be running inside a container 02:23:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:23:17 $ docker top 85e66336e1b88785b26345ee841dbf1d48372628bb7579f84ba76691eb78e5be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:23:18 ---> job-cost.sh 02:23:18 lf-activate-venv: SKIPPING 02:23:18 INFO: No Stack... 02:23:18 INFO: Retrieving Pricing Info for: v3-standard-4 02:23:19 INFO: Archiving Costs [Pipeline] sh 02:23:20 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 02:23:20 + cut -d, -f6 [Pipeline] lock 02:23:20 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1515-1-stack-cost] 02:23:20 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-1-stack-cost] did not exist. Created. 02:23:20 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1515-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:23:21 /w/workspace/device-sdk-go/1@tmp/durable-982d733b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:23:21 + echo total: 0.10999999940395355 [Pipeline] stash 02:23:21 Warning: overwriting stash ‘stack-cost’ 02:23:21 Stashed 1 file(s) [Pipeline] } 02:23:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:23:21 $ docker stop --time=1 85e66336e1b88785b26345ee841dbf1d48372628bb7579f84ba76691eb78e5be 02:23:23 $ docker rm -f --volumes 85e66336e1b88785b26345ee841dbf1d48372628bb7579f84ba76691eb78e5be [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 02:23:24 provisioning config files... 02:23:24 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config2399493883703435627tmp [Pipeline] { [Pipeline] sh 02:23:24 + set +x 02:23:24 + curl -s https://codecov.io/bash 02:23:24 + bash -s -- 02:23:24 02:23:24 _____ _ 02:23:24 / ____| | | 02:23:24 | | ___ __| | ___ ___ _____ __ 02:23:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:23:24 | |___| (_) | (_| | __/ (_| (_) \ V / 02:23:24 \_____\___/ \__,_|\___|\___\___/ \_/ 02:23:24 Bash-1.0.6 02:23:24 02:23:24 02:23:24 ==> git version 2.25.1 found 02:23:24 ==> 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 02:23:24 Release-Date: 2020-01-08 02:23:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:23:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:23:24 ==> Jenkins CI detected. 02:23:24 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1515 02:23:24 project root: . 02:23:24 --> token set from env 02:23:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:23:24 ==> Running gcov in . (disable via -X gcov) 02:23:24 ==> Python coveragepy not found 02:23:24 ==> Searching for coverage reports in: 02:23:24 + . 02:23:24 -> Found 1 reports 02:23:24 ==> Detecting git/mercurial file structure 02:23:24 ==> Reading reports 02:23:24 + ./coverage.out bytes=121985 02:23:24 ==> Appending adjustments 02:23:24 https://docs.codecov.io/docs/fixing-reports 02:23:24 + Found adjustments 02:23:24 ==> Gzipping contents 02:23:24 20K /tmp/codecov.9fyhZ1.gz 02:23:24 ==> Uploading reports 02:23:24 url: https://codecov.io 02:23:24 query: branch=PR-1515&commit=99bffe55a167fbdf699e8d0fc0cb96b378c583c3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1515%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1515&job=&cmd_args= 02:23:24 -> Pinging Codecov 02:23:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1515&commit=99bffe55a167fbdf699e8d0fc0cb96b378c583c3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1515%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1515&job=&cmd_args= 02:23:25 -> Uploading to 02:23:25 https://storage.googleapis.com/codecov/v4/raw/2023-09-20/7E55EF52A471D76F132DFD9A03CDDE97/99bffe55a167fbdf699e8d0fc0cb96b378c583c3/26ca084c-2c84-4a47-a6b8-6ee219f3d6a4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T022324Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9c4886cd83f3eace49af5aa747ea91ab2fc0ea862e6c23c1822e4152f6a434fe 02:23:25 % Total % Received % Xferd Average Speed Time Time Time Current 02:23:25 Dload Upload Total Spent Left Speed 02:23:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16674 0 0 100 16674 0 78281 --:--:-- --:--:-- --:--:-- 78281 02:23:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/99bffe55a167fbdf699e8d0fc0cb96b378c583c3 [Pipeline] } 02:23:25 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 02:23:27 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives ] 02:23:27 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives 02:23:27 total 16 02:23:27 drwxr-xr-x 3 root root 4096 Sep 20 02:12 . 02:23:27 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 02:12 .. 02:23:27 drwxr-xr-x 2 root root 4096 Sep 20 02:12 cost 02:23:27 -rw-r--r-- 1 root root 86 Sep 20 02:12 cost.csv 02:23:27 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives 02:23:27 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives 02:23:27 total 16 02:23:27 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 02:12 . 02:23:27 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 02:12 .. 02:23:27 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 02:12 cost 02:23:27 -rw-r--r-- 1 jenkins jenkins 86 Sep 20 02:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:23:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:23:28 ---> package-listing.sh 02:23:28 ++ facter osfamily 02:23:28 ++ tr '[:upper:]' '[:lower:]' 02:23:28 + OS_FAMILY=debian 02:23:28 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1515 02:23:28 + START_PACKAGES=/tmp/packages_start.txt 02:23:28 + END_PACKAGES=/tmp/packages_end.txt 02:23:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:23:28 + PACKAGES=/tmp/packages_start.txt 02:23:28 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1515 ']' 02:23:28 + PACKAGES=/tmp/packages_end.txt 02:23:28 + case "${OS_FAMILY}" in 02:23:28 + dpkg -l 02:23:28 + grep '^ii' 02:23:28 + '[' -f /tmp/packages_start.txt ']' 02:23:28 + '[' -f /tmp/packages_end.txt ']' 02:23:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:23:28 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1515 ']' 02:23:28 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives/ 02:23:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives/ [Pipeline] echo 02:23:28 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-1515/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:23:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:23:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:23:29 prd-ubuntu20.04-docker-8c-8g-6652 does not seem to be running inside a container 02:23:29 $ 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-1515/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-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:23:30 $ docker top 7016abe1d090a5653ea9a0afb51ee7352185dff72dfeed2c8283dc681721c40a -eo pid,comm [Pipeline] { [Pipeline] sh 02:23:30 + touch /tmp/pre-build-complete [Pipeline] sh 02:23:30 + mkdir -p /var/log/sysstat [Pipeline] sh 02:23:31 + ls /var/log/sa-host 02:23:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:23:31 provisioning config files... 02:23:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config17178952713386401045tmp [Pipeline] { [Pipeline] echo 02:23:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:23:31 ---> create-netrc.sh [Pipeline] } 02:23:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:23:32 ---> python-tools-install.sh [Pipeline] echo 02:23:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:23:32 ---> sudo-logs.sh 02:23:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:23:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:23:32 ---> job-cost.sh 02:23:32 lf-activate-venv: SKIPPING 02:23:32 DEBUG: total: 0.2199999988079071 02:23:32 INFO: Retrieving Stack Cost... 02:23:33 INFO: Retrieving Pricing Info for: v3-standard-8 02:23:33 INFO: Archiving Costs [Pipeline] echo 02:23:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:23:34 ---> logs-deploy.sh 02:23:34 lf-activate-venv: SKIPPING 02:23:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1515/1 02:23:34 INFO: archiving workspace using pattern(s): 02:23:35 Archives upload complete. 02:23:35 INFO: archiving logs to Nexus 02:23:35 ---> uname -a: 02:23:35 Linux prd-ubuntu20-04-docker-8c-8g-6652 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:23:35 02:23:35 02:23:35 ---> lscpu: 02:23:35 Architecture: x86_64 02:23:35 CPU op-mode(s): 32-bit, 64-bit 02:23:35 Byte Order: Little Endian 02:23:35 Address sizes: 40 bits physical, 48 bits virtual 02:23:35 CPU(s): 8 02:23:35 On-line CPU(s) list: 0-7 02:23:35 Thread(s) per core: 1 02:23:35 Core(s) per socket: 1 02:23:35 Socket(s): 8 02:23:35 NUMA node(s): 1 02:23:35 Vendor ID: AuthenticAMD 02:23:35 CPU family: 23 02:23:35 Model: 49 02:23:35 Model name: AMD EPYC-Rome Processor 02:23:35 Stepping: 0 02:23:35 CPU MHz: 2799.998 02:23:35 BogoMIPS: 5599.99 02:23:35 Virtualization: AMD-V 02:23:35 Hypervisor vendor: KVM 02:23:35 Virtualization type: full 02:23:35 L1d cache: 256 KiB 02:23:35 L1i cache: 256 KiB 02:23:35 L2 cache: 4 MiB 02:23:35 L3 cache: 128 MiB 02:23:35 NUMA node0 CPU(s): 0-7 02:23:35 Vulnerability Itlb multihit: Not affected 02:23:35 Vulnerability L1tf: Not affected 02:23:35 Vulnerability Mds: Not affected 02:23:35 Vulnerability Meltdown: Not affected 02:23:35 Vulnerability Mmio stale data: Not affected 02:23:35 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:23:35 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:23:35 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:23:35 Vulnerability Srbds: Not affected 02:23:35 Vulnerability Tsx async abort: Not affected 02:23:35 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 02:23:35 02:23:35 02:23:35 ---> nproc: 02:23:35 8 02:23:35 02:23:35 02:23:35 ---> df -h: 02:23:35 Filesystem Size Used Avail Use% Mounted on 02:23:35 overlay 155G 12G 144G 8% / 02:23:35 tmpfs 64M 0 64M 0% /dev 02:23:35 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:23:35 shm 64M 0 64M 0% /dev/shm 02:23:35 /dev/vda1 155G 12G 144G 8% /facter-os 02:23:35 02:23:35 02:23:35 ---> sar -b -r -n DEV: 02:23:35 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-6652) 09/20/23 _x86_64_ (8 CPU) 02:23:35 02:23:35 02:07:56 LINUX RESTART (8 CPU) 02:23:35 02:23:35 02:08:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:23:35 02:09:01 312.85 47.88 264.97 0.00 5407.50 148245.29 0.00 02:23:35 02:10:01 77.77 0.50 77.27 0.00 41.46 27295.85 0.00 02:23:35 02:11:01 117.73 0.37 117.36 0.00 13.73 51060.56 0.00 02:23:35 02:12:01 58.66 0.17 58.49 0.00 5.73 24324.23 0.00 02:23:35 02:13:01 151.91 1.03 150.87 0.00 75.59 37243.13 0.00 02:23:35 02:14:01 53.89 9.63 44.26 0.00 5087.55 8393.40 0.00 02:23:35 02:15:01 3.37 0.02 3.35 0.00 0.13 90.25 0.00 02:23:35 02:16:01 1.13 0.00 1.13 0.00 0.00 12.00 0.00 02:23:35 02:17:01 1.62 0.02 1.60 0.00 0.13 18.00 0.00 02:23:35 02:18:01 1.32 0.00 1.32 0.00 0.00 15.86 0.00 02:23:35 02:19:01 1.17 0.00 1.17 0.00 0.00 12.53 0.00 02:23:35 02:20:01 0.97 0.00 0.97 0.00 0.00 11.33 0.00 02:23:35 02:21:01 1.22 0.00 1.22 0.00 0.00 15.20 0.00 02:23:35 02:22:01 0.98 0.00 0.98 0.00 0.00 11.20 0.00 02:23:35 02:23:01 1.95 0.02 1.93 0.00 0.13 24.53 0.00 02:23:35 Average: 52.43 3.97 48.46 0.00 708.78 19784.45 0.00 02:23:35 02:23:35 02:08:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:23:35 02:09:01 29956996 31616228 734932 2.23 59884 1900296 1736488 5.12 985744 1641476 232 02:23:35 02:10:01 28866696 31542984 765812 2.33 87020 2840180 1994352 5.88 1075080 2549020 182152 02:23:35 02:11:01 27407648 31056908 1245004 3.79 150528 3662128 2554404 7.53 1848024 3139404 365600 02:23:35 02:12:01 28295076 31568200 738076 2.24 152880 3310012 1871116 5.51 1201228 2932960 336 02:23:35 02:13:01 27450300 31559800 741824 2.26 165536 4066368 1762916 5.20 1292212 3613420 38812 02:23:35 02:14:01 27023048 31545272 728084 2.21 193084 4447008 1718604 5.06 1585408 3707908 12 02:23:35 02:15:01 27031112 31548436 724960 2.20 191624 4443764 1700288 5.01 1582444 3704704 176 02:23:35 02:16:01 27035040 31552480 720800 2.19 191664 4443892 1700288 5.01 1578284 3704816 212 02:23:35 02:17:01 27034716 31552224 721044 2.19 191740 4443892 1700288 5.01 1578280 3704824 8 02:23:35 02:18:01 27041544 31559168 714020 2.17 191788 4443904 1700288 5.01 1572068 3704844 172 02:23:35 02:19:01 27041768 31559412 713940 2.17 191812 4443904 1700288 5.01 1572460 3704844 88 02:23:35 02:20:01 27042128 31559800 713512 2.17 191832 4443908 1700288 5.01 1571332 3704848 252 02:23:35 02:21:01 27041892 31559624 713724 2.17 191852 4443912 1700288 5.01 1571368 3704856 8 02:23:35 02:22:01 27042592 31560352 712864 2.17 191880 4443912 1700288 5.01 1571028 3704856 240 02:23:35 02:23:01 27042060 31559876 713452 2.17 191924 4443920 1726656 5.09 1571232 3704852 28 02:23:35 Average: 27490174 31526718 760137 2.31 169003 4014733 1797789 5.30 1477079 3395175 39222 02:23:35 02:23:35 02:08:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:23:35 02:09:01 docker0 8.00 7.82 0.73 78.94 0.00 0.00 0.00 0.00 02:23:35 02:09:01 lo 4.47 4.47 0.43 0.43 0.00 0.00 0.00 0.00 02:23:35 02:09:01 ens3 442.69 295.60 2573.40 94.65 0.00 0.00 0.00 0.00 02:23:35 02:10:01 docker0 137.26 193.73 11.01 497.23 0.00 0.00 0.00 0.00 02:23:35 02:10:01 veth7203287 135.93 190.85 12.79 466.36 0.00 0.00 0.00 0.04 02:23:35 02:10:01 lo 2.87 2.87 0.28 0.28 0.00 0.00 0.00 0.00 02:23:35 02:10:01 ens3 332.31 223.41 4322.39 27.76 0.00 0.00 0.00 0.00 02:23:35 02:11:01 veth8c0135d 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 02:23:35 02:11:01 docker0 127.63 190.30 10.02 1881.20 0.00 0.00 0.00 0.00 02:23:35 02:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:23:35 02:11:01 ens3 212.16 142.01 1909.11 20.75 0.00 0.00 0.00 0.00 02:23:35 02:12:01 docker0 0.90 1.25 0.09 0.35 0.00 0.00 0.00 0.00 02:23:35 02:12:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 02:23:35 02:12:01 ens3 23.53 16.16 20.20 9.98 0.00 0.00 0.00 0.00 02:23:35 02:13:01 docker0 3.52 6.72 0.21 61.81 0.00 0.00 0.00 0.00 02:23:35 02:13:01 lo 1.80 1.80 0.18 0.18 0.00 0.00 0.00 0.00 02:23:35 02:13:01 ens3 150.11 80.40 3256.18 19.58 0.00 0.00 0.00 0.00 02:23:35 02:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:23:35 02:14:01 lo 0.60 0.60 0.05 0.05 0.00 0.00 0.00 0.00 02:23:35 02:14:01 ens3 113.70 40.41 2071.44 3.19 0.00 0.00 0.00 0.00 02:23:35 02:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:23:35 02:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:23:35 02:15:01 ens3 0.17 0.07 0.01 0.00 0.00 0.00 0.00 0.00 02:23:35 02:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:23:35 02:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:23:35 02:16:01 ens3 0.18 0.10 0.01 0.01 0.00 0.00 0.00 0.00 02:23:35 02:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:23:35 02:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:23:35 02:17:01 ens3 0.10 0.03 0.01 0.00 0.00 0.00 0.00 0.00 02:23:35 02:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:23:35 02:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:23:35 02:18:01 ens3 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:23:35 02:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:23:35 02:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:23:35 02:19:01 ens3 0.15 0.10 0.08 0.07 0.00 0.00 0.00 0.00 02:23:35 02:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:23:35 02:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:23:35 02:20:01 ens3 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:23:35 02:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:23:35 02:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:23:35 02:21:01 ens3 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 02:23:35 02:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:23:35 02:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:23:35 02:22:01 ens3 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:23:35 02:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:23:35 02:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:23:35 02:23:01 ens3 0.20 0.12 0.12 0.01 0.00 0.00 0.00 0.00 02:23:35 Average: docker0 18.49 26.65 1.47 167.97 0.00 0.00 0.00 0.00 02:23:35 Average: lo 0.73 0.73 0.07 0.07 0.00 0.00 0.00 0.00 02:23:35 Average: ens3 85.05 53.24 943.51 11.73 0.00 0.00 0.00 0.00 02:23:35 02:23:35