Pull request #318 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6+ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e (4f1336708ac7a300699f698bf6626b9d1d3a1b58) 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-ssh6162442491725737731.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh4349044573028249319.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-318/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-318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4307437511280617380.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh15629666850295298313.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-318/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-318/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16593741688969114376.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.20 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-18479 in /w/workspace/gexfoundry_device-rest-go_PR-318 [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-318 # 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 ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e into PR head commit 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 Merge succeeded, producing 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 Checking out Revision 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 (PR-318) Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:09:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:09:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > 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/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 # 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 ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 # timeout=10 > git rev-list --no-walk d2d899ddde689ca7e035e4bb5ec627d6e005b8ed # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:09:12 ========================================================= 18:09:12 EdgeX Global Pipelines Version Info 18:09:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:09:13 ------------------- 18:09:13 stable info: 18:09:13 ------------------- 18:09:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:09:13 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 18:09:13 Message: update stable to v1.0.250 18:09:13 ------------------- 18:09:13 experimental info: 18:09:13 ------------------- 18:09:13 Commited By: **** collab-it+edgex@linuxfoundation.org 18:09:13 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 18:09:13 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-318 [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-318 [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-318 [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 98b78ce [Pipeline] echo 18:09:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:09:14 provisioning config files... 18:09:14 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config13298561185643787748tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:09:14 ---> docker-login.sh 18:09:14 nexus3.edgexfoundry.org:10001 18:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:15 Configure a credential helper to remove this warning. See 18:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:15 18:09:15 Login Succeeded 18:09:15 nexus3.edgexfoundry.org:10002 18:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:15 Configure a credential helper to remove this warning. See 18:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:15 18:09:15 Login Succeeded 18:09:15 nexus3.edgexfoundry.org:10003 18:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:15 Configure a credential helper to remove this warning. See 18:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:15 18:09:15 Login Succeeded 18:09:15 nexus3.edgexfoundry.org:10004 18:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:15 Configure a credential helper to remove this warning. See 18:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:15 18:09:15 Login Succeeded 18:09:15 docker.io 18:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:15 Configure a credential helper to remove this warning. See 18:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:15 18:09:15 Login Succeeded 18:09:15 ---> docker-login.sh ends [Pipeline] } 18:09:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:09:16 + git rev-list -1 --merges 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6~1..98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 [Pipeline] echo 18:09:16 -----------> git rev-list -1 --merges 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6~1..98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 [false] [Pipeline] sh 18:09:16 + git log --format=format:%s -1 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 [Pipeline] echo 18:09:16 ========================================================= 18:09:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:09:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:09:16 + git log --format=format:%s -1 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 [Pipeline] echo 18:09:16 [semverPrep] GIT_COMMIT: 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6, Commit Message: build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1 [Pipeline] echo 18:09:16 [semverPrep] This is not a build commit. [Pipeline] sh 18:09:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:09:17 + grep -v github /etc/ssh/ssh_known_hosts 18:09:17 + [ -e /tmp/ssh_known_hosts ] 18:09:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:09:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:09:17 + sudo tee -a /etc/ssh/ssh_known_hosts 18:09:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:09:17 18:09:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:09:17 0.1.4: Pulling from edgex-devops/py-git-semver 18:09:17 b85a868b505f: Pulling fs layer 18:09:17 e2be974225ed: Pulling fs layer 18:09:17 339a4e72a1f5: Pulling fs layer 18:09:17 988bab9f4d93: Pulling fs layer 18:09:17 1469e6f7b9e6: Pulling fs layer 18:09:17 eaf3925da568: Pulling fs layer 18:09:17 bab4dde63d76: Pulling fs layer 18:09:17 bde34c3a00c8: Pulling fs layer 18:09:17 b352a97aabf1: Pulling fs layer 18:09:17 4872d77fe225: Pulling fs layer 18:09:17 5851b861e8e6: Pulling fs layer 18:09:17 bde34c3a00c8: Waiting 18:09:17 b352a97aabf1: Waiting 18:09:17 4872d77fe225: Waiting 18:09:17 988bab9f4d93: Waiting 18:09:17 5851b861e8e6: Waiting 18:09:17 eaf3925da568: Waiting 18:09:17 1469e6f7b9e6: Waiting 18:09:17 bab4dde63d76: Waiting 18:09:17 e2be974225ed: Download complete 18:09:17 988bab9f4d93: Verifying Checksum 18:09:17 988bab9f4d93: Download complete 18:09:17 1469e6f7b9e6: Verifying Checksum 18:09:17 1469e6f7b9e6: Download complete 18:09:17 339a4e72a1f5: Verifying Checksum 18:09:17 339a4e72a1f5: Download complete 18:09:18 eaf3925da568: Verifying Checksum 18:09:18 eaf3925da568: Download complete 18:09:18 bde34c3a00c8: Verifying Checksum 18:09:18 bde34c3a00c8: Download complete 18:09:18 b352a97aabf1: Download complete 18:09:18 4872d77fe225: Download complete 18:09:18 5851b861e8e6: Verifying Checksum 18:09:18 5851b861e8e6: Download complete 18:09:18 b85a868b505f: Verifying Checksum 18:09:18 b85a868b505f: Download complete 18:09:18 bab4dde63d76: Verifying Checksum 18:09:18 bab4dde63d76: Download complete 18:09:19 b85a868b505f: Pull complete 18:09:19 e2be974225ed: Pull complete 18:09:20 339a4e72a1f5: Pull complete 18:09:20 988bab9f4d93: Pull complete 18:09:20 1469e6f7b9e6: Pull complete 18:09:20 eaf3925da568: Pull complete 18:09:22 bab4dde63d76: Pull complete 18:09:22 bde34c3a00c8: Pull complete 18:09:22 b352a97aabf1: Pull complete 18:09:22 4872d77fe225: Pull complete 18:09:22 5851b861e8e6: Pull complete 18:09:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:09:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:09:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:09:22 prd-ubuntu20.04-docker-8c-8g-18479 does not seem to be running inside a container 18:09:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:09:25 $ docker top f21518be7a3759e92d7eea8b651949ccb82db535bd6a9c5a9d22c89e3367f92a -eo pid,comm 18:09:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:09:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:09:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:09:25 [ssh-agent] Looking for ssh-agent implementation... 18:09:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:09:25 $ docker exec f21518be7a3759e92d7eea8b651949ccb82db535bd6a9c5a9d22c89e3367f92a ssh-agent 18:09:25 SSH_AUTH_SOCK=/tmp/ssh-PlWyUOD098j8/agent.31 18:09:25 SSH_AGENT_PID=37 18:09:25 Running ssh-add (command line suppressed) 18:09:25 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_1697704814687995542.key (/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_1697704814687995542.key) 18:09:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:09:26 + git tag --points-at HEAD [Pipeline] } 18:09:26 $ docker exec --env ******** --env ******** f21518be7a3759e92d7eea8b651949ccb82db535bd6a9c5a9d22c89e3367f92a ssh-agent -k 18:09:26 unset SSH_AUTH_SOCK; 18:09:26 unset SSH_AGENT_PID; 18:09:26 echo Agent pid 37 killed; 18:09:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:09:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:09:26 [ssh-agent] Looking for ssh-agent implementation... 18:09:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:09:26 $ docker exec f21518be7a3759e92d7eea8b651949ccb82db535bd6a9c5a9d22c89e3367f92a ssh-agent 18:09:26 SSH_AUTH_SOCK=/tmp/ssh-iGih1XzIYSV1/agent.69 18:09:26 SSH_AGENT_PID=75 18:09:26 Running ssh-add (command line suppressed) 18:09:26 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_8723531529173617448.key (/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_8723531529173617448.key) 18:09:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:09:26 + git semver init 18:09:27 2023-06-12 18:09:27,033 [run_init] DEBUG init version:0.0.0 force:False 18:09:27 2023-06-12 18:09:27,033 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver 18:09:27 2023-06-12 18:09:27,034 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-318/.semver 18:09:27 2023-06-12 18:09:27,034 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-318/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318, universal_newlines=False, shell=None, istream=None) 18:09:28 2023-06-12 18:09:28,027 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-318/.git/info/exclude 18:09:28 2023-06-12 18:09:28,028 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 with force:False 18:09:28 2023-06-12 18:09:28,028 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 18:09:28 2023-06-12 18:09:28,033 [execute] INFO git cat-file --batch-check 18:09:28 2023-06-12 18:09:28,034 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318/.semver, universal_newlines=False, shell=None, istream=) 18:09:28 2023-06-12 18:09:28,041 [execute] INFO git cat-file --batch 18:09:28 2023-06-12 18:09:28,041 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318/.semver, universal_newlines=False, shell=None, istream=) 18:09:28 2023-06-12 18:09:28,048 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 18:09:28 0.0.0 [Pipeline] } 18:09:28 $ docker exec --env ******** --env ******** f21518be7a3759e92d7eea8b651949ccb82db535bd6a9c5a9d22c89e3367f92a ssh-agent -k 18:09:28 unset SSH_AUTH_SOCK; 18:09:28 unset SSH_AGENT_PID; 18:09:28 echo Agent pid 75 killed; 18:09:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:09:28 + git semver [Pipeline] } 18:09:29 $ docker stop --time=1 f21518be7a3759e92d7eea8b651949ccb82db535bd6a9c5a9d22c89e3367f92a 18:09:30 $ docker rm -f --volumes f21518be7a3759e92d7eea8b651949ccb82db535bd6a9c5a9d22c89e3367f92a [Pipeline] // withDockerContainer [Pipeline] sh 18:09:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:09:30 Stashed 1 file(s) [Pipeline] echo 18:09:30 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:09:31 provisioning config files... 18:09:31 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config2420579698272995897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:09:31 ---> docker-login.sh 18:09:31 nexus3.edgexfoundry.org:10001 18:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:31 Configure a credential helper to remove this warning. See 18:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:31 18:09:31 Login Succeeded 18:09:31 nexus3.edgexfoundry.org:10002 18:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:31 Configure a credential helper to remove this warning. See 18:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:31 18:09:31 Login Succeeded 18:09:31 nexus3.edgexfoundry.org:10003 18:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:31 Configure a credential helper to remove this warning. See 18:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:31 18:09:31 Login Succeeded 18:09:31 nexus3.edgexfoundry.org:10004 18:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:31 Configure a credential helper to remove this warning. See 18:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:31 18:09:31 Login Succeeded 18:09:31 docker.io 18:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:31 Configure a credential helper to remove this warning. See 18:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:31 18:09:31 Login Succeeded 18:09:31 ---> docker-login.sh ends [Pipeline] } 18:09:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:09:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:09:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:09:31 ========================================================= 18:09:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:09:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:09:32 Sending build context to Docker daemon 10.9MB 18:09:32 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:09:32 Step 2/12 : FROM ${BASE} AS builder 18:09:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:09:32 f56be85fc22e: Pulling fs layer 18:09:32 85791d961cd3: Pulling fs layer 18:09:32 d694b5ae8c79: Pulling fs layer 18:09:32 9f32a84ed3da: Pulling fs layer 18:09:32 4d19c01a9841: Pulling fs layer 18:09:32 9325e15d5711: Pulling fs layer 18:09:32 556b6ee489ea: Pulling fs layer 18:09:32 c5a4b2cf53e6: Pulling fs layer 18:09:32 9f32a84ed3da: Waiting 18:09:32 4d19c01a9841: Waiting 18:09:32 9325e15d5711: Waiting 18:09:32 c5a4b2cf53e6: Waiting 18:09:32 85791d961cd3: Verifying Checksum 18:09:32 85791d961cd3: Download complete 18:09:32 9f32a84ed3da: Verifying Checksum 18:09:32 9f32a84ed3da: Download complete 18:09:32 4d19c01a9841: Verifying Checksum 18:09:32 4d19c01a9841: Download complete 18:09:32 f56be85fc22e: Verifying Checksum 18:09:32 f56be85fc22e: Download complete 18:09:32 9325e15d5711: Verifying Checksum 18:09:32 9325e15d5711: Download complete 18:09:32 f56be85fc22e: Pull complete 18:09:32 85791d961cd3: Pull complete 18:09:33 c5a4b2cf53e6: Verifying Checksum 18:09:33 c5a4b2cf53e6: Download complete 18:09:33 d694b5ae8c79: Verifying Checksum 18:09:33 d694b5ae8c79: Download complete 18:09:33 556b6ee489ea: Verifying Checksum 18:09:33 556b6ee489ea: Download complete 18:09:36 d694b5ae8c79: Pull complete 18:09:36 9f32a84ed3da: Pull complete 18:09:36 4d19c01a9841: Pull complete 18:09:36 9325e15d5711: Pull complete 18:09:38 556b6ee489ea: Pull complete 18:09:39 c5a4b2cf53e6: Pull complete 18:09:39 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 18:09:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:09:39 ---> c4be618373d6 18:09:39 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:09:42 ---> Running in fa19ced8ac74 18:09:42 Removing intermediate container fa19ced8ac74 18:09:42 ---> 05522462e5d2 18:09:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:09:42 ---> Running in 1c33276d0c7d 18:09:42 Removing intermediate container 1c33276d0c7d 18:09:42 ---> b0feab412ad9 18:09:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:09:42 ---> Running in 47b7a3868a1e 18:09:43 Removing intermediate container 47b7a3868a1e 18:09:43 ---> c5273bfadb44 18:09:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:09:43 ---> Running in bb11a5d83013 18:09:43 Removing intermediate container bb11a5d83013 18:09:43 ---> 73e6cba4871d 18:09:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:09:43 ---> Running in ea25540dd380 18:09:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:09:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:09:43 (1/4) Installing openssh-keygen (9.1_p1-r3) 18:09:43 (2/4) Installing libedit (20221030.3.1-r0) 18:09:43 (3/4) Installing openssh-client-common (9.1_p1-r3) 18:09:43 (4/4) Installing openssh-client-default (9.1_p1-r3) 18:09:43 Executing busybox-1.35.0-r29.trigger 18:09:43 OK: 269 MiB in 57 packages 18:09:44 Removing intermediate container ea25540dd380 18:09:44 ---> a73d6b64a726 18:09:44 Step 8/12 : WORKDIR /device-rest-go 18:09:44 ---> Running in d2f72fa9da80 18:09:44 Removing intermediate container d2f72fa9da80 18:09:44 ---> 2b36ef7d00d9 18:09:44 Step 9/12 : COPY go.mod vendor* ./ 18:09:44 ---> 5155171c3176 18:09:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:09:44 ---> Running in 3e804943cf18 18:09:45 Still waiting to schedule task 18:09:45 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:10:11 Removing intermediate container 3e804943cf18 18:10:11 ---> aedb2bb7d732 18:10:11 Step 11/12 : COPY . . 18:10:11 ---> d25498a7e57f 18:10:11 Step 12/12 : RUN $MAKE 18:10:11 ---> Running in 1e425456a39c 18:10:11 noop 18:10:11 Removing intermediate container 1e425456a39c 18:10:11 ---> 55b8522b8186 18:10:11 Successfully built 55b8522b8186 18:10:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:11 + docker inspect -f . ci-base-image-x86_64 18:10:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:10:11 prd-ubuntu20.04-docker-8c-8g-18479 does not seem to be running inside a container 18:10:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:10:12 $ docker top 54a5f5cfbeb834f2949de492556255018bc3a0596ab619715f522db211c74bfa -eo pid,comm [Pipeline] { [Pipeline] sh 18:10:12 + go version 18:10:12 go version go1.20.2 linux/amd64 [Pipeline] } 18:10:12 $ docker stop --time=1 54a5f5cfbeb834f2949de492556255018bc3a0596ab619715f522db211c74bfa 18:10:13 $ docker rm -f --volumes 54a5f5cfbeb834f2949de492556255018bc3a0596ab619715f522db211c74bfa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:14 + docker inspect -f . ci-base-image-x86_64 18:10:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:10:14 prd-ubuntu20.04-docker-8c-8g-18479 does not seem to be running inside a container 18:10:14 $ 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-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:10:14 $ docker top f6700921aea16358258d527a52a36e9824e567151b3411d60683fa3380fec99d -eo pid,comm [Pipeline] { [Pipeline] sh 18:10:14 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-318 [Pipeline] fileExists [Pipeline] sh 18:10:15 + make test 18:10:15 go test ./... -coverprofile=coverage.out ./... 18:10:20 ? github.com/edgexfoundry/device-rest-go [no test files] 18:10:30 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:10:30 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 32.2% of statements 18:10:35 go vet ./... 18:10:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:10:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:10:39 ./bin/test-attribution-txt.sh [Pipeline] echo 18:10:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:10:39 $ docker stop --time=1 f6700921aea16358258d527a52a36e9824e567151b3411d60683fa3380fec99d 18:10:42 $ docker rm -f --volumes f6700921aea16358258d527a52a36e9824e567151b3411d60683fa3380fec99d [Pipeline] // withDockerContainer [Pipeline] sh 18:10:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:10:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:10:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:10:43 + ls -al . 18:10:43 total 184 18:10:43 drwxrwxr-x 9 jenkins jenkins 4096 Jun 12 18:10 . 18:10:43 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 18:09 .. 18:10:43 -rw-rw-r-- 1 jenkins jenkins 151 Jun 12 18:09 .dockerignore 18:10:43 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 18:09 .git 18:10:43 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:09 .github 18:10:43 -rw-rw-r-- 1 jenkins jenkins 329 Jun 12 18:09 .gitignore 18:10:43 -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 18:09 .golangci.yml 18:10:43 drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 18:09 .semver 18:10:43 -rw-rw-r-- 1 jenkins jenkins 9331 Jun 12 18:09 Attribution.txt 18:10:43 -rw-rw-r-- 1 jenkins jenkins 15709 Jun 12 18:09 CHANGELOG.md 18:10:43 -rw-rw-r-- 1 jenkins jenkins 1578 Jun 12 18:09 Dockerfile 18:10:43 -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 18:09 GOVERNANCE.md 18:10:43 -rw-rw-r-- 1 jenkins jenkins 680 Jun 12 18:09 Jenkinsfile 18:10:43 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 18:09 LICENSE 18:10:43 -rw-rw-r-- 1 jenkins jenkins 1779 Jun 12 18:09 Makefile 18:10:43 -rw-rw-r-- 1 jenkins jenkins 620 Jun 12 18:09 OWNERS.md 18:10:43 -rw-rw-r-- 1 jenkins jenkins 15827 Jun 12 18:09 README.md 18:10:43 -rw-rw-r-- 1 jenkins jenkins 5 Jun 12 18:09 VERSION 18:10:43 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 18:09 bin 18:10:43 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:09 cmd 18:10:43 -rw-r--r-- 1 jenkins jenkins 14663 Jun 12 18:10 coverage.out 18:10:43 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 18:09 driver 18:10:43 -rw-rw-r-- 1 jenkins jenkins 3354 Jun 12 18:09 go.mod 18:10:43 -rw-rw-r-- 1 jenkins jenkins 31322 Jun 12 18:09 go.sum 18:10:43 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 18:09 snap 18:10:43 -rw-rw-r-- 1 jenkins jenkins 713 Jun 12 18:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:44 + 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=98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 --label arch=amd64 --label version=0.0.0 . 18:10:44 Sending build context to Docker daemon 10.92MB 18:10:44 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 18:10:44 Step 2/25 : FROM ${BASE} AS builder 18:10:44 ---> 55b8522b8186 18:10:44 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:10:44 ---> Running in 93a7748cbf5e 18:10:44 Removing intermediate container 93a7748cbf5e 18:10:44 ---> c9f7b6beae0a 18:10:44 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:10:44 ---> Running in 1cb67b24696b 18:10:44 Removing intermediate container 1cb67b24696b 18:10:44 ---> 30e1548a426c 18:10:44 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:10:44 ---> Running in 8f6aebb5e377 18:10:44 Removing intermediate container 8f6aebb5e377 18:10:44 ---> 8db65bc761d5 18:10:44 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:10:44 ---> Running in 572c3597c5a3 18:10:44 Removing intermediate container 572c3597c5a3 18:10:44 ---> a679405b4a7e 18:10:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:10:44 ---> Running in 56abd704cbf0 18:10:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:10:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:10:45 OK: 269 MiB in 57 packages 18:10:45 Removing intermediate container 56abd704cbf0 18:10:45 ---> 3586ca5546cc 18:10:45 Step 8/25 : WORKDIR /device-rest-go 18:10:45 ---> Running in c6a445bcabc9 18:10:45 Removing intermediate container c6a445bcabc9 18:10:45 ---> 5900b6c60060 18:10:45 Step 9/25 : COPY go.mod vendor* ./ 18:10:45 ---> fe72cc47288c 18:10:45 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:10:45 ---> Running in 3f62c9665841 18:10:46 Removing intermediate container 3f62c9665841 18:10:46 ---> ab0850fa549b 18:10:46 Step 11/25 : COPY . . 18:10:47 ---> fbaefe211275 18:10:47 Step 12/25 : RUN $MAKE 18:10:47 ---> Running in dedb872d1c92 18:10:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 18:11:05 Removing intermediate container dedb872d1c92 18:11:05 ---> 17cbbffb6104 18:11:05 Step 13/25 : FROM alpine:3.17 18:11:05 3.17: Pulling from library/alpine 18:11:05 f56be85fc22e: Already exists 18:11:05 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:11:05 Status: Downloaded newer image for alpine:3.17 18:11:05 ---> 9ed4aefc74f6 18:11:05 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:11:05 ---> Running in 5587bb3701f9 18:11:05 Removing intermediate container 5587bb3701f9 18:11:05 ---> 8b0892faee7f 18:11:05 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:11:05 ---> Running in 1f2d45c799d1 18:11:05 Removing intermediate container 1f2d45c799d1 18:11:05 ---> 323c5700db63 18:11:05 Step 16/25 : RUN apk add --update --no-cache dumb-init 18:11:05 ---> Running in b7b7b481159e 18:11:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:11:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:11:05 (1/1) Installing dumb-init (1.2.5-r2) 18:11:05 Executing busybox-1.35.0-r29.trigger 18:11:05 OK: 7 MiB in 16 packages 18:11:06 Removing intermediate container b7b7b481159e 18:11:06 ---> f2b8567ae54f 18:11:06 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:11:06 ---> dd72eddd9c51 18:11:06 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:11:06 ---> 44cb7cf1c0ad 18:11:06 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:11:07 ---> 58fd788f636e 18:11:07 Step 20/25 : EXPOSE 59986 18:11:07 ---> Running in 4bbd925654ed 18:11:07 Removing intermediate container 4bbd925654ed 18:11:07 ---> d075b5848bdc 18:11:07 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:11:07 ---> Running in 21c46420b0ec 18:11:07 Removing intermediate container 21c46420b0ec 18:11:07 ---> 7fbefa377b8a 18:11:07 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:11:07 ---> Running in 5a9b1058e9a5 18:11:07 Removing intermediate container 5a9b1058e9a5 18:11:07 ---> ab724275ebc4 18:11:07 Step 23/25 : LABEL arch=amd64 18:11:07 ---> Running in 72c013b12d83 18:11:07 Removing intermediate container 72c013b12d83 18:11:07 ---> d44b88fe3d99 18:11:07 Step 24/25 : LABEL git_sha=98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 18:11:07 ---> Running in 3000caa239cc 18:11:07 Removing intermediate container 3000caa239cc 18:11:07 ---> b5ec09c3027f 18:11:07 Step 25/25 : LABEL version=0.0.0 18:11:07 ---> Running in 84b4233063bc 18:11:07 Removing intermediate container 84b4233063bc 18:11:07 ---> 92a74d672261 18:11:07 [Warning] One or more build-args [ARCH] were not consumed 18:11:07 Successfully built 92a74d672261 18:11:07 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 18:11:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:11:07 18:11:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:11:08 latest: Pulling from edgex-lftools-log-publisher 18:11:08 5eb5b503b376: Pulling fs layer 18:11:08 5c69ac0246d0: Pulling fs layer 18:11:08 ec43610c2a17: Pulling fs layer 18:11:08 3a2ae6a8a46f: Pulling fs layer 18:11:08 33b1e0a273af: Pulling fs layer 18:11:08 5d3b04190fa2: Pulling fs layer 18:11:08 2f39f015ded8: Pulling fs layer 18:11:08 33b1e0a273af: Waiting 18:11:08 5d3b04190fa2: Waiting 18:11:08 2f39f015ded8: Waiting 18:11:08 3a2ae6a8a46f: Waiting 18:11:08 3a2ae6a8a46f: Verifying Checksum 18:11:08 3a2ae6a8a46f: Download complete 18:11:08 ec43610c2a17: Verifying Checksum 18:11:08 ec43610c2a17: Download complete 18:11:08 33b1e0a273af: Verifying Checksum 18:11:08 33b1e0a273af: Download complete 18:11:08 5d3b04190fa2: Verifying Checksum 18:11:08 5d3b04190fa2: Download complete 18:11:08 5eb5b503b376: Download complete 18:11:09 5eb5b503b376: Pull complete 18:11:09 5c69ac0246d0: Pull complete 18:11:10 ec43610c2a17: Pull complete 18:11:10 3a2ae6a8a46f: Pull complete 18:11:10 33b1e0a273af: Pull complete 18:11:10 5d3b04190fa2: Pull complete 18:11:14 2f39f015ded8: Pull complete 18:11:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:11:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:11:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:11:14 prd-ubuntu20.04-docker-8c-8g-18479 does not seem to be running inside a container 18:11:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:11:18 $ docker top 9c401177fcd62d4674b1b778cea9911eab20b82e1408bbd773d76cc26d722544 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:11:18 ---> job-cost.sh 18:11:18 lf-activate-venv: SKIPPING 18:11:18 INFO: No Stack... 18:11:18 INFO: Retrieving Pricing Info for: v3-standard-8 18:11:19 INFO: Archiving Costs [Pipeline] sh 18:11:19 + cat /w/workspace/gexfoundry_device-rest-go_PR-318/archives/cost.csv 18:11:19 + cut -d, -f6 [Pipeline] lock 18:11:19 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-318-13-stack-cost] 18:11:19 Resource [jenkins-edgexfoundry-device-rest-go-PR-318-13-stack-cost] did not exist. Created. 18:11:19 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-318-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:11:19 + echo total: 0.2199999988079071 [Pipeline] stash 18:11:19 Stashed 1 file(s) [Pipeline] } 18:11:19 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-318-13-stack-cost] [Pipeline] // lock [Pipeline] } 18:11:20 $ docker stop --time=1 9c401177fcd62d4674b1b778cea9911eab20b82e1408bbd773d76cc26d722544 18:11:21 $ docker rm -f --volumes 9c401177fcd62d4674b1b778cea9911eab20b82e1408bbd773d76cc26d722544 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:12:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18481 in /w/workspace/gexfoundry_device-rest-go_PR-318 [Pipeline] { [Pipeline] ws 18:12:14 Running in /w/workspace/device-rest-go/13 [Pipeline] { [Pipeline] checkout 18:12:14 The recommended git tool is: git 18:12:19 using credential edgex-jenkins-ssh 18:12:19 Cloning the remote Git repository 18:12:19 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:12:19 > git init /w/workspace/device-rest-go/13 # timeout=10 18:12:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:12:19 > git --version # timeout=10 18:12:19 > git --version # 'git version 2.25.1' 18:12:19 using GIT_SSH to set credentials SSH Credentials for GitHub 18:12:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:12:21 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:12:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:12:22 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:12:22 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:12:22 using GIT_SSH to set credentials SSH Credentials for GitHub 18:12:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:12:23 Merging remotes/origin/main commit ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e into PR head commit 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 18:12:23 Merge succeeded, producing 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 18:12:23 Checking out Revision 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 (PR-318) 18:12:24 Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" 18:12:23 > git config core.sparsecheckout # timeout=10 18:12:23 > git checkout -f 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 # timeout=10 18:12:23 > git remote # timeout=10 18:12:23 > git config --get remote.origin.url # timeout=10 18:12:23 using GIT_SSH to set credentials SSH Credentials for GitHub 18:12:23 > git merge ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e # timeout=10 18:12:23 > git rev-parse HEAD^{commit} # timeout=10 18:12:23 > git config core.sparsecheckout # timeout=10 18:12:23 > git checkout -f 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:12:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:12:25 % Total % Received % Xferd Average Speed Time Time Time Current 18:12:25 Dload Upload Total Spent Left Speed 18:12:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 18:12:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:12:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:12:26 + sudo tee /etc/docker/daemon.new 18:12:26 { 18:12:26 "registry-mirrors": [ 18:12:26 "https://nexus3.edgexfoundry.org:10001" 18:12:26 ], 18:12:26 "bip": "10.250.0.254/24", 18:12:26 "hosts": [ 18:12:26 "tcp://0.0.0.0:5555", 18:12:26 "unix:///var/run/docker.sock" 18:12:26 ], 18:12:26 "mtu": 1458, 18:12:26 "selinux-enabled": true, 18:12:26 "seccomp-profile": "/etc/docker/seccomp.json" 18:12:26 } [Pipeline] sh 18:12:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:12:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:12:45 provisioning config files... 18:12:45 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/13@tmp/config13516898100896693614tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:12:45 ---> docker-login.sh 18:12:45 nexus3.edgexfoundry.org:10001 18:12:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:45 Configure a credential helper to remove this warning. See 18:12:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:45 18:12:45 Login Succeeded 18:12:45 nexus3.edgexfoundry.org:10002 18:12:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:46 Configure a credential helper to remove this warning. See 18:12:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:46 18:12:46 Login Succeeded 18:12:46 nexus3.edgexfoundry.org:10003 18:12:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:46 Configure a credential helper to remove this warning. See 18:12:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:46 18:12:46 Login Succeeded 18:12:46 nexus3.edgexfoundry.org:10004 18:12:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:47 Configure a credential helper to remove this warning. See 18:12:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:47 18:12:47 Login Succeeded 18:12:47 docker.io 18:12:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:47 Configure a credential helper to remove this warning. See 18:12:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:47 18:12:47 Login Succeeded 18:12:47 ---> docker-login.sh ends [Pipeline] } 18:12:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:12:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:12:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:12:47 ========================================================= 18:12:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:12:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:48 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:12:48 Sending build context to Docker daemon 141.8kB 18:12:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:12:48 Step 2/12 : FROM ${BASE} AS builder 18:12:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:12:48 c41833b44d91: Pulling fs layer 18:12:48 ed15518f5707: Pulling fs layer 18:12:48 feae8fd75edb: Pulling fs layer 18:12:48 242c74f7c9fa: Pulling fs layer 18:12:48 3cdef696dda3: Pulling fs layer 18:12:48 2ced38df9373: Pulling fs layer 18:12:48 58f1dce35555: Pulling fs layer 18:12:48 3cdef696dda3: Waiting 18:12:48 242c74f7c9fa: Waiting 18:12:48 2ced38df9373: Waiting 18:12:48 58f1dce35555: Waiting 18:12:48 ed15518f5707: Verifying Checksum 18:12:48 ed15518f5707: Download complete 18:12:48 242c74f7c9fa: Verifying Checksum 18:12:48 242c74f7c9fa: Download complete 18:12:48 3cdef696dda3: Verifying Checksum 18:12:48 3cdef696dda3: Download complete 18:12:48 c41833b44d91: Verifying Checksum 18:12:48 c41833b44d91: Download complete 18:12:49 c41833b44d91: Pull complete 18:12:50 58f1dce35555: Verifying Checksum 18:12:50 58f1dce35555: Download complete 18:12:51 feae8fd75edb: Verifying Checksum 18:12:51 feae8fd75edb: Download complete 18:12:51 2ced38df9373: Download complete 18:12:53 ed15518f5707: Pull complete 18:13:05 feae8fd75edb: Pull complete 18:13:05 242c74f7c9fa: Pull complete 18:13:05 3cdef696dda3: Pull complete 18:13:12 2ced38df9373: Pull complete 18:13:14 58f1dce35555: Pull complete 18:13:14 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 18:13:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:13:14 ---> fadd8f120f05 18:13:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:13:16 ---> Running in 099337b533c5 18:13:16 Removing intermediate container 099337b533c5 18:13:16 ---> 393255989976 18:13:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:13:16 ---> Running in d82553085e1e 18:13:17 Removing intermediate container d82553085e1e 18:13:17 ---> 0aa927a62b86 18:13:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:13:17 ---> Running in 23a124fae437 18:13:17 Removing intermediate container 23a124fae437 18:13:17 ---> 82f6b0b1ae7d 18:13:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:13:17 ---> Running in 93abd7310256 18:13:18 Removing intermediate container 93abd7310256 18:13:18 ---> fd9dc07bf6f5 18:13:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:13:18 ---> Running in e8128152efbc 18:13:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:13:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:13:20 (1/4) Installing openssh-keygen (9.1_p1-r3) 18:13:20 (2/4) Installing libedit (20221030.3.1-r0) 18:13:20 (3/4) Installing openssh-client-common (9.1_p1-r3) 18:13:20 (4/4) Installing openssh-client-default (9.1_p1-r3) 18:13:20 Executing busybox-1.35.0-r29.trigger 18:13:20 OK: 268 MiB in 57 packages 18:13:21 Removing intermediate container e8128152efbc 18:13:21 ---> 47f248274707 18:13:21 Step 8/12 : WORKDIR /device-rest-go 18:13:21 ---> Running in bed51e752d11 18:13:22 Removing intermediate container bed51e752d11 18:13:22 ---> dc3d922ceca6 18:13:22 Step 9/12 : COPY go.mod vendor* ./ 18:13:22 ---> bebe23907e52 18:13:22 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:13:22 ---> Running in 1a8b532dd1ec 18:14:30 Removing intermediate container 1a8b532dd1ec 18:14:30 ---> fc61da0de187 18:14:30 Step 11/12 : COPY . . 18:14:30 ---> 601c63f0c5cc 18:14:30 Step 12/12 : RUN $MAKE 18:14:30 ---> Running in 0c1581bd0eb9 18:14:30 noop 18:14:30 Removing intermediate container 0c1581bd0eb9 18:14:30 ---> 5e61a12d60a4 18:14:30 Successfully built 5e61a12d60a4 18:14:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:31 + docker inspect -f . ci-base-image-arm64 18:14:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:31 prd-ubuntu20.04-docker-arm64-4c-16g-18481 does not seem to be running inside a container 18:14:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:14:32 $ docker top fead115e5d1f6e77a0e614591d9d31fbb3e908184def42b85c67abb5a1fd6cb9 -eo pid,comm [Pipeline] { [Pipeline] sh 18:14:33 + go version 18:14:33 go version go1.20.2 linux/arm64 [Pipeline] } 18:14:33 $ docker stop --time=1 fead115e5d1f6e77a0e614591d9d31fbb3e908184def42b85c67abb5a1fd6cb9 18:14:35 $ docker rm -f --volumes fead115e5d1f6e77a0e614591d9d31fbb3e908184def42b85c67abb5a1fd6cb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:35 + docker inspect -f . ci-base-image-arm64 18:14:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:35 prd-ubuntu20.04-docker-arm64-4c-16g-18481 does not seem to be running inside a container 18:14:35 $ 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/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:14:36 $ docker top 5f191f9437e21ea909b71661cf058aaf2bdf92788668c48d92fde4f1908c8eb8 -eo pid,comm [Pipeline] { [Pipeline] sh 18:14:37 + git config --global --add safe.directory /w/workspace/device-rest-go/13 [Pipeline] fileExists [Pipeline] sh 18:14:38 + make test 18:14:38 go test ./... -coverprofile=coverage.out ./... 18:15:10 ? github.com/edgexfoundry/device-rest-go [no test files] 18:17:02 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:17:02 ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 32.2% of statements 18:17:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:17:02 go vet ./... 18:17:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:17:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:17:24 ./bin/test-attribution-txt.sh [Pipeline] echo 18:17:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:17:24 $ docker stop --time=1 5f191f9437e21ea909b71661cf058aaf2bdf92788668c48d92fde4f1908c8eb8 18:17:26 $ docker rm -f --volumes 5f191f9437e21ea909b71661cf058aaf2bdf92788668c48d92fde4f1908c8eb8 [Pipeline] // withDockerContainer [Pipeline] sh 18:17:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:17:27 Warning: overwriting stash ‘coverage-report’ 18:17:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:17:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:17:28 + ls -al . 18:17:28 total 180 18:17:28 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 18:14 . 18:17:28 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 18:12 .. 18:17:28 -rw-rw-r-- 1 jenkins jenkins 151 Jun 12 18:12 .dockerignore 18:17:28 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 18:12 .git 18:17:28 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:12 .github 18:17:28 -rw-rw-r-- 1 jenkins jenkins 329 Jun 12 18:12 .gitignore 18:17:28 -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 18:12 .golangci.yml 18:17:28 -rw-rw-r-- 1 jenkins jenkins 9331 Jun 12 18:12 Attribution.txt 18:17:28 -rw-rw-r-- 1 jenkins jenkins 15709 Jun 12 18:12 CHANGELOG.md 18:17:28 -rw-rw-r-- 1 jenkins jenkins 1578 Jun 12 18:12 Dockerfile 18:17:28 -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 18:12 GOVERNANCE.md 18:17:28 -rw-rw-r-- 1 jenkins jenkins 680 Jun 12 18:12 Jenkinsfile 18:17:28 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 18:12 LICENSE 18:17:28 -rw-rw-r-- 1 jenkins jenkins 1779 Jun 12 18:12 Makefile 18:17:28 -rw-rw-r-- 1 jenkins jenkins 620 Jun 12 18:12 OWNERS.md 18:17:28 -rw-rw-r-- 1 jenkins jenkins 15827 Jun 12 18:12 README.md 18:17:28 -rw-rw-r-- 1 jenkins jenkins 5 Jun 12 18:09 VERSION 18:17:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 18:12 bin 18:17:28 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:12 cmd 18:17:28 -rw-r--r-- 1 jenkins jenkins 14663 Jun 12 18:16 coverage.out 18:17:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 18:12 driver 18:17:28 -rw-rw-r-- 1 jenkins jenkins 3354 Jun 12 18:12 go.mod 18:17:28 -rw-rw-r-- 1 jenkins jenkins 31322 Jun 12 18:12 go.sum 18:17:28 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 18:12 snap 18:17:28 -rw-rw-r-- 1 jenkins jenkins 713 Jun 12 18:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:28 + 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=98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 --label arch=arm64 --label version=0.0.0 . 18:17:28 Sending build context to Docker daemon 157.2kB 18:17:28 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 18:17:28 Step 2/25 : FROM ${BASE} AS builder 18:17:28 ---> 5e61a12d60a4 18:17:28 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:17:28 ---> Running in fdee618ce30b 18:17:29 Removing intermediate container fdee618ce30b 18:17:29 ---> 3c56f1170f53 18:17:29 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:17:29 ---> Running in cde487c7a56b 18:17:29 Removing intermediate container cde487c7a56b 18:17:29 ---> 9ed4e001fc73 18:17:29 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:17:29 ---> Running in e7ed647519cc 18:17:29 Removing intermediate container e7ed647519cc 18:17:29 ---> 935d0e361674 18:17:29 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:17:29 ---> Running in dd11742ec4ea 18:17:30 Removing intermediate container dd11742ec4ea 18:17:30 ---> 1576dbaaf536 18:17:30 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:17:30 ---> Running in fa81902f6b1e 18:17:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:17:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:17:33 OK: 268 MiB in 57 packages 18:17:33 Removing intermediate container fa81902f6b1e 18:17:33 ---> 9affb2b1763a 18:17:33 Step 8/25 : WORKDIR /device-rest-go 18:17:33 ---> Running in 3d704f17a1f5 18:17:34 Removing intermediate container 3d704f17a1f5 18:17:34 ---> 93d9710e2663 18:17:34 Step 9/25 : COPY go.mod vendor* ./ 18:17:35 ---> 3477c904f0df 18:17:35 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:17:35 ---> Running in 1e6ba0bc4af9 18:17:38 Removing intermediate container 1e6ba0bc4af9 18:17:38 ---> 242906efd782 18:17:38 Step 11/25 : COPY . . 18:17:38 ---> 677bc008cf8c 18:17:38 Step 12/25 : RUN $MAKE 18:17:38 ---> Running in 96071d31f1a7 18:17:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 18:20:01 Removing intermediate container 96071d31f1a7 18:20:01 ---> db6bf05dc4b5 18:20:01 Step 13/25 : FROM alpine:3.17 18:20:01 3.17: Pulling from library/alpine 18:20:01 c41833b44d91: Already exists 18:20:01 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:20:01 Status: Downloaded newer image for alpine:3.17 18:20:01 ---> 51e60588ff2c 18:20:01 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:20:01 ---> Running in ff64bf484bb0 18:20:01 Removing intermediate container ff64bf484bb0 18:20:01 ---> 645518a4ae5a 18:20:01 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:20:01 ---> Running in 7a089c4ec9ea 18:20:01 Removing intermediate container 7a089c4ec9ea 18:20:01 ---> 0d24244c71f6 18:20:01 Step 16/25 : RUN apk add --update --no-cache dumb-init 18:20:01 ---> Running in de18013c5f9d 18:20:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:20:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:20:01 (1/1) Installing dumb-init (1.2.5-r2) 18:20:01 Executing busybox-1.35.0-r29.trigger 18:20:01 OK: 8 MiB in 16 packages 18:20:01 Removing intermediate container de18013c5f9d 18:20:01 ---> d9ab39653f7e 18:20:01 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:20:01 ---> 207540eb9961 18:20:01 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:20:01 ---> 9a2cb4cf3293 18:20:01 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:20:01 ---> 95bb62a50f01 18:20:01 Step 20/25 : EXPOSE 59986 18:20:01 ---> Running in d2236f7dd6d9 18:20:01 Removing intermediate container d2236f7dd6d9 18:20:01 ---> 24f2f0028fe3 18:20:01 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:20:01 ---> Running in 451bfa093515 18:20:01 Removing intermediate container 451bfa093515 18:20:01 ---> 56e573dff1d5 18:20:01 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:20:01 ---> Running in 032f352728ec 18:20:01 Removing intermediate container 032f352728ec 18:20:01 ---> 2a0d286e6e58 18:20:01 Step 23/25 : LABEL arch=arm64 18:20:01 ---> Running in 6cae7be061bf 18:20:01 Removing intermediate container 6cae7be061bf 18:20:01 ---> 70ff0eb65b35 18:20:01 Step 24/25 : LABEL git_sha=98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 18:20:01 ---> Running in c8377194fba5 18:20:01 Removing intermediate container c8377194fba5 18:20:01 ---> 68f00e0e2e25 18:20:01 Step 25/25 : LABEL version=0.0.0 18:20:01 ---> Running in c80758506bad 18:20:01 Removing intermediate container c80758506bad 18:20:01 ---> 59e5be90527c 18:20:01 [Warning] One or more build-args [ARCH] were not consumed 18:20:01 Successfully built 59e5be90527c 18:20:01 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 18:20:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:20:02 18:20:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:20:02 arm64: Pulling from edgex-lftools-log-publisher 18:20:02 8998bd30e6a1: Pulling fs layer 18:20:02 04944245beec: Pulling fs layer 18:20:02 699f458cf7ca: Pulling fs layer 18:20:02 765212b225bb: Pulling fs layer 18:20:02 f23df028b6ca: Pulling fs layer 18:20:02 d65c8cfc05b1: Pulling fs layer 18:20:02 2437ff75d9bd: Pulling fs layer 18:20:02 765212b225bb: Waiting 18:20:02 d65c8cfc05b1: Waiting 18:20:02 2437ff75d9bd: Waiting 18:20:02 f23df028b6ca: Waiting 18:20:02 04944245beec: Verifying Checksum 18:20:02 04944245beec: Download complete 18:20:02 765212b225bb: Verifying Checksum 18:20:02 765212b225bb: Download complete 18:20:02 f23df028b6ca: Verifying Checksum 18:20:02 f23df028b6ca: Download complete 18:20:02 d65c8cfc05b1: Verifying Checksum 18:20:02 d65c8cfc05b1: Download complete 18:20:02 699f458cf7ca: Verifying Checksum 18:20:02 699f458cf7ca: Download complete 18:20:03 8998bd30e6a1: Verifying Checksum 18:20:03 8998bd30e6a1: Download complete 18:20:05 2437ff75d9bd: Verifying Checksum 18:20:05 2437ff75d9bd: Download complete 18:20:07 8998bd30e6a1: Pull complete 18:20:07 04944245beec: Pull complete 18:20:08 699f458cf7ca: Pull complete 18:20:09 765212b225bb: Pull complete 18:20:09 f23df028b6ca: Pull complete 18:20:09 d65c8cfc05b1: Pull complete 18:20:25 2437ff75d9bd: Pull complete 18:20:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:20:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:20:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:20:25 prd-ubuntu20.04-docker-arm64-4c-16g-18481 does not seem to be running inside a container 18:20:25 $ 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/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@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:arm64 cat 18:20:28 $ docker top c28bedafaa23df2ca82c13ad6233cde98cd61e7b62d1d504314285fdb2dd476c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:20:28 ---> job-cost.sh 18:20:28 lf-activate-venv: SKIPPING 18:20:28 INFO: No Stack... 18:20:29 INFO: Retrieving Pricing Info for: v3-standard-4 18:20:30 INFO: Archiving Costs [Pipeline] sh 18:20:30 + cat /w/workspace/device-rest-go/13/archives/cost.csv 18:20:30 + cut -d, -f6 [Pipeline] lock 18:20:30 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-318-13-stack-cost] 18:20:30 Resource [jenkins-edgexfoundry-device-rest-go-PR-318-13-stack-cost] did not exist. Created. 18:20:30 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-318-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:20:31 /w/workspace/device-rest-go/13@tmp/durable-02d2e184/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:20:31 + echo total: 0.10999999940395355 [Pipeline] stash 18:20:32 Warning: overwriting stash ‘stack-cost’ 18:20:32 Stashed 1 file(s) [Pipeline] } 18:20:32 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-318-13-stack-cost] [Pipeline] // lock [Pipeline] } 18:20:32 $ docker stop --time=1 c28bedafaa23df2ca82c13ad6233cde98cd61e7b62d1d504314285fdb2dd476c 18:20:33 $ docker rm -f --volumes c28bedafaa23df2ca82c13ad6233cde98cd61e7b62d1d504314285fdb2dd476c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:20:34 provisioning config files... 18:20:34 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config12094047763299873428tmp [Pipeline] { [Pipeline] sh 18:20:34 + set +x 18:20:34 + curl -s https://codecov.io/bash 18:20:34 + bash -s -- 18:20:34 18:20:34 _____ _ 18:20:34 / ____| | | 18:20:34 | | ___ __| | ___ ___ _____ __ 18:20:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:20:34 | |___| (_) | (_| | __/ (_| (_) \ V / 18:20:34 \_____\___/ \__,_|\___|\___\___/ \_/ 18:20:34 Bash-1.0.6 18:20:34 18:20:34 18:20:34 ==> git version 2.25.1 found 18:20:34 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:20:34 Release-Date: 2020-01-08 18:20:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:20:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:20:34 ==> Jenkins CI detected. 18:20:34 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-318 18:20:34 project root: . 18:20:34 --> token set from env 18:20:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:20:34 ==> Running gcov in . (disable via -X gcov) 18:20:34 ==> Python coveragepy not found 18:20:34 ==> Searching for coverage reports in: 18:20:34 + . 18:20:34 -> Found 1 reports 18:20:34 ==> Detecting git/mercurial file structure 18:20:34 ==> Reading reports 18:20:34 + ./coverage.out bytes=14663 18:20:34 ==> Appending adjustments 18:20:34 https://docs.codecov.io/docs/fixing-reports 18:20:34 + Found adjustments 18:20:34 ==> Gzipping contents 18:20:34 4.0K /tmp/codecov.pmd3qr.gz 18:20:34 ==> Uploading reports 18:20:34 url: https://codecov.io 18:20:34 query: branch=PR-318&commit=98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-318%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=318&job=&cmd_args= 18:20:34 -> Pinging Codecov 18:20:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-318&commit=98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-318%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=318&job=&cmd_args= 18:20:34 -> Uploading to 18:20:34 https://storage.googleapis.com/codecov/v4/raw/2023-06-12/4E5D53B4F1F92C436F7061BF334D961C/98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6/09c8bd6d-d63d-489a-a3c2-4cc080dc344a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230612%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230612T182034Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd828f62d3e55741a9326201f4229ff3a9aa4bcecdfa86fa9a9c631fb203adb0 18:20:34 % Total % Received % Xferd Average Speed Time Time Time Current 18:20:34 Dload Upload Total Spent Left Speed 18:20:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 13422 --:--:-- --:--:-- --:--:-- 13494 18:20:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 [Pipeline] } 18:20:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:20:35 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-318/archives ] 18:20:35 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-318/archives 18:20:35 total 16 18:20:35 drwxr-xr-x 3 root root 4096 Jun 12 18:11 . 18:20:35 drwxrwxr-x 10 jenkins jenkins 4096 Jun 12 18:11 .. 18:20:35 drwxr-xr-x 2 root root 4096 Jun 12 18:11 cost 18:20:35 -rw-r--r-- 1 root root 87 Jun 12 18:11 cost.csv 18:20:35 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-318/archives 18:20:35 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-318/archives 18:20:35 total 16 18:20:35 drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 18:11 . 18:20:35 drwxrwxr-x 10 jenkins jenkins 4096 Jun 12 18:11 .. 18:20:35 drwxr-xr-x 2 jenkins jenkins 4096 Jun 12 18:11 cost 18:20:35 -rw-r--r-- 1 jenkins jenkins 87 Jun 12 18:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:20:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:20:36 ---> package-listing.sh 18:20:36 ++ facter osfamily 18:20:36 ++ tr '[:upper:]' '[:lower:]' 18:20:37 + OS_FAMILY=debian 18:20:37 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-318 18:20:37 + START_PACKAGES=/tmp/packages_start.txt 18:20:37 + END_PACKAGES=/tmp/packages_end.txt 18:20:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:20:37 + PACKAGES=/tmp/packages_start.txt 18:20:37 + '[' /w/workspace/gexfoundry_device-rest-go_PR-318 ']' 18:20:37 + PACKAGES=/tmp/packages_end.txt 18:20:37 + case "${OS_FAMILY}" in 18:20:37 + dpkg -l 18:20:37 + grep '^ii' 18:20:37 + '[' -f /tmp/packages_start.txt ']' 18:20:37 + '[' -f /tmp/packages_end.txt ']' 18:20:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:20:37 + '[' /w/workspace/gexfoundry_device-rest-go_PR-318 ']' 18:20:37 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-318/archives/ 18:20:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-318/archives/ [Pipeline] echo 18:20:37 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-318/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:20:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:20:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:20:37 prd-ubuntu20.04-docker-8c-8g-18479 does not seem to be running inside a container 18:20:37 $ 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-318/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-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:20:38 $ docker top 3a9d4ef8d86474f0fc43886886eae2ee6d71f025f95e2d4a7921662d986d2eed -eo pid,comm [Pipeline] { [Pipeline] sh 18:20:38 + touch /tmp/pre-build-complete [Pipeline] sh 18:20:38 + mkdir -p /var/log/sysstat [Pipeline] sh 18:20:39 + ls /var/log/sa-host 18:20:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:20:39 provisioning config files... 18:20:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config8157450951787694755tmp [Pipeline] { [Pipeline] echo 18:20:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:20:39 ---> create-netrc.sh [Pipeline] } 18:20:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:20:39 ---> python-tools-install.sh [Pipeline] echo 18:20:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:20:40 ---> sudo-logs.sh 18:20:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:20:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:20:40 ---> job-cost.sh 18:20:40 lf-activate-venv: SKIPPING 18:20:40 DEBUG: total: 0.2199999988079071 18:20:40 INFO: Retrieving Stack Cost... 18:20:41 INFO: Retrieving Pricing Info for: v3-standard-8 18:20:41 INFO: Archiving Costs [Pipeline] echo 18:20:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:20:41 ---> logs-deploy.sh 18:20:41 lf-activate-venv: SKIPPING 18:20:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-318/13 18:20:41 INFO: archiving workspace using pattern(s): 18:20:42 Archives upload complete. 18:20:42 INFO: archiving logs to Nexus 18:20:43 ---> uname -a: 18:20:43 Linux prd-ubuntu20-04-docker-8c-8g-18479 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:20:43 18:20:43 18:20:43 ---> lscpu: 18:20:43 Architecture: x86_64 18:20:43 CPU op-mode(s): 32-bit, 64-bit 18:20:43 Byte Order: Little Endian 18:20:43 Address sizes: 40 bits physical, 48 bits virtual 18:20:43 CPU(s): 8 18:20:43 On-line CPU(s) list: 0-7 18:20:43 Thread(s) per core: 1 18:20:43 Core(s) per socket: 1 18:20:43 Socket(s): 8 18:20:43 NUMA node(s): 1 18:20:43 Vendor ID: AuthenticAMD 18:20:43 CPU family: 23 18:20:43 Model: 49 18:20:43 Model name: AMD EPYC-Rome Processor 18:20:43 Stepping: 0 18:20:43 CPU MHz: 2800.000 18:20:43 BogoMIPS: 5600.00 18:20:43 Virtualization: AMD-V 18:20:43 Hypervisor vendor: KVM 18:20:43 Virtualization type: full 18:20:43 L1d cache: 256 KiB 18:20:43 L1i cache: 256 KiB 18:20:43 L2 cache: 4 MiB 18:20:43 L3 cache: 128 MiB 18:20:43 NUMA node0 CPU(s): 0-7 18:20:43 Vulnerability Itlb multihit: Not affected 18:20:43 Vulnerability L1tf: Not affected 18:20:43 Vulnerability Mds: Not affected 18:20:43 Vulnerability Meltdown: Not affected 18:20:43 Vulnerability Mmio stale data: Not affected 18:20:43 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:20:43 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:20:43 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:20:43 Vulnerability Srbds: Not affected 18:20:43 Vulnerability Tsx async abort: Not affected 18:20:43 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 18:20:43 18:20:43 18:20:43 ---> nproc: 18:20:43 8 18:20:43 18:20:43 18:20:43 ---> df -h: 18:20:43 Filesystem Size Used Avail Use% Mounted on 18:20:43 overlay 155G 12G 144G 8% / 18:20:43 tmpfs 64M 0 64M 0% /dev 18:20:43 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:20:43 shm 64M 0 64M 0% /dev/shm 18:20:43 /dev/vda1 155G 12G 144G 8% /facter-os 18:20:43 18:20:43 18:20:43 ---> sar -b -r -n DEV: 18:20:43 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-18479) 06/12/23 _x86_64_ (8 CPU) 18:20:43 18:20:43 18:08:36 LINUX RESTART (8 CPU) 18:20:43 18:20:43 18:09:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:20:43 18:10:01 200.17 39.81 160.35 0.00 4279.86 70292.01 0.00 18:20:43 18:11:01 148.78 0.32 148.47 0.00 23.87 46480.00 0.00 18:20:43 18:12:01 98.57 0.03 98.53 0.00 0.67 31722.20 0.00 18:20:43 18:13:01 2.72 0.00 2.72 0.00 0.00 5263.98 0.00 18:20:43 18:14:01 26.00 10.25 15.75 0.00 3454.76 8923.18 0.00 18:20:43 18:15:01 4.77 0.00 4.77 0.00 0.00 5298.18 0.00 18:20:43 18:16:01 2.18 0.00 2.18 0.00 0.00 5258.59 0.00 18:20:43 18:17:01 2.52 0.02 2.50 0.00 0.13 5261.79 0.00 18:20:43 18:18:01 2.37 0.00 2.37 0.00 0.00 5260.86 0.00 18:20:43 18:19:01 2.85 0.00 2.85 0.00 0.00 5274.59 0.00 18:20:43 18:20:01 2.05 0.00 2.05 0.00 0.00 5257.26 0.00 18:20:43 Average: 44.86 4.60 40.27 0.00 706.58 17679.88 0.00 18:20:43 18:20:43 18:09:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:20:43 18:10:01 27968824 31574352 735804 2.24 130880 3643308 2049128 6.04 1169264 3274748 432632 18:20:43 18:11:01 28043432 31549712 755252 2.30 149336 3537768 2102192 6.20 1262556 3109496 77308 18:20:43 18:12:01 27642244 31589704 713028 2.17 158620 3926648 1759156 5.18 1241756 3486172 4 18:20:43 18:13:01 27641548 31589276 713200 2.17 158692 3926656 1759156 5.18 1242044 3486180 12 18:20:43 18:14:01 27407164 31573776 717356 2.18 163896 4130400 1817212 5.36 1397888 3539120 1264 18:20:43 18:15:01 27409200 31575812 715612 2.18 163960 4130396 1817212 5.36 1397496 3539080 132 18:20:43 18:16:01 27416404 31583140 708244 2.15 164044 4130400 1817212 5.36 1390600 3539092 12 18:20:43 18:17:01 27416160 31582996 708352 2.15 164128 4130396 1817212 5.36 1390444 3539084 4 18:20:43 18:18:01 27415984 31583032 708096 2.15 164224 4130408 1817212 5.36 1390776 3539096 12 18:20:43 18:19:01 27416132 31583560 707656 2.15 164356 4130388 1817212 5.36 1390732 3539288 24 18:20:43 18:20:01 27416116 31583652 707524 2.15 164440 4130388 1817212 5.36 1391068 3539288 12 18:20:43 Average: 27563019 31579001 717284 2.18 158780 3995196 1853647 5.46 1333148 3466422 46492 18:20:43 18:20:43 18:09:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:20:43 18:10:01 docker0 193.67 310.01 15.37 2133.08 0.00 0.00 0.00 0.00 18:20:43 18:10:01 ens3 855.82 546.97 8876.37 103.02 0.00 0.00 0.00 0.00 18:20:43 18:10:01 lo 6.51 6.51 0.63 0.63 0.00 0.00 0.00 0.00 18:20:43 18:11:01 docker0 1.32 3.63 0.08 42.54 0.00 0.00 0.00 0.00 18:20:43 18:11:01 ens3 51.95 44.63 82.35 89.32 0.00 0.00 0.00 0.00 18:20:43 18:11:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 18:20:43 18:12:01 docker0 1.62 3.77 0.10 43.03 0.00 0.00 0.00 0.00 18:20:43 18:12:01 ens3 95.92 58.29 2566.87 11.73 0.00 0.00 0.00 0.00 18:20:43 18:12:01 lo 1.67 1.67 0.16 0.16 0.00 0.00 0.00 0.00 18:20:43 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:20:43 18:13:01 ens3 1.82 0.97 4.49 0.31 0.00 0.00 0.00 0.00 18:20:43 18:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:20:43 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:20:43 18:14:01 ens3 61.44 27.76 1373.33 2.28 0.00 0.00 0.00 0.00 18:20:43 18:14:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 18:20:43 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:20:43 18:15:01 ens3 0.97 0.67 0.47 0.35 0.00 0.00 0.00 0.00 18:20:43 18:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:20:43 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:20:43 18:16:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:20:43 18:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:20:43 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:20:43 18:17:01 ens3 0.28 0.12 0.02 0.01 0.00 0.00 0.00 0.00 18:20:43 18:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:20:43 18:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:20:43 18:18:01 ens3 0.60 0.02 0.05 0.00 0.00 0.00 0.00 0.00 18:20:43 18:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:20:43 18:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:20:43 18:19:01 ens3 0.80 0.75 0.41 0.30 0.00 0.00 0.00 0.00 18:20:43 18:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:20:43 18:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:20:43 18:20:01 ens3 0.18 0.12 0.08 0.07 0.00 0.00 0.00 0.00 18:20:43 18:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:20:43 Average: docker0 17.93 28.95 1.42 202.34 0.00 0.00 0.00 0.00 18:20:43 Average: ens3 97.51 62.01 1175.70 18.88 0.00 0.00 0.00 0.00 18:20:43 Average: lo 0.88 0.88 0.08 0.08 0.00 0.00 0.00 0.00 18:20:43 18:20:43 18:20:43 ---> sar -P ALL: 18:20:43 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-18479) 06/12/23 _x86_64_ (8 CPU) 18:20:43 18:20:43 18:08:36 LINUX RESTART (8 CPU) 18:20:43 18:20:43 18:09:01 CPU %user %nice %system %iowait %steal %idle 18:20:43 18:10:01 all 12.14 0.00 4.38 3.25 0.06 80.17 18:20:43 18:10:01 0 10.61 0.00 4.94 3.98 0.05 80.42 18:20:43 18:10:01 1 10.27 0.00 4.46 5.25 0.07 79.95 18:20:43 18:10:01 2 13.49 0.00 4.79 8.55 0.05 73.12 18:20:43 18:10:01 3 15.34 0.00 4.20 0.74 0.07 79.66 18:20:43 18:10:01 4 11.84 0.00 3.74 2.44 0.05 81.93 18:20:43 18:10:01 5 11.89 0.00 4.00 3.77 0.05 80.29 18:20:43 18:10:01 6 12.06 0.00 4.80 0.34 0.05 82.75 18:20:43 18:10:01 7 11.65 0.00 4.11 0.93 0.08 83.22 18:20:43 18:11:01 all 37.39 0.00 6.80 2.08 0.10 53.62 18:20:43 18:11:01 0 36.43 0.00 6.11 0.60 0.18 56.67 18:20:43 18:11:01 1 37.96 0.00 6.94 2.05 0.10 52.95 18:20:43 18:11:01 2 38.24 0.00 7.59 6.93 0.10 47.13 18:20:43 18:11:01 3 35.75 0.00 6.40 0.10 0.07 57.68 18:20:43 18:11:01 4 36.64 0.00 6.62 0.61 0.10 56.04 18:20:43 18:11:01 5 37.82 0.00 7.73 0.67 0.10 53.68 18:20:43 18:11:01 6 38.95 0.00 6.46 0.27 0.08 54.24 18:20:43 18:11:01 7 37.36 0.00 6.58 5.38 0.08 50.59 18:20:43 18:12:01 all 3.07 0.00 1.33 1.36 0.06 94.18 18:20:43 18:12:01 0 3.17 0.00 1.48 4.71 0.05 90.59 18:20:43 18:12:01 1 3.64 0.00 1.06 0.22 0.05 95.04 18:20:43 18:12:01 2 3.23 0.00 1.51 1.74 0.07 93.45 18:20:43 18:12:01 3 3.50 0.00 1.16 0.55 0.07 94.73 18:20:43 18:12:01 4 2.18 0.00 1.66 1.19 0.07 94.89 18:20:43 18:12:01 5 2.84 0.00 1.62 0.03 0.05 95.46 18:20:43 18:12:01 6 3.65 0.00 1.41 0.02 0.07 94.86 18:20:43 18:12:01 7 2.33 0.00 0.77 2.43 0.05 94.42 18:20:43 18:13:01 all 0.11 0.00 0.02 0.15 0.01 99.71 18:20:43 18:13:01 0 0.68 0.00 0.02 0.05 0.02 99.24 18:20:43 18:13:01 1 0.03 0.00 0.02 0.00 0.02 99.93 18:20:43 18:13:01 2 0.03 0.00 0.07 1.17 0.02 98.72 18:20:43 18:13:01 3 0.03 0.00 0.00 0.00 0.00 99.97 18:20:43 18:13:01 4 0.03 0.00 0.02 0.00 0.00 99.95 18:20:43 18:13:01 5 0.02 0.00 0.00 0.00 0.00 99.98 18:20:43 18:13:01 6 0.03 0.00 0.02 0.00 0.00 99.95 18:20:43 18:13:01 7 0.00 0.00 0.00 0.02 0.02 99.97 18:20:43 18:14:01 all 0.86 0.00 0.40 0.64 0.01 98.09 18:20:43 18:14:01 0 0.38 0.00 0.28 0.02 0.00 99.31 18:20:43 18:14:01 1 1.32 0.00 0.63 0.03 0.02 98.00 18:20:43 18:14:01 2 0.50 0.00 0.37 2.90 0.03 96.20 18:20:43 18:14:01 3 0.52 0.00 0.47 0.45 0.00 98.57 18:20:43 18:14:01 4 1.92 0.00 0.50 1.25 0.02 96.31 18:20:43 18:14:01 5 0.50 0.00 0.25 0.03 0.02 99.20 18:20:43 18:14:01 6 1.45 0.00 0.45 0.32 0.02 97.76 18:20:43 18:14:01 7 0.30 0.00 0.23 0.08 0.00 99.38 18:20:43 18:15:01 all 0.03 0.00 0.03 0.02 0.01 99.92 18:20:43 18:15:01 0 0.03 0.00 0.02 0.00 0.02 99.93 18:20:43 18:15:01 1 0.03 0.00 0.03 0.00 0.00 99.93 18:20:43 18:15:01 2 0.05 0.00 0.02 0.08 0.02 99.83 18:20:43 18:15:01 3 0.02 0.00 0.00 0.00 0.00 99.98 18:20:43 18:15:01 4 0.00 0.00 0.03 0.00 0.02 99.95 18:20:43 18:15:01 5 0.05 0.00 0.03 0.00 0.00 99.92 18:20:43 18:15:01 6 0.03 0.00 0.03 0.00 0.02 99.92 18:20:43 18:15:01 7 0.02 0.00 0.05 0.05 0.02 99.87 18:20:43 18:16:01 all 0.04 0.00 0.01 0.02 0.00 99.92 18:20:43 18:16:01 0 0.20 0.00 0.00 0.00 0.00 99.80 18:20:43 18:16:01 1 0.03 0.00 0.02 0.00 0.00 99.95 18:20:43 18:16:01 2 0.02 0.00 0.00 0.18 0.02 99.78 18:20:43 18:16:01 3 0.02 0.00 0.00 0.00 0.00 99.98 18:20:43 18:16:01 4 0.00 0.00 0.00 0.00 0.00 100.00 18:20:43 18:16:01 5 0.02 0.00 0.02 0.00 0.02 99.95 18:20:43 18:16:01 6 0.03 0.00 0.02 0.00 0.00 99.95 18:20:43 18:16:01 7 0.02 0.00 0.02 0.00 0.00 99.97 18:20:43 18:17:01 all 0.02 0.00 0.00 0.01 0.01 99.96 18:20:43 18:17:01 0 0.00 0.00 0.00 0.00 0.02 99.98 18:20:43 18:17:01 1 0.02 0.00 0.00 0.00 0.00 99.98 18:20:43 18:17:01 2 0.05 0.00 0.03 0.05 0.03 99.83 18:20:43 18:17:01 3 0.02 0.00 0.00 0.00 0.00 99.98 18:20:43 18:17:01 4 0.02 0.00 0.00 0.02 0.02 99.95 18:20:43 18:17:01 5 0.00 0.00 0.00 0.00 0.00 100.00 18:20:43 18:17:01 6 0.02 0.00 0.00 0.00 0.00 99.98 18:20:43 18:17:01 7 0.02 0.00 0.00 0.02 0.00 99.97 18:20:43 18:18:01 all 0.02 0.00 0.01 0.02 0.01 99.95 18:20:43 18:18:01 0 0.02 0.00 0.00 0.00 0.00 99.98 18:20:43 18:18:01 1 0.03 0.00 0.00 0.00 0.02 99.95 18:20:43 18:18:01 2 0.05 0.00 0.00 0.10 0.02 99.83 18:20:43 18:18:01 3 0.02 0.00 0.00 0.00 0.00 99.98 18:20:43 18:18:01 4 0.00 0.00 0.00 0.00 0.00 100.00 18:20:43 18:18:01 5 0.03 0.00 0.02 0.00 0.02 99.93 18:20:43 18:18:01 6 0.02 0.00 0.02 0.00 0.00 99.97 18:20:43 18:18:01 7 0.02 0.00 0.02 0.03 0.02 99.92 18:20:43 18:19:01 all 0.10 0.00 0.01 0.02 0.01 99.85 18:20:43 18:19:01 0 0.71 0.00 0.05 0.00 0.02 99.22 18:20:43 18:19:01 1 0.02 0.00 0.02 0.00 0.00 99.97 18:20:43 18:19:01 2 0.03 0.00 0.03 0.05 0.03 99.85 18:20:43 18:19:01 3 0.00 0.00 0.00 0.00 0.02 99.98 18:20:43 18:19:01 4 0.00 0.00 0.00 0.12 0.02 99.87 18:20:43 18:19:01 5 0.00 0.00 0.00 0.00 0.00 100.00 18:20:43 18:19:01 6 0.03 0.00 0.00 0.00 0.00 99.97 18:20:43 18:19:01 7 0.00 0.00 0.02 0.00 0.00 99.98 18:20:43 18:20:01 all 0.27 0.00 0.00 0.01 0.00 99.72 18:20:43 18:20:01 0 1.94 0.00 0.00 0.00 0.00 98.06 18:20:43 18:20:01 1 0.03 0.00 0.00 0.00 0.00 99.97 18:20:43 18:20:01 2 0.03 0.00 0.03 0.07 0.02 99.85 18:20:43 18:20:01 3 0.02 0.00 0.00 0.00 0.00 99.98 18:20:43 18:20:01 4 0.02 0.00 0.00 0.00 0.00 99.98 18:20:43 18:20:01 5 0.03 0.00 0.00 0.00 0.02 99.95 18:20:43 18:20:01 6 0.02 0.00 0.00 0.00 0.00 99.98 18:20:43 18:20:01 7 0.02 0.00 0.00 0.02 0.00 99.97 18:20:43 18:20:43 Average: CPU %user %nice %system %iowait %steal %idle 18:20:43 Average: all 4.88 0.00 1.17 0.69 0.03 93.23 18:20:43 Average: 0 4.90 0.00 1.17 0.85 0.03 93.05 18:20:43 Average: 1 4.82 0.00 1.19 0.68 0.02 93.28 18:20:43 Average: 2 5.03 0.00 1.30 1.98 0.04 91.65 18:20:43 Average: 3 4.98 0.00 1.10 0.17 0.02 93.73 18:20:43 Average: 4 4.75 0.00 1.14 0.51 0.03 93.58 18:20:43 Average: 5 4.81 0.00 1.23 0.41 0.02 93.53 18:20:43 Average: 6 5.09 0.00 1.19 0.09 0.02 93.62 18:20:43 Average: 7 4.66 0.00 1.06 0.81 0.02 93.44 18:20:43 18:20:43 18:20:43