Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 268da6f83e209ba80039c304e6dff6a0d7afc8ae+afe14f99071666e3a8a1e98015d177d59a71e5e7 (6eb6f51b8eaaf3e9bbbc22ca9fdc4a0cef679769) 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-ssh18155376138279270797.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh4607556603133659430.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1460/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1460/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4313983225424090607.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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 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-ssh14566386891617126076.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1460/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1460/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14166152062324353602.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.20 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 Running on prd-ubuntu20.04-docker-8c-8g-16972 in /w/workspace/gexfoundry_device-sdk-go_PR-1460 [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-1460 # 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/1460/head:refs/remotes/origin/PR-1460 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit afe14f99071666e3a8a1e98015d177d59a71e5e7 into PR head commit 268da6f83e209ba80039c304e6dff6a0d7afc8ae Merge succeeded, producing 3dc6ec51a4db7d418ab62bd770cf2a9b47a5ec5e Checking out Revision 3dc6ec51a4db7d418ab62bd770cf2a9b47a5ec5e (PR-1460) > git config core.sparsecheckout # timeout=10 > git checkout -f 268da6f83e209ba80039c304e6dff6a0d7afc8ae # 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 afe14f99071666e3a8a1e98015d177d59a71e5e7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3dc6ec51a4db7d418ab62bd770cf2a9b47a5ec5e # timeout=10 Commit message: "Merge commit 'afe14f99071666e3a8a1e98015d177d59a71e5e7' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:41:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:41:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:41:32 ========================================================= 18:41:32 EdgeX Global Pipelines Version Info 18:41:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:41:33 ------------------- 18:41:33 stable info: 18:41:33 ------------------- 18:41:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:41:33 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:41:33 Message: update stable to v1.0.249 > git rev-list --no-walk 2692f0563c057608cef1e768a4b9bc6c33380055 # timeout=10 18:41:33 ------------------- 18:41:33 experimental info: 18:41:33 ------------------- 18:41:33 Commited By: **** collab-it+edgex@linuxfoundation.org 18:41:33 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:41:33 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1460 [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1460 [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1460 [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3dc6ec51a4db7d418ab62bd770cf2a9b47a5ec5e [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3dc6ec5 [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:41:34 provisioning config files... 18:41:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp/config3020217023828105630tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:34 ---> docker-login.sh 18:41:34 nexus3.edgexfoundry.org:10001 18:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:34 Configure a credential helper to remove this warning. See 18:41:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:34 18:41:34 Login Succeeded 18:41:34 nexus3.edgexfoundry.org:10002 18:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:35 Configure a credential helper to remove this warning. See 18:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:35 18:41:35 Login Succeeded 18:41:35 nexus3.edgexfoundry.org:10003 18:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:35 Configure a credential helper to remove this warning. See 18:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:35 18:41:35 Login Succeeded 18:41:35 nexus3.edgexfoundry.org:10004 18:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:35 Configure a credential helper to remove this warning. See 18:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:35 18:41:35 Login Succeeded 18:41:35 docker.io 18:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:35 Configure a credential helper to remove this warning. See 18:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:35 18:41:35 Login Succeeded 18:41:35 ---> docker-login.sh ends [Pipeline] } 18:41:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:41:36 + git rev-list -1 --merges 3dc6ec51a4db7d418ab62bd770cf2a9b47a5ec5e~1..3dc6ec51a4db7d418ab62bd770cf2a9b47a5ec5e [Pipeline] echo 18:41:36 -----------> git rev-list -1 --merges 3dc6ec51a4db7d418ab62bd770cf2a9b47a5ec5e~1..3dc6ec51a4db7d418ab62bd770cf2a9b47a5ec5e 3dc6ec51a4db7d418ab62bd770cf2a9b47a5ec5e 18:41:36 3dc6ec51a4db7d418ab62bd770cf2a9b47a5ec5e [false] [Pipeline] sh 18:41:36 + git log --format=format:%s -1 3dc6ec51a4db7d418ab62bd770cf2a9b47a5ec5e [Pipeline] echo 18:41:36 ========================================================= 18:41:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:41:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:41:36 + git log --format=format:%s -1 3dc6ec51a4db7d418ab62bd770cf2a9b47a5ec5e [Pipeline] echo 18:41:36 [semverPrep] GIT_COMMIT: 3dc6ec51a4db7d418ab62bd770cf2a9b47a5ec5e, Commit Message: Merge commit 'afe14f99071666e3a8a1e98015d177d59a71e5e7' into HEAD [Pipeline] echo 18:41:36 [semverPrep] This is not a build commit. [Pipeline] sh 18:41:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:41:37 + grep -v github /etc/ssh/ssh_known_hosts 18:41:37 + [ -e /tmp/ssh_known_hosts ] 18:41:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:41:37 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:41:37 sudo tee -a /etc/ssh/ssh_known_hosts 18:41:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:37 18:41:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:37 0.1.4: Pulling from edgex-devops/py-git-semver 18:41:37 b85a868b505f: Pulling fs layer 18:41:37 e2be974225ed: Pulling fs layer 18:41:37 339a4e72a1f5: Pulling fs layer 18:41:37 988bab9f4d93: Pulling fs layer 18:41:37 1469e6f7b9e6: Pulling fs layer 18:41:37 eaf3925da568: Pulling fs layer 18:41:37 bab4dde63d76: Pulling fs layer 18:41:37 bde34c3a00c8: Pulling fs layer 18:41:37 b352a97aabf1: Pulling fs layer 18:41:37 4872d77fe225: Pulling fs layer 18:41:37 5851b861e8e6: Pulling fs layer 18:41:37 988bab9f4d93: Waiting 18:41:37 eaf3925da568: Waiting 18:41:37 bde34c3a00c8: Waiting 18:41:37 1469e6f7b9e6: Waiting 18:41:37 4872d77fe225: Waiting 18:41:37 bab4dde63d76: Waiting 18:41:37 5851b861e8e6: Waiting 18:41:37 b352a97aabf1: Waiting 18:41:37 e2be974225ed: Download complete 18:41:37 988bab9f4d93: Download complete 18:41:37 1469e6f7b9e6: Verifying Checksum 18:41:37 1469e6f7b9e6: Download complete 18:41:38 eaf3925da568: Verifying Checksum 18:41:38 eaf3925da568: Download complete 18:41:38 339a4e72a1f5: Verifying Checksum 18:41:38 339a4e72a1f5: Download complete 18:41:38 b352a97aabf1: Download complete 18:41:38 4872d77fe225: Verifying Checksum 18:41:38 4872d77fe225: Download complete 18:41:38 5851b861e8e6: Download complete 18:41:38 b85a868b505f: Verifying Checksum 18:41:38 b85a868b505f: Download complete 18:41:38 bab4dde63d76: Verifying Checksum 18:41:38 bab4dde63d76: Download complete 18:41:39 b85a868b505f: Pull complete 18:41:39 e2be974225ed: Pull complete 18:41:39 339a4e72a1f5: Pull complete 18:41:39 988bab9f4d93: Pull complete 18:41:40 1469e6f7b9e6: Pull complete 18:41:40 eaf3925da568: Pull complete 18:41:42 bab4dde63d76: Pull complete 18:41:42 bde34c3a00c8: Pull complete 18:41:42 b352a97aabf1: Pull complete 18:41:42 4872d77fe225: Pull complete 18:41:42 5851b861e8e6: Pull complete 18:41:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:41:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:42 prd-ubuntu20.04-docker-8c-8g-16972 does not seem to be running inside a container 18:41:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1460 -v /w/workspace/gexfoundry_device-sdk-go_PR-1460:/w/workspace/gexfoundry_device-sdk-go_PR-1460:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:41:45 $ docker top eba482c01d03e0a3a39c6ac6d482fc2b5d289c2da8d9c9a6f5cd2858567d616f -eo pid,comm 18:41:45 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). 18:41:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:41:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:45 [ssh-agent] Looking for ssh-agent implementation... 18:41:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:46 $ docker exec eba482c01d03e0a3a39c6ac6d482fc2b5d289c2da8d9c9a6f5cd2858567d616f ssh-agent 18:41:46 SSH_AUTH_SOCK=/tmp/ssh-UUEljIe6m2wC/agent.32 18:41:46 SSH_AGENT_PID=38 18:41:46 Running ssh-add (command line suppressed) 18:41:46 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp/private_key_16790765345096952513.key (/w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp/private_key_16790765345096952513.key) 18:41:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:46 + git tag --points-at HEAD [Pipeline] } 18:41:46 $ docker exec --env ******** --env ******** eba482c01d03e0a3a39c6ac6d482fc2b5d289c2da8d9c9a6f5cd2858567d616f ssh-agent -k 18:41:46 unset SSH_AUTH_SOCK; 18:41:46 unset SSH_AGENT_PID; 18:41:46 echo Agent pid 38 killed; 18:41:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:41:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:46 [ssh-agent] Looking for ssh-agent implementation... 18:41:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:46 $ docker exec eba482c01d03e0a3a39c6ac6d482fc2b5d289c2da8d9c9a6f5cd2858567d616f ssh-agent 18:41:47 SSH_AUTH_SOCK=/tmp/ssh-kcnMjq4QEWbk/agent.71 18:41:47 SSH_AGENT_PID=77 18:41:47 Running ssh-add (command line suppressed) 18:41:47 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp/private_key_3931988612048553081.key (/w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp/private_key_3931988612048553081.key) 18:41:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:47 + git semver init 18:41:47 2023-05-25 18:41:47,633 [run_init] DEBUG init version:0.0.0 force:False 18:41:47 2023-05-25 18:41:47,634 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1460/.semver 18:41:47 2023-05-25 18:41:47,634 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1460/.semver 18:41:47 2023-05-25 18:41:47,635 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1460/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1460, universal_newlines=False, shell=None, istream=None) 18:41:48 2023-05-25 18:41:48,528 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1460/.git/info/exclude 18:41:48 2023-05-25 18:41:48,529 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1460/.semver/PR-1460 with force:False 18:41:48 2023-05-25 18:41:48,529 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1460/.semver/PR-1460 18:41:48 2023-05-25 18:41:48,533 [execute] INFO git cat-file --batch-check 18:41:48 2023-05-25 18:41:48,534 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1460/.semver, universal_newlines=False, shell=None, istream=) 18:41:48 2023-05-25 18:41:48,540 [execute] INFO git cat-file --batch 18:41:48 2023-05-25 18:41:48,540 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1460/.semver, universal_newlines=False, shell=None, istream=) 18:41:48 2023-05-25 18:41:48,546 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1460/.semver/PR-1460 18:41:48 0.0.0 [Pipeline] } 18:41:48 $ docker exec --env ******** --env ******** eba482c01d03e0a3a39c6ac6d482fc2b5d289c2da8d9c9a6f5cd2858567d616f ssh-agent -k 18:41:48 unset SSH_AUTH_SOCK; 18:41:48 unset SSH_AGENT_PID; 18:41:48 echo Agent pid 77 killed; 18:41:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:41:49 + git semver [Pipeline] } 18:41:49 $ docker stop --time=1 eba482c01d03e0a3a39c6ac6d482fc2b5d289c2da8d9c9a6f5cd2858567d616f 18:41:50 $ docker rm -f --volumes eba482c01d03e0a3a39c6ac6d482fc2b5d289c2da8d9c9a6f5cd2858567d616f [Pipeline] // withDockerContainer [Pipeline] sh 18:41:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:41:51 Stashed 1 file(s) [Pipeline] echo 18:41:51 [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 18:41:51 provisioning config files... 18:41:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp/config7089648036861443229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:51 ---> docker-login.sh 18:41:51 nexus3.edgexfoundry.org:10001 18:41:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:51 Configure a credential helper to remove this warning. See 18:41:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:51 18:41:51 Login Succeeded 18:41:51 nexus3.edgexfoundry.org:10002 18:41:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:51 Configure a credential helper to remove this warning. See 18:41:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:51 18:41:51 Login Succeeded 18:41:51 nexus3.edgexfoundry.org:10003 18:41:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:51 Configure a credential helper to remove this warning. See 18:41:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:51 18:41:51 Login Succeeded 18:41:51 nexus3.edgexfoundry.org:10004 18:41:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:51 Configure a credential helper to remove this warning. See 18:41:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:51 18:41:51 Login Succeeded 18:41:51 docker.io 18:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:52 Configure a credential helper to remove this warning. See 18:41:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:52 18:41:52 Login Succeeded 18:41:52 ---> docker-login.sh ends [Pipeline] } 18:41:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:41:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:41:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:41:52 ========================================================= 18:41:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:41:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:52 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 18:41:52 Sending build context to Docker daemon 11.25MB 18:41:52 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 18:41:52 Step 2/10 : FROM ${BASE} AS builder 18:41:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:41:52 f56be85fc22e: Pulling fs layer 18:41:52 85791d961cd3: Pulling fs layer 18:41:52 d694b5ae8c79: Pulling fs layer 18:41:52 9f32a84ed3da: Pulling fs layer 18:41:52 4d19c01a9841: Pulling fs layer 18:41:52 9325e15d5711: Pulling fs layer 18:41:52 556b6ee489ea: Pulling fs layer 18:41:52 c5a4b2cf53e6: Pulling fs layer 18:41:52 4d19c01a9841: Waiting 18:41:52 9325e15d5711: Waiting 18:41:52 c5a4b2cf53e6: Waiting 18:41:52 556b6ee489ea: Waiting 18:41:52 9f32a84ed3da: Waiting 18:41:52 85791d961cd3: Download complete 18:41:52 9f32a84ed3da: Verifying Checksum 18:41:52 9f32a84ed3da: Download complete 18:41:52 4d19c01a9841: Download complete 18:41:52 f56be85fc22e: Download complete 18:41:52 9325e15d5711: Verifying Checksum 18:41:52 9325e15d5711: Download complete 18:41:53 f56be85fc22e: Pull complete 18:41:53 85791d961cd3: Pull complete 18:41:53 c5a4b2cf53e6: Verifying Checksum 18:41:53 c5a4b2cf53e6: Download complete 18:41:53 d694b5ae8c79: Verifying Checksum 18:41:53 d694b5ae8c79: Download complete 18:41:53 556b6ee489ea: Verifying Checksum 18:41:53 556b6ee489ea: Download complete 18:41:56 d694b5ae8c79: Pull complete 18:41:56 9f32a84ed3da: Pull complete 18:41:57 4d19c01a9841: Pull complete 18:41:57 9325e15d5711: Pull complete 18:41:59 556b6ee489ea: Pull complete 18:42:00 c5a4b2cf53e6: Pull complete 18:42:00 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 18:42:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:42:00 ---> c4be618373d6 18:42:00 Step 3/10 : ARG MAKE=make build 18:42:04 ---> Running in 60db685f67b9 18:42:04 Removing intermediate container 60db685f67b9 18:42:04 ---> 9e687baf6af2 18:42:04 Step 4/10 : WORKDIR /device-sdk-go 18:42:04 ---> Running in 20aaebb69657 18:42:04 Removing intermediate container 20aaebb69657 18:42:04 ---> 927c0950b952 18:42:04 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:42:04 ---> Running in 522155d2c1e9 18:42:04 Removing intermediate container 522155d2c1e9 18:42:04 ---> bc676a049dd5 18:42:04 Step 6/10 : RUN apk add --update --no-cache make git 18:42:04 ---> Running in 63c37af5ce0d 18:42:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:42:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:42:05 OK: 265 MiB in 53 packages 18:42:05 Removing intermediate container 63c37af5ce0d 18:42:05 ---> 11b03ed6c6f0 18:42:05 Step 7/10 : COPY go.mod vendor* ./ 18:42:05 ---> d80d62a23d34 18:42:05 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:05 ---> Running in 28ca24e36512 18:42:06 Still waiting to schedule task 18:42:06 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:42:37 Removing intermediate container 28ca24e36512 18:42:37 ---> 349b4ddd4bd6 18:42:37 Step 9/10 : COPY . . 18:42:37 ---> 2e61f90b2e70 18:42:37 Step 10/10 : RUN ${MAKE} 18:42:37 ---> Running in bc3137976046 18:42:37 noop 18:42:37 Removing intermediate container bc3137976046 18:42:37 ---> 4ba7dd838e36 18:42:37 Successfully built 4ba7dd838e36 18:42:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:37 + docker inspect -f . ci-base-image-x86_64 18:42:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:38 prd-ubuntu20.04-docker-8c-8g-16972 does not seem to be running inside a container 18:42:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1460 -v /w/workspace/gexfoundry_device-sdk-go_PR-1460:/w/workspace/gexfoundry_device-sdk-go_PR-1460:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:42:38 $ docker top 2bf271a2fd93e76e837066c5bb3157be80ec785f963bc6fbc02244fc529a6248 -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:38 + go version 18:42:38 go version go1.20.2 linux/amd64 [Pipeline] } 18:42:38 $ docker stop --time=1 2bf271a2fd93e76e837066c5bb3157be80ec785f963bc6fbc02244fc529a6248 18:42:40 $ docker rm -f --volumes 2bf271a2fd93e76e837066c5bb3157be80ec785f963bc6fbc02244fc529a6248 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:40 + docker inspect -f . ci-base-image-x86_64 18:42:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:40 prd-ubuntu20.04-docker-8c-8g-16972 does not seem to be running inside a container 18:42:40 $ 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-1460 -v /w/workspace/gexfoundry_device-sdk-go_PR-1460:/w/workspace/gexfoundry_device-sdk-go_PR-1460:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:42:40 $ docker top c8293dc7f63124fa4ad47e7e4b63009b3fc033f1cdeb6eb8ea6fd9206926c3af -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:41 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1460 [Pipeline] fileExists [Pipeline] sh 18:42:41 + make test 18:42:41 go test -race -coverprofile=coverage.out ./... 18:42:49 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:43:04 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:43:04 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:43:04 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:43:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:43:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:43:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.048s coverage: 27.6% of statements 18:43:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:43:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:43:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.059s coverage: 80.2% of statements 18:43:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.089s coverage: 86.0% of statements 18:43:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:43:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:43:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.117s coverage: 77.5% of statements 18:43:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:43:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:43:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:43:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.069s coverage: 14.3% of statements 18:43:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.106s coverage: 68.5% of statements 18:43:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.122s coverage: 89.2% of statements 18:43:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.7% of statements 18:43:35 GO111MODULE=on go vet ./... 18:43:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:43:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:43:35 ./bin/test-attribution-txt.sh [Pipeline] echo 18:43:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:43:35 $ docker stop --time=1 c8293dc7f63124fa4ad47e7e4b63009b3fc033f1cdeb6eb8ea6fd9206926c3af 18:43:38 $ docker rm -f --volumes c8293dc7f63124fa4ad47e7e4b63009b3fc033f1cdeb6eb8ea6fd9206926c3af [Pipeline] // withDockerContainer [Pipeline] sh 18:43:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:43:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:43:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:43:40 + ls -al . 18:43:40 total 284 18:43:40 drwxrwxr-x 11 jenkins jenkins 4096 May 25 18:42 . 18:43:40 drwxrwxr-x 4 jenkins jenkins 4096 May 25 18:41 .. 18:43:40 -rw-rw-r-- 1 jenkins jenkins 140 May 25 18:41 .dockerignore 18:43:40 drwxrwxr-x 8 jenkins jenkins 4096 May 25 18:41 .git 18:43:40 drwxrwxr-x 2 jenkins jenkins 4096 May 25 18:41 .github 18:43:40 -rw-rw-r-- 1 jenkins jenkins 137 May 25 18:41 .gitignore 18:43:40 -rw-rw-r-- 1 jenkins jenkins 42 May 25 18:41 .golangci.yml 18:43:40 drwxr-xr-x 3 jenkins jenkins 4096 May 25 18:41 .semver 18:43:40 -rw-rw-r-- 1 jenkins jenkins 44878 May 25 18:41 CHANGELOG.md 18:43:40 -rw-rw-r-- 1 jenkins jenkins 677 May 25 18:41 GOVERNANCE.md 18:43:40 -rw-rw-r-- 1 jenkins jenkins 885 May 25 18:41 Jenkinsfile 18:43:40 -rw-rw-r-- 1 jenkins jenkins 11341 May 25 18:41 LICENSE 18:43:40 -rw-rw-r-- 1 jenkins jenkins 1714 May 25 18:41 Makefile 18:43:40 -rw-rw-r-- 1 jenkins jenkins 619 May 25 18:41 OWNERS.md 18:43:40 -rw-rw-r-- 1 jenkins jenkins 4891 May 25 18:41 README.md 18:43:40 -rw-rw-r-- 1 jenkins jenkins 5 May 25 18:41 VERSION 18:43:40 drwxrwxr-x 2 jenkins jenkins 4096 May 25 18:41 bin 18:43:40 -rw-r--r-- 1 jenkins jenkins 106150 May 25 18:43 coverage.out 18:43:40 drwxrwxr-x 5 jenkins jenkins 4096 May 25 18:41 example 18:43:40 -rw-rw-r-- 1 jenkins jenkins 3193 May 25 18:41 go.mod 18:43:40 -rw-rw-r-- 1 jenkins jenkins 30789 May 25 18:41 go.sum 18:43:40 drwxrwxr-x 12 jenkins jenkins 4096 May 25 18:41 internal 18:43:40 drwxrwxr-x 3 jenkins jenkins 4096 May 25 18:41 openapi 18:43:40 drwxrwxr-x 6 jenkins jenkins 4096 May 25 18:41 pkg 18:43:40 drwxrwxr-x 4 jenkins jenkins 4096 May 25 18:41 snap 18:43:40 -rw-rw-r-- 1 jenkins jenkins 222 May 25 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:40 + 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=3dc6ec51a4db7d418ab62bd770cf2a9b47a5ec5e --label arch=amd64 --label version=0.0.0 . 18:43:40 Sending build context to Docker daemon 11.36MB 18:43:40 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 18:43:40 Step 2/23 : FROM ${BASE} AS builder 18:43:40 ---> 4ba7dd838e36 18:43:40 Step 3/23 : ARG MAKE=make build 18:43:40 ---> Running in 4d7c849137a2 18:43:40 Removing intermediate container 4d7c849137a2 18:43:40 ---> 550eb7a9d2b9 18:43:40 Step 4/23 : WORKDIR /device-sdk-go 18:43:40 ---> Running in dd35afa41ab0 18:43:41 Removing intermediate container dd35afa41ab0 18:43:41 ---> abae3c0e9aaf 18:43:41 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:43:41 ---> Running in 8d7addcb098f 18:43:41 Removing intermediate container 8d7addcb098f 18:43:41 ---> 1137f3ecc363 18:43:41 Step 6/23 : RUN apk add --update --no-cache make git 18:43:41 ---> Running in 390e6a55735b 18:43:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:43:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:43:41 OK: 265 MiB in 53 packages 18:43:42 Removing intermediate container 390e6a55735b 18:43:42 ---> 6bd941c86442 18:43:42 Step 7/23 : COPY go.mod vendor* ./ 18:43:42 ---> 3350f5b0032c 18:43:42 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:43:42 ---> Running in 996d5bc3760e 18:43:43 Removing intermediate container 996d5bc3760e 18:43:43 ---> 4c6681492a03 18:43:43 Step 9/23 : COPY . . 18:43:43 ---> 41b170d69810 18:43:43 Step 10/23 : RUN ${MAKE} 18:43:43 ---> Running in 46dbfe18d3ac 18:43:44 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:43:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16973 in /w/workspace/gexfoundry_device-sdk-go_PR-1460 [Pipeline] { [Pipeline] ws 18:43:44 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 18:43:45 The recommended git tool is: git 18:43:52 using credential edgex-jenkins-ssh 18:43:52 Cloning the remote Git repository 18:43:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:43:52 > git init /w/workspace/device-sdk-go/4 # timeout=10 18:43:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:43:53 > git --version # timeout=10 18:43:53 > git --version # 'git version 2.25.1' 18:43:53 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:43:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:43:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:43:56 Merging remotes/origin/main commit afe14f99071666e3a8a1e98015d177d59a71e5e7 into PR head commit 268da6f83e209ba80039c304e6dff6a0d7afc8ae 18:43:56 Merge succeeded, producing 13669fb83280f4da40837285b0236a0c07a9b4fe 18:43:56 Checking out Revision 13669fb83280f4da40837285b0236a0c07a9b4fe (PR-1460) 18:43:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:43:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:43:55 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1460/head:refs/remotes/origin/PR-1460 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:43:56 > git config core.sparsecheckout # timeout=10 18:43:56 > git checkout -f 268da6f83e209ba80039c304e6dff6a0d7afc8ae # timeout=10 18:43:56 > git remote # timeout=10 18:43:56 > git config --get remote.origin.url # timeout=10 18:43:56 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:56 > git merge afe14f99071666e3a8a1e98015d177d59a71e5e7 # timeout=10 18:43:56 > git rev-parse HEAD^{commit} # timeout=10 18:43:56 > git config core.sparsecheckout # timeout=10 18:43:56 > git checkout -f 13669fb83280f4da40837285b0236a0c07a9b4fe # timeout=10 18:44:00 Commit message: "Merge commit 'afe14f99071666e3a8a1e98015d177d59a71e5e7' into HEAD" 18:44:00 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:44:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:44:00 % Total % Received % Xferd Average Speed Time Time Time Current 18:44:00 Dload Upload Total Spent Left Speed 18:44:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 85006 18:44:00 > git rev-list --no-walk 2692f0563c057608cef1e768a4b9bc6c33380055 # timeout=10 [Pipeline] sh 18:44:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:44:01 + sudo tee /etc/docker/daemon.new 18:44:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:44:01 { 18:44:01 "registry-mirrors": [ 18:44:01 "https://nexus3.edgexfoundry.org:10001" 18:44:01 ], 18:44:01 "bip": "10.250.0.254/24", 18:44:01 "hosts": [ 18:44:01 "tcp://0.0.0.0:5555", 18:44:01 "unix:///var/run/docker.sock" 18:44:01 ], 18:44:01 "mtu": 1458, 18:44:01 "selinux-enabled": true, 18:44:01 "seccomp-profile": "/etc/docker/seccomp.json" 18:44:01 } [Pipeline] sh 18:44:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:44:02 + sudo service docker restart 18:44:05 Removing intermediate container 46dbfe18d3ac 18:44:05 ---> eaa4bd88d9bd 18:44:05 Step 11/23 : FROM alpine:3.17 18:44:05 3.17: Pulling from library/alpine 18:44:05 f56be85fc22e: Already exists 18:44:05 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:44:05 Status: Downloaded newer image for alpine:3.17 18:44:05 ---> 9ed4aefc74f6 18:44:05 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:44:05 ---> Running in 5aeee5fccaa8 18:44:05 Removing intermediate container 5aeee5fccaa8 18:44:05 ---> b61372138d34 18:44:05 Step 13/23 : RUN apk add --update --no-cache 18:44:05 ---> Running in 9110ae49d583 18:44:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:44:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:44:05 OK: 7 MiB in 15 packages 18:44:05 Removing intermediate container 9110ae49d583 18:44:05 ---> 2cf09def64fa 18:44:05 Step 14/23 : WORKDIR / 18:44:05 ---> Running in d54685919348 18:44:05 Removing intermediate container d54685919348 18:44:05 ---> 28092443268a 18:44:05 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:44:05 ---> a19d71a5a7a4 18:44:05 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:44:06 ---> 4434aabefed6 18:44:06 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:44:06 ---> 71c69222bb36 18:44:06 Step 18/23 : EXPOSE 59999 18:44:06 ---> Running in ba8746f97a11 18:44:07 Removing intermediate container ba8746f97a11 18:44:07 ---> 21736df76b98 18:44:07 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:44:07 ---> Running in 12641b38c710 18:44:07 Removing intermediate container 12641b38c710 18:44:07 ---> 8a8666e5d8d0 18:44:07 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:44:07 ---> Running in 6f11ed47cf9a 18:44:07 Removing intermediate container 6f11ed47cf9a 18:44:07 ---> 579cebd23714 18:44:07 Step 21/23 : LABEL arch=amd64 18:44:07 ---> Running in 4daba581060e 18:44:07 Removing intermediate container 4daba581060e 18:44:07 ---> 874d79f95627 18:44:07 Step 22/23 : LABEL git_sha=3dc6ec51a4db7d418ab62bd770cf2a9b47a5ec5e 18:44:07 ---> Running in 3712b0762f69 18:44:07 Removing intermediate container 3712b0762f69 18:44:07 ---> 8b57afd32c83 18:44:07 Step 23/23 : LABEL version=0.0.0 18:44:07 ---> Running in ff37b84f7bc9 18:44:07 Removing intermediate container ff37b84f7bc9 18:44:07 ---> 2d644663ab70 18:44:07 [Warning] One or more build-args [ARCH] were not consumed 18:44:07 Successfully built 2d644663ab70 18:44:07 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 18:44:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:08 18:44:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:08 latest: Pulling from edgex-lftools-log-publisher 18:44:08 5eb5b503b376: Pulling fs layer 18:44:08 5c69ac0246d0: Pulling fs layer 18:44:08 ec43610c2a17: Pulling fs layer 18:44:08 3a2ae6a8a46f: Pulling fs layer 18:44:08 33b1e0a273af: Pulling fs layer 18:44:08 3a2ae6a8a46f: Waiting 18:44:08 5d3b04190fa2: Pulling fs layer 18:44:08 33b1e0a273af: Waiting 18:44:08 2f39f015ded8: Pulling fs layer 18:44:08 5d3b04190fa2: Waiting 18:44:08 2f39f015ded8: Waiting 18:44:08 5c69ac0246d0: Verifying Checksum 18:44:08 5c69ac0246d0: Download complete 18:44:08 3a2ae6a8a46f: Verifying Checksum 18:44:08 3a2ae6a8a46f: Download complete 18:44:08 33b1e0a273af: Verifying Checksum 18:44:08 33b1e0a273af: Download complete 18:44:08 5d3b04190fa2: Verifying Checksum 18:44:08 5d3b04190fa2: Download complete 18:44:08 ec43610c2a17: Verifying Checksum 18:44:08 ec43610c2a17: Download complete 18:44:08 5eb5b503b376: Download complete 18:44:09 2f39f015ded8: Download complete 18:44:10 5eb5b503b376: Pull complete 18:44:10 5c69ac0246d0: Pull complete 18:44:10 ec43610c2a17: Pull complete 18:44:10 3a2ae6a8a46f: Pull complete 18:44:10 33b1e0a273af: Pull complete 18:44:10 5d3b04190fa2: Pull complete 18:44:15 2f39f015ded8: Pull complete 18:44:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:44:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:15 prd-ubuntu20.04-docker-8c-8g-16972 does not seem to be running inside a container 18:44:15 $ 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-1460 -v /w/workspace/gexfoundry_device-sdk-go_PR-1460:/w/workspace/gexfoundry_device-sdk-go_PR-1460:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:44:18 $ docker top 9aab84f208505d212e9e1c1057b2f646e10e74f3a249bc86799af304185e307d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:18 ---> job-cost.sh 18:44:18 lf-activate-venv: SKIPPING 18:44:18 INFO: No Stack... 18:44:18 INFO: Retrieving Pricing Info for: v3-standard-8 18:44:19 INFO: Archiving Costs [Pipeline] sh 18:44:19 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1460/archives/cost.csv 18:44:19 + cut -d, -f6 [Pipeline] lock 18:44:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1460-4-stack-cost] 18:44:19 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1460-4-stack-cost] did not exist. Created. 18:44:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1460-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:44:20 + echo total: 0.2199999988079071 [Pipeline] stash 18:44:20 Stashed 1 file(s) [Pipeline] } 18:44:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1460-4-stack-cost] [Pipeline] // lock [Pipeline] } 18:44:20 $ docker stop --time=1 9aab84f208505d212e9e1c1057b2f646e10e74f3a249bc86799af304185e307d 18:44:21 $ docker rm -f --volumes 9aab84f208505d212e9e1c1057b2f646e10e74f3a249bc86799af304185e307d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider 18:44:21 provisioning config files... [Pipeline] } [Pipeline] // withEnv [Pipeline] } 18:44:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config6464589339796733855tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:21 ---> docker-login.sh 18:44:21 nexus3.edgexfoundry.org:10001 18:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:22 Configure a credential helper to remove this warning. See 18:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:22 18:44:22 Login Succeeded 18:44:22 nexus3.edgexfoundry.org:10002 18:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:22 Configure a credential helper to remove this warning. See 18:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:22 18:44:22 Login Succeeded 18:44:22 nexus3.edgexfoundry.org:10003 18:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:23 Configure a credential helper to remove this warning. See 18:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:23 18:44:23 Login Succeeded 18:44:23 nexus3.edgexfoundry.org:10004 18:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:23 Configure a credential helper to remove this warning. See 18:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:23 18:44:23 Login Succeeded 18:44:23 docker.io 18:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:23 Configure a credential helper to remove this warning. See 18:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:23 18:44:23 Login Succeeded 18:44:23 ---> docker-login.sh ends [Pipeline] } 18:44:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:44:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:44:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:44:24 ========================================================= 18:44:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:44:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:24 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 18:44:24 Sending build context to Docker daemon 6.061MB 18:44:25 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 18:44:25 Step 2/10 : FROM ${BASE} AS builder 18:44:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:44:25 c41833b44d91: Pulling fs layer 18:44:25 ed15518f5707: Pulling fs layer 18:44:25 feae8fd75edb: Pulling fs layer 18:44:25 242c74f7c9fa: Pulling fs layer 18:44:25 3cdef696dda3: Pulling fs layer 18:44:25 2ced38df9373: Pulling fs layer 18:44:25 58f1dce35555: Pulling fs layer 18:44:25 3cdef696dda3: Waiting 18:44:25 242c74f7c9fa: Waiting 18:44:25 2ced38df9373: Waiting 18:44:25 58f1dce35555: Waiting 18:44:25 ed15518f5707: Verifying Checksum 18:44:25 ed15518f5707: Download complete 18:44:25 242c74f7c9fa: Verifying Checksum 18:44:25 242c74f7c9fa: Download complete 18:44:25 3cdef696dda3: Verifying Checksum 18:44:25 3cdef696dda3: Download complete 18:44:25 c41833b44d91: Download complete 18:44:26 c41833b44d91: Pull complete 18:44:26 58f1dce35555: Verifying Checksum 18:44:26 58f1dce35555: Download complete 18:44:26 ed15518f5707: Pull complete 18:44:27 feae8fd75edb: Verifying Checksum 18:44:27 feae8fd75edb: Download complete 18:44:27 2ced38df9373: Download complete 18:44:37 feae8fd75edb: Pull complete 18:44:38 242c74f7c9fa: Pull complete 18:44:38 3cdef696dda3: Pull complete 18:44:45 2ced38df9373: Pull complete 18:44:48 58f1dce35555: Pull complete 18:44:48 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 18:44:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:44:48 ---> fadd8f120f05 18:44:48 Step 3/10 : ARG MAKE=make build 18:44:49 ---> Running in 1cd20f7b927a 18:44:50 Removing intermediate container 1cd20f7b927a 18:44:50 ---> a09f8fb0a5c2 18:44:50 Step 4/10 : WORKDIR /device-sdk-go 18:44:50 ---> Running in b5defdb47bd3 18:44:50 Removing intermediate container b5defdb47bd3 18:44:50 ---> a4981620497c 18:44:50 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:44:50 ---> Running in 6c58ee6c9630 18:44:50 Removing intermediate container 6c58ee6c9630 18:44:50 ---> f145445f93dd 18:44:50 Step 6/10 : RUN apk add --update --no-cache make git 18:44:50 ---> Running in 9be8a878d67b 18:44:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:44:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:44:53 OK: 263 MiB in 53 packages 18:44:54 Removing intermediate container 9be8a878d67b 18:44:54 ---> 1ddc6f01e641 18:44:54 Step 7/10 : COPY go.mod vendor* ./ 18:44:55 ---> 3d2a820801c8 18:44:55 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:44:55 ---> Running in 96071d6caf17 18:45:51 Removing intermediate container 96071d6caf17 18:45:51 ---> 9f7f83020d2e 18:45:51 Step 9/10 : COPY . . 18:45:52 ---> 6135e1074775 18:45:52 Step 10/10 : RUN ${MAKE} 18:45:52 ---> Running in 38f45322ef4c 18:45:53 noop 18:45:56 Removing intermediate container 38f45322ef4c 18:45:56 ---> 9eb2ab865eca 18:45:56 Successfully built 9eb2ab865eca 18:45:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:56 + docker inspect -f . ci-base-image-arm64 18:45:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:57 prd-ubuntu20.04-docker-arm64-4c-16g-16973 does not seem to be running inside a container 18:45:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 18:45:58 $ docker top 1864bf78fc4bd71a18c566c0e416024e5d6e3369c3ede6038362d907bce7922a -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:59 + go version 18:45:59 go version go1.20.2 linux/arm64 [Pipeline] } 18:45:59 $ docker stop --time=1 1864bf78fc4bd71a18c566c0e416024e5d6e3369c3ede6038362d907bce7922a 18:46:00 $ docker rm -f --volumes 1864bf78fc4bd71a18c566c0e416024e5d6e3369c3ede6038362d907bce7922a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:01 + docker inspect -f . ci-base-image-arm64 18:46:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:01 prd-ubuntu20.04-docker-arm64-4c-16g-16973 does not seem to be running inside a container 18:46:01 $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 18:46:02 $ docker top 58a0bf67d25fd645a55f71a08b818b67ad6f8fbc5785617763ee9d71d3fc2852 -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:03 + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh 18:46:03 + make test 18:46:03 go test -race -coverprofile=coverage.out ./... 18:46:42 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:48:48 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:48:48 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:48:48 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:48:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:48:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:48:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.226s coverage: 27.6% of statements 18:48:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.288s coverage: 80.2% of statements 18:49:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:49:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:49:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.319s coverage: 86.0% of statements 18:49:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:49:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.447s coverage: 77.5% of statements 18:49:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:49:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:49:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:49:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.245s coverage: 14.3% of statements 18:49:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.413s coverage: 68.5% of statements 18:49:20 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.429s coverage: 89.2% of statements 18:49:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:49:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.226s coverage: 5.7% of statements 18:49:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:49:22 GO111MODULE=on go vet ./... 18:51:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:51:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:51:44 ./bin/test-attribution-txt.sh [Pipeline] echo 18:51:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:51:44 $ docker stop --time=1 58a0bf67d25fd645a55f71a08b818b67ad6f8fbc5785617763ee9d71d3fc2852 18:51:46 $ docker rm -f --volumes 58a0bf67d25fd645a55f71a08b818b67ad6f8fbc5785617763ee9d71d3fc2852 [Pipeline] // withDockerContainer [Pipeline] sh 18:51:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:51:48 Warning: overwriting stash ‘coverage-report’ 18:51:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:51:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:51:49 + ls -al . 18:51:49 total 280 18:51:49 drwxrwxr-x 10 jenkins jenkins 4096 May 25 18:46 . 18:51:49 drwxrwxr-x 4 jenkins jenkins 4096 May 25 18:43 .. 18:51:49 -rw-rw-r-- 1 jenkins jenkins 140 May 25 18:43 .dockerignore 18:51:49 drwxrwxr-x 8 jenkins jenkins 4096 May 25 18:43 .git 18:51:49 drwxrwxr-x 2 jenkins jenkins 4096 May 25 18:43 .github 18:51:49 -rw-rw-r-- 1 jenkins jenkins 137 May 25 18:43 .gitignore 18:51:49 -rw-rw-r-- 1 jenkins jenkins 42 May 25 18:43 .golangci.yml 18:51:49 -rw-rw-r-- 1 jenkins jenkins 44878 May 25 18:43 CHANGELOG.md 18:51:49 -rw-rw-r-- 1 jenkins jenkins 677 May 25 18:43 GOVERNANCE.md 18:51:49 -rw-rw-r-- 1 jenkins jenkins 885 May 25 18:43 Jenkinsfile 18:51:49 -rw-rw-r-- 1 jenkins jenkins 11341 May 25 18:43 LICENSE 18:51:49 -rw-rw-r-- 1 jenkins jenkins 1714 May 25 18:43 Makefile 18:51:49 -rw-rw-r-- 1 jenkins jenkins 619 May 25 18:43 OWNERS.md 18:51:49 -rw-rw-r-- 1 jenkins jenkins 4891 May 25 18:43 README.md 18:51:49 -rw-rw-r-- 1 jenkins jenkins 5 May 25 18:41 VERSION 18:51:49 drwxrwxr-x 2 jenkins jenkins 4096 May 25 18:43 bin 18:51:49 -rw-r--r-- 1 jenkins jenkins 106150 May 25 18:49 coverage.out 18:51:49 drwxrwxr-x 5 jenkins jenkins 4096 May 25 18:43 example 18:51:49 -rw-rw-r-- 1 jenkins jenkins 3193 May 25 18:43 go.mod 18:51:49 -rw-rw-r-- 1 jenkins jenkins 30789 May 25 18:43 go.sum 18:51:49 drwxrwxr-x 12 jenkins jenkins 4096 May 25 18:43 internal 18:51:49 drwxrwxr-x 3 jenkins jenkins 4096 May 25 18:43 openapi 18:51:49 drwxrwxr-x 6 jenkins jenkins 4096 May 25 18:43 pkg 18:51:49 drwxrwxr-x 4 jenkins jenkins 4096 May 25 18:43 snap 18:51:49 -rw-rw-r-- 1 jenkins jenkins 222 May 25 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:49 + 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=13669fb83280f4da40837285b0236a0c07a9b4fe --label arch=arm64 --label version=0.0.0 . 18:51:50 Sending build context to Docker daemon 6.168MB 18:51:50 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 18:51:50 Step 2/23 : FROM ${BASE} AS builder 18:51:50 ---> 9eb2ab865eca 18:51:50 Step 3/23 : ARG MAKE=make build 18:51:51 ---> Running in 3cac87e009a5 18:51:51 Removing intermediate container 3cac87e009a5 18:51:51 ---> 9066a1ab3540 18:51:51 Step 4/23 : WORKDIR /device-sdk-go 18:51:52 ---> Running in de7037f816c7 18:51:52 Removing intermediate container de7037f816c7 18:51:52 ---> 449209320699 18:51:52 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:51:52 ---> Running in c5e3d96be125 18:51:52 Removing intermediate container c5e3d96be125 18:51:52 ---> e44f92126092 18:51:52 Step 6/23 : RUN apk add --update --no-cache make git 18:51:52 ---> Running in dc2e5cf51880 18:51:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:51:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:51:55 OK: 263 MiB in 53 packages 18:51:56 Removing intermediate container dc2e5cf51880 18:51:56 ---> a1bc3e9e504b 18:51:56 Step 7/23 : COPY go.mod vendor* ./ 18:51:56 ---> a17800de81d0 18:51:56 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:51:56 ---> Running in c4cae18cf0d0 18:51:59 Removing intermediate container c4cae18cf0d0 18:51:59 ---> 0962d7755b6e 18:51:59 Step 9/23 : COPY . . 18:52:00 ---> 6063bf1ccde4 18:52:00 Step 10/23 : RUN ${MAKE} 18:52:00 ---> Running in dda8c818403a 18:52:00 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:54:07 Removing intermediate container dda8c818403a 18:54:07 ---> 5e373655a567 18:54:07 Step 11/23 : FROM alpine:3.17 18:54:07 3.17: Pulling from library/alpine 18:54:07 c41833b44d91: Already exists 18:54:07 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:54:07 Status: Downloaded newer image for alpine:3.17 18:54:07 ---> 51e60588ff2c 18:54:07 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:54:07 ---> Running in 182daa8dfcd4 18:54:07 Removing intermediate container 182daa8dfcd4 18:54:07 ---> efb24b666f07 18:54:07 Step 13/23 : RUN apk add --update --no-cache 18:54:07 ---> Running in b5dec3fe7c72 18:54:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:54:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:54:08 OK: 7 MiB in 15 packages 18:54:09 Removing intermediate container b5dec3fe7c72 18:54:09 ---> 25e03e33ab7a 18:54:09 Step 14/23 : WORKDIR / 18:54:09 ---> Running in 4638e7b29c68 18:54:09 Removing intermediate container 4638e7b29c68 18:54:09 ---> 781f7a981b32 18:54:09 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:54:10 ---> 763d95453c93 18:54:10 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:54:11 ---> 14daaf09a786 18:54:11 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:54:12 ---> 726eaaa7c949 18:54:12 Step 18/23 : EXPOSE 59999 18:54:12 ---> Running in 3f9b457250d1 18:54:12 Removing intermediate container 3f9b457250d1 18:54:12 ---> 296eb398eca7 18:54:12 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:54:12 ---> Running in f8958896a207 18:54:12 Removing intermediate container f8958896a207 18:54:12 ---> 7d7c903bbec9 18:54:12 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:54:12 ---> Running in 24456e6a797a 18:54:13 Removing intermediate container 24456e6a797a 18:54:13 ---> 2873022d64cb 18:54:13 Step 21/23 : LABEL arch=arm64 18:54:13 ---> Running in e663b38ba6fd 18:54:13 Removing intermediate container e663b38ba6fd 18:54:13 ---> f8942cdd928b 18:54:13 Step 22/23 : LABEL git_sha=13669fb83280f4da40837285b0236a0c07a9b4fe 18:54:13 ---> Running in 3a529e869313 18:54:13 Removing intermediate container 3a529e869313 18:54:13 ---> 9a4cb05c47d6 18:54:13 Step 23/23 : LABEL version=0.0.0 18:54:13 ---> Running in 0575d11c2edd 18:54:14 Removing intermediate container 0575d11c2edd 18:54:14 ---> 0d84f72244b9 18:54:14 [Warning] One or more build-args [ARCH] were not consumed 18:54:14 Successfully built 0d84f72244b9 18:54:14 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 18:54:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:54:14 18:54:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:54:14 arm64: Pulling from edgex-lftools-log-publisher 18:54:14 8998bd30e6a1: Pulling fs layer 18:54:14 04944245beec: Pulling fs layer 18:54:14 699f458cf7ca: Pulling fs layer 18:54:14 765212b225bb: Pulling fs layer 18:54:14 f23df028b6ca: Pulling fs layer 18:54:14 d65c8cfc05b1: Pulling fs layer 18:54:14 2437ff75d9bd: Pulling fs layer 18:54:14 f23df028b6ca: Waiting 18:54:14 d65c8cfc05b1: Waiting 18:54:14 2437ff75d9bd: Waiting 18:54:14 765212b225bb: Waiting 18:54:15 04944245beec: Verifying Checksum 18:54:15 04944245beec: Download complete 18:54:15 765212b225bb: Verifying Checksum 18:54:15 765212b225bb: Download complete 18:54:15 f23df028b6ca: Download complete 18:54:15 d65c8cfc05b1: Verifying Checksum 18:54:15 d65c8cfc05b1: Download complete 18:54:15 699f458cf7ca: Verifying Checksum 18:54:15 699f458cf7ca: Download complete 18:54:15 8998bd30e6a1: Download complete 18:54:18 2437ff75d9bd: Verifying Checksum 18:54:18 2437ff75d9bd: Download complete 18:54:19 8998bd30e6a1: Pull complete 18:54:20 04944245beec: Pull complete 18:54:21 699f458cf7ca: Pull complete 18:54:22 765212b225bb: Pull complete 18:54:22 f23df028b6ca: Pull complete 18:54:23 d65c8cfc05b1: Pull complete 18:54:36 2437ff75d9bd: Pull complete 18:54:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:54:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:54:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:36 prd-ubuntu20.04-docker-arm64-4c-16g-16973 does not seem to be running inside a container 18:54:36 $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 18:54:38 $ docker top e1b8f0c0df328402c60743419ceab87566aed083a3075a8c2034c8c74bb4db0e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:54:39 ---> job-cost.sh 18:54:39 lf-activate-venv: SKIPPING 18:54:39 INFO: No Stack... 18:54:40 INFO: Retrieving Pricing Info for: v3-standard-4 18:54:40 INFO: Archiving Costs [Pipeline] sh 18:54:41 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 18:54:41 + cut -d, -f6 [Pipeline] lock 18:54:41 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1460-4-stack-cost] 18:54:41 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1460-4-stack-cost] did not exist. Created. 18:54:41 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1460-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:54:41 /w/workspace/device-sdk-go/4@tmp/durable-ef041d60/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:54:41 + echo total: 0.10999999940395355 [Pipeline] stash 18:54:41 Warning: overwriting stash ‘stack-cost’ 18:54:41 Stashed 1 file(s) [Pipeline] } 18:54:41 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1460-4-stack-cost] [Pipeline] // lock [Pipeline] } 18:54:41 $ docker stop --time=1 e1b8f0c0df328402c60743419ceab87566aed083a3075a8c2034c8c74bb4db0e 18:54:43 $ docker rm -f --volumes e1b8f0c0df328402c60743419ceab87566aed083a3075a8c2034c8c74bb4db0e [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 18:54:43 provisioning config files... 18:54:43 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp/config1808023874775911791tmp [Pipeline] { [Pipeline] sh 18:54:43 + set +x 18:54:43 + curl -s https://codecov.io/bash 18:54:43 + bash -s -- 18:54:43 18:54:43 _____ _ 18:54:43 / ____| | | 18:54:43 | | ___ __| | ___ ___ _____ __ 18:54:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:54:43 | |___| (_) | (_| | __/ (_| (_) \ V / 18:54:43 \_____\___/ \__,_|\___|\___\___/ \_/ 18:54:43 Bash-1.0.6 18:54:43 18:54:43 18:54:43 ==> git version 2.25.1 found 18:54:43 ==> 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 18:54:43 Release-Date: 2020-01-08 18:54:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:54:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:54:43 ==> Jenkins CI detected. 18:54:43 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1460 18:54:43 project root: . 18:54:43 --> token set from env 18:54:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:54:44 ==> Running gcov in . (disable via -X gcov) 18:54:44 ==> Python coveragepy not found 18:54:44 ==> Searching for coverage reports in: 18:54:44 + . 18:54:44 -> Found 1 reports 18:54:44 ==> Detecting git/mercurial file structure 18:54:44 ==> Reading reports 18:54:44 + ./coverage.out bytes=106150 18:54:44 ==> Appending adjustments 18:54:44 https://docs.codecov.io/docs/fixing-reports 18:54:44 + Found adjustments 18:54:44 ==> Gzipping contents 18:54:44 16K /tmp/codecov.w1KqGG.gz 18:54:44 ==> Uploading reports 18:54:44 url: https://codecov.io 18:54:44 query: branch=PR-1460&commit=3dc6ec51a4db7d418ab62bd770cf2a9b47a5ec5e&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1460%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1460&job=&cmd_args= 18:54:44 -> Pinging Codecov 18:54:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1460&commit=3dc6ec51a4db7d418ab62bd770cf2a9b47a5ec5e&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1460%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1460&job=&cmd_args= 18:54:44 -> Uploading to 18:54:44 https://storage.googleapis.com/codecov/v4/raw/2023-05-25/7E55EF52A471D76F132DFD9A03CDDE97/3dc6ec51a4db7d418ab62bd770cf2a9b47a5ec5e/55f894b2-efa0-4e50-9525-fbc4a7c03649.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230525T185444Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=00c2b99c2f6031b4413ae2a801324254a8d4df94de3466f54907271b0e80bce2 18:54:44 % Total % Received % Xferd Average Speed Time Time Time Current 18:54:44 Dload Upload Total Spent Left Speed 18:54:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15154 0 0 100 15154 0 68570 --:--:-- --:--:-- --:--:-- 68261 100 15154 0 0 100 15154 0 68570 --:--:-- --:--:-- --:--:-- 68261 18:54:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/3dc6ec51a4db7d418ab62bd770cf2a9b47a5ec5e [Pipeline] } 18:54:44 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 18:54:45 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1460/archives ] 18:54:45 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1460/archives 18:54:45 total 16 18:54:45 drwxr-xr-x 3 root root 4096 May 25 18:44 . 18:54:45 drwxrwxr-x 12 jenkins jenkins 4096 May 25 18:44 .. 18:54:45 drwxr-xr-x 2 root root 4096 May 25 18:44 cost 18:54:45 -rw-r--r-- 1 root root 86 May 25 18:44 cost.csv 18:54:45 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1460/archives 18:54:45 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1460/archives 18:54:45 total 16 18:54:45 drwxr-xr-x 3 jenkins jenkins 4096 May 25 18:44 . 18:54:45 drwxrwxr-x 12 jenkins jenkins 4096 May 25 18:44 .. 18:54:45 drwxr-xr-x 2 jenkins jenkins 4096 May 25 18:44 cost 18:54:45 -rw-r--r-- 1 jenkins jenkins 86 May 25 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:54:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:54:46 ---> package-listing.sh 18:54:46 ++ tr '[:upper:]' '[:lower:]' 18:54:46 ++ facter osfamily 18:54:46 + OS_FAMILY=debian 18:54:46 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1460 18:54:46 + START_PACKAGES=/tmp/packages_start.txt 18:54:46 + END_PACKAGES=/tmp/packages_end.txt 18:54:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:54:46 + PACKAGES=/tmp/packages_start.txt 18:54:46 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1460 ']' 18:54:46 + PACKAGES=/tmp/packages_end.txt 18:54:46 + case "${OS_FAMILY}" in 18:54:46 + dpkg -l 18:54:46 + grep '^ii' 18:54:46 + '[' -f /tmp/packages_start.txt ']' 18:54:46 + '[' -f /tmp/packages_end.txt ']' 18:54:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:54:46 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1460 ']' 18:54:46 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1460/archives/ 18:54:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1460/archives/ [Pipeline] echo 18:54:46 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1460/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:54:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:54:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:47 prd-ubuntu20.04-docker-8c-8g-16972 does not seem to be running inside a container 18:54:47 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1460/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-1460 -v /w/workspace/gexfoundry_device-sdk-go_PR-1460:/w/workspace/gexfoundry_device-sdk-go_PR-1460:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1460@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 18:54:48 $ docker top 8e44c75cf72d4b3306aac930517ed348fce27a55d9cb017821d87aa1de2cda62 -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:48 + touch /tmp/pre-build-complete [Pipeline] sh 18:54:48 + mkdir -p /var/log/sysstat [Pipeline] sh 18:54:48 + ls /var/log/sa-host 18:54:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:54:49 provisioning config files... 18:54:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp/config1576038345367214516tmp [Pipeline] { [Pipeline] echo 18:54:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:54:49 ---> create-netrc.sh [Pipeline] } 18:54:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:54:49 ---> python-tools-install.sh [Pipeline] echo 18:54:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:54:49 ---> sudo-logs.sh 18:54:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:54:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:54:50 ---> job-cost.sh 18:54:50 lf-activate-venv: SKIPPING 18:54:50 DEBUG: total: 0.2199999988079071 18:54:50 INFO: Retrieving Stack Cost... 18:54:50 INFO: Retrieving Pricing Info for: v3-standard-8 18:54:51 INFO: Archiving Costs [Pipeline] echo 18:54:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:54:51 ---> logs-deploy.sh 18:54:51 lf-activate-venv: SKIPPING 18:54:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1460/4 18:54:51 INFO: archiving workspace using pattern(s): 18:54:52 Archives upload complete. 18:54:52 INFO: archiving logs to Nexus 18:54:53 ---> uname -a: 18:54:53 Linux prd-ubuntu20-04-docker-8c-8g-16972 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:54:53 18:54:53 18:54:53 ---> lscpu: 18:54:53 Architecture: x86_64 18:54:53 CPU op-mode(s): 32-bit, 64-bit 18:54:53 Byte Order: Little Endian 18:54:53 Address sizes: 40 bits physical, 48 bits virtual 18:54:53 CPU(s): 8 18:54:53 On-line CPU(s) list: 0-7 18:54:53 Thread(s) per core: 1 18:54:53 Core(s) per socket: 1 18:54:53 Socket(s): 8 18:54:53 NUMA node(s): 1 18:54:53 Vendor ID: AuthenticAMD 18:54:53 CPU family: 23 18:54:53 Model: 49 18:54:53 Model name: AMD EPYC-Rome Processor 18:54:53 Stepping: 0 18:54:53 CPU MHz: 2799.998 18:54:53 BogoMIPS: 5599.99 18:54:53 Virtualization: AMD-V 18:54:53 Hypervisor vendor: KVM 18:54:53 Virtualization type: full 18:54:53 L1d cache: 256 KiB 18:54:53 L1i cache: 256 KiB 18:54:53 L2 cache: 4 MiB 18:54:53 L3 cache: 128 MiB 18:54:53 NUMA node0 CPU(s): 0-7 18:54:53 Vulnerability Itlb multihit: Not affected 18:54:53 Vulnerability L1tf: Not affected 18:54:53 Vulnerability Mds: Not affected 18:54:53 Vulnerability Meltdown: Not affected 18:54:53 Vulnerability Mmio stale data: Not affected 18:54:53 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:54:53 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:54:53 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:54:53 Vulnerability Srbds: Not affected 18:54:53 Vulnerability Tsx async abort: Not affected 18:54:53 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 18:54:53 18:54:53 18:54:53 ---> nproc: 18:54:53 8 18:54:53 18:54:53 18:54:53 ---> df -h: 18:54:53 Filesystem Size Used Avail Use% Mounted on 18:54:53 overlay 155G 12G 144G 8% / 18:54:53 tmpfs 64M 0 64M 0% /dev 18:54:53 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:54:53 shm 64M 0 64M 0% /dev/shm 18:54:53 /dev/vda1 155G 12G 144G 8% /facter-os 18:54:53 18:54:53 18:54:53 ---> sar -b -r -n DEV: 18:54:53 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-16972) 05/25/23 _x86_64_ (8 CPU) 18:54:53 18:54:53 18:40:54 LINUX RESTART (8 CPU) 18:54:53 18:54:53 18:41:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:54:53 18:42:01 337.82 47.98 289.84 0.00 5413.66 159596.93 0.00 18:54:53 18:43:01 167.22 1.35 165.87 0.00 33.86 62908.45 0.00 18:54:53 18:44:01 92.03 0.22 91.82 0.00 7.87 26351.62 0.00 18:54:53 18:45:01 98.85 0.05 98.80 0.00 7.46 26664.71 0.00 18:54:53 18:46:01 18.25 7.07 11.18 0.00 898.65 2163.51 0.00 18:54:53 18:47:01 40.88 4.53 36.34 0.00 4278.09 6762.07 0.00 18:54:53 18:48:01 3.62 0.02 3.60 0.00 0.13 92.10 0.00 18:54:53 18:49:01 2.00 0.00 2.00 0.00 0.00 21.73 0.00 18:54:53 18:50:01 1.47 0.00 1.47 0.00 0.00 16.26 0.00 18:54:53 18:51:02 1.58 0.00 1.58 0.00 0.00 18.13 0.00 18:54:53 18:52:01 1.68 0.00 1.68 0.00 0.00 19.11 0.00 18:54:53 18:53:01 2.15 0.00 2.15 0.00 0.00 24.00 0.00 18:54:53 18:54:01 1.40 0.00 1.40 0.00 0.00 16.00 0.00 18:54:53 Average: 59.23 4.72 54.51 0.00 819.51 21925.57 0.00 18:54:53 18:54:53 18:41:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:54:53 18:42:01 29167324 31593792 718616 2.19 72152 2634852 1842624 5.43 990920 2368112 465648 18:54:53 18:43:01 27919060 31551184 745416 2.27 145456 3660804 1906720 5.62 1396416 3088572 455108 18:54:53 18:44:01 27921808 31542536 756364 2.30 149420 3654172 2054280 6.05 1280964 3209036 208112 18:54:53 18:45:01 27661468 31585764 711816 2.16 159332 3910940 1763240 5.20 1253788 3457864 140 18:54:53 18:46:01 27525020 31558448 727484 2.21 166780 4013508 1537780 4.53 1335308 3500012 1192 18:54:53 18:47:01 27123124 31563156 720496 2.19 193468 4372244 1838572 5.42 1580536 3631608 136 18:54:53 18:48:01 27128088 31563144 720372 2.19 192032 4368992 1807488 5.33 1579028 3628412 8 18:54:53 18:49:01 27136808 31571988 711352 2.16 192096 4368996 1807488 5.33 1570068 3628412 4 18:54:53 18:50:01 27137036 31572320 710960 2.16 192176 4369000 1807488 5.33 1570092 3628464 16 18:54:53 18:51:02 27136648 31572032 711176 2.16 192244 4369004 1807488 5.33 1570504 3628472 164 18:54:53 18:52:01 27136660 31572220 710716 2.16 192316 4369004 1807488 5.33 1570612 3628476 12 18:54:53 18:53:01 27136852 31572652 710588 2.16 192400 4369008 1807488 5.33 1570448 3628604 4 18:54:53 18:54:01 27137036 31572912 710292 2.16 192476 4369012 1807488 5.33 1570408 3628616 12 18:54:53 Average: 27482072 31568627 720434 2.19 171719 4063810 1815049 5.35 1449161 3434974 86966 18:54:53 18:54:53 18:41:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:54:53 18:42:01 docker0 8.26 8.78 0.84 79.01 0.00 0.00 0.00 0.00 18:54:53 18:42:01 lo 7.00 7.00 0.67 0.67 0.00 0.00 0.00 0.00 18:54:53 18:42:01 ens3 614.93 390.12 6802.30 110.76 0.00 0.00 0.00 0.00 18:54:53 18:43:01 docker0 180.60 304.50 14.26 1933.58 0.00 0.00 0.00 0.00 18:54:53 18:43:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:54:53 18:43:01 ens3 336.01 198.92 1962.68 28.96 0.00 0.00 0.00 0.00 18:54:53 18:43:01 veth59eb3db 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 18:54:53 18:44:01 docker0 1.40 3.55 0.09 42.53 0.00 0.00 0.00 0.00 18:54:53 18:44:01 lo 0.27 0.27 0.03 0.03 0.00 0.00 0.00 0.00 18:54:53 18:44:01 ens3 27.33 15.23 63.23 10.22 0.00 0.00 0.00 0.00 18:54:53 18:45:01 docker0 1.38 3.47 0.09 42.51 0.00 0.00 0.00 0.00 18:54:53 18:45:01 lo 1.80 1.80 0.17 0.17 0.00 0.00 0.00 0.00 18:54:53 18:45:01 ens3 101.43 61.55 2566.22 11.81 0.00 0.00 0.00 0.00 18:54:53 18:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:54:53 18:46:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 18:54:53 18:46:01 ens3 53.36 20.60 913.70 1.59 0.00 0.00 0.00 0.00 18:54:53 18:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:54:53 18:47:01 lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 18:54:53 18:47:01 ens3 138.76 67.89 1954.58 4.73 0.00 0.00 0.00 0.00 18:54:53 18:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:54:53 18:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:54:53 18:48:01 ens3 0.08 0.07 0.00 0.00 0.00 0.00 0.00 0.00 18:54:53 18:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:54:53 18:49:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:54:53 18:49:01 ens3 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 18:54:53 18:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:54:53 18:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:54:53 18:50:01 ens3 0.05 0.03 0.00 0.00 0.00 0.00 0.00 0.00 18:54:53 18:51:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:54:53 18:51:02 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:54:53 18:51:02 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 18:54:53 18:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:54:53 18:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:54:53 18:52:01 ens3 0.14 0.12 0.08 0.07 0.00 0.00 0.00 0.00 18:54:53 18:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:54:53 18:53:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:54:53 18:53:01 ens3 1.67 1.45 8.37 0.10 0.00 0.00 0.00 0.00 18:54:53 18:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:54:53 18:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:54:53 18:54:01 ens3 2.60 1.52 3.95 0.10 0.00 0.00 0.00 0.00 18:54:53 Average: docker0 14.76 24.67 1.18 161.55 0.00 0.00 0.00 0.00 18:54:53 Average: lo 0.83 0.83 0.08 0.08 0.00 0.00 0.00 0.00 18:54:53 Average: ens3 98.33 58.36 1099.55 12.97 0.00 0.00 0.00 0.00 18:54:53 18:54:53 18:54:53 ---> sar -P ALL: 18:54:53 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-16972) 05/25/23 _x86_64_ (8 CPU) 18:54:53 18:54:53 18:40:54 LINUX RESTART (8 CPU) 18:54:53 18:54:53 18:41:01 CPU %user %nice %system %iowait %steal %idle 18:54:53 18:42:01 all 9.69 0.00 3.57 2.45 0.06 84.23 18:54:53 18:42:01 0 12.75 0.00 4.02 2.05 0.07 81.11 18:54:53 18:42:01 1 7.53 0.00 4.73 7.40 0.07 80.27 18:54:53 18:42:01 2 9.96 0.00 3.80 2.43 0.05 83.76 18:54:53 18:42:01 3 10.10 0.00 4.09 0.62 0.05 85.14 18:54:53 18:42:01 4 11.19 0.00 2.12 0.92 0.05 85.72 18:54:53 18:42:01 5 7.95 0.00 2.97 0.25 0.05 88.79 18:54:53 18:42:01 6 10.18 0.00 3.64 0.25 0.07 85.86 18:54:53 18:42:01 7 7.89 0.00 3.18 5.66 0.08 83.19 18:54:53 18:43:01 all 22.21 0.00 5.05 2.44 0.06 70.23 18:54:53 18:43:01 0 23.41 0.00 5.25 0.77 0.05 70.52 18:54:53 18:43:01 1 23.11 0.00 4.41 0.20 0.07 72.21 18:54:53 18:43:01 2 23.93 0.00 4.85 0.13 0.05 71.03 18:54:53 18:43:01 3 25.01 0.00 5.64 0.79 0.07 68.49 18:54:53 18:43:01 4 21.55 0.00 5.45 0.42 0.07 72.52 18:54:53 18:43:01 5 20.38 0.00 4.43 0.10 0.07 75.02 18:54:53 18:43:01 6 20.12 0.00 4.43 0.08 0.07 75.29 18:54:53 18:43:01 7 20.18 0.00 5.93 17.10 0.07 56.73 18:54:53 18:44:01 all 42.70 0.00 6.84 1.30 0.07 49.09 18:54:53 18:44:01 0 42.44 0.00 6.78 2.05 0.07 48.65 18:54:53 18:44:01 1 43.46 0.00 7.18 0.84 0.07 48.46 18:54:53 18:44:01 2 44.63 0.00 7.48 4.78 0.08 43.03 18:54:53 18:44:01 3 47.58 0.00 7.78 0.55 0.07 44.02 18:54:53 18:44:01 4 41.03 0.00 6.28 0.34 0.07 52.29 18:54:53 18:44:01 5 39.51 0.00 5.64 0.30 0.07 54.47 18:54:53 18:44:01 6 40.89 0.00 6.93 0.02 0.07 52.09 18:54:53 18:44:01 7 42.00 0.00 6.65 1.54 0.08 49.73 18:54:53 18:45:01 all 3.14 0.00 1.51 1.39 0.03 93.92 18:54:53 18:45:01 0 3.25 0.00 1.71 0.03 0.03 94.98 18:54:53 18:45:01 1 4.05 0.00 1.42 0.67 0.05 93.80 18:54:53 18:45:01 2 4.33 0.00 1.92 6.86 0.05 86.84 18:54:53 18:45:01 3 2.65 0.00 1.54 0.97 0.02 94.82 18:54:53 18:45:01 4 1.80 0.00 1.39 1.25 0.03 95.53 18:54:53 18:45:01 5 3.95 0.00 1.32 0.45 0.03 94.24 18:54:53 18:45:01 6 2.59 0.00 1.56 0.81 0.02 95.03 18:54:53 18:45:01 7 2.48 0.00 1.24 0.08 0.03 96.16 18:54:53 18:46:01 all 0.40 0.00 0.31 0.18 0.01 99.10 18:54:53 18:46:01 0 0.42 0.00 0.28 0.05 0.00 99.25 18:54:53 18:46:01 1 0.32 0.00 0.68 0.02 0.02 98.97 18:54:53 18:46:01 2 0.18 0.00 0.20 0.27 0.02 99.33 18:54:53 18:46:01 3 0.87 0.00 0.48 0.55 0.02 98.08 18:54:53 18:46:01 4 0.03 0.00 0.08 0.00 0.00 99.88 18:54:53 18:46:01 5 0.07 0.00 0.30 0.02 0.00 99.62 18:54:53 18:46:01 6 0.27 0.00 0.18 0.00 0.00 99.55 18:54:53 18:46:01 7 1.05 0.00 0.27 0.55 0.00 98.13 18:54:53 18:47:01 all 1.92 0.00 1.38 0.51 0.02 96.16 18:54:53 18:47:01 0 3.79 0.00 1.24 0.72 0.03 94.22 18:54:53 18:47:01 1 2.37 0.00 2.25 0.73 0.02 94.62 18:54:53 18:47:01 2 1.50 0.00 0.94 0.74 0.02 96.81 18:54:53 18:47:01 3 1.26 0.00 1.17 1.07 0.03 96.47 18:54:53 18:47:01 4 1.74 0.00 1.42 0.03 0.02 96.79 18:54:53 18:47:01 5 1.29 0.00 0.79 0.25 0.03 97.64 18:54:53 18:47:01 6 1.98 0.00 0.97 0.03 0.02 97.00 18:54:53 18:47:01 7 1.45 0.00 2.27 0.50 0.02 95.76 18:54:53 18:48:01 all 0.07 0.00 0.05 0.01 0.01 99.86 18:54:53 18:48:01 0 0.05 0.00 0.03 0.07 0.02 99.83 18:54:53 18:48:01 1 0.07 0.00 0.03 0.00 0.00 99.90 18:54:53 18:48:01 2 0.12 0.00 0.03 0.00 0.02 99.83 18:54:53 18:48:01 3 0.03 0.00 0.07 0.02 0.03 99.85 18:54:53 18:48:01 4 0.22 0.00 0.08 0.00 0.02 99.68 18:54:53 18:48:01 5 0.07 0.00 0.03 0.00 0.00 99.90 18:54:53 18:48:01 6 0.03 0.00 0.03 0.00 0.02 99.92 18:54:53 18:48:01 7 0.00 0.00 0.05 0.00 0.00 99.95 18:54:53 18:49:01 all 0.13 0.00 0.02 0.00 0.01 99.84 18:54:53 18:49:01 0 0.03 0.00 0.03 0.03 0.02 99.88 18:54:53 18:49:01 1 0.03 0.00 0.03 0.00 0.00 99.93 18:54:53 18:49:01 2 0.03 0.00 0.03 0.00 0.00 99.93 18:54:53 18:49:01 3 0.03 0.00 0.02 0.00 0.03 99.92 18:54:53 18:49:01 4 0.07 0.00 0.00 0.00 0.00 99.93 18:54:53 18:49:01 5 0.00 0.00 0.00 0.00 0.00 100.00 18:54:53 18:49:01 6 0.83 0.00 0.05 0.00 0.02 99.10 18:54:53 18:49:01 7 0.00 0.00 0.00 0.00 0.00 100.00 18:54:53 18:50:01 all 0.10 0.00 0.01 0.01 0.01 99.87 18:54:53 18:50:01 0 0.02 0.00 0.02 0.03 0.00 99.93 18:54:53 18:50:01 1 0.02 0.00 0.00 0.00 0.02 99.97 18:54:53 18:50:01 2 0.02 0.00 0.02 0.00 0.02 99.95 18:54:53 18:50:01 3 0.05 0.00 0.00 0.02 0.03 99.90 18:54:53 18:50:01 4 0.00 0.00 0.00 0.00 0.00 100.00 18:54:53 18:50:01 5 0.03 0.00 0.00 0.00 0.00 99.97 18:54:53 18:50:01 6 0.70 0.00 0.03 0.00 0.00 99.27 18:54:53 18:50:01 7 0.00 0.00 0.00 0.00 0.00 100.00 18:54:53 18:51:02 all 0.02 0.00 0.01 0.01 0.01 99.95 18:54:53 18:51:02 0 0.05 0.00 0.00 0.05 0.02 99.88 18:54:53 18:51:02 1 0.00 0.00 0.00 0.00 0.00 100.00 18:54:53 18:51:02 2 0.00 0.00 0.00 0.00 0.02 99.98 18:54:53 18:51:02 3 0.03 0.00 0.05 0.00 0.03 99.88 18:54:53 18:51:02 4 0.02 0.00 0.00 0.00 0.02 99.97 18:54:53 18:51:02 5 0.00 0.00 0.00 0.00 0.00 100.00 18:54:53 18:51:02 6 0.05 0.00 0.02 0.00 0.02 99.92 18:54:53 18:51:02 7 0.00 0.00 0.00 0.00 0.02 99.98 18:54:53 18:52:01 all 0.10 0.00 0.01 0.01 0.01 99.87 18:54:53 18:52:01 0 0.02 0.00 0.02 0.03 0.02 99.92 18:54:53 18:52:01 1 0.00 0.00 0.02 0.00 0.00 99.98 18:54:53 18:52:01 2 0.02 0.00 0.02 0.00 0.02 99.95 18:54:53 18:52:01 3 0.02 0.00 0.02 0.02 0.03 99.92 18:54:53 18:52:01 4 0.03 0.00 0.02 0.00 0.00 99.95 18:54:53 18:52:01 5 0.00 0.00 0.02 0.00 0.00 99.98 18:54:53 18:52:01 6 0.73 0.00 0.00 0.00 0.02 99.26 18:54:53 18:52:01 7 0.00 0.00 0.00 0.00 0.00 100.00 18:54:53 18:54:53 18:52:01 CPU %user %nice %system %iowait %steal %idle 18:54:53 18:53:01 all 0.04 0.00 0.01 0.01 0.01 99.94 18:54:53 18:53:01 0 0.05 0.00 0.02 0.03 0.02 99.88 18:54:53 18:53:01 1 0.00 0.00 0.02 0.00 0.00 99.98 18:54:53 18:53:01 2 0.05 0.00 0.00 0.00 0.00 99.95 18:54:53 18:53:01 3 0.10 0.00 0.00 0.02 0.02 99.87 18:54:53 18:53:01 4 0.03 0.00 0.02 0.00 0.00 99.95 18:54:53 18:53:01 5 0.03 0.00 0.02 0.00 0.02 99.93 18:54:53 18:53:01 6 0.05 0.00 0.00 0.00 0.00 99.95 18:54:53 18:53:01 7 0.02 0.00 0.00 0.00 0.00 99.98 18:54:53 18:54:01 all 0.03 0.00 0.01 0.00 0.01 99.94 18:54:53 18:54:01 0 0.03 0.00 0.02 0.03 0.02 99.90 18:54:53 18:54:01 1 0.02 0.00 0.00 0.00 0.00 99.98 18:54:53 18:54:01 2 0.00 0.00 0.03 0.00 0.02 99.95 18:54:53 18:54:01 3 0.03 0.00 0.05 0.00 0.03 99.88 18:54:53 18:54:01 4 0.03 0.00 0.00 0.00 0.02 99.95 18:54:53 18:54:01 5 0.03 0.00 0.02 0.00 0.00 99.95 18:54:53 18:54:01 6 0.12 0.00 0.00 0.00 0.02 99.87 18:54:53 18:54:01 7 0.00 0.00 0.00 0.00 0.00 100.00 18:54:53 Average: all 6.16 0.00 1.44 0.64 0.03 91.74 18:54:53 Average: 0 6.61 0.00 1.49 0.46 0.03 91.42 18:54:53 Average: 1 6.20 0.00 1.59 0.76 0.02 91.43 18:54:53 Average: 2 6.48 0.00 1.48 1.17 0.03 90.85 18:54:53 Average: 3 6.73 0.00 1.60 0.36 0.04 91.28 18:54:53 Average: 4 5.93 0.00 1.29 0.23 0.02 92.53 18:54:53 Average: 5 5.60 0.00 1.19 0.11 0.02 93.09 18:54:53 Average: 6 6.02 0.00 1.37 0.09 0.02 92.50 18:54:53 Average: 7 5.73 0.00 1.50 1.94 0.02 90.81 18:54:53 18:54:53 18:54:53