cloudxxx8 commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 12e18996c0c91e8b0504df444ed4729b65be514a+328f14cd4e0e2f12280e28257e4d0d1118a94cd7 (504bb5c1da6ce1dbb51e961e729afe19e4f3ba2e) 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-ssh18414912741661081227.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh5278781622808472692.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-206/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-206/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1223980005911049380.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh9548933565129557407.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-206/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-206/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5655507409994719123.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.18 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-19505 in /w/workspace/gexfoundry_device-rest-go_PR-206 [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-206 # 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 Merging remotes/origin/main commit 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 into PR head commit 12e18996c0c91e8b0504df444ed4729b65be514a Merge succeeded, producing 12e18996c0c91e8b0504df444ed4729b65be514a Checking out Revision 12e18996c0c91e8b0504df444ed4729b65be514a (PR-206) > 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 > 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/206/head:refs/remotes/origin/PR-206 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 12e18996c0c91e8b0504df444ed4729b65be514a # 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 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 12e18996c0c91e8b0504df444ed4729b65be514a # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" > git rev-list --no-walk 12e18996c0c91e8b0504df444ed4729b65be514a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:37:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:37:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:37:40 ========================================================= 01:37:40 EdgeX Global Pipelines Version Info 01:37:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:37:41 ------------------- 01:37:41 stable info: 01:37:41 ------------------- 01:37:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:37:41 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 01:37:41 Message: update stable to v1.0.237 01:37:41 ------------------- 01:37:41 experimental info: 01:37:41 ------------------- 01:37:41 Commited By: **** collab-it+edgex@linuxfoundation.org 01:37:41 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 01:37:41 Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:37:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:37:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:37:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:37:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-206 [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-206 [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-206 [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 12e18996c0c91e8b0504df444ed4729b65be514a [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 12e1899 [Pipeline] echo 01:37:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:37:42 provisioning config files... 01:37:42 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/config5001558735881768066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:37:42 ---> docker-login.sh 01:37:42 nexus3.edgexfoundry.org:10001 01:37:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:43 Configure a credential helper to remove this warning. See 01:37:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:43 01:37:43 Login Succeeded 01:37:43 nexus3.edgexfoundry.org:10002 01:37:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:43 Configure a credential helper to remove this warning. See 01:37:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:43 01:37:43 Login Succeeded 01:37:43 nexus3.edgexfoundry.org:10003 01:37:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:43 Configure a credential helper to remove this warning. See 01:37:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:43 01:37:43 Login Succeeded 01:37:43 nexus3.edgexfoundry.org:10004 01:37:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:43 Configure a credential helper to remove this warning. See 01:37:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:43 01:37:43 Login Succeeded 01:37:43 docker.io 01:37:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:44 Configure a credential helper to remove this warning. See 01:37:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:44 01:37:44 Login Succeeded 01:37:44 ---> docker-login.sh ends [Pipeline] } 01:37:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:37:44 + git rev-list -1 --merges 12e18996c0c91e8b0504df444ed4729b65be514a~1..12e18996c0c91e8b0504df444ed4729b65be514a [Pipeline] echo 01:37:44 -----------> git rev-list -1 --merges 12e18996c0c91e8b0504df444ed4729b65be514a~1..12e18996c0c91e8b0504df444ed4729b65be514a 12e18996c0c91e8b0504df444ed4729b65be514a [false] [Pipeline] sh 01:37:45 + git log --format=format:%s -1 12e18996c0c91e8b0504df444ed4729b65be514a [Pipeline] echo 01:37:45 ========================================================= 01:37:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:37:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:37:45 + git log --format=format:%s -1 12e18996c0c91e8b0504df444ed4729b65be514a [Pipeline] echo 01:37:45 [semverPrep] GIT_COMMIT: 12e18996c0c91e8b0504df444ed4729b65be514a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 01:37:45 [semverPrep] This is not a build commit. [Pipeline] sh 01:37:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:37:45 + grep -v github /etc/ssh/ssh_known_hosts 01:37:45 + [ -e /tmp/ssh_known_hosts ] 01:37:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:37:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:37:45 + sudo tee -a /etc/ssh/ssh_known_hosts 01:37:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:37:46 01:37:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:37:46 0.1.4: Pulling from edgex-devops/py-git-semver 01:37:46 b85a868b505f: Pulling fs layer 01:37:46 e2be974225ed: Pulling fs layer 01:37:46 339a4e72a1f5: Pulling fs layer 01:37:46 988bab9f4d93: Pulling fs layer 01:37:46 1469e6f7b9e6: Pulling fs layer 01:37:46 eaf3925da568: Pulling fs layer 01:37:46 bab4dde63d76: Pulling fs layer 01:37:46 bde34c3a00c8: Pulling fs layer 01:37:46 b352a97aabf1: Pulling fs layer 01:37:46 4872d77fe225: Pulling fs layer 01:37:46 5851b861e8e6: Pulling fs layer 01:37:46 988bab9f4d93: Waiting 01:37:46 bab4dde63d76: Waiting 01:37:46 4872d77fe225: Waiting 01:37:46 bde34c3a00c8: Waiting 01:37:46 5851b861e8e6: Waiting 01:37:46 b352a97aabf1: Waiting 01:37:46 eaf3925da568: Waiting 01:37:46 e2be974225ed: Verifying Checksum 01:37:46 e2be974225ed: Download complete 01:37:46 988bab9f4d93: Verifying Checksum 01:37:46 988bab9f4d93: Download complete 01:37:46 1469e6f7b9e6: Verifying Checksum 01:37:46 1469e6f7b9e6: Download complete 01:37:46 339a4e72a1f5: Verifying Checksum 01:37:46 339a4e72a1f5: Download complete 01:37:46 eaf3925da568: Verifying Checksum 01:37:46 eaf3925da568: Download complete 01:37:46 bde34c3a00c8: Download complete 01:37:46 b352a97aabf1: Verifying Checksum 01:37:46 b352a97aabf1: Download complete 01:37:46 4872d77fe225: Download complete 01:37:46 5851b861e8e6: Verifying Checksum 01:37:46 5851b861e8e6: Download complete 01:37:46 b85a868b505f: Verifying Checksum 01:37:46 b85a868b505f: Download complete 01:37:47 bab4dde63d76: Verifying Checksum 01:37:47 bab4dde63d76: Download complete 01:37:48 b85a868b505f: Pull complete 01:37:48 e2be974225ed: Pull complete 01:37:48 339a4e72a1f5: Pull complete 01:37:48 988bab9f4d93: Pull complete 01:37:49 1469e6f7b9e6: Pull complete 01:37:49 eaf3925da568: Pull complete 01:37:51 bab4dde63d76: Pull complete 01:37:51 bde34c3a00c8: Pull complete 01:37:51 b352a97aabf1: Pull complete 01:37:51 4872d77fe225: Pull complete 01:37:51 5851b861e8e6: Pull complete 01:37:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:37:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:37:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:51 prd-ubuntu20.04-docker-8c-8g-19505 does not seem to be running inside a container 01:37:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-206 -v /w/workspace/gexfoundry_device-rest-go_PR-206:/w/workspace/gexfoundry_device-rest-go_PR-206:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-206@tmp:/w/workspace/gexfoundry_device-rest-go_PR-206@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:37:53 $ docker top 23712ffd0fc68ba0afdc64ad1e8d4fea3b895749ef92c08fc5b8b122adf140c5 -eo pid,comm 01:37:53 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). 01:37:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:37:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:37:53 [ssh-agent] Looking for ssh-agent implementation... 01:37:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:37:53 $ docker exec 23712ffd0fc68ba0afdc64ad1e8d4fea3b895749ef92c08fc5b8b122adf140c5 ssh-agent 01:37:53 SSH_AUTH_SOCK=/tmp/ssh-lJratEkvZQMZ/agent.33 01:37:53 SSH_AGENT_PID=39 01:37:53 Running ssh-add (command line suppressed) 01:37:53 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-206@tmp/private_key_3081204637252774208.key (/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/private_key_3081204637252774208.key) 01:37:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:37:54 + git tag --points-at HEAD [Pipeline] } 01:37:54 $ docker exec --env ******** --env ******** 23712ffd0fc68ba0afdc64ad1e8d4fea3b895749ef92c08fc5b8b122adf140c5 ssh-agent -k 01:37:54 unset SSH_AUTH_SOCK; 01:37:54 unset SSH_AGENT_PID; 01:37:54 echo Agent pid 39 killed; 01:37:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:37:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:37:54 [ssh-agent] Looking for ssh-agent implementation... 01:37:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:37:54 $ docker exec 23712ffd0fc68ba0afdc64ad1e8d4fea3b895749ef92c08fc5b8b122adf140c5 ssh-agent 01:37:54 SSH_AUTH_SOCK=/tmp/ssh-vWAUZMPsrV7G/agent.72 01:37:54 SSH_AGENT_PID=79 01:37:54 Running ssh-add (command line suppressed) 01:37:54 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-206@tmp/private_key_4803132748552565002.key (/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/private_key_4803132748552565002.key) 01:37:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:37:55 + git semver init 01:37:55 2022-07-12 01:37:55,275 [run_init] DEBUG init version:0.0.0 force:False 01:37:55 2022-07-12 01:37:55,276 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-206/.semver 01:37:55 2022-07-12 01:37:55,277 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-206/.semver 01:37:55 2022-07-12 01:37:55,277 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-206/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-206, universal_newlines=False, shell=None, istream=None) 01:37:56 2022-07-12 01:37:56,223 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-206/.git/info/exclude 01:37:56 2022-07-12 01:37:56,223 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-206/.semver/PR-206 with force:False 01:37:56 2022-07-12 01:37:56,223 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-206/.semver/PR-206 01:37:56 2022-07-12 01:37:56,228 [execute] INFO git cat-file --batch-check 01:37:56 2022-07-12 01:37:56,229 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-206/.semver, universal_newlines=False, shell=None, istream=) 01:37:56 2022-07-12 01:37:56,236 [execute] INFO git cat-file --batch 01:37:56 2022-07-12 01:37:56,236 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-206/.semver, universal_newlines=False, shell=None, istream=) 01:37:56 2022-07-12 01:37:56,241 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-206/.semver/PR-206 01:37:56 0.0.0 [Pipeline] } 01:37:56 $ docker exec --env ******** --env ******** 23712ffd0fc68ba0afdc64ad1e8d4fea3b895749ef92c08fc5b8b122adf140c5 ssh-agent -k 01:37:56 unset SSH_AUTH_SOCK; 01:37:56 unset SSH_AGENT_PID; 01:37:56 echo Agent pid 79 killed; 01:37:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:37:56 + git semver [Pipeline] } 01:37:57 $ docker stop --time=1 23712ffd0fc68ba0afdc64ad1e8d4fea3b895749ef92c08fc5b8b122adf140c5 01:37:58 $ docker rm -f 23712ffd0fc68ba0afdc64ad1e8d4fea3b895749ef92c08fc5b8b122adf140c5 [Pipeline] // withDockerContainer [Pipeline] sh 01:37:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:37:58 Stashed 1 file(s) [Pipeline] echo 01:37:58 [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 01:37:59 provisioning config files... 01:37:59 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/config415867132698962662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:37:59 ---> docker-login.sh 01:37:59 nexus3.edgexfoundry.org:10001 01:37:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:59 Configure a credential helper to remove this warning. See 01:37:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:59 01:37:59 Login Succeeded 01:37:59 nexus3.edgexfoundry.org:10002 01:37:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:59 Configure a credential helper to remove this warning. See 01:37:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:59 01:37:59 Login Succeeded 01:37:59 nexus3.edgexfoundry.org:10003 01:37:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:59 Configure a credential helper to remove this warning. See 01:37:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:59 01:37:59 Login Succeeded 01:37:59 nexus3.edgexfoundry.org:10004 01:37:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:59 Configure a credential helper to remove this warning. See 01:37:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:59 01:37:59 Login Succeeded 01:37:59 docker.io 01:37:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:00 Configure a credential helper to remove this warning. See 01:38:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:00 01:38:00 Login Succeeded 01:38:00 ---> docker-login.sh ends [Pipeline] } 01:38:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:38:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:38:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:38:00 ========================================================= 01:38:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:38:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:00 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:38:00 Sending build context to Docker daemon 10.69MB 01:38:00 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:38:00 Step 2/12 : FROM ${BASE} AS builder 01:38:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:38:00 2408cc74d12b: Pulling fs layer 01:38:00 ea60b727a1ce: Pulling fs layer 01:38:00 30c4a7721957: Pulling fs layer 01:38:00 370296b7ddb6: Pulling fs layer 01:38:00 7c6cee850709: Pulling fs layer 01:38:00 39a5fcdaea64: Pulling fs layer 01:38:00 370296b7ddb6: Waiting 01:38:00 7c6cee850709: Waiting 01:38:00 d94ebbe4e438: Pulling fs layer 01:38:00 bcfd1f05c69d: Pulling fs layer 01:38:00 59ccb84bbe0f: Pulling fs layer 01:38:00 d94ebbe4e438: Waiting 01:38:00 59ccb84bbe0f: Waiting 01:38:00 30c4a7721957: Verifying Checksum 01:38:00 30c4a7721957: Download complete 01:38:00 ea60b727a1ce: Verifying Checksum 01:38:00 ea60b727a1ce: Download complete 01:38:00 7c6cee850709: Download complete 01:38:00 39a5fcdaea64: Verifying Checksum 01:38:00 39a5fcdaea64: Download complete 01:38:00 2408cc74d12b: Verifying Checksum 01:38:00 2408cc74d12b: Download complete 01:38:00 d94ebbe4e438: Download complete 01:38:00 2408cc74d12b: Pull complete 01:38:01 ea60b727a1ce: Pull complete 01:38:01 30c4a7721957: Pull complete 01:38:01 59ccb84bbe0f: Verifying Checksum 01:38:01 59ccb84bbe0f: Download complete 01:38:01 bcfd1f05c69d: Verifying Checksum 01:38:01 bcfd1f05c69d: Download complete 01:38:01 370296b7ddb6: Verifying Checksum 01:38:01 370296b7ddb6: Download complete 01:38:05 370296b7ddb6: Pull complete 01:38:05 7c6cee850709: Pull complete 01:38:06 39a5fcdaea64: Pull complete 01:38:06 d94ebbe4e438: Pull complete 01:38:08 bcfd1f05c69d: Pull complete 01:38:09 59ccb84bbe0f: Pull complete 01:38:09 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 01:38:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:38:09 ---> a4fb48ad2a94 01:38:09 Step 3/12 : ARG MAKE='make build' 01:38:11 ---> Running in 92f4ef74a6a3 01:38:11 Removing intermediate container 92f4ef74a6a3 01:38:11 ---> 73761139f73d 01:38:11 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:38:11 ---> Running in 165a67d67096 01:38:11 Removing intermediate container 165a67d67096 01:38:11 ---> daa5efa9b401 01:38:11 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:38:11 ---> Running in ff14dde99180 01:38:11 Removing intermediate container ff14dde99180 01:38:11 ---> 82d28e19fce5 01:38:11 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:38:11 ---> Running in 5da7a64bddd3 01:38:11 Removing intermediate container 5da7a64bddd3 01:38:11 ---> 6c7876048f96 01:38:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:38:12 ---> Running in 7b2335ab086a 01:38:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:38:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:38:13 (1/4) Installing openssh-keygen (9.0_p1-r1) 01:38:13 (2/4) Installing libedit (20210910.3.1-r0) 01:38:13 (3/4) Installing openssh-client-common (9.0_p1-r1) 01:38:13 (4/4) Installing openssh-client-default (9.0_p1-r1) 01:38:13 Executing busybox-1.35.0-r13.trigger 01:38:13 OK: 216 MiB in 55 packages 01:38:14 Still waiting to schedule task 01:38:14 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:38:14 Removing intermediate container 7b2335ab086a 01:38:14 ---> 942febd6e3d6 01:38:14 Step 8/12 : WORKDIR /device-rest-go 01:38:14 ---> Running in 64a3fedba220 01:38:14 Removing intermediate container 64a3fedba220 01:38:14 ---> dbcd7aa8c4be 01:38:14 Step 9/12 : COPY go.mod vendor* ./ 01:38:14 ---> bffdceca2302 01:38:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:38:14 ---> Running in e066ad3366bb 01:38:29 Removing intermediate container e066ad3366bb 01:38:29 ---> 27eb301b583d 01:38:29 Step 11/12 : COPY . . 01:38:30 ---> a9e9ce6215b3 01:38:30 Step 12/12 : RUN $MAKE 01:38:30 ---> Running in 0e937d60d97c 01:38:30 noop 01:38:30 Removing intermediate container 0e937d60d97c 01:38:30 ---> 176fc65f5275 01:38:30 Successfully built 176fc65f5275 01:38:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:30 + docker inspect -f . ci-base-image-x86_64 01:38:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:31 prd-ubuntu20.04-docker-8c-8g-19505 does not seem to be running inside a container 01:38:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-206 -v /w/workspace/gexfoundry_device-rest-go_PR-206:/w/workspace/gexfoundry_device-rest-go_PR-206:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-206@tmp:/w/workspace/gexfoundry_device-rest-go_PR-206@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:38:31 $ docker top f8153c24a20d33d4c9200767e5fd01046bbdea3f1540364bcbe54fa582d30991 -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:31 + go version 01:38:31 go version go1.18.3 linux/amd64 [Pipeline] } 01:38:31 $ docker stop --time=1 f8153c24a20d33d4c9200767e5fd01046bbdea3f1540364bcbe54fa582d30991 01:38:33 $ docker rm -f f8153c24a20d33d4c9200767e5fd01046bbdea3f1540364bcbe54fa582d30991 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:33 + docker inspect -f . ci-base-image-x86_64 01:38:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:33 prd-ubuntu20.04-docker-8c-8g-19505 does not seem to be running inside a container 01:38:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-rest-go_PR-206 -v /w/workspace/gexfoundry_device-rest-go_PR-206:/w/workspace/gexfoundry_device-rest-go_PR-206:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-206@tmp:/w/workspace/gexfoundry_device-rest-go_PR-206@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:38:34 $ docker top 1d173848516f73fca8554565c9a85964906326e60d82fc7a2731f35c49cba76f -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:34 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-206 [Pipeline] fileExists [Pipeline] sh 01:38:34 + make test 01:38:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:38:35 ? github.com/edgexfoundry/device-rest-go [no test files] 01:38:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:38:45 ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements 01:38:52 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 01:38:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:38:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:38:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:38:55 ./bin/test-attribution-txt.sh [Pipeline] echo 01:38:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:38:55 $ docker stop --time=1 1d173848516f73fca8554565c9a85964906326e60d82fc7a2731f35c49cba76f 01:38:57 $ docker rm -f 1d173848516f73fca8554565c9a85964906326e60d82fc7a2731f35c49cba76f [Pipeline] // withDockerContainer [Pipeline] sh 01:38:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:38:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:38:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:38:59 + ls -al . 01:38:59 total 172 01:38:59 drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 01:38 . 01:38:59 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:37 .. 01:38:59 -rw-rw-r-- 1 jenkins jenkins 151 Jul 12 01:37 .dockerignore 01:38:59 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:38 .git 01:38:59 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 01:37 .github 01:38:59 -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 01:37 .gitignore 01:38:59 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 01:37 .golangci.yml 01:38:59 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 01:37 .semver 01:38:59 -rw-rw-r-- 1 jenkins jenkins 8724 Jul 12 01:37 Attribution.txt 01:38:59 -rw-rw-r-- 1 jenkins jenkins 11736 Jul 12 01:37 CHANGELOG.md 01:38:59 -rw-rw-r-- 1 jenkins jenkins 1674 Jul 12 01:37 Dockerfile 01:38:59 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 01:37 GOVERNANCE.md 01:38:59 -rw-rw-r-- 1 jenkins jenkins 680 Jul 12 01:37 Jenkinsfile 01:38:59 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 01:37 LICENSE 01:38:59 -rw-rw-r-- 1 jenkins jenkins 1964 Jul 12 01:37 Makefile 01:38:59 -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 01:37 OWNERS.md 01:38:59 -rw-rw-r-- 1 jenkins jenkins 8003 Jul 12 01:37 README.md 01:38:59 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 01:37 VERSION 01:38:59 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:37 bin 01:38:59 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 01:37 cmd 01:38:59 -rw-r--r-- 1 jenkins jenkins 9355 Jul 12 01:38 coverage.out 01:38:59 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:37 driver 01:38:59 -rw-rw-r-- 1 jenkins jenkins 3338 Jul 12 01:37 go.mod 01:38:59 -rw-rw-r-- 1 jenkins jenkins 35351 Jul 12 01:37 go.sum 01:38:59 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:37 snap 01:38:59 -rw-rw-r-- 1 jenkins jenkins 713 Jul 12 01:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:59 + 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=12e18996c0c91e8b0504df444ed4729b65be514a --label arch=amd64 --label version=0.0.0 . 01:38:59 Sending build context to Docker daemon 10.7MB 01:38:59 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:38:59 Step 2/25 : FROM ${BASE} AS builder 01:38:59 ---> 176fc65f5275 01:38:59 Step 3/25 : ARG MAKE='make build' 01:38:59 ---> Running in 25f4b5dec195 01:38:59 Removing intermediate container 25f4b5dec195 01:38:59 ---> 304eae3cfd85 01:38:59 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:38:59 ---> Running in d1ed685135f1 01:38:59 Removing intermediate container d1ed685135f1 01:38:59 ---> 6a511a291908 01:38:59 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 01:38:59 ---> Running in 7acd240f1d29 01:38:59 Removing intermediate container 7acd240f1d29 01:38:59 ---> 399d379acc38 01:38:59 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:38:59 ---> Running in 68b0e5490dd5 01:39:00 Removing intermediate container 68b0e5490dd5 01:39:00 ---> 0372e92b9984 01:39:00 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:39:00 ---> Running in d339b394e1ee 01:39:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:39:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:39:01 OK: 216 MiB in 55 packages 01:39:02 Removing intermediate container d339b394e1ee 01:39:02 ---> fd24446958e0 01:39:02 Step 8/25 : WORKDIR /device-rest-go 01:39:02 ---> Running in c3d36f192ff5 01:39:02 Removing intermediate container c3d36f192ff5 01:39:02 ---> b20dbe3cc6aa 01:39:02 Step 9/25 : COPY go.mod vendor* ./ 01:39:02 ---> 9d699e82d46d 01:39:02 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:39:02 ---> Running in d5dac0e8d49c 01:39:03 Removing intermediate container d5dac0e8d49c 01:39:03 ---> c800ca100555 01:39:03 Step 11/25 : COPY . . 01:39:03 ---> 976da6ecdb3a 01:39:03 Step 12/25 : RUN $MAKE 01:39:03 ---> Running in 8cc17fe20446 01:39:04 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:39:26 Removing intermediate container 8cc17fe20446 01:39:26 ---> 669e76463e4a 01:39:26 Step 13/25 : FROM alpine:3.16 01:39:26 3.16: Pulling from library/alpine 01:39:26 2408cc74d12b: Already exists 01:39:26 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 01:39:26 Status: Downloaded newer image for alpine:3.16 01:39:26 ---> e66264b98777 01:39:26 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:39:26 ---> Running in 9231eaadd291 01:39:26 Removing intermediate container 9231eaadd291 01:39:26 ---> 4d0341055532 01:39:26 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 01:39:26 ---> Running in 7fa8a8c31b8a 01:39:26 Removing intermediate container 7fa8a8c31b8a 01:39:26 ---> 9239d292add2 01:39:26 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:39:26 ---> Running in 0d9e9f66e781 01:39:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:39:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:39:26 (1/6) Installing dumb-init (1.2.5-r1) 01:39:26 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:39:26 (3/6) Installing libsodium (1.0.18-r0) 01:39:26 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:39:26 (5/6) Installing libzmq (4.3.4-r0) 01:39:26 (6/6) Installing zeromq (4.3.4-r0) 01:39:26 Executing busybox-1.35.0-r13.trigger 01:39:26 OK: 8 MiB in 20 packages 01:39:26 Removing intermediate container 0d9e9f66e781 01:39:26 ---> e34e19b55384 01:39:26 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 01:39:26 ---> d35c8118111c 01:39:26 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 01:39:26 ---> 738394edfdde 01:39:26 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 01:39:26 ---> 4a8ce766590c 01:39:26 Step 20/25 : EXPOSE 59986 01:39:27 ---> Running in bfddbaf6857b 01:39:27 Removing intermediate container bfddbaf6857b 01:39:27 ---> d3e9029fc1d3 01:39:27 Step 21/25 : ENTRYPOINT ["/device-rest"] 01:39:27 ---> Running in ad6b0b46bf02 01:39:27 Removing intermediate container ad6b0b46bf02 01:39:27 ---> e08033714b69 01:39:27 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:39:27 ---> Running in 1fe594705b16 01:39:27 Removing intermediate container 1fe594705b16 01:39:27 ---> c7a2ab6a9039 01:39:27 Step 23/25 : LABEL arch=amd64 01:39:27 ---> Running in 5f3ffac33ad9 01:39:27 Removing intermediate container 5f3ffac33ad9 01:39:27 ---> cb2f675db45d 01:39:27 Step 24/25 : LABEL git_sha=12e18996c0c91e8b0504df444ed4729b65be514a 01:39:27 ---> Running in d97eb2c8f8cd 01:39:27 Removing intermediate container d97eb2c8f8cd 01:39:27 ---> fe15102cfc93 01:39:27 Step 25/25 : LABEL version=0.0.0 01:39:27 ---> Running in 4207bbff0f01 01:39:27 Removing intermediate container 4207bbff0f01 01:39:27 ---> 661b1cfbb7bb 01:39:27 [Warning] One or more build-args [ARCH] were not consumed 01:39:27 Successfully built 661b1cfbb7bb 01:39:27 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 01:39:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:39:28 01:39:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:39:28 latest: Pulling from edgex-lftools-log-publisher 01:39:28 5eb5b503b376: Pulling fs layer 01:39:28 5c69ac0246d0: Pulling fs layer 01:39:28 ec43610c2a17: Pulling fs layer 01:39:28 3a2ae6a8a46f: Pulling fs layer 01:39:28 33b1e0a273af: Pulling fs layer 01:39:28 5d3b04190fa2: Pulling fs layer 01:39:28 2f39f015ded8: Pulling fs layer 01:39:28 33b1e0a273af: Waiting 01:39:28 5d3b04190fa2: Waiting 01:39:28 2f39f015ded8: Waiting 01:39:28 3a2ae6a8a46f: Waiting 01:39:28 5c69ac0246d0: Download complete 01:39:28 3a2ae6a8a46f: Verifying Checksum 01:39:28 3a2ae6a8a46f: Download complete 01:39:28 33b1e0a273af: Verifying Checksum 01:39:28 33b1e0a273af: Download complete 01:39:28 5d3b04190fa2: Verifying Checksum 01:39:28 5d3b04190fa2: Download complete 01:39:28 ec43610c2a17: Verifying Checksum 01:39:28 ec43610c2a17: Download complete 01:39:28 5eb5b503b376: Verifying Checksum 01:39:28 5eb5b503b376: Download complete 01:39:29 2f39f015ded8: Download complete 01:39:30 5eb5b503b376: Pull complete 01:39:30 5c69ac0246d0: Pull complete 01:39:30 ec43610c2a17: Pull complete 01:39:30 3a2ae6a8a46f: Pull complete 01:39:31 33b1e0a273af: Pull complete 01:39:31 5d3b04190fa2: Pull complete 01:39:36 2f39f015ded8: Pull complete 01:39:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:39:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:39:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:36 prd-ubuntu20.04-docker-8c-8g-19505 does not seem to be running inside a container 01:39:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-206 -v /w/workspace/gexfoundry_device-rest-go_PR-206:/w/workspace/gexfoundry_device-rest-go_PR-206:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-206@tmp:/w/workspace/gexfoundry_device-rest-go_PR-206@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 01:39:38 $ docker top 461e23bae27f66353b05995c65f13e1c0ede6a50b2e5adc2acc7b62e4d0eef2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:39:38 ---> job-cost.sh 01:39:38 lf-activate-venv: SKIPPING 01:39:38 INFO: No Stack... 01:39:38 INFO: Retrieving Pricing Info for: v3-standard-8 01:39:39 INFO: Archiving Costs [Pipeline] sh 01:39:39 + cat /w/workspace/gexfoundry_device-rest-go_PR-206/archives/cost.csv 01:39:39 + cut -d, -f6 [Pipeline] lock 01:39:39 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-206-3-stack-cost] 01:39:39 Resource [jenkins-edgexfoundry-device-rest-go-PR-206-3-stack-cost] did not exist. Created. 01:39:39 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-206-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:39:40 + echo total: 0.2199999988079071 [Pipeline] stash 01:39:40 Stashed 1 file(s) [Pipeline] } 01:39:40 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-206-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:39:40 $ docker stop --time=1 461e23bae27f66353b05995c65f13e1c0ede6a50b2e5adc2acc7b62e4d0eef2b 01:39:41 $ docker rm -f 461e23bae27f66353b05995c65f13e1c0ede6a50b2e5adc2acc7b62e4d0eef2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:41:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19506 in /w/workspace/gexfoundry_device-rest-go_PR-206 [Pipeline] { [Pipeline] ws 01:41:50 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 01:41:50 The recommended git tool is: git 01:41:55 using credential edgex-jenkins-ssh 01:41:55 Cloning the remote Git repository 01:41:55 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:41:55 > git init /w/workspace/device-rest-go/3 # timeout=10 01:41:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:41:55 > git --version # timeout=10 01:41:55 > git --version # 'git version 2.25.1' 01:41:55 using GIT_SSH to set credentials SSH Credentials for GitHub 01:41:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:41:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:41:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:41:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:41:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:41:57 using GIT_SSH to set credentials SSH Credentials for GitHub 01:41:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/206/head:refs/remotes/origin/PR-206 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:41:58 Merging remotes/origin/main commit 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 into PR head commit 12e18996c0c91e8b0504df444ed4729b65be514a 01:41:58 Merge succeeded, producing 12e18996c0c91e8b0504df444ed4729b65be514a 01:41:58 Checking out Revision 12e18996c0c91e8b0504df444ed4729b65be514a (PR-206) 01:41:58 > git config core.sparsecheckout # timeout=10 01:41:58 > git checkout -f 12e18996c0c91e8b0504df444ed4729b65be514a # timeout=10 01:41:58 > git remote # timeout=10 01:41:58 > git config --get remote.origin.url # timeout=10 01:41:58 using GIT_SSH to set credentials SSH Credentials for GitHub 01:41:58 > git merge 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 01:41:58 > git rev-parse HEAD^{commit} # timeout=10 01:41:58 > git config core.sparsecheckout # timeout=10 01:41:58 > git checkout -f 12e18996c0c91e8b0504df444ed4729b65be514a # timeout=10 01:42:02 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:42:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:42:03 % Total % Received % Xferd Average Speed Time Time Time Current 01:42:03 Dload Upload Total Spent Left Speed 01:42:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 97428 0 --:--:-- --:--:-- --:--:-- 97428 [Pipeline] sh 01:42:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:42:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:42:04 + sudo tee /etc/docker/daemon.new 01:42:04 { 01:42:04 "registry-mirrors": [ 01:42:04 "https://nexus3.edgexfoundry.org:10001" 01:42:04 ], 01:42:04 "bip": "10.250.0.254/24", 01:42:04 "hosts": [ 01:42:04 "tcp://0.0.0.0:5555", 01:42:04 "unix:///var/run/docker.sock" 01:42:04 ], 01:42:04 "mtu": 1458, 01:42:04 "selinux-enabled": true, 01:42:04 "seccomp-profile": "/etc/docker/seccomp.json" 01:42:04 } [Pipeline] sh 01:42:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:42:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:42:23 provisioning config files... 01:42:23 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config7941298516498376425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:42:24 ---> docker-login.sh 01:42:24 nexus3.edgexfoundry.org:10001 01:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:42:25 Configure a credential helper to remove this warning. See 01:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:42:25 01:42:25 Login Succeeded 01:42:25 nexus3.edgexfoundry.org:10002 01:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:42:25 Configure a credential helper to remove this warning. See 01:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:42:25 01:42:25 Login Succeeded 01:42:25 nexus3.edgexfoundry.org:10003 01:42:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:42:26 Configure a credential helper to remove this warning. See 01:42:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:42:26 01:42:26 Login Succeeded 01:42:26 nexus3.edgexfoundry.org:10004 01:42:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:42:26 Configure a credential helper to remove this warning. See 01:42:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:42:26 01:42:26 Login Succeeded 01:42:26 docker.io 01:42:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:42:27 Configure a credential helper to remove this warning. See 01:42:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:42:27 01:42:27 Login Succeeded 01:42:27 ---> docker-login.sh ends [Pipeline] } 01:42:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:42:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:42:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:42:27 ========================================================= 01:42:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:42:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:28 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:42:28 Sending build context to Docker daemon 126.5kB 01:42:28 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:42:28 Step 2/12 : FROM ${BASE} AS builder 01:42:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:42:28 b3c136eddcbf: Pulling fs layer 01:42:28 c0a3192eca97: Pulling fs layer 01:42:28 a050256f5b6f: Pulling fs layer 01:42:28 656be50a0ddc: Pulling fs layer 01:42:28 2bbca73fdf42: Pulling fs layer 01:42:28 46d945488cbd: Pulling fs layer 01:42:28 8a5474983e97: Pulling fs layer 01:42:28 329c88fbcd65: Pulling fs layer 01:42:28 46d945488cbd: Waiting 01:42:28 656be50a0ddc: Waiting 01:42:28 2bbca73fdf42: Waiting 01:42:28 8a5474983e97: Waiting 01:42:28 329c88fbcd65: Waiting 01:42:28 a050256f5b6f: Verifying Checksum 01:42:28 a050256f5b6f: Download complete 01:42:28 c0a3192eca97: Verifying Checksum 01:42:28 c0a3192eca97: Download complete 01:42:28 2bbca73fdf42: Verifying Checksum 01:42:28 2bbca73fdf42: Download complete 01:42:28 46d945488cbd: Verifying Checksum 01:42:28 46d945488cbd: Download complete 01:42:28 b3c136eddcbf: Download complete 01:42:29 b3c136eddcbf: Pull complete 01:42:29 329c88fbcd65: Verifying Checksum 01:42:29 329c88fbcd65: Download complete 01:42:30 c0a3192eca97: Pull complete 01:42:30 a050256f5b6f: Pull complete 01:42:30 8a5474983e97: Verifying Checksum 01:42:30 8a5474983e97: Download complete 01:42:31 656be50a0ddc: Verifying Checksum 01:42:31 656be50a0ddc: Download complete 01:42:44 656be50a0ddc: Pull complete 01:42:44 2bbca73fdf42: Pull complete 01:42:44 46d945488cbd: Pull complete 01:42:50 8a5474983e97: Pull complete 01:42:52 329c88fbcd65: Pull complete 01:42:52 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 01:42:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:42:52 ---> ff4287adb874 01:42:52 Step 3/12 : ARG MAKE='make build' 01:42:54 ---> Running in 9e0344031481 01:42:54 Removing intermediate container 9e0344031481 01:42:54 ---> cfc1ae583767 01:42:54 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:42:54 ---> Running in 3ca1beab93db 01:42:54 Removing intermediate container 3ca1beab93db 01:42:54 ---> 5f8ec276d74c 01:42:54 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:42:55 ---> Running in 204a703c10cd 01:42:55 Removing intermediate container 204a703c10cd 01:42:55 ---> 67e8d10af755 01:42:55 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:42:55 ---> Running in 3eba5b97c1e2 01:42:57 Removing intermediate container 3eba5b97c1e2 01:42:57 ---> dfe7eb0a0da0 01:42:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:42:57 ---> Running in 37e299aca2eb 01:42:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:42:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:42:59 (1/4) Installing openssh-keygen (9.0_p1-r1) 01:43:00 (2/4) Installing libedit (20210910.3.1-r0) 01:43:00 (3/4) Installing openssh-client-common (9.0_p1-r1) 01:43:00 (4/4) Installing openssh-client-default (9.0_p1-r1) 01:43:00 Executing busybox-1.35.0-r13.trigger 01:43:00 OK: 226 MiB in 55 packages 01:43:01 Removing intermediate container 37e299aca2eb 01:43:01 ---> af112c88822b 01:43:01 Step 8/12 : WORKDIR /device-rest-go 01:43:01 ---> Running in 206184ffcec1 01:43:02 Removing intermediate container 206184ffcec1 01:43:02 ---> 597143fbf980 01:43:02 Step 9/12 : COPY go.mod vendor* ./ 01:43:02 ---> 9ccd0b2cf22c 01:43:02 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:43:02 ---> Running in 44efe35854c8 01:43:49 Removing intermediate container 44efe35854c8 01:43:49 ---> 9e9195e37222 01:43:49 Step 11/12 : COPY . . 01:43:49 ---> bc0c0ad9a303 01:43:49 Step 12/12 : RUN $MAKE 01:43:49 ---> Running in 2c634863ec6d 01:43:49 noop 01:43:49 Removing intermediate container 2c634863ec6d 01:43:49 ---> 109a793cdccf 01:43:49 Successfully built 109a793cdccf 01:43:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:49 + docker inspect -f . ci-base-image-arm64 01:43:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:50 prd-ubuntu20.04-docker-arm64-4c-16g-19506 does not seem to be running inside a container 01:43:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 01:43:51 $ docker top 6f644e6b38ac62ac3f721e4254d87d711c5b1929b9f361d8fac7dc4cdbc4d8fd -eo pid,comm [Pipeline] { [Pipeline] sh 01:43:52 + go version 01:43:52 go version go1.18.3 linux/arm64 [Pipeline] } 01:43:52 $ docker stop --time=1 6f644e6b38ac62ac3f721e4254d87d711c5b1929b9f361d8fac7dc4cdbc4d8fd 01:43:54 $ docker rm -f 6f644e6b38ac62ac3f721e4254d87d711c5b1929b9f361d8fac7dc4cdbc4d8fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:55 + docker inspect -f . ci-base-image-arm64 01:43:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:55 prd-ubuntu20.04-docker-arm64-4c-16g-19506 does not seem to be running inside a container 01:43:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 01:43:56 $ docker top c2d5854eb3a5723bb03fce2f6dd2df564de48ef85483da565b353bf7af71adea -eo pid,comm [Pipeline] { [Pipeline] sh 01:43:57 + git config --global --add safe.directory /w/workspace/device-rest-go/3 [Pipeline] fileExists [Pipeline] sh 01:43:58 + make test 01:43:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:43:59 ? github.com/edgexfoundry/device-rest-go [no test files] 01:45:21 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:45:22 ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements 01:45:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:45:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:45:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:45:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:45:45 ./bin/test-attribution-txt.sh [Pipeline] echo 01:45:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:45:45 $ docker stop --time=1 c2d5854eb3a5723bb03fce2f6dd2df564de48ef85483da565b353bf7af71adea 01:45:47 $ docker rm -f c2d5854eb3a5723bb03fce2f6dd2df564de48ef85483da565b353bf7af71adea [Pipeline] // withDockerContainer [Pipeline] sh 01:45:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:45:48 Warning: overwriting stash ‘coverage-report’ 01:45:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:45:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:45:49 + ls -al . 01:45:49 total 168 01:45:49 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:43 . 01:45:49 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:41 .. 01:45:49 -rw-rw-r-- 1 jenkins jenkins 151 Jul 12 01:41 .dockerignore 01:45:49 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:42 .git 01:45:49 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 01:41 .github 01:45:49 -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 01:41 .gitignore 01:45:49 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 01:41 .golangci.yml 01:45:49 -rw-rw-r-- 1 jenkins jenkins 8724 Jul 12 01:41 Attribution.txt 01:45:49 -rw-rw-r-- 1 jenkins jenkins 11736 Jul 12 01:41 CHANGELOG.md 01:45:49 -rw-rw-r-- 1 jenkins jenkins 1674 Jul 12 01:41 Dockerfile 01:45:49 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 01:41 GOVERNANCE.md 01:45:49 -rw-rw-r-- 1 jenkins jenkins 680 Jul 12 01:41 Jenkinsfile 01:45:49 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 01:41 LICENSE 01:45:49 -rw-rw-r-- 1 jenkins jenkins 1964 Jul 12 01:41 Makefile 01:45:49 -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 01:41 OWNERS.md 01:45:49 -rw-rw-r-- 1 jenkins jenkins 8003 Jul 12 01:41 README.md 01:45:49 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 01:37 VERSION 01:45:49 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:41 bin 01:45:49 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 01:41 cmd 01:45:49 -rw-r--r-- 1 jenkins jenkins 9355 Jul 12 01:45 coverage.out 01:45:49 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:41 driver 01:45:49 -rw-rw-r-- 1 jenkins jenkins 3338 Jul 12 01:41 go.mod 01:45:49 -rw-rw-r-- 1 jenkins jenkins 35351 Jul 12 01:41 go.sum 01:45:49 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:41 snap 01:45:49 -rw-rw-r-- 1 jenkins jenkins 713 Jul 12 01:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:49 + 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=12e18996c0c91e8b0504df444ed4729b65be514a --label arch=arm64 --label version=0.0.0 . 01:45:49 Sending build context to Docker daemon 136.7kB 01:45:49 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:45:49 Step 2/25 : FROM ${BASE} AS builder 01:45:49 ---> 109a793cdccf 01:45:49 Step 3/25 : ARG MAKE='make build' 01:45:50 ---> Running in 6565cacf0920 01:45:50 Removing intermediate container 6565cacf0920 01:45:50 ---> bb1f85c68cb5 01:45:50 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:45:50 ---> Running in fdae02631e5f 01:45:50 Removing intermediate container fdae02631e5f 01:45:50 ---> 252f26ae3f2a 01:45:50 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 01:45:50 ---> Running in d7179eccca5c 01:45:51 Removing intermediate container d7179eccca5c 01:45:51 ---> 9526c85cabaa 01:45:51 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:45:51 ---> Running in 89a8e09cd6e1 01:45:53 Removing intermediate container 89a8e09cd6e1 01:45:53 ---> 2dddc077f4d9 01:45:53 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:45:53 ---> Running in 934eae878aa6 01:45:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:45:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:45:55 OK: 226 MiB in 55 packages 01:45:56 Removing intermediate container 934eae878aa6 01:45:56 ---> be813a541c29 01:45:56 Step 8/25 : WORKDIR /device-rest-go 01:45:56 ---> Running in 2a7fa0979d0f 01:45:57 Removing intermediate container 2a7fa0979d0f 01:45:57 ---> b50c26c03163 01:45:57 Step 9/25 : COPY go.mod vendor* ./ 01:45:57 ---> d467d4cfa078 01:45:57 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:45:57 ---> Running in aac702b48aab 01:45:59 Removing intermediate container aac702b48aab 01:45:59 ---> 3950ff57c588 01:45:59 Step 11/25 : COPY . . 01:45:59 ---> 6feae875ae36 01:45:59 Step 12/25 : RUN $MAKE 01:46:00 ---> Running in f3d4c8707104 01:46:01 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:48:07 Removing intermediate container f3d4c8707104 01:48:07 ---> a1a038c3180d 01:48:07 Step 13/25 : FROM alpine:3.16 01:48:07 3.16: Pulling from library/alpine 01:48:07 b3c136eddcbf: Already exists 01:48:07 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 01:48:07 Status: Downloaded newer image for alpine:3.16 01:48:07 ---> 6e30ab57aeee 01:48:07 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:48:07 ---> Running in 38855d36c049 01:48:07 Removing intermediate container 38855d36c049 01:48:07 ---> 58ee223870cd 01:48:07 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 01:48:07 ---> Running in c1552614dd4d 01:48:07 Removing intermediate container c1552614dd4d 01:48:07 ---> bb86a01663b1 01:48:07 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:48:07 ---> Running in 25877df228e9 01:48:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:48:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:48:08 (1/6) Installing dumb-init (1.2.5-r1) 01:48:08 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:48:08 (3/6) Installing libsodium (1.0.18-r0) 01:48:08 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:48:08 (5/6) Installing libzmq (4.3.4-r0) 01:48:08 (6/6) Installing zeromq (4.3.4-r0) 01:48:08 Executing busybox-1.35.0-r13.trigger 01:48:08 OK: 8 MiB in 20 packages 01:48:09 Removing intermediate container 25877df228e9 01:48:09 ---> bae8c62ffbaf 01:48:09 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 01:48:10 ---> abe8e09fce5f 01:48:10 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 01:48:11 ---> 7a828c66cb5a 01:48:11 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 01:48:11 ---> f6ec0eb34098 01:48:11 Step 20/25 : EXPOSE 59986 01:48:11 ---> Running in f03e9ef035a3 01:48:12 Removing intermediate container f03e9ef035a3 01:48:12 ---> a0e18b92188a 01:48:12 Step 21/25 : ENTRYPOINT ["/device-rest"] 01:48:12 ---> Running in 1450a4610552 01:48:12 Removing intermediate container 1450a4610552 01:48:12 ---> a7828ef78ad4 01:48:12 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:48:12 ---> Running in fa5288f4db78 01:48:12 Removing intermediate container fa5288f4db78 01:48:12 ---> 7a991343b8a2 01:48:12 Step 23/25 : LABEL arch=arm64 01:48:12 ---> Running in e136cc34650a 01:48:13 Removing intermediate container e136cc34650a 01:48:13 ---> 426ccde7c5bf 01:48:13 Step 24/25 : LABEL git_sha=12e18996c0c91e8b0504df444ed4729b65be514a 01:48:13 ---> Running in 97aadba202e8 01:48:13 Removing intermediate container 97aadba202e8 01:48:13 ---> 682ad80aa5bb 01:48:13 Step 25/25 : LABEL version=0.0.0 01:48:13 ---> Running in 5ccc49598196 01:48:14 Removing intermediate container 5ccc49598196 01:48:14 ---> fd35e4c16488 01:48:14 [Warning] One or more build-args [ARCH] were not consumed 01:48:14 Successfully built fd35e4c16488 01:48:14 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 01:48:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:48:14 01:48:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:48:15 arm64: Pulling from edgex-lftools-log-publisher 01:48:15 8998bd30e6a1: Pulling fs layer 01:48:15 04944245beec: Pulling fs layer 01:48:15 699f458cf7ca: Pulling fs layer 01:48:15 765212b225bb: Pulling fs layer 01:48:15 f23df028b6ca: Pulling fs layer 01:48:15 d65c8cfc05b1: Pulling fs layer 01:48:15 2437ff75d9bd: Pulling fs layer 01:48:15 f23df028b6ca: Waiting 01:48:15 d65c8cfc05b1: Waiting 01:48:15 2437ff75d9bd: Waiting 01:48:15 765212b225bb: Waiting 01:48:15 04944245beec: Verifying Checksum 01:48:15 04944245beec: Download complete 01:48:15 765212b225bb: Verifying Checksum 01:48:15 765212b225bb: Download complete 01:48:15 f23df028b6ca: Verifying Checksum 01:48:15 f23df028b6ca: Download complete 01:48:15 d65c8cfc05b1: Verifying Checksum 01:48:15 d65c8cfc05b1: Download complete 01:48:15 699f458cf7ca: Verifying Checksum 01:48:15 699f458cf7ca: Download complete 01:48:15 8998bd30e6a1: Download complete 01:48:18 2437ff75d9bd: Verifying Checksum 01:48:18 2437ff75d9bd: Download complete 01:48:20 8998bd30e6a1: Pull complete 01:48:20 04944245beec: Pull complete 01:48:22 699f458cf7ca: Pull complete 01:48:22 765212b225bb: Pull complete 01:48:23 f23df028b6ca: Pull complete 01:48:23 d65c8cfc05b1: Pull complete 01:48:38 2437ff75d9bd: Pull complete 01:48:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:48:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:48:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:38 prd-ubuntu20.04-docker-arm64-4c-16g-19506 does not seem to be running inside a container 01:48:38 $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 01:48:41 $ docker top d767b4cf269df909968e7d82e8420e5f1beb81a20d5284594a7cfd581a4c54b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:42 ---> job-cost.sh 01:48:42 lf-activate-venv: SKIPPING 01:48:42 INFO: No Stack... 01:48:43 INFO: Retrieving Pricing Info for: v3-standard-4 01:48:43 INFO: Archiving Costs [Pipeline] sh 01:48:44 + + cut -d, -f6 01:48:44 cat /w/workspace/device-rest-go/3/archives/cost.csv [Pipeline] lock 01:48:44 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-206-3-stack-cost] 01:48:44 Resource [jenkins-edgexfoundry-device-rest-go-PR-206-3-stack-cost] did not exist. Created. 01:48:44 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-206-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:48:45 /w/workspace/device-rest-go/3@tmp/durable-2728561c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:48:45 + echo total: 0.10999999940395355 [Pipeline] stash 01:48:45 Warning: overwriting stash ‘stack-cost’ 01:48:45 Stashed 1 file(s) [Pipeline] } 01:48:45 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-206-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:48:45 $ docker stop --time=1 d767b4cf269df909968e7d82e8420e5f1beb81a20d5284594a7cfd581a4c54b8 01:48:47 $ docker rm -f d767b4cf269df909968e7d82e8420e5f1beb81a20d5284594a7cfd581a4c54b8 [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 01:48:47 provisioning config files... 01:48:47 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/config6000981084459792447tmp [Pipeline] { [Pipeline] sh 01:48:48 + set +x 01:48:48 + curl -s https://codecov.io/bash 01:48:48 + bash -s -- 01:48:48 01:48:48 _____ _ 01:48:48 / ____| | | 01:48:48 | | ___ __| | ___ ___ _____ __ 01:48:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:48:48 | |___| (_) | (_| | __/ (_| (_) \ V / 01:48:48 \_____\___/ \__,_|\___|\___\___/ \_/ 01:48:48 Bash-1.0.6 01:48:48 01:48:48 01:48:48 ==> git version 2.25.1 found 01:48:48 ==> 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 01:48:48 Release-Date: 2020-01-08 01:48:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:48:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:48:48 ==> Jenkins CI detected. 01:48:48 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-206 01:48:48 project root: . 01:48:48 --> token set from env 01:48:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:48:48 ==> Running gcov in . (disable via -X gcov) 01:48:48 ==> Python coveragepy not found 01:48:48 ==> Searching for coverage reports in: 01:48:48 + . 01:48:48 -> Found 1 reports 01:48:48 ==> Detecting git/mercurial file structure 01:48:48 ==> Reading reports 01:48:48 + ./coverage.out bytes=9355 01:48:48 ==> Appending adjustments 01:48:48 https://docs.codecov.io/docs/fixing-reports 01:48:48 + Found adjustments 01:48:48 ==> Gzipping contents 01:48:48 4.0K /tmp/codecov.e6acnA.gz 01:48:48 ==> Uploading reports 01:48:48 url: https://codecov.io 01:48:48 query: branch=PR-206&commit=12e18996c0c91e8b0504df444ed4729b65be514a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-206%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=206&job=&cmd_args= 01:48:48 -> Pinging Codecov 01:48:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-206&commit=12e18996c0c91e8b0504df444ed4729b65be514a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-206%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=206&job=&cmd_args= 01:48:48 -> Uploading to 01:48:48 https://storage.googleapis.com/codecov/v4/raw/2022-07-12/4E5D53B4F1F92C436F7061BF334D961C/12e18996c0c91e8b0504df444ed4729b65be514a/5e19b6a7-431b-401d-b98a-28946625276f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T014848Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a2ce54cf037e70754cca625c751144c43b82eb5e25b15f75619f5dd6c553a47d 01:48:48 % Total % Received % Xferd Average Speed Time Time Time Current 01:48:48 Dload Upload Total Spent Left Speed 01:48:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1747 0 0 100 1747 0 6905 --:--:-- --:--:-- --:--:-- 6877 01:48:48 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/12e18996c0c91e8b0504df444ed4729b65be514a [Pipeline] } 01:48:48 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 01:48:49 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-206/archives ] 01:48:49 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-206/archives 01:48:49 total 16 01:48:49 drwxr-xr-x 3 root root 4096 Jul 12 01:39 . 01:48:49 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 01:39 .. 01:48:49 drwxr-xr-x 2 root root 4096 Jul 12 01:39 cost 01:48:49 -rw-r--r-- 1 root root 85 Jul 12 01:39 cost.csv 01:48:49 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-206/archives 01:48:49 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-206/archives 01:48:49 total 16 01:48:49 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 01:39 . 01:48:49 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 01:39 .. 01:48:49 drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 01:39 cost 01:48:49 -rw-r--r-- 1 jenkins jenkins 85 Jul 12 01:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:48:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:48:50 ---> package-listing.sh 01:48:50 ++ facter osfamily 01:48:50 ++ tr '[:upper:]' '[:lower:]' 01:48:51 + OS_FAMILY=debian 01:48:51 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-206 01:48:51 + START_PACKAGES=/tmp/packages_start.txt 01:48:51 + END_PACKAGES=/tmp/packages_end.txt 01:48:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:48:51 + PACKAGES=/tmp/packages_start.txt 01:48:51 + '[' /w/workspace/gexfoundry_device-rest-go_PR-206 ']' 01:48:51 + PACKAGES=/tmp/packages_end.txt 01:48:51 + case "${OS_FAMILY}" in 01:48:51 + dpkg -l 01:48:51 + grep '^ii' 01:48:51 + '[' -f /tmp/packages_start.txt ']' 01:48:51 + '[' -f /tmp/packages_end.txt ']' 01:48:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:48:51 + '[' /w/workspace/gexfoundry_device-rest-go_PR-206 ']' 01:48:51 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-206/archives/ 01:48:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-206/archives/ [Pipeline] echo 01:48:51 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-206/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:48:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:48:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:52 prd-ubuntu20.04-docker-8c-8g-19505 does not seem to be running inside a container 01:48:52 $ 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-206/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-206 -v /w/workspace/gexfoundry_device-rest-go_PR-206:/w/workspace/gexfoundry_device-rest-go_PR-206:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-206@tmp:/w/workspace/gexfoundry_device-rest-go_PR-206@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:48:52 $ docker top ec5cfa76bcb26c468faf581984e240ed4d62032643e7fbd658c2268859bf86ff -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:52 + touch /tmp/pre-build-complete [Pipeline] sh 01:48:52 + mkdir -p /var/log/sysstat [Pipeline] sh 01:48:53 + ls /var/log/sa-host 01:48:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:53 provisioning config files... 01:48:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/config6933473279540314926tmp [Pipeline] { [Pipeline] echo 01:48:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:48:53 ---> create-netrc.sh [Pipeline] } 01:48:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:48:53 ---> python-tools-install.sh [Pipeline] echo 01:48:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:48:54 ---> sudo-logs.sh 01:48:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:48:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:48:54 ---> job-cost.sh 01:48:54 lf-activate-venv: SKIPPING 01:48:54 DEBUG: total: 0.2199999988079071 01:48:54 INFO: Retrieving Stack Cost... 01:48:55 INFO: Retrieving Pricing Info for: v3-standard-8 01:48:55 INFO: Archiving Costs [Pipeline] echo 01:48:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:48:55 ---> logs-deploy.sh 01:48:55 lf-activate-venv: SKIPPING 01:48:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-206/3 01:48:55 INFO: archiving workspace using pattern(s): 01:48:56 Archives upload complete. 01:48:56 INFO: archiving logs to Nexus 01:48:57 ---> uname -a: 01:48:57 Linux prd-ubuntu20-04-docker-8c-8g-19505 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 01:48:57 01:48:57 01:48:57 ---> lscpu: 01:48:57 Architecture: x86_64 01:48:57 CPU op-mode(s): 32-bit, 64-bit 01:48:57 Byte Order: Little Endian 01:48:57 Address sizes: 40 bits physical, 48 bits virtual 01:48:57 CPU(s): 8 01:48:57 On-line CPU(s) list: 0-7 01:48:57 Thread(s) per core: 1 01:48:57 Core(s) per socket: 1 01:48:57 Socket(s): 8 01:48:57 NUMA node(s): 1 01:48:57 Vendor ID: AuthenticAMD 01:48:57 CPU family: 23 01:48:57 Model: 49 01:48:57 Model name: AMD EPYC-Rome Processor 01:48:57 Stepping: 0 01:48:57 CPU MHz: 2799.976 01:48:57 BogoMIPS: 5599.95 01:48:57 Virtualization: AMD-V 01:48:57 Hypervisor vendor: KVM 01:48:57 Virtualization type: full 01:48:57 L1d cache: 256 KiB 01:48:57 L1i cache: 256 KiB 01:48:57 L2 cache: 4 MiB 01:48:57 L3 cache: 128 MiB 01:48:57 NUMA node0 CPU(s): 0-7 01:48:57 Vulnerability Itlb multihit: Not affected 01:48:57 Vulnerability L1tf: Not affected 01:48:57 Vulnerability Mds: Not affected 01:48:57 Vulnerability Meltdown: Not affected 01:48:57 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:48:57 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:48:57 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:48:57 Vulnerability Srbds: Not affected 01:48:57 Vulnerability Tsx async abort: Not affected 01:48:57 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 01:48:57 01:48:57