Pull request #360 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 5182527f7cf2736206c97941898c434376f26d9b+2a4052b0b2f1e637c9c652109488342642a86f02 (f585922265c8ee650c548d83a87dbb411eb45d08) 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-ssh14300301282644990099.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh6231220593269838662.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-360/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-rest-go/branches/PR-360/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3019728390912740246.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 05349e3f996d6f6d0c0ad3c2ccda408eae121119 # timeout=10 Commit message: "Merge pull request #444 from ernestojeda/update-streams" > 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-ssh10202278865084226622.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-rest-go/branches/PR-360/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-rest-go/branches/PR-360/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16098807250143943213.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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16289 in /w/workspace/gexfoundry_device-rest-go_PR-360 [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-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-360 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2a4052b0b2f1e637c9c652109488342642a86f02 into PR head commit 5182527f7cf2736206c97941898c434376f26d9b Merge succeeded, producing 5182527f7cf2736206c97941898c434376f26d9b Checking out Revision 5182527f7cf2736206c97941898c434376f26d9b (PR-360) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/360/head:refs/remotes/origin/PR-360 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5182527f7cf2736206c97941898c434376f26d9b # 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 2a4052b0b2f1e637c9c652109488342642a86f02 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5182527f7cf2736206c97941898c434376f26d9b # timeout=10 Commit message: "docs: [Device REST] Add Swagger file" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:12:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:12:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:12:27 ========================================================= 21:12:27 EdgeX Global Pipelines Version Info 21:12:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:12:28 ------------------- 21:12:28 stable info: 21:12:28 ------------------- 21:12:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:12:28 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 21:12:28 Message: update stable to v1.0.255 21:12:28 ------------------- 21:12:28 experimental info: 21:12:28 ------------------- 21:12:28 Commited By: **** collab-it+edgex@linuxfoundation.org 21:12:28 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 21:12:28 Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-360 [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-360 [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-360 [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5182527f7cf2736206c97941898c434376f26d9b [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5182527 [Pipeline] echo 21:12:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:29 provisioning config files... 21:12:29 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-360@tmp/config15063887831317400761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:29 ---> docker-login.sh 21:12:29 nexus3.edgexfoundry.org:10001 21:12:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:30 Configure a credential helper to remove this warning. See 21:12:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:30 21:12:30 Login Succeeded 21:12:30 nexus3.edgexfoundry.org:10002 21:12:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:30 Configure a credential helper to remove this warning. See 21:12:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:30 21:12:30 Login Succeeded 21:12:30 nexus3.edgexfoundry.org:10003 21:12:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:30 Configure a credential helper to remove this warning. See 21:12:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:30 21:12:30 Login Succeeded 21:12:30 nexus3.edgexfoundry.org:10004 21:12:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:30 Configure a credential helper to remove this warning. See 21:12:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:30 21:12:30 Login Succeeded 21:12:30 docker.io 21:12:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:30 Configure a credential helper to remove this warning. See 21:12:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:30 21:12:30 Login Succeeded 21:12:30 ---> docker-login.sh ends [Pipeline] } 21:12:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:12:31 + git rev-list -1 --merges 5182527f7cf2736206c97941898c434376f26d9b~1..5182527f7cf2736206c97941898c434376f26d9b [Pipeline] echo 21:12:31 -----------> git rev-list -1 --merges 5182527f7cf2736206c97941898c434376f26d9b~1..5182527f7cf2736206c97941898c434376f26d9b 5182527f7cf2736206c97941898c434376f26d9b [false] [Pipeline] sh 21:12:31 + git log --format=format:%s -1 5182527f7cf2736206c97941898c434376f26d9b [Pipeline] echo 21:12:31 ========================================================= 21:12:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:12:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:12:32 + git log --format=format:%s -1 5182527f7cf2736206c97941898c434376f26d9b [Pipeline] echo 21:12:32 [semverPrep] GIT_COMMIT: 5182527f7cf2736206c97941898c434376f26d9b, Commit Message: docs: [Device REST] Add Swagger file [Pipeline] echo 21:12:32 [semverPrep] This is not a build commit. [Pipeline] sh 21:12:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:12:32 + grep -v github /etc/ssh/ssh_known_hosts 21:12:32 + [ -e /tmp/ssh_known_hosts ] 21:12:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:12:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:12:32 + sudo tee -a /etc/ssh/ssh_known_hosts 21:12:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:12:32 21:12:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:12:33 0.1.4: Pulling from edgex-devops/py-git-semver 21:12:33 b85a868b505f: Pulling fs layer 21:12:33 e2be974225ed: Pulling fs layer 21:12:33 339a4e72a1f5: Pulling fs layer 21:12:33 988bab9f4d93: Pulling fs layer 21:12:33 1469e6f7b9e6: Pulling fs layer 21:12:33 eaf3925da568: Pulling fs layer 21:12:33 988bab9f4d93: Waiting 21:12:33 1469e6f7b9e6: Waiting 21:12:33 bab4dde63d76: Pulling fs layer 21:12:33 bde34c3a00c8: Pulling fs layer 21:12:33 b352a97aabf1: Pulling fs layer 21:12:33 4872d77fe225: Pulling fs layer 21:12:33 bab4dde63d76: Waiting 21:12:33 5851b861e8e6: Pulling fs layer 21:12:33 b352a97aabf1: Waiting 21:12:33 5851b861e8e6: Waiting 21:12:33 4872d77fe225: Waiting 21:12:33 e2be974225ed: Verifying Checksum 21:12:33 e2be974225ed: Download complete 21:12:33 988bab9f4d93: Verifying Checksum 21:12:33 988bab9f4d93: Download complete 21:12:33 1469e6f7b9e6: Verifying Checksum 21:12:33 1469e6f7b9e6: Download complete 21:12:33 eaf3925da568: Download complete 21:12:33 339a4e72a1f5: Verifying Checksum 21:12:33 339a4e72a1f5: Download complete 21:12:33 bde34c3a00c8: Verifying Checksum 21:12:33 bde34c3a00c8: Download complete 21:12:33 b352a97aabf1: Verifying Checksum 21:12:33 b352a97aabf1: Download complete 21:12:33 4872d77fe225: Verifying Checksum 21:12:33 4872d77fe225: Download complete 21:12:33 5851b861e8e6: Download complete 21:12:33 b85a868b505f: Verifying Checksum 21:12:33 b85a868b505f: Download complete 21:12:33 bab4dde63d76: Verifying Checksum 21:12:33 bab4dde63d76: Download complete 21:12:35 b85a868b505f: Pull complete 21:12:35 e2be974225ed: Pull complete 21:12:35 339a4e72a1f5: Pull complete 21:12:35 988bab9f4d93: Pull complete 21:12:36 1469e6f7b9e6: Pull complete 21:12:36 eaf3925da568: Pull complete 21:12:38 bab4dde63d76: Pull complete 21:12:38 bde34c3a00c8: Pull complete 21:12:38 b352a97aabf1: Pull complete 21:12:38 4872d77fe225: Pull complete 21:12:38 5851b861e8e6: Pull complete 21:12:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:12:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:12:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:39 prd-ubuntu20.04-docker-8c-8g-16289 does not seem to be running inside a container 21:12:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-360 -v /w/workspace/gexfoundry_device-rest-go_PR-360:/w/workspace/gexfoundry_device-rest-go_PR-360:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-360@tmp:/w/workspace/gexfoundry_device-rest-go_PR-360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:12:42 $ docker top 0539ac52f1248277f58a86484f8c6d61bd2935091180242bb55199c2bd4c9383 -eo pid,comm 21:12:42 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). 21:12:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:12:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:12:42 [ssh-agent] Looking for ssh-agent implementation... 21:12:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:12:42 $ docker exec 0539ac52f1248277f58a86484f8c6d61bd2935091180242bb55199c2bd4c9383 ssh-agent 21:12:42 SSH_AUTH_SOCK=/tmp/ssh-sZK69dxZxO0c/agent.31 21:12:42 SSH_AGENT_PID=37 21:12:42 Running ssh-add (command line suppressed) 21:12:43 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-360@tmp/private_key_13284235258089704284.key (/w/workspace/gexfoundry_device-rest-go_PR-360@tmp/private_key_13284235258089704284.key) 21:12:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:12:43 + git tag --points-at HEAD [Pipeline] } 21:12:43 $ docker exec --env ******** --env ******** 0539ac52f1248277f58a86484f8c6d61bd2935091180242bb55199c2bd4c9383 ssh-agent -k 21:12:43 unset SSH_AUTH_SOCK; 21:12:43 unset SSH_AGENT_PID; 21:12:43 echo Agent pid 37 killed; 21:12:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:12:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:12:43 [ssh-agent] Looking for ssh-agent implementation... 21:12:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:12:43 $ docker exec 0539ac52f1248277f58a86484f8c6d61bd2935091180242bb55199c2bd4c9383 ssh-agent 21:12:43 SSH_AUTH_SOCK=/tmp/ssh-nXVOtaES7ugn/agent.69 21:12:43 SSH_AGENT_PID=75 21:12:43 Running ssh-add (command line suppressed) 21:12:43 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-360@tmp/private_key_12854685460126891678.key (/w/workspace/gexfoundry_device-rest-go_PR-360@tmp/private_key_12854685460126891678.key) 21:12:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:12:44 + git semver init 21:12:44 2023-11-01 21:12:44,409 [run_init] DEBUG init version:0.0.0 force:False 21:12:44 2023-11-01 21:12:44,410 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-360/.semver 21:12:44 2023-11-01 21:12:44,410 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-360/.semver 21:12:44 2023-11-01 21:12:44,410 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-360/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-360, universal_newlines=False, shell=None, istream=None) 21:12:45 2023-11-01 21:12:45,605 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-360/.git/info/exclude 21:12:45 2023-11-01 21:12:45,606 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-360/.semver/PR-360 with force:False 21:12:45 2023-11-01 21:12:45,606 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-360/.semver/PR-360 21:12:45 2023-11-01 21:12:45,611 [execute] INFO git cat-file --batch-check 21:12:45 2023-11-01 21:12:45,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-360/.semver, universal_newlines=False, shell=None, istream=) 21:12:45 2023-11-01 21:12:45,619 [execute] INFO git cat-file --batch 21:12:45 2023-11-01 21:12:45,619 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-360/.semver, universal_newlines=False, shell=None, istream=) 21:12:45 2023-11-01 21:12:45,624 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-360/.semver/PR-360 21:12:45 0.0.0 [Pipeline] } 21:12:45 $ docker exec --env ******** --env ******** 0539ac52f1248277f58a86484f8c6d61bd2935091180242bb55199c2bd4c9383 ssh-agent -k 21:12:46 unset SSH_AUTH_SOCK; 21:12:46 unset SSH_AGENT_PID; 21:12:46 echo Agent pid 75 killed; 21:12:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:12:46 + git semver [Pipeline] } 21:12:46 $ docker stop --time=1 0539ac52f1248277f58a86484f8c6d61bd2935091180242bb55199c2bd4c9383 21:12:47 $ docker rm -f --volumes 0539ac52f1248277f58a86484f8c6d61bd2935091180242bb55199c2bd4c9383 [Pipeline] // withDockerContainer [Pipeline] sh 21:12:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:12:48 Stashed 1 file(s) [Pipeline] echo 21:12:48 [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 21:12:48 provisioning config files... 21:12:48 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-360@tmp/config17815883980494252291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:48 ---> docker-login.sh 21:12:48 nexus3.edgexfoundry.org:10001 21:12:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:48 Configure a credential helper to remove this warning. See 21:12:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:48 21:12:48 Login Succeeded 21:12:48 nexus3.edgexfoundry.org:10002 21:12:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:48 Configure a credential helper to remove this warning. See 21:12:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:48 21:12:48 Login Succeeded 21:12:48 nexus3.edgexfoundry.org:10003 21:12:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:49 Configure a credential helper to remove this warning. See 21:12:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:49 21:12:49 Login Succeeded 21:12:49 nexus3.edgexfoundry.org:10004 21:12:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:49 Configure a credential helper to remove this warning. See 21:12:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:49 21:12:49 Login Succeeded 21:12:49 docker.io 21:12:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:49 Configure a credential helper to remove this warning. See 21:12:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:49 21:12:49 Login Succeeded 21:12:49 ---> docker-login.sh ends [Pipeline] } 21:12:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:12:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:12:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:12:49 ========================================================= 21:12:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:12:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:12:49 Sending build context to Docker daemon 10.93MB 21:12:49 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:12:49 Step 2/12 : FROM ${BASE} AS builder 21:12:49 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:12:49 7264a8db6415: Pulling fs layer 21:12:49 c4d48a809fc2: Pulling fs layer 21:12:49 4f1c88b9dad5: Pulling fs layer 21:12:49 ad3a456e5733: Pulling fs layer 21:12:49 33e27b845d1e: Pulling fs layer 21:12:49 ad3a456e5733: Waiting 21:12:49 c68163c4e522: Pulling fs layer 21:12:49 50da416c3ac9: Pulling fs layer 21:12:49 33e27b845d1e: Waiting 21:12:49 c68163c4e522: Waiting 21:12:49 50da416c3ac9: Waiting 21:12:49 23d2d4c4bb30: Pulling fs layer 21:12:49 23d2d4c4bb30: Waiting 21:12:49 ad3a456e5733: Download complete 21:12:49 33e27b845d1e: Download complete 21:12:50 7264a8db6415: Verifying Checksum 21:12:50 7264a8db6415: Download complete 21:12:50 c68163c4e522: Verifying Checksum 21:12:50 c68163c4e522: Download complete 21:12:50 7264a8db6415: Pull complete 21:12:50 23d2d4c4bb30: Verifying Checksum 21:12:50 23d2d4c4bb30: Download complete 21:12:50 c4d48a809fc2: Pull complete 21:12:50 4f1c88b9dad5: Verifying Checksum 21:12:50 4f1c88b9dad5: Download complete 21:12:50 50da416c3ac9: Verifying Checksum 21:12:50 50da416c3ac9: Download complete 21:12:54 4f1c88b9dad5: Pull complete 21:12:54 ad3a456e5733: Pull complete 21:12:54 33e27b845d1e: Pull complete 21:12:54 c68163c4e522: Pull complete 21:12:56 50da416c3ac9: Pull complete 21:12:57 23d2d4c4bb30: Pull complete 21:12:57 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 21:12:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:12:57 ---> 0786185ac409 21:12:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:13:02 ---> Running in 624efe111e91 21:13:02 Removing intermediate container 624efe111e91 21:13:02 ---> a8879d98aea5 21:13:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:13:02 ---> Running in 3a4cbcbb32a5 21:13:02 Removing intermediate container 3a4cbcbb32a5 21:13:02 ---> 30cbcad2a362 21:13:02 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:13:02 ---> Running in 3bb7d5b7a232 21:13:02 Removing intermediate container 3bb7d5b7a232 21:13:02 ---> 98ecb145c06c 21:13:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:13:02 ---> Running in 59e1a962eab5 21:13:02 Removing intermediate container 59e1a962eab5 21:13:02 ---> 56dc29f4adae 21:13:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:13:02 ---> Running in c3be1c4dca62 21:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:13:02 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:13:02 (2/4) Installing libedit (20221030.3.1-r1) 21:13:02 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:13:02 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:13:02 Executing busybox-1.36.1-r2.trigger 21:13:02 OK: 268 MiB in 56 packages 21:13:03 Removing intermediate container c3be1c4dca62 21:13:03 ---> 6973e5a25d0d 21:13:03 Step 8/12 : WORKDIR /device-rest-go 21:13:03 ---> Running in 1d28e7c68363 21:13:03 Removing intermediate container 1d28e7c68363 21:13:03 ---> 62ae4046c034 21:13:03 Step 9/12 : COPY go.mod vendor* ./ 21:13:03 ---> 4a1e4d8d146e 21:13:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:03 ---> Running in d65b5bf58323 21:13:03 Still waiting to schedule task 21:13:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16287’ 21:13:42 Removing intermediate container d65b5bf58323 21:13:42 ---> 6739252e7340 21:13:42 Step 11/12 : COPY . . 21:13:42 ---> ab92b78b1711 21:13:42 Step 12/12 : RUN $MAKE 21:13:42 ---> Running in 4239f808eb13 21:13:42 noop 21:13:42 Removing intermediate container 4239f808eb13 21:13:42 ---> def2da03297c 21:13:42 Successfully built def2da03297c 21:13:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:42 + docker inspect -f . ci-base-image-x86_64 21:13:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:42 prd-ubuntu20.04-docker-8c-8g-16289 does not seem to be running inside a container 21:13:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-360 -v /w/workspace/gexfoundry_device-rest-go_PR-360:/w/workspace/gexfoundry_device-rest-go_PR-360:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-360@tmp:/w/workspace/gexfoundry_device-rest-go_PR-360@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 ******** -e ******** ci-base-image-x86_64 cat 21:13:43 $ docker top e644bf8f8151a28d962394bfcfb52df844d7bcda73c5171f65f31aa8ec808828 -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:43 + go version 21:13:43 go version go1.21.0 linux/amd64 [Pipeline] } 21:13:43 $ docker stop --time=1 e644bf8f8151a28d962394bfcfb52df844d7bcda73c5171f65f31aa8ec808828 21:13:44 $ docker rm -f --volumes e644bf8f8151a28d962394bfcfb52df844d7bcda73c5171f65f31aa8ec808828 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:45 + docker inspect -f . ci-base-image-x86_64 21:13:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:45 prd-ubuntu20.04-docker-8c-8g-16289 does not seem to be running inside a container 21:13:45 $ 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-rest-go_PR-360 -v /w/workspace/gexfoundry_device-rest-go_PR-360:/w/workspace/gexfoundry_device-rest-go_PR-360:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-360@tmp:/w/workspace/gexfoundry_device-rest-go_PR-360@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 ******** -e ******** ci-base-image-x86_64 cat 21:13:45 $ docker top ee19c279acdadd7de195892f27ab6cb0d8842aad36ac4d98eb72f00aa5be7077 -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:45 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-360 [Pipeline] fileExists [Pipeline] sh 21:13:46 + make test 21:13:46 go test ./... -coverprofile=coverage.out ./... 21:13:47 ? github.com/edgexfoundry/device-rest-go [no test files] 21:13:57 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:13:57 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 21:14:05 go vet ./... 21:14:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:14:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:14:08 ./bin/test-attribution-txt.sh [Pipeline] echo 21:14:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:14:09 $ docker stop --time=1 ee19c279acdadd7de195892f27ab6cb0d8842aad36ac4d98eb72f00aa5be7077 21:14:12 $ docker rm -f --volumes ee19c279acdadd7de195892f27ab6cb0d8842aad36ac4d98eb72f00aa5be7077 [Pipeline] // withDockerContainer [Pipeline] sh 21:14:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:14:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:14:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:14:13 + ls -al . 21:14:13 total 188 21:14:13 drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 21:13 . 21:14:13 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 21:12 .. 21:14:13 -rw-rw-r-- 1 jenkins jenkins 151 Nov 1 21:12 .dockerignore 21:14:13 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 21:13 .git 21:14:13 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:12 .github 21:14:13 -rw-rw-r-- 1 jenkins jenkins 264 Nov 1 21:12 .gitignore 21:14:13 -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 21:12 .golangci.yml 21:14:13 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 21:12 .semver 21:14:13 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 1 21:12 Attribution.txt 21:14:13 -rw-rw-r-- 1 jenkins jenkins 15709 Nov 1 21:12 CHANGELOG.md 21:14:13 -rw-rw-r-- 1 jenkins jenkins 1578 Nov 1 21:12 Dockerfile 21:14:13 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 21:12 GOVERNANCE.md 21:14:13 -rw-rw-r-- 1 jenkins jenkins 680 Nov 1 21:12 Jenkinsfile 21:14:13 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 21:12 LICENSE 21:14:13 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 1 21:12 Makefile 21:14:13 -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 21:12 OWNERS.md 21:14:13 -rw-rw-r-- 1 jenkins jenkins 15738 Nov 1 21:12 README.md 21:14:13 -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 21:12 VERSION 21:14:13 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:12 bin 21:14:13 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:12 cmd 21:14:13 -rw-r--r-- 1 jenkins jenkins 14499 Nov 1 21:13 coverage.out 21:14:13 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:12 driver 21:14:13 -rw-rw-r-- 1 jenkins jenkins 3891 Nov 1 21:12 go.mod 21:14:13 -rw-rw-r-- 1 jenkins jenkins 35094 Nov 1 21:12 go.sum 21:14:13 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:12 openapi 21:14:13 -rw-rw-r-- 1 jenkins jenkins 713 Nov 1 21:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:14 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=5182527f7cf2736206c97941898c434376f26d9b --label arch=amd64 --label version=0.0.0 . 21:14:14 Sending build context to Docker daemon 10.95MB 21:14:14 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:14:14 Step 2/25 : FROM ${BASE} AS builder 21:14:14 ---> def2da03297c 21:14:14 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:14:14 ---> Running in b65cf5a67554 21:14:14 Removing intermediate container b65cf5a67554 21:14:14 ---> f58c7c6ef0b3 21:14:14 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:14:14 ---> Running in 23e963c6de95 21:14:14 Removing intermediate container 23e963c6de95 21:14:14 ---> 732a65ad6bc0 21:14:14 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:14:14 ---> Running in 7401501c3db4 21:14:14 Removing intermediate container 7401501c3db4 21:14:14 ---> eb8840f3008a 21:14:14 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:14:14 ---> Running in 750b5a3a389f 21:14:14 Removing intermediate container 750b5a3a389f 21:14:14 ---> ad5fbdbe8903 21:14:14 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:14:14 ---> Running in f7fb7b8b080e 21:14:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:14:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:14:15 OK: 268 MiB in 56 packages 21:14:15 Removing intermediate container f7fb7b8b080e 21:14:15 ---> 836ac0a69c39 21:14:15 Step 8/25 : WORKDIR /device-rest-go 21:14:15 ---> Running in 0c0cf92d9013 21:14:15 Removing intermediate container 0c0cf92d9013 21:14:15 ---> 17961fdc2e63 21:14:15 Step 9/25 : COPY go.mod vendor* ./ 21:14:15 ---> 4208d8b953dc 21:14:15 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:14:15 ---> Running in bc38336f782b 21:14:16 Removing intermediate container bc38336f782b 21:14:16 ---> 5e6b9a4dfdb3 21:14:16 Step 11/25 : COPY . . 21:14:16 ---> 82be81270479 21:14:16 Step 12/25 : RUN $MAKE 21:14:16 ---> Running in 36e9e9897f61 21:14:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.39" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:14:38 Removing intermediate container 36e9e9897f61 21:14:38 ---> 00e2c172292c 21:14:38 Step 13/25 : FROM alpine:3.18 21:14:38 3.18: Pulling from library/alpine 21:14:38 96526aa774ef: Pulling fs layer 21:14:38 96526aa774ef: Verifying Checksum 21:14:38 96526aa774ef: Download complete 21:14:38 96526aa774ef: Pull complete 21:14:38 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:14:38 Status: Downloaded newer image for alpine:3.18 21:14:38 ---> 8ca4688f4f35 21:14:38 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:14:38 ---> Running in 98fa89942d1a 21:14:38 Removing intermediate container 98fa89942d1a 21:14:38 ---> ed05fc4073a8 21:14:38 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:14:38 ---> Running in 40237e47a52e 21:14:39 Removing intermediate container 40237e47a52e 21:14:39 ---> aa7afc0fb13b 21:14:39 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:14:39 ---> Running in eec31a472f3b 21:14:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:14:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:14:40 (1/1) Installing dumb-init (1.2.5-r2) 21:14:40 Executing busybox-1.36.1-r2.trigger 21:14:40 OK: 7 MiB in 16 packages 21:14:40 Removing intermediate container eec31a472f3b 21:14:40 ---> ac6c5ad0d1e9 21:14:40 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:14:41 ---> f5a2d87ae5f0 21:14:41 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:14:41 ---> 6ce3bf861905 21:14:41 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:14:41 ---> a1780b628a77 21:14:41 Step 20/25 : EXPOSE 59986 21:14:41 ---> Running in 9678cb2ac146 21:14:41 Removing intermediate container 9678cb2ac146 21:14:41 ---> c210fabd6627 21:14:41 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:14:41 ---> Running in fa7800fc48a9 21:14:41 Removing intermediate container fa7800fc48a9 21:14:41 ---> 4a7a7e39eb91 21:14:41 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:14:41 ---> Running in 24c7c74fab2d 21:14:41 Removing intermediate container 24c7c74fab2d 21:14:41 ---> fea8ec31ade0 21:14:41 Step 23/25 : LABEL arch=amd64 21:14:41 ---> Running in 92c8aca5e3db 21:14:41 Removing intermediate container 92c8aca5e3db 21:14:41 ---> 005fafa01665 21:14:41 Step 24/25 : LABEL git_sha=5182527f7cf2736206c97941898c434376f26d9b 21:14:41 ---> Running in ec8360ddade6 21:14:41 Removing intermediate container ec8360ddade6 21:14:41 ---> d1090a92d7de 21:14:41 Step 25/25 : LABEL version=0.0.0 21:14:42 ---> Running in eaf1b466cd45 21:14:42 Removing intermediate container eaf1b466cd45 21:14:42 ---> 9caba67fa6bd 21:14:42 [Warning] One or more build-args [ARCH] were not consumed 21:14:42 Successfully built 9caba67fa6bd 21:14:42 Successfully tagged device-rest: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 21:14:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:14:42 21:14:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:14:42 latest: Pulling from edgex-lftools-log-publisher 21:14:42 5eb5b503b376: Pulling fs layer 21:14:42 5c69ac0246d0: Pulling fs layer 21:14:42 ec43610c2a17: Pulling fs layer 21:14:42 3a2ae6a8a46f: Pulling fs layer 21:14:42 33b1e0a273af: Pulling fs layer 21:14:42 5d3b04190fa2: Pulling fs layer 21:14:42 2f39f015ded8: Pulling fs layer 21:14:42 3a2ae6a8a46f: Waiting 21:14:42 33b1e0a273af: Waiting 21:14:42 5d3b04190fa2: Waiting 21:14:42 2f39f015ded8: Waiting 21:14:42 5c69ac0246d0: Verifying Checksum 21:14:42 5c69ac0246d0: Download complete 21:14:42 3a2ae6a8a46f: Download complete 21:14:42 33b1e0a273af: Verifying Checksum 21:14:42 33b1e0a273af: Download complete 21:14:42 5d3b04190fa2: Download complete 21:14:42 ec43610c2a17: Verifying Checksum 21:14:42 ec43610c2a17: Download complete 21:14:43 5eb5b503b376: Verifying Checksum 21:14:43 5eb5b503b376: Download complete 21:14:43 2f39f015ded8: Download complete 21:14:44 5eb5b503b376: Pull complete 21:14:44 5c69ac0246d0: Pull complete 21:14:45 ec43610c2a17: Pull complete 21:14:45 3a2ae6a8a46f: Pull complete 21:14:45 33b1e0a273af: Pull complete 21:14:45 5d3b04190fa2: Pull complete 21:14:50 2f39f015ded8: Pull complete 21:14:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:14:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:14:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:50 prd-ubuntu20.04-docker-8c-8g-16289 does not seem to be running inside a container 21:14:50 $ 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-rest-go_PR-360 -v /w/workspace/gexfoundry_device-rest-go_PR-360:/w/workspace/gexfoundry_device-rest-go_PR-360:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-360@tmp:/w/workspace/gexfoundry_device-rest-go_PR-360@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:14:55 $ docker top a6ea776faf4e40fb23e77c0b4b431c836f4def5a9a7d9b60522767b400844a43 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:56 ---> job-cost.sh 21:14:56 lf-activate-venv: SKIPPING 21:14:56 INFO: No Stack... 21:14:56 INFO: Retrieving Pricing Info for: v3-standard-8 21:14:57 INFO: Archiving Costs [Pipeline] sh 21:14:57 + cat /w/workspace/gexfoundry_device-rest-go_PR-360/archives/cost.csv 21:14:57 + cut -d, -f6 [Pipeline] lock 21:14:57 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-360-2-stack-cost] 21:14:57 Resource [jenkins-edgexfoundry-device-rest-go-PR-360-2-stack-cost] did not exist. Created. 21:14:57 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-360-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:14:57 + echo total: 0.2199999988079071 [Pipeline] stash 21:14:57 Stashed 1 file(s) [Pipeline] } 21:14:57 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-360-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:14:57 $ docker stop --time=1 a6ea776faf4e40fb23e77c0b4b431c836f4def5a9a7d9b60522767b400844a43 21:14:58 $ docker rm -f --volumes a6ea776faf4e40fb23e77c0b4b431c836f4def5a9a7d9b60522767b400844a43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:16:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16290 in /w/workspace/gexfoundry_device-rest-go_PR-360 [Pipeline] { [Pipeline] ws 21:16:35 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 21:16:35 The recommended git tool is: git 21:16:40 using credential edgex-jenkins-ssh 21:16:40 Cloning the remote Git repository 21:16:40 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:16:41 > git init /w/workspace/device-rest-go/2 # timeout=10 21:16:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:16:41 > git --version # timeout=10 21:16:41 > git --version # 'git version 2.25.1' 21:16:41 using GIT_SSH to set credentials SSH Credentials for GitHub 21:16:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:16:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:16:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:16:44 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:16:44 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:16:44 using GIT_SSH to set credentials SSH Credentials for GitHub 21:16:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/360/head:refs/remotes/origin/PR-360 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:16:45 Merging remotes/origin/main commit 2a4052b0b2f1e637c9c652109488342642a86f02 into PR head commit 5182527f7cf2736206c97941898c434376f26d9b 21:16:45 Merge succeeded, producing 5182527f7cf2736206c97941898c434376f26d9b 21:16:45 Checking out Revision 5182527f7cf2736206c97941898c434376f26d9b (PR-360) 21:16:45 > git config core.sparsecheckout # timeout=10 21:16:45 > git checkout -f 5182527f7cf2736206c97941898c434376f26d9b # timeout=10 21:16:45 > git remote # timeout=10 21:16:45 > git config --get remote.origin.url # timeout=10 21:16:45 using GIT_SSH to set credentials SSH Credentials for GitHub 21:16:45 > git merge 2a4052b0b2f1e637c9c652109488342642a86f02 # timeout=10 21:16:45 > git rev-parse HEAD^{commit} # timeout=10 21:16:45 > git config core.sparsecheckout # timeout=10 21:16:45 > git checkout -f 5182527f7cf2736206c97941898c434376f26d9b # timeout=10 21:16:48 Commit message: "docs: [Device REST] Add Swagger file" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:16:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:16:49 % Total % Received % Xferd Average Speed Time Time Time Current 21:16:49 Dload Upload Total Spent Left Speed 21:16:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 81216 [Pipeline] sh 21:16:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:16:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:16:50 + sudo tee /etc/docker/daemon.new 21:16:50 { 21:16:50 "registry-mirrors": [ 21:16:50 "https://nexus3.edgexfoundry.org:10001" 21:16:50 ], 21:16:50 "bip": "10.250.0.254/24", 21:16:50 "hosts": [ 21:16:50 "tcp://0.0.0.0:5555", 21:16:50 "unix:///var/run/docker.sock" 21:16:50 ], 21:16:50 "mtu": 1458, 21:16:50 "selinux-enabled": true, 21:16:50 "seccomp-profile": "/etc/docker/seccomp.json" 21:16:50 } [Pipeline] sh 21:16:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:16:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:17:09 provisioning config files... 21:17:09 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config11263805599227173359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:17:10 ---> docker-login.sh 21:17:10 nexus3.edgexfoundry.org:10001 21:17:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:10 Configure a credential helper to remove this warning. See 21:17:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:10 21:17:10 Login Succeeded 21:17:10 nexus3.edgexfoundry.org:10002 21:17:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:11 Configure a credential helper to remove this warning. See 21:17:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:11 21:17:11 Login Succeeded 21:17:11 nexus3.edgexfoundry.org:10003 21:17:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:11 Configure a credential helper to remove this warning. See 21:17:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:11 21:17:11 Login Succeeded 21:17:11 nexus3.edgexfoundry.org:10004 21:17:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:11 Configure a credential helper to remove this warning. See 21:17:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:11 21:17:11 Login Succeeded 21:17:11 docker.io 21:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:12 Configure a credential helper to remove this warning. See 21:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:12 21:17:12 Login Succeeded 21:17:12 ---> docker-login.sh ends [Pipeline] } 21:17:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:17:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:17:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:17:12 ========================================================= 21:17:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:17:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:13 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:17:13 Sending build context to Docker daemon 125.4kB 21:17:13 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:17:13 Step 2/12 : FROM ${BASE} AS builder 21:17:13 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:17:13 9fda8d8052c6: Pulling fs layer 21:17:13 5d54e960e981: Pulling fs layer 21:17:13 c4a7e357bf2a: Pulling fs layer 21:17:13 f0e02332f6b5: Pulling fs layer 21:17:13 cefa15bbcfad: Pulling fs layer 21:17:13 17808c966233: Pulling fs layer 21:17:13 f4c1fc716caa: Pulling fs layer 21:17:13 cefa15bbcfad: Waiting 21:17:13 17808c966233: Waiting 21:17:13 f4c1fc716caa: Waiting 21:17:13 5d54e960e981: Verifying Checksum 21:17:13 5d54e960e981: Download complete 21:17:13 f0e02332f6b5: Verifying Checksum 21:17:13 f0e02332f6b5: Download complete 21:17:13 cefa15bbcfad: Verifying Checksum 21:17:13 cefa15bbcfad: Download complete 21:17:13 9fda8d8052c6: Verifying Checksum 21:17:13 9fda8d8052c6: Download complete 21:17:13 f4c1fc716caa: Verifying Checksum 21:17:13 f4c1fc716caa: Download complete 21:17:14 9fda8d8052c6: Pull complete 21:17:15 5d54e960e981: Pull complete 21:17:15 c4a7e357bf2a: Verifying Checksum 21:17:15 c4a7e357bf2a: Download complete 21:17:16 17808c966233: Verifying Checksum 21:17:16 17808c966233: Download complete 21:17:28 c4a7e357bf2a: Pull complete 21:17:28 f0e02332f6b5: Pull complete 21:17:29 cefa15bbcfad: Pull complete 21:17:37 17808c966233: Pull complete 21:17:39 f4c1fc716caa: Pull complete 21:17:39 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:17:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:17:39 ---> ea914061e18c 21:17:39 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:17:41 ---> Running in 1228b3dfa654 21:17:41 Removing intermediate container 1228b3dfa654 21:17:41 ---> 4fb479c54c62 21:17:41 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:17:41 ---> Running in 00cc3ce35a59 21:17:41 Removing intermediate container 00cc3ce35a59 21:17:41 ---> 8574e942368c 21:17:41 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:17:41 ---> Running in aa5cb0feb99f 21:17:42 Removing intermediate container aa5cb0feb99f 21:17:42 ---> 04af144658b9 21:17:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:17:42 ---> Running in 8ed72d7dac8a 21:17:42 Removing intermediate container 8ed72d7dac8a 21:17:42 ---> 434d14891713 21:17:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:17:42 ---> Running in 1319d5396bbb 21:17:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:17:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:17:45 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:17:45 (2/4) Installing libedit (20221030.3.1-r1) 21:17:45 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:17:45 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:17:45 Executing busybox-1.36.1-r2.trigger 21:17:45 OK: 270 MiB in 56 packages 21:17:46 Removing intermediate container 1319d5396bbb 21:17:46 ---> d86025cedaf2 21:17:46 Step 8/12 : WORKDIR /device-rest-go 21:17:46 ---> Running in 6d860e7e8658 21:17:47 Removing intermediate container 6d860e7e8658 21:17:47 ---> eb81ed7d1ed5 21:17:47 Step 9/12 : COPY go.mod vendor* ./ 21:17:47 ---> 72d8bd6fe722 21:17:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:17:47 ---> Running in 64de0c409754 21:19:09 Removing intermediate container 64de0c409754 21:19:09 ---> 1e62507d3488 21:19:09 Step 11/12 : COPY . . 21:19:09 ---> b784284c2dd5 21:19:09 Step 12/12 : RUN $MAKE 21:19:09 ---> Running in 3812021ee42b 21:19:09 noop 21:19:09 Removing intermediate container 3812021ee42b 21:19:09 ---> 619e8c77454f 21:19:09 Successfully built 619e8c77454f 21:19:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:09 + docker inspect -f . ci-base-image-arm64 21:19:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:09 prd-ubuntu20.04-docker-arm64-4c-16g-16290 does not seem to be running inside a container 21:19:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** ci-base-image-arm64 cat 21:19:12 $ docker top 0ef4768665aa77d6bfca692ead7abb7387302989dbb6ad31231a80f7c729bd8d -eo pid,comm [Pipeline] { [Pipeline] sh 21:19:13 + go version 21:19:13 go version go1.21.0 linux/arm64 [Pipeline] } 21:19:13 $ docker stop --time=1 0ef4768665aa77d6bfca692ead7abb7387302989dbb6ad31231a80f7c729bd8d 21:19:14 $ docker rm -f --volumes 0ef4768665aa77d6bfca692ead7abb7387302989dbb6ad31231a80f7c729bd8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:15 + docker inspect -f . ci-base-image-arm64 21:19:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:15 prd-ubuntu20.04-docker-arm64-4c-16g-16290 does not seem to be running inside a container 21:19:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** ci-base-image-arm64 cat 21:19:16 $ docker top 9f1462f6fd7fa4c9b56bca8b9e41847d01a2a47db69eb42b5b14413c906c419b -eo pid,comm [Pipeline] { [Pipeline] sh 21:19:17 + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh 21:19:17 + make test 21:19:17 go test ./... -coverprofile=coverage.out ./... 21:19:22 ? github.com/edgexfoundry/device-rest-go [no test files] 21:20:58 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:20:58 ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 33.2% of statements 21:20:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:20:58 go vet ./... 21:21:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:21:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:21:27 ./bin/test-attribution-txt.sh [Pipeline] echo 21:21:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:21:27 $ docker stop --time=1 9f1462f6fd7fa4c9b56bca8b9e41847d01a2a47db69eb42b5b14413c906c419b 21:21:33 $ docker rm -f --volumes 9f1462f6fd7fa4c9b56bca8b9e41847d01a2a47db69eb42b5b14413c906c419b [Pipeline] // withDockerContainer [Pipeline] sh 21:21:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:21:35 Warning: overwriting stash ‘coverage-report’ 21:21:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:21:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:21:36 + ls -al . 21:21:36 total 184 21:21:36 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 21:19 . 21:21:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 21:16 .. 21:21:36 -rw-rw-r-- 1 jenkins jenkins 151 Nov 1 21:16 .dockerignore 21:21:36 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 21:16 .git 21:21:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:16 .github 21:21:36 -rw-rw-r-- 1 jenkins jenkins 264 Nov 1 21:16 .gitignore 21:21:36 -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 21:16 .golangci.yml 21:21:36 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 1 21:16 Attribution.txt 21:21:36 -rw-rw-r-- 1 jenkins jenkins 15709 Nov 1 21:16 CHANGELOG.md 21:21:36 -rw-rw-r-- 1 jenkins jenkins 1578 Nov 1 21:16 Dockerfile 21:21:36 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 21:16 GOVERNANCE.md 21:21:36 -rw-rw-r-- 1 jenkins jenkins 680 Nov 1 21:16 Jenkinsfile 21:21:36 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 21:16 LICENSE 21:21:36 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 1 21:16 Makefile 21:21:36 -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 21:16 OWNERS.md 21:21:36 -rw-rw-r-- 1 jenkins jenkins 15738 Nov 1 21:16 README.md 21:21:36 -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 21:12 VERSION 21:21:36 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:16 bin 21:21:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:16 cmd 21:21:36 -rw-r--r-- 1 jenkins jenkins 14499 Nov 1 21:20 coverage.out 21:21:36 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:16 driver 21:21:36 -rw-rw-r-- 1 jenkins jenkins 3891 Nov 1 21:16 go.mod 21:21:36 -rw-rw-r-- 1 jenkins jenkins 35094 Nov 1 21:16 go.sum 21:21:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:16 openapi 21:21:36 -rw-rw-r-- 1 jenkins jenkins 713 Nov 1 21:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:36 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=5182527f7cf2736206c97941898c434376f26d9b --label arch=arm64 --label version=0.0.0 . 21:21:36 Sending build context to Docker daemon 140.8kB 21:21:37 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:21:37 Step 2/25 : FROM ${BASE} AS builder 21:21:37 ---> 619e8c77454f 21:21:37 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:21:37 ---> Running in 6e8122def005 21:21:37 Removing intermediate container 6e8122def005 21:21:37 ---> de67f826695f 21:21:37 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:21:37 ---> Running in cbc2dc13b13f 21:21:37 Removing intermediate container cbc2dc13b13f 21:21:37 ---> 5aa251d708bb 21:21:37 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:21:37 ---> Running in 9daf38366820 21:21:38 Removing intermediate container 9daf38366820 21:21:38 ---> f3818abf80ce 21:21:38 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:21:38 ---> Running in 1e9d777be173 21:21:38 Removing intermediate container 1e9d777be173 21:21:38 ---> 81cefa7b5703 21:21:38 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:21:38 ---> Running in 4ab938709acb 21:21:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:21:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:21:41 OK: 270 MiB in 56 packages 21:21:42 Removing intermediate container 4ab938709acb 21:21:42 ---> 098de1338834 21:21:42 Step 8/25 : WORKDIR /device-rest-go 21:21:42 ---> Running in 6dd1d1f46e78 21:21:43 Removing intermediate container 6dd1d1f46e78 21:21:43 ---> 63dd5f98a399 21:21:43 Step 9/25 : COPY go.mod vendor* ./ 21:21:43 ---> 40da4ecfb202 21:21:43 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:21:43 ---> Running in 1e9d3f31b840 21:21:46 Removing intermediate container 1e9d3f31b840 21:21:46 ---> c49d13c830e0 21:21:46 Step 11/25 : COPY . . 21:21:47 ---> db6a7b8b93d6 21:21:47 Step 12/25 : RUN $MAKE 21:21:47 ---> Running in 6229a46d4d16 21:21:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.39" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:23:39 Removing intermediate container 6229a46d4d16 21:23:39 ---> 3e7e7b1bf535 21:23:39 Step 13/25 : FROM alpine:3.18 21:23:39 3.18: Pulling from library/alpine 21:23:39 579b34f0a95b: Pulling fs layer 21:23:39 579b34f0a95b: Verifying Checksum 21:23:39 579b34f0a95b: Download complete 21:23:39 579b34f0a95b: Pull complete 21:23:39 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:23:39 Status: Downloaded newer image for alpine:3.18 21:23:39 ---> 3cc203321400 21:23:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:23:39 ---> Running in 25681f39ef09 21:23:39 Removing intermediate container 25681f39ef09 21:23:39 ---> 78a6d6b5a3f0 21:23:39 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:23:39 ---> Running in 3b8923a91bc4 21:23:40 Removing intermediate container 3b8923a91bc4 21:23:40 ---> 6055445f9218 21:23:40 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:23:40 ---> Running in 319d8f92544f 21:23:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:23:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:23:43 (1/1) Installing dumb-init (1.2.5-r2) 21:23:43 Executing busybox-1.36.1-r2.trigger 21:23:43 OK: 8 MiB in 16 packages 21:23:44 Removing intermediate container 319d8f92544f 21:23:44 ---> 36511d128ef1 21:23:44 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:23:45 ---> 5c0bbff20ec1 21:23:45 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:23:45 ---> 79670c21fe73 21:23:45 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:23:46 ---> c09aa5200e82 21:23:46 Step 20/25 : EXPOSE 59986 21:23:46 ---> Running in 6735ae4efbcf 21:23:46 Removing intermediate container 6735ae4efbcf 21:23:46 ---> c9ac7e354760 21:23:46 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:23:46 ---> Running in 7fe36967367a 21:23:46 Removing intermediate container 7fe36967367a 21:23:46 ---> 96cdf071de5a 21:23:46 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:23:47 ---> Running in 35bfc22c215b 21:23:47 Removing intermediate container 35bfc22c215b 21:23:47 ---> 59cec165ff07 21:23:47 Step 23/25 : LABEL arch=arm64 21:23:47 ---> Running in 688db97ca2d4 21:23:47 Removing intermediate container 688db97ca2d4 21:23:47 ---> 24c66dd03a41 21:23:47 Step 24/25 : LABEL git_sha=5182527f7cf2736206c97941898c434376f26d9b 21:23:47 ---> Running in deb969bf771a 21:23:47 Removing intermediate container deb969bf771a 21:23:47 ---> 1f9fb149a308 21:23:47 Step 25/25 : LABEL version=0.0.0 21:23:48 ---> Running in 65c1c9e46c88 21:23:48 Removing intermediate container 65c1c9e46c88 21:23:48 ---> 2d3ca2a81267 21:23:48 [Warning] One or more build-args [ARCH] were not consumed 21:23:48 Successfully built 2d3ca2a81267 21:23:48 Successfully tagged device-rest-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 21:23:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:23:48 21:23:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:23:49 arm64: Pulling from edgex-lftools-log-publisher 21:23:49 8998bd30e6a1: Pulling fs layer 21:23:49 04944245beec: Pulling fs layer 21:23:49 699f458cf7ca: Pulling fs layer 21:23:49 765212b225bb: Pulling fs layer 21:23:49 f23df028b6ca: Pulling fs layer 21:23:49 d65c8cfc05b1: Pulling fs layer 21:23:49 765212b225bb: Waiting 21:23:49 f23df028b6ca: Waiting 21:23:49 2437ff75d9bd: Pulling fs layer 21:23:49 d65c8cfc05b1: Waiting 21:23:49 2437ff75d9bd: Waiting 21:23:49 04944245beec: Verifying Checksum 21:23:49 04944245beec: Download complete 21:23:49 765212b225bb: Verifying Checksum 21:23:49 765212b225bb: Download complete 21:23:49 f23df028b6ca: Verifying Checksum 21:23:49 f23df028b6ca: Download complete 21:23:49 d65c8cfc05b1: Verifying Checksum 21:23:49 d65c8cfc05b1: Download complete 21:23:49 699f458cf7ca: Verifying Checksum 21:23:49 699f458cf7ca: Download complete 21:23:50 8998bd30e6a1: Verifying Checksum 21:23:50 8998bd30e6a1: Download complete 21:23:52 2437ff75d9bd: Verifying Checksum 21:23:52 2437ff75d9bd: Download complete 21:23:54 8998bd30e6a1: Pull complete 21:23:55 04944245beec: Pull complete 21:23:56 699f458cf7ca: Pull complete 21:23:56 765212b225bb: Pull complete 21:23:57 f23df028b6ca: Pull complete 21:23:58 d65c8cfc05b1: Pull complete 21:24:16 2437ff75d9bd: Pull complete 21:24:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:24:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:24:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:16 prd-ubuntu20.04-docker-arm64-4c-16g-16290 does not seem to be running inside a container 21:24:16 $ 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-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:24:19 $ docker top fcd017de5c9d327f7f0efcd6e7161f2c8c1a8eda37e7e0368e54fc4b0b43d0e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:24:19 ---> job-cost.sh 21:24:19 lf-activate-venv: SKIPPING 21:24:19 INFO: No Stack... 21:24:20 INFO: Retrieving Pricing Info for: v3-standard-4 21:24:21 INFO: Archiving Costs [Pipeline] sh 21:24:21 + + cat /w/workspace/device-rest-go/2/archives/cost.csv 21:24:21 cut -d, -f6 [Pipeline] lock 21:24:21 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-360-2-stack-cost] 21:24:21 Resource [jenkins-edgexfoundry-device-rest-go-PR-360-2-stack-cost] did not exist. Created. 21:24:21 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-360-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:24:22 /w/workspace/device-rest-go/2@tmp/durable-e7d5b50a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:24:22 + echo total: 0.10999999940395355 [Pipeline] stash 21:24:22 Warning: overwriting stash ‘stack-cost’ 21:24:22 Stashed 1 file(s) [Pipeline] } 21:24:22 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-360-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:24:22 $ docker stop --time=1 fcd017de5c9d327f7f0efcd6e7161f2c8c1a8eda37e7e0368e54fc4b0b43d0e3 21:24:24 $ docker rm -f --volumes fcd017de5c9d327f7f0efcd6e7161f2c8c1a8eda37e7e0368e54fc4b0b43d0e3 [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 21:24:24 provisioning config files... 21:24:24 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-360@tmp/config16708674311990878777tmp [Pipeline] { [Pipeline] sh 21:24:25 + set +x 21:24:25 + bash -s -- 21:24:25 + curl -s https://codecov.io/bash 21:24:25 21:24:25 _____ _ 21:24:25 / ____| | | 21:24:25 | | ___ __| | ___ ___ _____ __ 21:24:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:24:25 | |___| (_) | (_| | __/ (_| (_) \ V / 21:24:25 \_____\___/ \__,_|\___|\___\___/ \_/ 21:24:25 Bash-1.0.6 21:24:25 21:24:25 21:24:25 ==> git version 2.25.1 found 21:24:25 ==> 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 21:24:25 Release-Date: 2020-01-08 21:24:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:24:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:24:25 ==> Jenkins CI detected. 21:24:25 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-360 21:24:25 project root: . 21:24:25 --> token set from env 21:24:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:24:25 ==> Running gcov in . (disable via -X gcov) 21:24:25 ==> Python coveragepy not found 21:24:25 ==> Searching for coverage reports in: 21:24:25 + . 21:24:25 -> Found 1 reports 21:24:25 ==> Detecting git/mercurial file structure 21:24:25 ==> Reading reports 21:24:25 + ./coverage.out bytes=14499 21:24:25 ==> Appending adjustments 21:24:25 https://docs.codecov.io/docs/fixing-reports 21:24:25 + Found adjustments 21:24:25 ==> Gzipping contents 21:24:25 4.0K /tmp/codecov.G80syo.gz 21:24:25 ==> Uploading reports 21:24:25 url: https://codecov.io 21:24:25 query: branch=PR-360&commit=5182527f7cf2736206c97941898c434376f26d9b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-360%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=360&job=&cmd_args= 21:24:25 -> Pinging Codecov 21:24:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-360&commit=5182527f7cf2736206c97941898c434376f26d9b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-360%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=360&job=&cmd_args= 21:24:25 -> Uploading to 21:24:25 https://storage.googleapis.com/codecov/v4/raw/2023-11-01/4E5D53B4F1F92C436F7061BF334D961C/5182527f7cf2736206c97941898c434376f26d9b/aa3815ed-22eb-4ac2-9430-65a792a0f8f9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231101T212425Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3b0c4d675436b7faafdd3832ee516108f335cfc8ce3c914d7c8f34e4dc7d778f 21:24:25 % Total % Received % Xferd Average Speed Time Time Time Current 21:24:25 Dload Upload Total Spent Left Speed 21:24:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9670 --:--:-- --:--:-- --:--:-- 9630 21:24:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/5182527f7cf2736206c97941898c434376f26d9b [Pipeline] } 21:24:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:24:26 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-360/archives ] 21:24:26 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-360/archives 21:24:26 total 16 21:24:26 drwxr-xr-x 3 root root 4096 Nov 1 21:14 . 21:24:26 drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 21:14 .. 21:24:26 drwxr-xr-x 2 root root 4096 Nov 1 21:14 cost 21:24:26 -rw-r--r-- 1 root root 86 Nov 1 21:14 cost.csv 21:24:26 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-360/archives 21:24:26 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-360/archives 21:24:26 total 16 21:24:26 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 21:14 . 21:24:26 drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 21:14 .. 21:24:26 drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 21:14 cost 21:24:26 -rw-r--r-- 1 jenkins jenkins 86 Nov 1 21:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:24:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:24:27 ---> package-listing.sh 21:24:27 ++ tr '[:upper:]' '[:lower:]' 21:24:27 ++ facter osfamily 21:24:28 + OS_FAMILY=debian 21:24:28 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-360 21:24:28 + START_PACKAGES=/tmp/packages_start.txt 21:24:28 + END_PACKAGES=/tmp/packages_end.txt 21:24:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:24:28 + PACKAGES=/tmp/packages_start.txt 21:24:28 + '[' /w/workspace/gexfoundry_device-rest-go_PR-360 ']' 21:24:28 + PACKAGES=/tmp/packages_end.txt 21:24:28 + case "${OS_FAMILY}" in 21:24:28 + dpkg -l 21:24:28 + grep '^ii' 21:24:28 + '[' -f /tmp/packages_start.txt ']' 21:24:28 + '[' -f /tmp/packages_end.txt ']' 21:24:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:24:28 + '[' /w/workspace/gexfoundry_device-rest-go_PR-360 ']' 21:24:28 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-360/archives/ 21:24:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-360/archives/ [Pipeline] echo 21:24:28 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-360/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:24:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:24:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:29 prd-ubuntu20.04-docker-8c-8g-16289 does not seem to be running inside a container 21:24:29 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-360/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-rest-go_PR-360 -v /w/workspace/gexfoundry_device-rest-go_PR-360:/w/workspace/gexfoundry_device-rest-go_PR-360:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-360@tmp:/w/workspace/gexfoundry_device-rest-go_PR-360@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 21:24:29 $ docker top 074ca6ea6d4433f82e5e4bc722bffebba6f7407eb887b73f1ca7afbcb8d7689c -eo pid,comm [Pipeline] { [Pipeline] sh 21:24:29 + touch /tmp/pre-build-complete [Pipeline] sh 21:24:29 + mkdir -p /var/log/sysstat [Pipeline] sh 21:24:30 + ls /var/log/sa-host 21:24:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:24:30 provisioning config files... 21:24:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-360@tmp/config4911511078106006435tmp [Pipeline] { [Pipeline] echo 21:24:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:24:30 ---> create-netrc.sh [Pipeline] } 21:24:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:24:31 ---> python-tools-install.sh [Pipeline] echo 21:24:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:24:31 ---> sudo-logs.sh 21:24:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:24:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:24:31 ---> job-cost.sh 21:24:31 lf-activate-venv: SKIPPING 21:24:31 DEBUG: total: 0.2199999988079071 21:24:31 INFO: Retrieving Stack Cost... 21:24:31 INFO: Retrieving Pricing Info for: v3-standard-8 21:24:32 INFO: Archiving Costs [Pipeline] echo 21:24:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:24:32 ---> logs-deploy.sh 21:24:32 lf-activate-venv: SKIPPING 21:24:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-360/2 21:24:32 INFO: archiving workspace using pattern(s): 21:24:33 Archives upload complete. 21:24:33 INFO: archiving logs to Nexus 21:24:34 ---> uname -a: 21:24:34 Linux prd-ubuntu20-04-docker-8c-8g-16289 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:24:34 21:24:34 21:24:34 ---> lscpu: 21:24:34 Architecture: x86_64 21:24:34 CPU op-mode(s): 32-bit, 64-bit 21:24:34 Byte Order: Little Endian 21:24:34 Address sizes: 40 bits physical, 48 bits virtual 21:24:34 CPU(s): 8 21:24:34 On-line CPU(s) list: 0-7 21:24:34 Thread(s) per core: 1 21:24:34 Core(s) per socket: 1 21:24:34 Socket(s): 8 21:24:34 NUMA node(s): 1 21:24:34 Vendor ID: AuthenticAMD 21:24:34 CPU family: 23 21:24:34 Model: 49 21:24:34 Model name: AMD EPYC-Rome Processor 21:24:34 Stepping: 0 21:24:34 CPU MHz: 2799.998 21:24:34 BogoMIPS: 5599.99 21:24:34 Virtualization: AMD-V 21:24:34 Hypervisor vendor: KVM 21:24:34 Virtualization type: full 21:24:34 L1d cache: 256 KiB 21:24:34 L1i cache: 256 KiB 21:24:34 L2 cache: 4 MiB 21:24:34 L3 cache: 128 MiB 21:24:34 NUMA node0 CPU(s): 0-7 21:24:34 Vulnerability Itlb multihit: Not affected 21:24:34 Vulnerability L1tf: Not affected 21:24:34 Vulnerability Mds: Not affected 21:24:34 Vulnerability Meltdown: Not affected 21:24:34 Vulnerability Mmio stale data: Not affected 21:24:34 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:24:34 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:24:34 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:24:34 Vulnerability Srbds: Not affected 21:24:34 Vulnerability Tsx async abort: Not affected 21:24:34 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 21:24:34 21:24:34 21:24:34 ---> nproc: 21:24:34 8 21:24:34 21:24:34 21:24:34 ---> df -h: 21:24:34 Filesystem Size Used Avail Use% Mounted on 21:24:34 overlay 155G 12G 144G 8% / 21:24:34 tmpfs 64M 0 64M 0% /dev 21:24:34 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:24:34 shm 64M 0 64M 0% /dev/shm 21:24:34 /dev/vda1 155G 12G 144G 8% /facter-os 21:24:34 21:24:34 21:24:34 ---> sar -b -r -n DEV: 21:24:34 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-16289) 11/01/23 _x86_64_ (8 CPU) 21:24:34 21:24:34 21:11:46 LINUX RESTART (8 CPU) 21:24:34 21:24:34 21:12:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:24:34 21:13:01 365.18 47.99 317.19 0.00 5428.75 72910.34 0.00 21:24:34 21:14:01 219.83 1.47 218.36 0.00 42.79 55385.27 0.00 21:24:34 21:15:01 190.47 0.22 190.25 0.00 14.66 45565.47 0.00 21:24:34 21:16:01 1.87 0.00 1.87 0.00 0.00 27.35 0.00 21:24:34 21:17:01 36.34 11.71 24.63 0.00 5432.16 6246.03 0.00 21:24:34 21:18:01 4.15 0.00 4.15 0.00 0.00 51.32 0.00 21:24:34 21:19:01 1.00 0.00 1.00 0.00 0.00 10.93 0.00 21:24:34 21:20:01 1.90 0.00 1.90 0.00 0.00 21.06 0.00 21:24:34 21:21:01 1.72 0.37 1.35 0.00 11.46 15.46 0.00 21:24:34 21:22:01 3.18 1.22 1.97 0.00 25.73 37.19 0.00 21:24:34 21:23:01 1.17 0.00 1.17 0.00 0.00 12.66 0.00 21:24:34 21:24:01 1.75 0.00 1.75 0.00 0.00 19.06 0.00 21:24:34 Average: 69.05 5.25 63.81 0.00 913.05 15026.93 0.00 21:24:34 21:24:34 21:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:24:34 21:13:01 29283096 31593508 734436 2.23 73616 2511128 1812340 5.34 978952 2257308 20 21:24:34 21:14:01 27605988 31003904 1300000 3.95 152692 3407588 2308460 6.80 1737708 3037988 205436 21:24:34 21:15:01 27614648 31555552 749668 2.28 165396 3902136 1768848 5.21 1278248 3453280 320 21:24:34 21:16:01 27628028 31568996 736096 2.24 165424 3902140 1768848 5.21 1262376 3453284 332 21:24:34 21:17:01 27236408 31532660 760916 2.31 173496 4234872 1833308 5.40 1512396 3566188 1028 21:24:34 21:18:01 27260968 31557184 737124 2.24 173540 4234868 1849456 5.45 1488704 3566148 12 21:24:34 21:19:01 27260572 31556840 737324 2.24 173564 4234872 1849456 5.45 1488624 3566152 12 21:24:34 21:20:01 27269556 31565848 728292 2.21 173616 4234876 1849456 5.45 1480412 3566152 24 21:24:34 21:21:01 27264768 31561484 732592 2.23 173704 4235216 1849456 5.45 1486672 3566276 16 21:24:34 21:22:01 27260120 31559064 734992 2.24 173780 4235972 1849456 5.45 1492400 3566880 124 21:24:34 21:23:01 27259852 31558816 735172 2.24 173808 4235972 1849456 5.45 1491976 3566848 12 21:24:34 21:24:01 27260056 31559068 734872 2.23 173840 4235976 1849456 5.45 1491980 3566852 4 21:24:34 Average: 27517005 31514410 785124 2.39 162206 3967135 1869833 5.51 1432537 3394446 17278 21:24:34 21:24:34 21:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:24:34 21:13:01 ens3 576.46 368.00 5840.12 103.30 0.00 0.00 0.00 0.00 21:24:34 21:13:01 docker0 19.91 22.62 1.63 175.28 0.00 0.00 0.00 0.00 21:24:34 21:13:01 lo 7.06 7.06 0.69 0.69 0.00 0.00 0.00 0.00 21:24:34 21:14:01 ens3 367.16 220.18 2448.10 32.03 0.00 0.00 0.00 0.00 21:24:34 21:14:01 docker0 202.65 339.80 17.35 2418.85 0.00 0.00 0.00 0.00 21:24:34 21:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:24:34 21:14:01 veth654f260 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 21:24:34 21:15:01 ens3 135.04 83.42 2668.53 20.40 0.00 0.00 0.00 0.00 21:24:34 21:15:01 docker0 3.13 7.07 0.19 62.35 0.00 0.00 0.00 0.00 21:24:34 21:15:01 lo 1.93 1.93 0.20 0.20 0.00 0.00 0.00 0.00 21:24:34 21:16:01 ens3 1.17 0.15 0.17 0.07 0.00 0.00 0.00 0.00 21:24:34 21:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:34 21:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:24:34 21:17:01 ens3 130.03 46.54 2027.56 3.59 0.00 0.00 0.00 0.00 21:24:34 21:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:34 21:17:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 21:24:34 21:18:01 ens3 1.82 0.58 2.15 0.10 0.00 0.00 0.00 0.00 21:24:34 21:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:34 21:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:24:34 21:19:01 ens3 0.07 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:34 21:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:34 21:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:34 21:20:01 ens3 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 21:24:34 21:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:34 21:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:24:34 21:21:01 ens3 1.52 1.18 1.21 0.60 0.00 0.00 0.00 0.00 21:24:34 21:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:34 21:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:34 21:22:01 ens3 6.52 5.87 4.15 5.41 0.00 0.00 0.00 0.00 21:24:34 21:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:34 21:22:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 21:24:34 21:23:01 ens3 0.15 0.13 0.08 0.07 0.00 0.00 0.00 0.00 21:24:34 21:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:34 21:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:34 21:24:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 21:24:34 21:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:34 21:24:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:24:34 Average: ens3 101.70 60.53 1082.79 13.80 0.00 0.00 0.00 0.00 21:24:34 Average: docker0 18.81 30.79 1.60 221.40 0.00 0.00 0.00 0.00 21:24:34 Average: lo 0.89 0.89 0.08 0.08 0.00 0.00 0.00 0.00 21:24:34 21:24:34 21:24:34 ---> sar -P ALL: 21:24:34 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-16289) 11/01/23 _x86_64_ (8 CPU) 21:24:34 21:24:34 21:11:46 LINUX RESTART (8 CPU) 21:24:34 21:24:34 21:12:01 CPU %user %nice %system %iowait %steal %idle 21:24:34 21:13:01 all 9.61 0.00 3.42 3.99 0.06 82.92 21:24:34 21:13:01 0 9.74 0.00 3.83 11.21 0.05 75.17 21:24:34 21:13:01 1 7.33 0.00 3.13 0.61 0.05 88.88 21:24:34 21:13:01 2 9.28 0.00 3.36 0.92 0.05 86.39 21:24:34 21:13:01 3 9.41 0.00 2.77 3.80 0.07 83.96 21:24:34 21:13:01 4 11.45 0.00 4.05 0.37 0.07 84.06 21:24:34 21:13:01 5 8.49 0.00 2.76 2.39 0.07 86.30 21:24:34 21:13:01 6 11.20 0.00 4.01 4.38 0.05 80.35 21:24:34 21:13:01 7 10.02 0.00 3.46 8.31 0.05 78.15 21:24:34 21:14:01 all 22.61 0.00 4.33 3.95 0.07 69.05 21:24:34 21:14:01 0 22.31 0.00 4.01 0.97 0.07 72.64 21:24:34 21:14:01 1 22.84 0.00 4.74 15.14 0.08 57.20 21:24:34 21:14:01 2 21.75 0.00 4.72 10.65 0.07 62.81 21:24:34 21:14:01 3 24.62 0.00 4.37 0.22 0.07 70.72 21:24:34 21:14:01 4 21.10 0.00 3.52 0.66 0.05 74.68 21:24:34 21:14:01 5 22.66 0.00 4.00 0.64 0.07 72.63 21:24:34 21:14:01 6 22.84 0.00 3.54 0.29 0.07 73.26 21:24:34 21:14:01 7 22.74 0.00 5.72 3.07 0.08 68.39 21:24:34 21:15:01 all 25.13 0.00 4.21 3.57 0.07 67.01 21:24:34 21:15:01 0 24.60 0.00 4.18 1.84 0.05 69.34 21:24:34 21:15:01 1 24.06 0.00 4.32 1.58 0.07 69.97 21:24:34 21:15:01 2 26.01 0.00 4.00 0.29 0.07 69.64 21:24:34 21:15:01 3 24.60 0.00 3.74 2.32 0.08 69.25 21:24:34 21:15:01 4 24.50 0.00 3.76 0.05 0.08 71.60 21:24:34 21:15:01 5 26.87 0.00 4.04 1.18 0.07 67.84 21:24:34 21:15:01 6 25.21 0.00 4.63 7.52 0.08 62.56 21:24:34 21:15:01 7 25.22 0.00 5.03 13.83 0.08 55.83 21:24:34 21:16:01 all 0.27 0.00 0.02 0.00 0.01 99.70 21:24:34 21:16:01 0 0.03 0.00 0.02 0.02 0.02 99.92 21:24:34 21:16:01 1 0.10 0.00 0.02 0.02 0.02 99.85 21:24:34 21:16:01 2 0.02 0.00 0.02 0.00 0.00 99.97 21:24:34 21:16:01 3 0.02 0.00 0.02 0.00 0.00 99.97 21:24:34 21:16:01 4 1.95 0.00 0.02 0.00 0.00 98.03 21:24:34 21:16:01 5 0.00 0.00 0.00 0.00 0.00 100.00 21:24:34 21:16:01 6 0.00 0.00 0.02 0.00 0.00 99.98 21:24:34 21:16:01 7 0.03 0.00 0.03 0.00 0.02 99.92 21:24:34 21:17:01 all 1.44 0.00 0.58 0.63 0.01 97.34 21:24:34 21:17:01 0 0.97 0.00 0.38 0.22 0.02 98.41 21:24:34 21:17:01 1 0.75 0.00 0.55 0.53 0.02 98.15 21:24:34 21:17:01 2 2.51 0.00 0.48 0.45 0.02 96.55 21:24:34 21:17:01 3 3.23 0.00 0.88 1.52 0.02 94.35 21:24:34 21:17:01 4 1.22 0.00 0.75 0.42 0.00 97.62 21:24:34 21:17:01 5 0.68 0.00 0.45 0.38 0.02 98.46 21:24:34 21:17:01 6 1.17 0.00 0.68 1.40 0.02 96.73 21:24:34 21:17:01 7 0.97 0.00 0.48 0.12 0.00 98.43 21:24:34 21:18:01 all 0.04 0.00 0.03 0.01 0.00 99.92 21:24:34 21:18:01 0 0.03 0.00 0.03 0.00 0.00 99.93 21:24:34 21:18:01 1 0.07 0.00 0.03 0.00 0.00 99.90 21:24:34 21:18:01 2 0.05 0.00 0.03 0.00 0.03 99.88 21:24:34 21:18:01 3 0.03 0.00 0.02 0.00 0.00 99.95 21:24:34 21:18:01 4 0.02 0.00 0.03 0.00 0.00 99.95 21:24:34 21:18:01 5 0.02 0.00 0.02 0.03 0.00 99.93 21:24:34 21:18:01 6 0.03 0.00 0.02 0.00 0.00 99.95 21:24:34 21:18:01 7 0.08 0.00 0.02 0.03 0.00 99.87 21:24:34 21:19:01 all 0.09 0.00 0.01 0.01 0.02 99.88 21:24:34 21:19:01 0 0.02 0.00 0.02 0.00 0.02 99.95 21:24:34 21:19:01 1 0.03 0.00 0.02 0.00 0.02 99.93 21:24:34 21:19:01 2 0.63 0.00 0.02 0.00 0.03 99.32 21:24:34 21:19:01 3 0.00 0.00 0.00 0.02 0.02 99.97 21:24:34 21:19:01 4 0.02 0.00 0.03 0.00 0.02 99.93 21:24:34 21:19:01 5 0.00 0.00 0.00 0.00 0.00 100.00 21:24:34 21:19:01 6 0.02 0.00 0.00 0.00 0.02 99.97 21:24:34 21:19:01 7 0.00 0.00 0.00 0.05 0.02 99.93 21:24:34 21:20:01 all 0.14 0.00 0.01 0.02 0.01 99.83 21:24:34 21:20:01 0 0.03 0.00 0.02 0.00 0.00 99.95 21:24:34 21:20:01 1 0.05 0.00 0.00 0.00 0.00 99.95 21:24:34 21:20:01 2 0.96 0.00 0.03 0.00 0.02 98.99 21:24:34 21:20:01 3 0.02 0.00 0.00 0.00 0.02 99.97 21:24:34 21:20:01 4 0.02 0.00 0.00 0.00 0.00 99.98 21:24:34 21:20:01 5 0.02 0.00 0.00 0.02 0.02 99.95 21:24:34 21:20:01 6 0.02 0.00 0.00 0.00 0.00 99.98 21:24:34 21:20:01 7 0.02 0.00 0.02 0.13 0.00 99.83 21:24:34 21:21:01 all 0.19 0.00 0.02 0.00 0.01 99.79 21:24:34 21:21:01 0 0.15 0.00 0.02 0.00 0.02 99.82 21:24:34 21:21:01 1 0.18 0.00 0.02 0.00 0.00 99.80 21:24:34 21:21:01 2 1.03 0.00 0.03 0.00 0.03 98.90 21:24:34 21:21:01 3 0.00 0.00 0.02 0.00 0.00 99.98 21:24:34 21:21:01 4 0.00 0.00 0.02 0.00 0.00 99.98 21:24:34 21:21:01 5 0.10 0.00 0.02 0.02 0.00 99.87 21:24:34 21:21:01 6 0.02 0.00 0.00 0.00 0.00 99.98 21:24:34 21:21:01 7 0.02 0.00 0.02 0.02 0.00 99.95 21:24:34 21:22:01 all 0.49 0.00 0.03 0.01 0.00 99.45 21:24:34 21:22:01 0 0.15 0.00 0.02 0.00 0.00 99.83 21:24:34 21:22:01 1 1.22 0.00 0.02 0.00 0.02 98.75 21:24:34 21:22:01 2 2.10 0.00 0.13 0.03 0.02 97.71 21:24:34 21:22:01 3 0.05 0.00 0.02 0.00 0.00 99.93 21:24:34 21:22:01 4 0.10 0.00 0.03 0.02 0.00 99.85 21:24:34 21:22:01 5 0.02 0.00 0.00 0.02 0.00 99.97 21:24:34 21:22:01 6 0.08 0.00 0.03 0.02 0.00 99.87 21:24:34 21:22:01 7 0.20 0.00 0.02 0.03 0.00 99.75 21:24:34 21:23:01 all 0.06 0.00 0.01 0.00 0.01 99.91 21:24:34 21:23:01 0 0.18 0.00 0.02 0.00 0.02 99.78 21:24:34 21:23:01 1 0.20 0.00 0.00 0.00 0.00 99.80 21:24:34 21:23:01 2 0.07 0.00 0.03 0.00 0.03 99.87 21:24:34 21:23:01 3 0.00 0.00 0.00 0.00 0.02 99.98 21:24:34 21:23:01 4 0.03 0.00 0.00 0.00 0.00 99.97 21:24:34 21:23:01 5 0.00 0.00 0.00 0.00 0.00 100.00 21:24:34 21:23:01 6 0.03 0.00 0.02 0.00 0.02 99.93 21:24:34 21:23:01 7 0.00 0.00 0.00 0.02 0.00 99.98 21:24:34 21:24:34 21:23:01 CPU %user %nice %system %iowait %steal %idle 21:24:34 21:24:01 all 0.04 0.00 0.01 0.01 0.00 99.94 21:24:34 21:24:01 0 0.07 0.00 0.00 0.00 0.00 99.93 21:24:34 21:24:01 1 0.02 0.00 0.00 0.00 0.00 99.98 21:24:34 21:24:01 2 0.15 0.00 0.02 0.00 0.02 99.82 21:24:34 21:24:01 3 0.03 0.00 0.02 0.02 0.00 99.93 21:24:34 21:24:01 4 0.03 0.00 0.02 0.00 0.02 99.93 21:24:34 21:24:01 5 0.00 0.00 0.02 0.02 0.00 99.97 21:24:34 21:24:01 6 0.02 0.00 0.02 0.00 0.00 99.97 21:24:34 21:24:01 7 0.02 0.00 0.02 0.02 0.00 99.95 21:24:34 Average: all 4.97 0.00 1.05 1.01 0.02 92.95 21:24:34 Average: 0 4.82 0.00 1.04 1.17 0.02 92.95 21:24:34 Average: 1 4.70 0.00 1.06 1.48 0.02 92.74 21:24:34 Average: 2 5.34 0.00 1.06 1.02 0.03 92.55 21:24:34 Average: 3 5.13 0.00 0.98 0.65 0.02 93.21 21:24:34 Average: 4 5.00 0.00 1.01 0.13 0.02 93.85 21:24:34 Average: 5 4.87 0.00 0.93 0.39 0.02 93.79 21:24:34 Average: 6 5.02 0.00 1.07 1.13 0.02 92.76 21:24:34 Average: 7 4.90 0.00 1.22 2.12 0.02 91.74 21:24:34 21:24:34 21:24:34