Pull request #343 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-rest-go Obtained Jenkinsfile from 4617776163951c6dac5c14d5cbb20ddb9bf695df+6a5bbfd9e0df4486290843fbebd273780ea8bdd3 (72dda79e37364fe6c7eb524a6268402270df29c4) 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-ssh3538794813506811268.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10725152790575552526.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-343/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-343/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16878606541344680637.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-343/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3729457576544719749.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2858917532124559049.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-343/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-343/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15168582303200899404.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6730’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6731’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6736 in /w/workspace/gexfoundry_device-rest-go_PR-343 [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-343 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 into PR head commit 4617776163951c6dac5c14d5cbb20ddb9bf695df Merge succeeded, producing 4617776163951c6dac5c14d5cbb20ddb9bf695df Checking out Revision 4617776163951c6dac5c14d5cbb20ddb9bf695df (PR-343) > 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/343/head:refs/remotes/origin/PR-343 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4617776163951c6dac5c14d5cbb20ddb9bf695df # 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 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4617776163951c6dac5c14d5cbb20ddb9bf695df # timeout=10 Commit message: "ci: add automated release workflow on tag creation" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:22:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:22:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:22:55 ========================================================= 17:22:55 EdgeX Global Pipelines Version Info 17:22:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:22:55 ------------------- 17:22:55 stable info: 17:22:55 ------------------- 17:22:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:22:55 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 17:22:55 Message: update stable to v1.0.254 17:22:56 ------------------- 17:22:56 experimental info: 17:22:56 ------------------- 17:22:56 Commited By: **** collab-it+edgex@linuxfoundation.org 17:22:56 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 17:22:56 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:22:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 17:22:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 17:22:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:22:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:22:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:22:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:22:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:22:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-343 [Pipeline] echo 17:22:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-343 [Pipeline] echo 17:22:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-343 [Pipeline] echo 17:22:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4617776163951c6dac5c14d5cbb20ddb9bf695df [Pipeline] echo 17:22:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4617776 [Pipeline] echo 17:22:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:22:58 provisioning config files... 17:22:58 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-343@tmp/config1035069628180101294tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:58 ---> docker-login.sh 17:22:58 nexus3.edgexfoundry.org:10001 17:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:59 Configure a credential helper to remove this warning. See 17:22:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:59 17:22:59 Login Succeeded 17:22:59 nexus3.edgexfoundry.org:10002 17:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:59 Configure a credential helper to remove this warning. See 17:22:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:59 17:22:59 Login Succeeded 17:22:59 nexus3.edgexfoundry.org:10003 17:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:59 Configure a credential helper to remove this warning. See 17:22:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:59 17:22:59 Login Succeeded 17:22:59 nexus3.edgexfoundry.org:10004 17:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:59 Configure a credential helper to remove this warning. See 17:22:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:59 17:22:59 Login Succeeded 17:22:59 docker.io 17:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:59 Configure a credential helper to remove this warning. See 17:22:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:59 17:22:59 Login Succeeded 17:22:59 ---> docker-login.sh ends [Pipeline] } 17:22:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:23:00 + git rev-list -1 --merges 4617776163951c6dac5c14d5cbb20ddb9bf695df~1..4617776163951c6dac5c14d5cbb20ddb9bf695df [Pipeline] echo 17:23:00 -----------> git rev-list -1 --merges 4617776163951c6dac5c14d5cbb20ddb9bf695df~1..4617776163951c6dac5c14d5cbb20ddb9bf695df 4617776163951c6dac5c14d5cbb20ddb9bf695df [false] [Pipeline] sh 17:23:00 + git log --format=format:%s -1 4617776163951c6dac5c14d5cbb20ddb9bf695df [Pipeline] echo 17:23:00 ========================================================= 17:23:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:23:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:23:01 + git log --format=format:%s -1 4617776163951c6dac5c14d5cbb20ddb9bf695df [Pipeline] echo 17:23:01 [semverPrep] GIT_COMMIT: 4617776163951c6dac5c14d5cbb20ddb9bf695df, Commit Message: ci: add automated release workflow on tag creation [Pipeline] echo 17:23:01 [semverPrep] This is not a build commit. [Pipeline] sh 17:23:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:23:01 + grep -v github /etc/ssh/ssh_known_hosts 17:23:01 + [ -e /tmp/ssh_known_hosts ] 17:23:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:23:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:23:01 + sudo tee -a /etc/ssh/ssh_known_hosts 17:23:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:23:01 17:23:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:23:02 0.1.4: Pulling from edgex-devops/py-git-semver 17:23:02 b85a868b505f: Pulling fs layer 17:23:02 e2be974225ed: Pulling fs layer 17:23:02 339a4e72a1f5: Pulling fs layer 17:23:02 988bab9f4d93: Pulling fs layer 17:23:02 1469e6f7b9e6: Pulling fs layer 17:23:02 eaf3925da568: Pulling fs layer 17:23:02 bab4dde63d76: Pulling fs layer 17:23:02 bde34c3a00c8: Pulling fs layer 17:23:02 b352a97aabf1: Pulling fs layer 17:23:02 4872d77fe225: Pulling fs layer 17:23:02 5851b861e8e6: Pulling fs layer 17:23:02 eaf3925da568: Waiting 17:23:02 bab4dde63d76: Waiting 17:23:02 4872d77fe225: Waiting 17:23:02 bde34c3a00c8: Waiting 17:23:02 5851b861e8e6: Waiting 17:23:02 b352a97aabf1: Waiting 17:23:02 988bab9f4d93: Waiting 17:23:02 1469e6f7b9e6: Waiting 17:23:02 e2be974225ed: Verifying Checksum 17:23:02 e2be974225ed: Download complete 17:23:02 988bab9f4d93: Verifying Checksum 17:23:02 988bab9f4d93: Download complete 17:23:02 1469e6f7b9e6: Verifying Checksum 17:23:02 1469e6f7b9e6: Download complete 17:23:02 eaf3925da568: Verifying Checksum 17:23:02 eaf3925da568: Download complete 17:23:02 339a4e72a1f5: Verifying Checksum 17:23:02 339a4e72a1f5: Download complete 17:23:02 bde34c3a00c8: Download complete 17:23:02 b352a97aabf1: Verifying Checksum 17:23:02 b352a97aabf1: Download complete 17:23:02 4872d77fe225: Download complete 17:23:02 5851b861e8e6: Verifying Checksum 17:23:02 5851b861e8e6: Download complete 17:23:02 b85a868b505f: Verifying Checksum 17:23:02 b85a868b505f: Download complete 17:23:03 bab4dde63d76: Verifying Checksum 17:23:03 bab4dde63d76: Download complete 17:23:04 b85a868b505f: Pull complete 17:23:04 e2be974225ed: Pull complete 17:23:04 339a4e72a1f5: Pull complete 17:23:04 988bab9f4d93: Pull complete 17:23:04 1469e6f7b9e6: Pull complete 17:23:04 eaf3925da568: Pull complete 17:23:07 bab4dde63d76: Pull complete 17:23:07 bde34c3a00c8: Pull complete 17:23:07 b352a97aabf1: Pull complete 17:23:07 4872d77fe225: Pull complete 17:23:07 5851b861e8e6: Pull complete 17:23:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:23:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:23:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:07 prd-ubuntu20.04-docker-8c-8g-6736 does not seem to be running inside a container 17:23:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-343 -v /w/workspace/gexfoundry_device-rest-go_PR-343:/w/workspace/gexfoundry_device-rest-go_PR-343:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-343@tmp:/w/workspace/gexfoundry_device-rest-go_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:23:10 $ docker top 7cfc56b0c44aaad6df4fac3e55c996ca41ee1ae303013a1b526717d8650d1d1d -eo pid,comm 17:23:10 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). 17:23:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:23:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:23:10 [ssh-agent] Looking for ssh-agent implementation... 17:23:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:23:10 $ docker exec 7cfc56b0c44aaad6df4fac3e55c996ca41ee1ae303013a1b526717d8650d1d1d ssh-agent 17:23:11 SSH_AUTH_SOCK=/tmp/ssh-je7aM8vci9Zb/agent.32 17:23:11 SSH_AGENT_PID=38 17:23:11 Running ssh-add (command line suppressed) 17:23:11 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-343@tmp/private_key_9715046982695573667.key (/w/workspace/gexfoundry_device-rest-go_PR-343@tmp/private_key_9715046982695573667.key) 17:23:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:23:11 + git tag --points-at HEAD [Pipeline] } 17:23:11 $ docker exec --env ******** --env ******** 7cfc56b0c44aaad6df4fac3e55c996ca41ee1ae303013a1b526717d8650d1d1d ssh-agent -k 17:23:11 unset SSH_AUTH_SOCK; 17:23:11 unset SSH_AGENT_PID; 17:23:11 echo Agent pid 38 killed; 17:23:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:23:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:23:11 [ssh-agent] Looking for ssh-agent implementation... 17:23:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:23:11 $ docker exec 7cfc56b0c44aaad6df4fac3e55c996ca41ee1ae303013a1b526717d8650d1d1d ssh-agent 17:23:12 SSH_AUTH_SOCK=/tmp/ssh-QhizJXKGHYVe/agent.70 17:23:12 SSH_AGENT_PID=77 17:23:12 Running ssh-add (command line suppressed) 17:23:12 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-343@tmp/private_key_11086362858850545837.key (/w/workspace/gexfoundry_device-rest-go_PR-343@tmp/private_key_11086362858850545837.key) 17:23:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:23:12 + git semver init 17:23:12 2023-09-20 17:23:12,687 [run_init] DEBUG init version:0.0.0 force:False 17:23:12 2023-09-20 17:23:12,687 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-343/.semver 17:23:12 2023-09-20 17:23:12,688 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-343/.semver 17:23:12 2023-09-20 17:23:12,688 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-343/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-343, universal_newlines=False, shell=None, istream=None) 17:23:14 2023-09-20 17:23:13,735 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-343/.git/info/exclude 17:23:14 2023-09-20 17:23:13,736 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-343/.semver/PR-343 with force:False 17:23:14 2023-09-20 17:23:13,736 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-343/.semver/PR-343 17:23:14 2023-09-20 17:23:13,740 [execute] INFO git cat-file --batch-check 17:23:14 2023-09-20 17:23:13,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-343/.semver, universal_newlines=False, shell=None, istream=) 17:23:14 2023-09-20 17:23:13,747 [execute] INFO git cat-file --batch 17:23:14 2023-09-20 17:23:13,748 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-343/.semver, universal_newlines=False, shell=None, istream=) 17:23:14 2023-09-20 17:23:13,753 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-343/.semver/PR-343 17:23:14 0.0.0 [Pipeline] } 17:23:14 $ docker exec --env ******** --env ******** 7cfc56b0c44aaad6df4fac3e55c996ca41ee1ae303013a1b526717d8650d1d1d ssh-agent -k 17:23:14 unset SSH_AUTH_SOCK; 17:23:14 unset SSH_AGENT_PID; 17:23:14 echo Agent pid 77 killed; 17:23:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:23:14 + git semver [Pipeline] } 17:23:14 $ docker stop --time=1 7cfc56b0c44aaad6df4fac3e55c996ca41ee1ae303013a1b526717d8650d1d1d 17:23:16 $ docker rm -f --volumes 7cfc56b0c44aaad6df4fac3e55c996ca41ee1ae303013a1b526717d8650d1d1d [Pipeline] // withDockerContainer [Pipeline] sh 17:23:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:23:17 Stashed 1 file(s) [Pipeline] echo 17:23:17 [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 17:23:17 provisioning config files... 17:23:17 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-343@tmp/config12312815111576344828tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:18 ---> docker-login.sh 17:23:18 nexus3.edgexfoundry.org:10001 17:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:18 Configure a credential helper to remove this warning. See 17:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:18 17:23:18 Login Succeeded 17:23:18 nexus3.edgexfoundry.org:10002 17:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:18 Configure a credential helper to remove this warning. See 17:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:18 17:23:18 Login Succeeded 17:23:18 nexus3.edgexfoundry.org:10003 17:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:18 Configure a credential helper to remove this warning. See 17:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:18 17:23:18 Login Succeeded 17:23:18 nexus3.edgexfoundry.org:10004 17:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:18 Configure a credential helper to remove this warning. See 17:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:18 17:23:18 Login Succeeded 17:23:18 docker.io 17:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:18 Configure a credential helper to remove this warning. See 17:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:18 17:23:18 Login Succeeded 17:23:18 ---> docker-login.sh ends [Pipeline] } 17:23:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:23:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:23:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:23:18 ========================================================= 17:23:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:23:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:23:19 Sending build context to Docker daemon 10.9MB 17:23:19 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 17:23:19 Step 2/12 : FROM ${BASE} AS builder 17:23:19 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:23:19 7264a8db6415: Pulling fs layer 17:23:19 c4d48a809fc2: Pulling fs layer 17:23:19 4f1c88b9dad5: Pulling fs layer 17:23:19 ad3a456e5733: Pulling fs layer 17:23:19 33e27b845d1e: Pulling fs layer 17:23:19 c68163c4e522: Pulling fs layer 17:23:19 50da416c3ac9: Pulling fs layer 17:23:19 23d2d4c4bb30: Pulling fs layer 17:23:19 c68163c4e522: Waiting 17:23:19 ad3a456e5733: Waiting 17:23:19 33e27b845d1e: Waiting 17:23:19 23d2d4c4bb30: Waiting 17:23:19 c4d48a809fc2: Download complete 17:23:19 ad3a456e5733: Verifying Checksum 17:23:19 ad3a456e5733: Download complete 17:23:19 33e27b845d1e: Verifying Checksum 17:23:19 33e27b845d1e: Download complete 17:23:19 7264a8db6415: Verifying Checksum 17:23:19 7264a8db6415: Download complete 17:23:19 c68163c4e522: Verifying Checksum 17:23:19 c68163c4e522: Download complete 17:23:19 7264a8db6415: Pull complete 17:23:19 c4d48a809fc2: Pull complete 17:23:19 23d2d4c4bb30: Verifying Checksum 17:23:19 23d2d4c4bb30: Download complete 17:23:20 4f1c88b9dad5: Verifying Checksum 17:23:20 4f1c88b9dad5: Download complete 17:23:20 50da416c3ac9: Verifying Checksum 17:23:20 50da416c3ac9: Download complete 17:23:23 4f1c88b9dad5: Pull complete 17:23:23 ad3a456e5733: Pull complete 17:23:24 33e27b845d1e: Pull complete 17:23:24 c68163c4e522: Pull complete 17:23:27 50da416c3ac9: Pull complete 17:23:27 23d2d4c4bb30: Pull complete 17:23:27 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 17:23:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:23:27 ---> 0786185ac409 17:23:27 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:23:31 ---> Running in 6e753aeb9a1e 17:23:31 Removing intermediate container 6e753aeb9a1e 17:23:31 ---> 6b2529b40245 17:23:31 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:23:31 ---> Running in 15187c3de5b7 17:23:31 Removing intermediate container 15187c3de5b7 17:23:31 ---> bfe52e3deb5e 17:23:31 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:23:31 ---> Running in 63866a1a2788 17:23:31 Removing intermediate container 63866a1a2788 17:23:31 ---> 027744918d5e 17:23:31 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:23:31 ---> Running in 026bd96185f2 17:23:31 Removing intermediate container 026bd96185f2 17:23:31 ---> 4c21066fd499 17:23:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:23:31 ---> Running in a995af6e2b17 17:23:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:23:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:23:32 (1/4) Installing openssh-keygen (9.3_p2-r0) 17:23:32 (2/4) Installing libedit (20221030.3.1-r1) 17:23:32 (3/4) Installing openssh-client-common (9.3_p2-r0) 17:23:32 (4/4) Installing openssh-client-default (9.3_p2-r0) 17:23:32 Executing busybox-1.36.1-r2.trigger 17:23:32 OK: 268 MiB in 56 packages 17:23:32 Still waiting to schedule task 17:23:32 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6729’ 17:23:32 Removing intermediate container a995af6e2b17 17:23:32 ---> dbccf0ff0b3d 17:23:32 Step 8/12 : WORKDIR /device-rest-go 17:23:32 ---> Running in 20881f31614d 17:23:32 Removing intermediate container 20881f31614d 17:23:32 ---> c568146d0fec 17:23:32 Step 9/12 : COPY go.mod vendor* ./ 17:23:32 ---> 33d82f906de8 17:23:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:23:32 ---> Running in 1b2cd6683052 17:24:19 Removing intermediate container 1b2cd6683052 17:24:19 ---> 779ae9e71483 17:24:19 Step 11/12 : COPY . . 17:24:19 ---> 793e695d2906 17:24:19 Step 12/12 : RUN $MAKE 17:24:19 ---> Running in 141298d2fa79 17:24:19 noop 17:24:19 Removing intermediate container 141298d2fa79 17:24:19 ---> ced216712611 17:24:19 Successfully built ced216712611 17:24:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:19 + docker inspect -f . ci-base-image-x86_64 17:24:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:20 prd-ubuntu20.04-docker-8c-8g-6736 does not seem to be running inside a container 17:24:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-343 -v /w/workspace/gexfoundry_device-rest-go_PR-343:/w/workspace/gexfoundry_device-rest-go_PR-343:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-343@tmp:/w/workspace/gexfoundry_device-rest-go_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:24:20 $ docker top c863a3d0af670f678f2fef06ce9a0f13aa1547d36cce7baf5684776097be886b -eo pid,comm [Pipeline] { [Pipeline] sh 17:24:20 + go version 17:24:20 go version go1.21.0 linux/amd64 [Pipeline] } 17:24:20 $ docker stop --time=1 c863a3d0af670f678f2fef06ce9a0f13aa1547d36cce7baf5684776097be886b 17:24:22 $ docker rm -f --volumes c863a3d0af670f678f2fef06ce9a0f13aa1547d36cce7baf5684776097be886b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:23 + docker inspect -f . ci-base-image-x86_64 17:24:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:23 prd-ubuntu20.04-docker-8c-8g-6736 does not seem to be running inside a container 17:24:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-343 -v /w/workspace/gexfoundry_device-rest-go_PR-343:/w/workspace/gexfoundry_device-rest-go_PR-343:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-343@tmp:/w/workspace/gexfoundry_device-rest-go_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:24:23 $ docker top 1596d93c6e67193fde120ec57dd7b1e3c0ef49f432b6c0ff540f614c113cb096 -eo pid,comm [Pipeline] { [Pipeline] sh 17:24:23 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-343 [Pipeline] fileExists [Pipeline] sh 17:24:24 + make test 17:24:24 go test ./... -coverprofile=coverage.out ./... 17:24:25 ? github.com/edgexfoundry/device-rest-go [no test files] 17:24:35 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:24:35 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.2% of statements 17:24:42 go vet ./... 17:24:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:24:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:24:44 ./bin/test-attribution-txt.sh [Pipeline] echo 17:24:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:24:44 $ docker stop --time=1 1596d93c6e67193fde120ec57dd7b1e3c0ef49f432b6c0ff540f614c113cb096 17:24:48 $ docker rm -f --volumes 1596d93c6e67193fde120ec57dd7b1e3c0ef49f432b6c0ff540f614c113cb096 [Pipeline] // withDockerContainer [Pipeline] sh 17:24:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:24:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:24:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:24:49 + ls -al . 17:24:49 total 188 17:24:49 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 17:24 . 17:24:49 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:22 .. 17:24:49 -rw-rw-r-- 1 jenkins jenkins 151 Sep 20 17:22 .dockerignore 17:24:49 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:24 .git 17:24:49 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:22 .github 17:24:49 -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 17:22 .gitignore 17:24:49 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 17:22 .golangci.yml 17:24:49 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:23 .semver 17:24:49 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 20 17:22 Attribution.txt 17:24:49 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 20 17:22 CHANGELOG.md 17:24:49 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 20 17:22 Dockerfile 17:24:49 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:22 GOVERNANCE.md 17:24:49 -rw-rw-r-- 1 jenkins jenkins 680 Sep 20 17:22 Jenkinsfile 17:24:49 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 17:22 LICENSE 17:24:49 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 20 17:22 Makefile 17:24:49 -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 17:22 OWNERS.md 17:24:49 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 20 17:22 README.md 17:24:49 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:23 VERSION 17:24:49 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:22 bin 17:24:49 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:22 cmd 17:24:49 -rw-r--r-- 1 jenkins jenkins 14499 Sep 20 17:24 coverage.out 17:24:49 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:22 driver 17:24:49 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 20 17:22 go.mod 17:24:49 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 17:22 go.sum 17:24:49 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:22 snap 17:24:49 -rw-rw-r-- 1 jenkins jenkins 713 Sep 20 17:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:50 + 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=4617776163951c6dac5c14d5cbb20ddb9bf695df --label arch=amd64 --label version=0.0.0 . 17:24:50 Sending build context to Docker daemon 10.92MB 17:24:50 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 17:24:50 Step 2/25 : FROM ${BASE} AS builder 17:24:50 ---> ced216712611 17:24:50 Step 3/25 : ARG ADD_BUILD_TAGS="" 17:24:50 ---> Running in 05e36d3b5970 17:24:50 Removing intermediate container 05e36d3b5970 17:24:50 ---> 895d99747b94 17:24:50 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:24:50 ---> Running in 2f68592ff5e0 17:24:50 Removing intermediate container 2f68592ff5e0 17:24:50 ---> c3ca6ae2f435 17:24:50 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:24:50 ---> Running in 5234404f24ac 17:24:50 Removing intermediate container 5234404f24ac 17:24:50 ---> b1f5dab16202 17:24:50 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 17:24:50 ---> Running in fa8cb739598e 17:24:50 Removing intermediate container fa8cb739598e 17:24:50 ---> 889363a39bcf 17:24:50 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:24:50 ---> Running in ca2ee60f657e 17:24:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:24:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:24:51 OK: 268 MiB in 56 packages 17:24:51 Removing intermediate container ca2ee60f657e 17:24:51 ---> 49ab63f0705d 17:24:51 Step 8/25 : WORKDIR /device-rest-go 17:24:51 ---> Running in 6ef5ff1e912e 17:24:51 Removing intermediate container 6ef5ff1e912e 17:24:51 ---> 3e0e989feba0 17:24:51 Step 9/25 : COPY go.mod vendor* ./ 17:24:51 ---> e2c85da6f52b 17:24:51 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:24:51 ---> Running in 791341dd5d45 17:24:53 Removing intermediate container 791341dd5d45 17:24:53 ---> d52612e881b3 17:24:53 Step 11/25 : COPY . . 17:24:53 ---> f5f3e10a5dbc 17:24:53 Step 12/25 : RUN $MAKE 17:24:54 ---> Running in f268440bc3ea 17:24:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.27" -trimpath -mod=readonly -o cmd/device-rest ./cmd 17:25:16 Removing intermediate container f268440bc3ea 17:25:16 ---> bfb5ec1f1944 17:25:16 Step 13/25 : FROM alpine:3.18 17:25:16 3.18: Pulling from library/alpine 17:25:16 7264a8db6415: Already exists 17:25:16 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 17:25:16 Status: Downloaded newer image for alpine:3.18 17:25:16 ---> 7e01a0d0a1dc 17:25:16 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:25:16 ---> Running in 37fd411d41c4 17:25:16 Removing intermediate container 37fd411d41c4 17:25:16 ---> 986f6134e707 17:25:16 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 17:25:16 ---> Running in a6128577071b 17:25:16 Removing intermediate container a6128577071b 17:25:16 ---> 45db362fee55 17:25:16 Step 16/25 : RUN apk add --update --no-cache dumb-init 17:25:16 ---> Running in 25f62c2ae6f2 17:25:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:25:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:25:16 (1/1) Installing dumb-init (1.2.5-r2) 17:25:16 Executing busybox-1.36.1-r2.trigger 17:25:16 OK: 7 MiB in 16 packages 17:25:16 Removing intermediate container 25f62c2ae6f2 17:25:16 ---> 3fa480d34829 17:25:16 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 17:25:17 ---> a240d8e27e4a 17:25:17 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 17:25:18 ---> be288b16e89e 17:25:18 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 17:25:18 ---> 8ec01f801399 17:25:18 Step 20/25 : EXPOSE 59986 17:25:18 ---> Running in 77445da6bd91 17:25:18 Removing intermediate container 77445da6bd91 17:25:18 ---> b26ad5efa6ef 17:25:18 Step 21/25 : ENTRYPOINT ["/device-rest"] 17:25:18 ---> Running in 269cb7250887 17:25:18 Removing intermediate container 269cb7250887 17:25:18 ---> 2b0b77793378 17:25:18 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:25:18 ---> Running in 5a5575e5b888 17:25:18 Removing intermediate container 5a5575e5b888 17:25:18 ---> 3e2eae827e5e 17:25:18 Step 23/25 : LABEL arch=amd64 17:25:18 ---> Running in 890a3fdb7856 17:25:18 Removing intermediate container 890a3fdb7856 17:25:18 ---> df59432a88ee 17:25:18 Step 24/25 : LABEL git_sha=4617776163951c6dac5c14d5cbb20ddb9bf695df 17:25:18 ---> Running in cc5d566f1b56 17:25:18 Removing intermediate container cc5d566f1b56 17:25:18 ---> 69d2fb85802b 17:25:18 Step 25/25 : LABEL version=0.0.0 17:25:18 ---> Running in 89a42f98a05a 17:25:18 Removing intermediate container 89a42f98a05a 17:25:18 ---> a24bc9985394 17:25:18 [Warning] One or more build-args [ARCH] were not consumed 17:25:18 Successfully built a24bc9985394 17:25:18 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 17:25:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:25:19 17:25:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:25:20 latest: Pulling from edgex-lftools-log-publisher 17:25:20 5eb5b503b376: Pulling fs layer 17:25:20 5c69ac0246d0: Pulling fs layer 17:25:20 ec43610c2a17: Pulling fs layer 17:25:20 3a2ae6a8a46f: Pulling fs layer 17:25:20 33b1e0a273af: Pulling fs layer 17:25:20 5d3b04190fa2: Pulling fs layer 17:25:20 2f39f015ded8: Pulling fs layer 17:25:20 3a2ae6a8a46f: Waiting 17:25:20 33b1e0a273af: Waiting 17:25:20 5d3b04190fa2: Waiting 17:25:20 2f39f015ded8: Waiting 17:25:20 5c69ac0246d0: Verifying Checksum 17:25:20 5c69ac0246d0: Download complete 17:25:20 3a2ae6a8a46f: Download complete 17:25:20 33b1e0a273af: Verifying Checksum 17:25:20 33b1e0a273af: Download complete 17:25:20 5d3b04190fa2: Download complete 17:25:20 ec43610c2a17: Verifying Checksum 17:25:20 ec43610c2a17: Download complete 17:25:20 5eb5b503b376: Verifying Checksum 17:25:20 5eb5b503b376: Download complete 17:25:21 2f39f015ded8: Download complete 17:25:21 5eb5b503b376: Pull complete 17:25:22 5c69ac0246d0: Pull complete 17:25:23 ec43610c2a17: Pull complete 17:25:23 3a2ae6a8a46f: Pull complete 17:25:23 33b1e0a273af: Pull complete 17:25:23 5d3b04190fa2: Pull complete 17:25:27 2f39f015ded8: Pull complete 17:25:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:25:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:25:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:28 prd-ubuntu20.04-docker-8c-8g-6736 does not seem to be running inside a container 17:25:28 $ 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-343 -v /w/workspace/gexfoundry_device-rest-go_PR-343:/w/workspace/gexfoundry_device-rest-go_PR-343:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-343@tmp:/w/workspace/gexfoundry_device-rest-go_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:25:33 $ docker top fe5b634d1100dade469156f5a748121f9f2a5d58cbe220eaa0fe4d05384fa6b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:33 ---> job-cost.sh 17:25:33 lf-activate-venv: SKIPPING 17:25:33 INFO: No Stack... 17:25:34 INFO: Retrieving Pricing Info for: v3-standard-8 17:25:34 INFO: Archiving Costs [Pipeline] sh 17:25:34 + cat /w/workspace/gexfoundry_device-rest-go_PR-343/archives/cost.csv 17:25:34 + cut -d, -f6 [Pipeline] lock 17:25:34 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-343-1-stack-cost] 17:25:34 Resource [jenkins-edgexfoundry-device-rest-go-PR-343-1-stack-cost] did not exist. Created. 17:25:34 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-343-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:25:35 + echo total: 0.2199999988079071 [Pipeline] stash 17:25:35 Stashed 1 file(s) [Pipeline] } 17:25:35 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-343-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:25:35 $ docker stop --time=1 fe5b634d1100dade469156f5a748121f9f2a5d58cbe220eaa0fe4d05384fa6b5 17:25:36 $ docker rm -f --volumes fe5b634d1100dade469156f5a748121f9f2a5d58cbe220eaa0fe4d05384fa6b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:26:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6748 in /w/workspace/gexfoundry_device-rest-go_PR-343 [Pipeline] { [Pipeline] ws 17:26:30 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 17:26:30 The recommended git tool is: git 17:26:41 using credential edgex-jenkins-ssh 17:26:41 Cloning the remote Git repository 17:26:41 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 17:26:41 > git init /w/workspace/device-rest-go/1 # timeout=10 17:26:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:26:41 > git --version # timeout=10 17:26:41 > git --version # 'git version 2.25.1' 17:26:41 using GIT_SSH to set credentials SSH Credentials for GitHub 17:26:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:26:44 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:26:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:26:47 Merging remotes/origin/main commit 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 into PR head commit 4617776163951c6dac5c14d5cbb20ddb9bf695df 17:26:46 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:26:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:26:46 using GIT_SSH to set credentials SSH Credentials for GitHub 17:26:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/343/head:refs/remotes/origin/PR-343 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:26:47 > git config core.sparsecheckout # timeout=10 17:26:47 > git checkout -f 4617776163951c6dac5c14d5cbb20ddb9bf695df # timeout=10 17:26:47 > git remote # timeout=10 17:26:47 > git config --get remote.origin.url # timeout=10 17:26:47 using GIT_SSH to set credentials SSH Credentials for GitHub 17:26:47 > git merge 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 # timeout=10 17:26:47 > git rev-parse HEAD^{commit} # timeout=10 17:26:47 Merge succeeded, producing 4617776163951c6dac5c14d5cbb20ddb9bf695df 17:26:47 Checking out Revision 4617776163951c6dac5c14d5cbb20ddb9bf695df (PR-343) 17:26:47 > git config core.sparsecheckout # timeout=10 17:26:47 > git checkout -f 4617776163951c6dac5c14d5cbb20ddb9bf695df # timeout=10 17:26:51 Commit message: "ci: add automated release workflow on tag creation" 17:26:52 > git --version # timeout=10 17:26:52 > git --version # 'git version 2.25.1' 17:26:52 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:26:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:26:53 % Total % Received % Xferd Average Speed Time Time Time Current 17:26:53 Dload Upload Total Spent Left Speed 17:26:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 118k 0 --:--:-- --:--:-- --:--:-- 119k [Pipeline] sh 17:26:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:26:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:26:55 + sudo tee /etc/docker/daemon.new 17:26:55 { 17:26:55 "registry-mirrors": [ 17:26:55 "https://nexus3.edgexfoundry.org:10001" 17:26:55 ], 17:26:55 "bip": "10.250.0.254/24", 17:26:55 "hosts": [ 17:26:55 "tcp://0.0.0.0:5555", 17:26:55 "unix:///var/run/docker.sock" 17:26:55 ], 17:26:55 "mtu": 1458, 17:26:55 "selinux-enabled": true, 17:26:55 "seccomp-profile": "/etc/docker/seccomp.json" 17:26:55 } [Pipeline] sh 17:26:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:26:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:27:14 provisioning config files... 17:27:14 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5477576988583231424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:27:15 ---> docker-login.sh 17:27:15 nexus3.edgexfoundry.org:10001 17:27:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:16 Configure a credential helper to remove this warning. See 17:27:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:16 17:27:16 Login Succeeded 17:27:16 nexus3.edgexfoundry.org:10002 17:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:16 Configure a credential helper to remove this warning. See 17:27:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:16 17:27:16 Login Succeeded 17:27:16 nexus3.edgexfoundry.org:10003 17:27:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:17 Configure a credential helper to remove this warning. See 17:27:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:17 17:27:17 Login Succeeded 17:27:17 nexus3.edgexfoundry.org:10004 17:27:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:17 Configure a credential helper to remove this warning. See 17:27:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:17 17:27:17 Login Succeeded 17:27:17 docker.io 17:27:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:18 Configure a credential helper to remove this warning. See 17:27:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:18 17:27:18 Login Succeeded 17:27:18 ---> docker-login.sh ends [Pipeline] } 17:27:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:27:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:27:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:27:18 ========================================================= 17:27:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 17:27:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:19 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:27:19 Sending build context to Docker daemon 144.4kB 17:27:19 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 17:27:19 Step 2/12 : FROM ${BASE} AS builder 17:27:19 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:27:19 9fda8d8052c6: Pulling fs layer 17:27:19 5d54e960e981: Pulling fs layer 17:27:19 c4a7e357bf2a: Pulling fs layer 17:27:19 f0e02332f6b5: Pulling fs layer 17:27:19 cefa15bbcfad: Pulling fs layer 17:27:19 17808c966233: Pulling fs layer 17:27:19 f4c1fc716caa: Pulling fs layer 17:27:19 cefa15bbcfad: Waiting 17:27:19 17808c966233: Waiting 17:27:19 f4c1fc716caa: Waiting 17:27:19 f0e02332f6b5: Waiting 17:27:19 5d54e960e981: Verifying Checksum 17:27:19 5d54e960e981: Download complete 17:27:19 f0e02332f6b5: Verifying Checksum 17:27:19 f0e02332f6b5: Download complete 17:27:19 cefa15bbcfad: Download complete 17:27:19 9fda8d8052c6: Download complete 17:27:20 f4c1fc716caa: Verifying Checksum 17:27:20 f4c1fc716caa: Download complete 17:27:21 9fda8d8052c6: Pull complete 17:27:21 5d54e960e981: Pull complete 17:27:22 c4a7e357bf2a: Verifying Checksum 17:27:22 c4a7e357bf2a: Download complete 17:27:22 17808c966233: Verifying Checksum 17:27:22 17808c966233: Download complete 17:27:33 c4a7e357bf2a: Pull complete 17:27:33 f0e02332f6b5: Pull complete 17:27:33 cefa15bbcfad: Pull complete 17:27:40 17808c966233: Pull complete 17:27:41 f4c1fc716caa: Pull complete 17:27:41 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 17:27:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 17:27:41 ---> ea914061e18c 17:27:41 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:27:44 ---> Running in 8ebd60d4dea7 17:27:44 Removing intermediate container 8ebd60d4dea7 17:27:44 ---> 6dba17f26bbb 17:27:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:27:44 ---> Running in 3c95d2abee2f 17:27:44 Removing intermediate container 3c95d2abee2f 17:27:44 ---> 4ac329083af8 17:27:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:27:44 ---> Running in 39d5855028fa 17:27:45 Removing intermediate container 39d5855028fa 17:27:45 ---> 32996485d65c 17:27:45 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:27:45 ---> Running in 2ef994fdebcf 17:27:45 Removing intermediate container 2ef994fdebcf 17:27:45 ---> f87afddd98b4 17:27:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:27:45 ---> Running in 9ffd93b355ea 17:27:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:27:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:27:48 (1/4) Installing openssh-keygen (9.3_p2-r0) 17:27:48 (2/4) Installing libedit (20221030.3.1-r1) 17:27:48 (3/4) Installing openssh-client-common (9.3_p2-r0) 17:27:48 (4/4) Installing openssh-client-default (9.3_p2-r0) 17:27:48 Executing busybox-1.36.1-r2.trigger 17:27:48 OK: 270 MiB in 56 packages 17:27:50 Removing intermediate container 9ffd93b355ea 17:27:50 ---> 338436992dd0 17:27:50 Step 8/12 : WORKDIR /device-rest-go 17:27:50 ---> Running in b073d1949dff 17:27:50 Removing intermediate container b073d1949dff 17:27:50 ---> 1b589e756ed2 17:27:50 Step 9/12 : COPY go.mod vendor* ./ 17:27:51 ---> 1e34102b9414 17:27:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:27:51 ---> Running in 706843f160fb 17:29:13 Removing intermediate container 706843f160fb 17:29:13 ---> 8c15bd182d85 17:29:13 Step 11/12 : COPY . . 17:29:13 ---> c411a844d56f 17:29:13 Step 12/12 : RUN $MAKE 17:29:13 ---> Running in 93156a68a9a0 17:29:13 noop 17:29:13 Removing intermediate container 93156a68a9a0 17:29:13 ---> 14c5d0dae10b 17:29:13 Successfully built 14c5d0dae10b 17:29:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:13 + docker inspect -f . ci-base-image-arm64 17:29:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:14 prd-ubuntu20.04-docker-arm64-4c-16g-6748 does not seem to be running inside a container 17:29:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:29:15 $ docker top 3946f6a663d53cca7607ce91576cfa61e001f07131390cef2be2c3cb20658801 -eo pid,comm [Pipeline] { [Pipeline] sh 17:29:16 + go version 17:29:16 go version go1.21.0 linux/arm64 [Pipeline] } 17:29:16 $ docker stop --time=1 3946f6a663d53cca7607ce91576cfa61e001f07131390cef2be2c3cb20658801 17:29:18 $ docker rm -f --volumes 3946f6a663d53cca7607ce91576cfa61e001f07131390cef2be2c3cb20658801 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:19 + docker inspect -f . ci-base-image-arm64 17:29:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:19 prd-ubuntu20.04-docker-arm64-4c-16g-6748 does not seem to be running inside a container 17:29:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:29:21 $ docker top 6970a21a9f6b11f8bf52ddc55205880bc241b54d5c9ec449a2211291d11e4bef -eo pid,comm [Pipeline] { [Pipeline] sh 17:29:21 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 17:29:22 + make test 17:29:22 go test ./... -coverprofile=coverage.out ./... 17:29:28 ? github.com/edgexfoundry/device-rest-go [no test files] 17:31:49 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:31:49 ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 33.2% of statements 17:31:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:31:49 go vet ./... 17:32:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:32:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:32:13 ./bin/test-attribution-txt.sh [Pipeline] echo 17:32:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:32:13 $ docker stop --time=1 6970a21a9f6b11f8bf52ddc55205880bc241b54d5c9ec449a2211291d11e4bef 17:32:15 $ docker rm -f --volumes 6970a21a9f6b11f8bf52ddc55205880bc241b54d5c9ec449a2211291d11e4bef [Pipeline] // withDockerContainer [Pipeline] sh 17:32:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:32:17 Warning: overwriting stash ‘coverage-report’ 17:32:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:32:19 + ls -al . 17:32:19 total 184 17:32:19 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:29 . 17:32:19 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:26 .. 17:32:19 -rw-rw-r-- 1 jenkins jenkins 151 Sep 20 17:26 .dockerignore 17:32:19 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:26 .git 17:32:19 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:26 .github 17:32:19 -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 17:26 .gitignore 17:32:19 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 17:26 .golangci.yml 17:32:19 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 20 17:26 Attribution.txt 17:32:19 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 20 17:26 CHANGELOG.md 17:32:19 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 20 17:26 Dockerfile 17:32:19 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:26 GOVERNANCE.md 17:32:19 -rw-rw-r-- 1 jenkins jenkins 680 Sep 20 17:26 Jenkinsfile 17:32:19 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 17:26 LICENSE 17:32:19 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 20 17:26 Makefile 17:32:19 -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 17:26 OWNERS.md 17:32:19 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 20 17:26 README.md 17:32:19 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:23 VERSION 17:32:19 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:26 bin 17:32:19 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:26 cmd 17:32:19 -rw-r--r-- 1 jenkins jenkins 14499 Sep 20 17:31 coverage.out 17:32:19 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:26 driver 17:32:19 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 20 17:26 go.mod 17:32:19 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 17:26 go.sum 17:32:19 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:26 snap 17:32:19 -rw-rw-r-- 1 jenkins jenkins 713 Sep 20 17:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:19 + 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=4617776163951c6dac5c14d5cbb20ddb9bf695df --label arch=arm64 --label version=0.0.0 . 17:32:19 Sending build context to Docker daemon 159.7kB 17:32:19 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 17:32:19 Step 2/25 : FROM ${BASE} AS builder 17:32:19 ---> 14c5d0dae10b 17:32:19 Step 3/25 : ARG ADD_BUILD_TAGS="" 17:32:19 ---> Running in dadb696f7153 17:32:20 Removing intermediate container dadb696f7153 17:32:20 ---> dbf6cbcecfd5 17:32:20 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:32:20 ---> Running in a37487ba9347 17:32:20 Removing intermediate container a37487ba9347 17:32:20 ---> 704a520fdd88 17:32:20 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:32:20 ---> Running in 24e88076321d 17:32:21 Removing intermediate container 24e88076321d 17:32:21 ---> 36f06fc2fd42 17:32:21 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 17:32:21 ---> Running in 0abe09435d99 17:32:21 Removing intermediate container 0abe09435d99 17:32:21 ---> d81cc0ccb75e 17:32:21 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:32:21 ---> Running in d97b53b9653a 17:32:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:32:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:32:24 OK: 270 MiB in 56 packages 17:32:25 Removing intermediate container d97b53b9653a 17:32:25 ---> c9ae6023ee1b 17:32:25 Step 8/25 : WORKDIR /device-rest-go 17:32:25 ---> Running in 308a729ccb27 17:32:26 Removing intermediate container 308a729ccb27 17:32:26 ---> a6caf3e7b51a 17:32:26 Step 9/25 : COPY go.mod vendor* ./ 17:32:27 ---> a9cfc9cf4c9e 17:32:27 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:32:27 ---> Running in 4ef1888ca494 17:32:29 Removing intermediate container 4ef1888ca494 17:32:29 ---> 78a9205559a1 17:32:29 Step 11/25 : COPY . . 17:32:30 ---> 8fe9afccb356 17:32:30 Step 12/25 : RUN $MAKE 17:32:30 ---> Running in 8a33134d9e2d 17:32:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.27" -trimpath -mod=readonly -o cmd/device-rest ./cmd 17:34:53 Removing intermediate container 8a33134d9e2d 17:34:53 ---> fde79dd0e682 17:34:53 Step 13/25 : FROM alpine:3.18 17:34:53 3.18: Pulling from library/alpine 17:34:53 9fda8d8052c6: Already exists 17:34:53 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 17:34:53 Status: Downloaded newer image for alpine:3.18 17:34:53 ---> f6648c04cd6c 17:34:53 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:34:53 ---> Running in 677e8cf475a7 17:34:53 Removing intermediate container 677e8cf475a7 17:34:53 ---> 4878a9769f7e 17:34:53 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 17:34:53 ---> Running in 85e788b8ee34 17:34:53 Removing intermediate container 85e788b8ee34 17:34:53 ---> f2fb5cc63232 17:34:53 Step 16/25 : RUN apk add --update --no-cache dumb-init 17:34:53 ---> Running in 213df88b991c 17:34:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:34:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:34:54 (1/1) Installing dumb-init (1.2.5-r2) 17:34:54 Executing busybox-1.36.1-r2.trigger 17:34:54 OK: 8 MiB in 16 packages 17:34:55 Removing intermediate container 213df88b991c 17:34:55 ---> 8d8986859ce0 17:34:55 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 17:34:57 ---> ccf71969c1e0 17:34:57 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 17:34:57 ---> 8907bcad8674 17:34:57 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 17:34:58 ---> c420efd21e67 17:34:58 Step 20/25 : EXPOSE 59986 17:34:58 ---> Running in d5487bec0de6 17:34:58 Removing intermediate container d5487bec0de6 17:34:58 ---> 055c4349d520 17:34:58 Step 21/25 : ENTRYPOINT ["/device-rest"] 17:34:58 ---> Running in 70ab09cf512b 17:34:59 Removing intermediate container 70ab09cf512b 17:34:59 ---> c65a8a0f69f5 17:34:59 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:34:59 ---> Running in c37b06ea1843 17:34:59 Removing intermediate container c37b06ea1843 17:34:59 ---> c7caf32c796f 17:34:59 Step 23/25 : LABEL arch=arm64 17:34:59 ---> Running in b538a53c57f4 17:34:59 Removing intermediate container b538a53c57f4 17:34:59 ---> 99192e09fe48 17:34:59 Step 24/25 : LABEL git_sha=4617776163951c6dac5c14d5cbb20ddb9bf695df 17:34:59 ---> Running in 90e68f9f4dd0 17:35:00 Removing intermediate container 90e68f9f4dd0 17:35:00 ---> e6a3da2ab6dd 17:35:00 Step 25/25 : LABEL version=0.0.0 17:35:00 ---> Running in 0bedb0fa6e15 17:35:00 Removing intermediate container 0bedb0fa6e15 17:35:00 ---> ffbb72e5d790 17:35:00 [Warning] One or more build-args [ARCH] were not consumed 17:35:00 Successfully built ffbb72e5d790 17:35:00 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 17:35:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:35:01 17:35:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:35:02 arm64: Pulling from edgex-lftools-log-publisher 17:35:02 8998bd30e6a1: Pulling fs layer 17:35:02 04944245beec: Pulling fs layer 17:35:02 699f458cf7ca: Pulling fs layer 17:35:02 765212b225bb: Pulling fs layer 17:35:02 f23df028b6ca: Pulling fs layer 17:35:02 d65c8cfc05b1: Pulling fs layer 17:35:02 2437ff75d9bd: Pulling fs layer 17:35:02 765212b225bb: Waiting 17:35:02 f23df028b6ca: Waiting 17:35:02 d65c8cfc05b1: Waiting 17:35:02 2437ff75d9bd: Waiting 17:35:02 04944245beec: Verifying Checksum 17:35:02 04944245beec: Download complete 17:35:02 765212b225bb: Download complete 17:35:02 f23df028b6ca: Verifying Checksum 17:35:02 f23df028b6ca: Download complete 17:35:02 d65c8cfc05b1: Verifying Checksum 17:35:02 d65c8cfc05b1: Download complete 17:35:02 699f458cf7ca: Download complete 17:35:02 8998bd30e6a1: Download complete 17:35:05 2437ff75d9bd: Verifying Checksum 17:35:05 2437ff75d9bd: Download complete 17:35:07 8998bd30e6a1: Pull complete 17:35:07 04944245beec: Pull complete 17:35:12 699f458cf7ca: Pull complete 17:35:12 765212b225bb: Pull complete 17:35:12 f23df028b6ca: Pull complete 17:35:13 d65c8cfc05b1: Pull complete 17:35:28 2437ff75d9bd: Pull complete 17:35:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:35:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:35:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:28 prd-ubuntu20.04-docker-arm64-4c-16g-6748 does not seem to be running inside a container 17:35:28 $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:35:31 $ docker top 1f96fdc335964d37f91a13f25c327964848a6a874f4c51802c2ddb61081c2ddc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:35:32 ---> job-cost.sh 17:35:32 lf-activate-venv: SKIPPING 17:35:32 INFO: No Stack... 17:35:33 INFO: Retrieving Pricing Info for: v3-standard-4 17:35:33 INFO: Archiving Costs [Pipeline] sh 17:35:34 + cat /w/workspace/device-rest-go/1/archives/cost.csv 17:35:34 + cut -d, -f6 [Pipeline] lock 17:35:34 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-343-1-stack-cost] 17:35:34 Resource [jenkins-edgexfoundry-device-rest-go-PR-343-1-stack-cost] did not exist. Created. 17:35:34 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-343-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:35:35 /w/workspace/device-rest-go/1@tmp/durable-d119b2f0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:35:36 + echo total: 0.10999999940395355 [Pipeline] stash 17:35:36 Warning: overwriting stash ‘stack-cost’ 17:35:36 Stashed 1 file(s) [Pipeline] } 17:35:36 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-343-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:35:36 $ docker stop --time=1 1f96fdc335964d37f91a13f25c327964848a6a874f4c51802c2ddb61081c2ddc 17:35:38 $ docker rm -f --volumes 1f96fdc335964d37f91a13f25c327964848a6a874f4c51802c2ddb61081c2ddc [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 17:35:39 provisioning config files... 17:35:39 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-343@tmp/config2565562538603170951tmp [Pipeline] { [Pipeline] sh 17:35:39 + set +x 17:35:39 + + bash -s -- 17:35:39 curl -s https://codecov.io/bash 17:35:39 17:35:39 _____ _ 17:35:39 / ____| | | 17:35:39 | | ___ __| | ___ ___ _____ __ 17:35:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:35:39 | |___| (_) | (_| | __/ (_| (_) \ V / 17:35:39 \_____\___/ \__,_|\___|\___\___/ \_/ 17:35:39 Bash-1.0.6 17:35:39 17:35:39 17:35:39 ==> git version 2.25.1 found 17:35:39 ==> 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 17:35:39 Release-Date: 2020-01-08 17:35:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:35:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:35:39 ==> Jenkins CI detected. 17:35:39 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-343 17:35:39 project root: . 17:35:39 --> token set from env 17:35:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:35:39 ==> Running gcov in . (disable via -X gcov) 17:35:39 ==> Python coveragepy not found 17:35:39 ==> Searching for coverage reports in: 17:35:39 + . 17:35:39 -> Found 1 reports 17:35:39 ==> Detecting git/mercurial file structure 17:35:39 ==> Reading reports 17:35:39 + ./coverage.out bytes=14499 17:35:39 ==> Appending adjustments 17:35:39 https://docs.codecov.io/docs/fixing-reports 17:35:40 + Found adjustments 17:35:40 ==> Gzipping contents 17:35:40 4.0K /tmp/codecov.X2iHjm.gz 17:35:40 ==> Uploading reports 17:35:40 url: https://codecov.io 17:35:40 query: branch=PR-343&commit=4617776163951c6dac5c14d5cbb20ddb9bf695df&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-343%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=343&job=&cmd_args= 17:35:40 -> Pinging Codecov 17:35:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-343&commit=4617776163951c6dac5c14d5cbb20ddb9bf695df&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-343%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=343&job=&cmd_args= 17:35:40 -> Uploading to 17:35:40 https://storage.googleapis.com/codecov/v4/raw/2023-09-20/4E5D53B4F1F92C436F7061BF334D961C/4617776163951c6dac5c14d5cbb20ddb9bf695df/ad7f88d0-0af2-484a-9a17-96b785392f6f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T173540Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fb101644c32457ba5a1bf12d35a1a878202e8ce8e18ef374a88855d97dd39851 17:35:40 % Total % Received % Xferd Average Speed Time Time Time Current 17:35:40 Dload Upload Total Spent Left Speed 17:35:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 13475 --:--:-- --:--:-- --:--:-- 13548 17:35:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/4617776163951c6dac5c14d5cbb20ddb9bf695df [Pipeline] } 17:35:40 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 17:35:42 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-343/archives ] 17:35:42 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-343/archives 17:35:42 total 16 17:35:42 drwxr-xr-x 3 root root 4096 Sep 20 17:25 . 17:35:42 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:25 .. 17:35:42 drwxr-xr-x 2 root root 4096 Sep 20 17:25 cost 17:35:42 -rw-r--r-- 1 root root 86 Sep 20 17:25 cost.csv 17:35:42 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-343/archives 17:35:42 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-343/archives 17:35:42 total 16 17:35:42 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:25 . 17:35:42 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:25 .. 17:35:42 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 17:25 cost 17:35:42 -rw-r--r-- 1 jenkins jenkins 86 Sep 20 17:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:35:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:35:43 ---> package-listing.sh 17:35:43 ++ facter osfamily 17:35:43 ++ tr '[:upper:]' '[:lower:]' 17:35:44 + OS_FAMILY=debian 17:35:44 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-343 17:35:44 + START_PACKAGES=/tmp/packages_start.txt 17:35:44 + END_PACKAGES=/tmp/packages_end.txt 17:35:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:35:44 + PACKAGES=/tmp/packages_start.txt 17:35:44 + '[' /w/workspace/gexfoundry_device-rest-go_PR-343 ']' 17:35:44 + PACKAGES=/tmp/packages_end.txt 17:35:44 + case "${OS_FAMILY}" in 17:35:44 + dpkg -l 17:35:44 + grep '^ii' 17:35:44 + '[' -f /tmp/packages_start.txt ']' 17:35:44 + '[' -f /tmp/packages_end.txt ']' 17:35:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:35:44 + '[' /w/workspace/gexfoundry_device-rest-go_PR-343 ']' 17:35:44 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-343/archives/ 17:35:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-343/archives/ [Pipeline] echo 17:35:44 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-343/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:35:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:35:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:45 prd-ubuntu20.04-docker-8c-8g-6736 does not seem to be running inside a container 17:35:45 $ 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-343/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-343 -v /w/workspace/gexfoundry_device-rest-go_PR-343:/w/workspace/gexfoundry_device-rest-go_PR-343:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-343@tmp:/w/workspace/gexfoundry_device-rest-go_PR-343@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 17:35:45 $ docker top fd5f92848afa8a2941a7167641ca54ac2a3687277c3dfcdadeec2e3a0d4b2520 -eo pid,comm [Pipeline] { [Pipeline] sh 17:35:45 + touch /tmp/pre-build-complete [Pipeline] sh 17:35:46 + mkdir -p /var/log/sysstat [Pipeline] sh 17:35:46 + ls /var/log/sa-host 17:35:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:35:46 provisioning config files... 17:35:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-343@tmp/config6013575906894048970tmp [Pipeline] { [Pipeline] echo 17:35:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:35:46 ---> create-netrc.sh [Pipeline] } 17:35:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:35:47 ---> python-tools-install.sh [Pipeline] echo 17:35:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:35:47 ---> sudo-logs.sh 17:35:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:35:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:35:48 ---> job-cost.sh 17:35:48 lf-activate-venv: SKIPPING 17:35:48 DEBUG: total: 0.2199999988079071 17:35:48 INFO: Retrieving Stack Cost... 17:35:48 INFO: Retrieving Pricing Info for: v3-standard-8 17:35:49 INFO: Archiving Costs [Pipeline] echo 17:35:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:35:49 ---> logs-deploy.sh 17:35:49 lf-activate-venv: SKIPPING 17:35:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-343/1 17:35:49 INFO: archiving workspace using pattern(s): 17:35:50 Archives upload complete. 17:35:50 INFO: archiving logs to Nexus 17:35:50 ---> uname -a: 17:35:50 Linux prd-ubuntu20-04-docker-8c-8g-6736 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 17:35:50 17:35:50 17:35:50 ---> lscpu: 17:35:50 Architecture: x86_64 17:35:50 CPU op-mode(s): 32-bit, 64-bit 17:35:50 Byte Order: Little Endian 17:35:50 Address sizes: 40 bits physical, 48 bits virtual 17:35:50 CPU(s): 8 17:35:50 On-line CPU(s) list: 0-7 17:35:50 Thread(s) per core: 1 17:35:50 Core(s) per socket: 1 17:35:50 Socket(s): 8 17:35:50 NUMA node(s): 1 17:35:50 Vendor ID: AuthenticAMD 17:35:50 CPU family: 23 17:35:50 Model: 49 17:35:50 Model name: AMD EPYC-Rome Processor 17:35:50 Stepping: 0 17:35:50 CPU MHz: 2799.998 17:35:50 BogoMIPS: 5599.99 17:35:50 Virtualization: AMD-V 17:35:50 Hypervisor vendor: KVM 17:35:50 Virtualization type: full 17:35:50 L1d cache: 256 KiB 17:35:50 L1i cache: 256 KiB 17:35:50 L2 cache: 4 MiB 17:35:50 L3 cache: 128 MiB 17:35:50 NUMA node0 CPU(s): 0-7 17:35:50 Vulnerability Itlb multihit: Not affected 17:35:50 Vulnerability L1tf: Not affected 17:35:50 Vulnerability Mds: Not affected 17:35:50 Vulnerability Meltdown: Not affected 17:35:50 Vulnerability Mmio stale data: Not affected 17:35:50 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:35:50 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:35:50 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:35:50 Vulnerability Srbds: Not affected 17:35:50 Vulnerability Tsx async abort: Not affected 17:35:50 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 17:35:50 17:35:50 17:35:50 ---> nproc: 17:35:50 8 17:35:50 17:35:50 17:35:50 ---> df -h: 17:35:50 Filesystem Size Used Avail Use% Mounted on 17:35:50 overlay 155G 12G 144G 8% / 17:35:50 tmpfs 64M 0 64M 0% /dev 17:35:50 tmpfs 16G 0 16G 0% /sys/fs/cgroup 17:35:50 shm 64M 0 64M 0% /dev/shm 17:35:50 /dev/vda1 155G 12G 144G 8% /facter-os 17:35:50 17:35:50