Pull request #253 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dbc214a4a69842ccb2acaee003160178485acaff+361e34ad238f1f05923baf29fae00e57c159c00c (9bb39cf2144726c65473ff3d48b66388c05a2de2) 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-ssh17824096309502640145.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5463986179863764874.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-253/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-253/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh526138657701342508.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-253/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18317031230037019646.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh14389642836086880161.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-253/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-253/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17213373462594194200.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5950 in /w/workspace/gexfoundry_device-rest-go_PR-253 [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-253 # 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 > 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/253/head:refs/remotes/origin/PR-253 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 361e34ad238f1f05923baf29fae00e57c159c00c into PR head commit dbc214a4a69842ccb2acaee003160178485acaff Merge succeeded, producing dbc214a4a69842ccb2acaee003160178485acaff Checking out Revision dbc214a4a69842ccb2acaee003160178485acaff (PR-253) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f dbc214a4a69842ccb2acaee003160178485acaff # 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 361e34ad238f1f05923baf29fae00e57c159c00c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dbc214a4a69842ccb2acaee003160178485acaff # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:42:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:42:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:42:08 ========================================================= 00:42:08 EdgeX Global Pipelines Version Info 00:42:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:42:09 ------------------- 00:42:09 stable info: 00:42:09 ------------------- 00:42:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:42:09 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:42:09 Message: update stable to v1.0.244 00:42:09 ------------------- 00:42:09 experimental info: 00:42:09 ------------------- 00:42:09 Commited By: **** collab-it+edgex@linuxfoundation.org 00:42:09 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:42:09 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:42:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:42:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:42:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:42:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-253 [Pipeline] echo 00:42:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-253 [Pipeline] echo 00:42:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-253 [Pipeline] echo 00:42:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dbc214a4a69842ccb2acaee003160178485acaff [Pipeline] echo 00:42:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dbc214a [Pipeline] echo 00:42:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:42:11 provisioning config files... 00:42:11 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-253@tmp/config16238932648145041939tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:11 ---> docker-login.sh 00:42:11 nexus3.edgexfoundry.org:10001 00:42:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:12 Configure a credential helper to remove this warning. See 00:42:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:12 00:42:12 Login Succeeded 00:42:12 nexus3.edgexfoundry.org:10002 00:42:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:12 Configure a credential helper to remove this warning. See 00:42:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:12 00:42:12 Login Succeeded 00:42:12 nexus3.edgexfoundry.org:10003 00:42:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:12 Configure a credential helper to remove this warning. See 00:42:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:12 00:42:12 Login Succeeded 00:42:12 nexus3.edgexfoundry.org:10004 00:42:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:12 Configure a credential helper to remove this warning. See 00:42:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:12 00:42:12 Login Succeeded 00:42:12 docker.io 00:42:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:12 Configure a credential helper to remove this warning. See 00:42:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:12 00:42:12 Login Succeeded 00:42:12 ---> docker-login.sh ends [Pipeline] } 00:42:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:42:13 + git rev-list -1 --merges dbc214a4a69842ccb2acaee003160178485acaff~1..dbc214a4a69842ccb2acaee003160178485acaff [Pipeline] echo 00:42:13 -----------> git rev-list -1 --merges dbc214a4a69842ccb2acaee003160178485acaff~1..dbc214a4a69842ccb2acaee003160178485acaff dbc214a4a69842ccb2acaee003160178485acaff [false] [Pipeline] sh 00:42:13 + git log --format=format:%s -1 dbc214a4a69842ccb2acaee003160178485acaff [Pipeline] echo 00:42:13 ========================================================= 00:42:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:42:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:42:14 + git log --format=format:%s -1 dbc214a4a69842ccb2acaee003160178485acaff [Pipeline] echo 00:42:14 [semverPrep] GIT_COMMIT: dbc214a4a69842ccb2acaee003160178485acaff, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 00:42:14 [semverPrep] This is not a build commit. [Pipeline] sh 00:42:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:42:14 + grep -v github /etc/ssh/ssh_known_hosts 00:42:14 + [ -e /tmp/ssh_known_hosts ] 00:42:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:42:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:42:14 + sudo tee -a /etc/ssh/ssh_known_hosts 00:42:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:42:14 00:42:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:42:15 0.1.4: Pulling from edgex-devops/py-git-semver 00:42:15 b85a868b505f: Pulling fs layer 00:42:15 e2be974225ed: Pulling fs layer 00:42:15 339a4e72a1f5: Pulling fs layer 00:42:15 988bab9f4d93: Pulling fs layer 00:42:15 1469e6f7b9e6: Pulling fs layer 00:42:15 eaf3925da568: Pulling fs layer 00:42:15 bab4dde63d76: Pulling fs layer 00:42:15 bde34c3a00c8: Pulling fs layer 00:42:15 b352a97aabf1: Pulling fs layer 00:42:15 4872d77fe225: Pulling fs layer 00:42:15 5851b861e8e6: Pulling fs layer 00:42:15 988bab9f4d93: Waiting 00:42:15 4872d77fe225: Waiting 00:42:15 1469e6f7b9e6: Waiting 00:42:15 b352a97aabf1: Waiting 00:42:15 bab4dde63d76: Waiting 00:42:15 5851b861e8e6: Waiting 00:42:15 eaf3925da568: Waiting 00:42:15 bde34c3a00c8: Waiting 00:42:15 e2be974225ed: Verifying Checksum 00:42:15 e2be974225ed: Download complete 00:42:15 988bab9f4d93: Verifying Checksum 00:42:15 988bab9f4d93: Download complete 00:42:15 1469e6f7b9e6: Verifying Checksum 00:42:15 1469e6f7b9e6: Download complete 00:42:15 eaf3925da568: Verifying Checksum 00:42:15 eaf3925da568: Download complete 00:42:15 339a4e72a1f5: Verifying Checksum 00:42:15 339a4e72a1f5: Download complete 00:42:15 bde34c3a00c8: Download complete 00:42:15 b352a97aabf1: Download complete 00:42:15 4872d77fe225: Verifying Checksum 00:42:15 4872d77fe225: Download complete 00:42:15 5851b861e8e6: Verifying Checksum 00:42:15 5851b861e8e6: Download complete 00:42:15 b85a868b505f: Verifying Checksum 00:42:15 b85a868b505f: Download complete 00:42:16 bab4dde63d76: Verifying Checksum 00:42:16 bab4dde63d76: Download complete 00:42:17 b85a868b505f: Pull complete 00:42:17 e2be974225ed: Pull complete 00:42:17 339a4e72a1f5: Pull complete 00:42:17 988bab9f4d93: Pull complete 00:42:17 1469e6f7b9e6: Pull complete 00:42:17 eaf3925da568: Pull complete 00:42:19 bab4dde63d76: Pull complete 00:42:19 bde34c3a00c8: Pull complete 00:42:19 b352a97aabf1: Pull complete 00:42:19 4872d77fe225: Pull complete 00:42:19 5851b861e8e6: Pull complete 00:42:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:42:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:42:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:20 prd-ubuntu20.04-docker-8c-8g-5950 does not seem to be running inside a container 00:42:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-253 -v /w/workspace/gexfoundry_device-rest-go_PR-253:/w/workspace/gexfoundry_device-rest-go_PR-253:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-253@tmp:/w/workspace/gexfoundry_device-rest-go_PR-253@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:42:22 $ docker top 01890db5aff1cd989d1af8999dff89c73c9b3ed78e89ac66c6dda8f84baf3ce6 -eo pid,comm 00:42:22 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). 00:42:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:42:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:22 [ssh-agent] Looking for ssh-agent implementation... 00:42:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:22 $ docker exec 01890db5aff1cd989d1af8999dff89c73c9b3ed78e89ac66c6dda8f84baf3ce6 ssh-agent 00:42:22 SSH_AUTH_SOCK=/tmp/ssh-gsuA0WlTkyIo/agent.32 00:42:22 SSH_AGENT_PID=38 00:42:22 Running ssh-add (command line suppressed) 00:42:22 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-253@tmp/private_key_839345475588623997.key (/w/workspace/gexfoundry_device-rest-go_PR-253@tmp/private_key_839345475588623997.key) 00:42:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:42:23 + git tag --points-at HEAD [Pipeline] } 00:42:23 $ docker exec --env ******** --env ******** 01890db5aff1cd989d1af8999dff89c73c9b3ed78e89ac66c6dda8f84baf3ce6 ssh-agent -k 00:42:23 unset SSH_AUTH_SOCK; 00:42:23 unset SSH_AGENT_PID; 00:42:23 echo Agent pid 38 killed; 00:42:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:42:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:23 [ssh-agent] Looking for ssh-agent implementation... 00:42:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:23 $ docker exec 01890db5aff1cd989d1af8999dff89c73c9b3ed78e89ac66c6dda8f84baf3ce6 ssh-agent 00:42:23 SSH_AUTH_SOCK=/tmp/ssh-TkMvleavzWoL/agent.70 00:42:23 SSH_AGENT_PID=76 00:42:23 Running ssh-add (command line suppressed) 00:42:23 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-253@tmp/private_key_11167203529425971305.key (/w/workspace/gexfoundry_device-rest-go_PR-253@tmp/private_key_11167203529425971305.key) 00:42:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:42:24 + git semver init 00:42:24 2023-02-15 00:42:24,316 [run_init] DEBUG init version:0.0.0 force:False 00:42:24 2023-02-15 00:42:24,318 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-253/.semver 00:42:24 2023-02-15 00:42:24,318 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-253/.semver 00:42:24 2023-02-15 00:42:24,319 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-253/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-253, universal_newlines=False, shell=None, istream=None) 00:42:25 2023-02-15 00:42:25,653 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-253/.git/info/exclude 00:42:25 2023-02-15 00:42:25,654 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-253/.semver/PR-253 with force:False 00:42:25 2023-02-15 00:42:25,654 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-253/.semver/PR-253 00:42:25 2023-02-15 00:42:25,657 [execute] INFO git cat-file --batch-check 00:42:25 2023-02-15 00:42:25,657 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-253/.semver, universal_newlines=False, shell=None, istream=) 00:42:25 2023-02-15 00:42:25,662 [execute] INFO git cat-file --batch 00:42:25 2023-02-15 00:42:25,663 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-253/.semver, universal_newlines=False, shell=None, istream=) 00:42:25 2023-02-15 00:42:25,668 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-253/.semver/PR-253 00:42:25 0.0.0 [Pipeline] } 00:42:25 $ docker exec --env ******** --env ******** 01890db5aff1cd989d1af8999dff89c73c9b3ed78e89ac66c6dda8f84baf3ce6 ssh-agent -k 00:42:25 unset SSH_AUTH_SOCK; 00:42:25 unset SSH_AGENT_PID; 00:42:25 echo Agent pid 76 killed; 00:42:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:42:26 + git semver [Pipeline] } 00:42:26 $ docker stop --time=1 01890db5aff1cd989d1af8999dff89c73c9b3ed78e89ac66c6dda8f84baf3ce6 00:42:27 $ docker rm -f --volumes 01890db5aff1cd989d1af8999dff89c73c9b3ed78e89ac66c6dda8f84baf3ce6 [Pipeline] // withDockerContainer [Pipeline] sh 00:42:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:42:28 Stashed 1 file(s) [Pipeline] echo 00:42:28 [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 00:42:29 provisioning config files... 00:42:29 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-253@tmp/config4799853552791764204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:29 ---> docker-login.sh 00:42:29 nexus3.edgexfoundry.org:10001 00:42:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:29 Configure a credential helper to remove this warning. See 00:42:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:29 00:42:29 Login Succeeded 00:42:29 nexus3.edgexfoundry.org:10002 00:42:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:29 Configure a credential helper to remove this warning. See 00:42:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:29 00:42:29 Login Succeeded 00:42:29 nexus3.edgexfoundry.org:10003 00:42:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:29 Configure a credential helper to remove this warning. See 00:42:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:29 00:42:29 Login Succeeded 00:42:29 nexus3.edgexfoundry.org:10004 00:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:30 Configure a credential helper to remove this warning. See 00:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:30 00:42:30 Login Succeeded 00:42:30 docker.io 00:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:30 Configure a credential helper to remove this warning. See 00:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:30 00:42:30 Login Succeeded 00:42:30 ---> docker-login.sh ends [Pipeline] } 00:42:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:42:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:42:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:42:30 ========================================================= 00:42:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:42:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:31 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:42:31 Sending build context to Docker daemon 10.83MB 00:42:31 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 00:42:31 Step 2/12 : FROM ${BASE} AS builder 00:42:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:42:31 213ec9aee27d: Pulling fs layer 00:42:31 4583459ba037: Pulling fs layer 00:42:31 93c1e223e6f2: Pulling fs layer 00:42:31 53926ce57604: Pulling fs layer 00:42:31 21b2b0c7a3f4: Pulling fs layer 00:42:31 22ff95d597cd: Pulling fs layer 00:42:31 12d6caf4c0d1: Pulling fs layer 00:42:31 96b7cbca73a9: Pulling fs layer 00:42:31 a7acece74701: Pulling fs layer 00:42:31 21b2b0c7a3f4: Waiting 00:42:31 96b7cbca73a9: Waiting 00:42:31 a7acece74701: Waiting 00:42:31 12d6caf4c0d1: Waiting 00:42:31 53926ce57604: Waiting 00:42:31 93c1e223e6f2: Download complete 00:42:31 4583459ba037: Download complete 00:42:31 21b2b0c7a3f4: Verifying Checksum 00:42:31 21b2b0c7a3f4: Download complete 00:42:31 22ff95d597cd: Verifying Checksum 00:42:31 22ff95d597cd: Download complete 00:42:31 213ec9aee27d: Verifying Checksum 00:42:31 213ec9aee27d: Download complete 00:42:31 213ec9aee27d: Pull complete 00:42:31 12d6caf4c0d1: Download complete 00:42:31 4583459ba037: Pull complete 00:42:31 93c1e223e6f2: Pull complete 00:42:33 a7acece74701: Verifying Checksum 00:42:33 a7acece74701: Download complete 00:42:33 53926ce57604: Verifying Checksum 00:42:33 53926ce57604: Download complete 00:42:33 96b7cbca73a9: Verifying Checksum 00:42:33 96b7cbca73a9: Download complete 00:42:37 53926ce57604: Pull complete 00:42:37 21b2b0c7a3f4: Pull complete 00:42:37 22ff95d597cd: Pull complete 00:42:37 12d6caf4c0d1: Pull complete 00:42:39 96b7cbca73a9: Pull complete 00:42:40 a7acece74701: Pull complete 00:42:40 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 00:42:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:42:40 ---> db6d94c90886 00:42:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:42:44 Still waiting to schedule task 00:42:44 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5944’ 00:42:46 ---> Running in ef05b5650246 00:42:46 Removing intermediate container ef05b5650246 00:42:46 ---> 0b7446148b47 00:42:46 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:42:46 ---> Running in 0e5c0582af23 00:42:46 Removing intermediate container 0e5c0582af23 00:42:46 ---> c27b8babb0fa 00:42:46 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:42:47 ---> Running in 41c7911b817a 00:42:47 Removing intermediate container 41c7911b817a 00:42:47 ---> f0d39c145533 00:42:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:42:47 ---> Running in 3b98c5bdb5fe 00:42:47 Removing intermediate container 3b98c5bdb5fe 00:42:47 ---> e5e99bea5355 00:42:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:42:47 ---> Running in b7bc0ad9f2d9 00:42:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:42:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:42:47 (1/4) Installing openssh-keygen (9.0_p1-r2) 00:42:47 (2/4) Installing libedit (20210910.3.1-r0) 00:42:47 (3/4) Installing openssh-client-common (9.0_p1-r2) 00:42:47 (4/4) Installing openssh-client-default (9.0_p1-r2) 00:42:47 Executing busybox-1.35.0-r17.trigger 00:42:47 OK: 216 MiB in 55 packages 00:42:48 Removing intermediate container b7bc0ad9f2d9 00:42:48 ---> d0a89b78d17d 00:42:48 Step 8/12 : WORKDIR /device-rest-go 00:42:48 ---> Running in 000cbeba8e5b 00:42:48 Removing intermediate container 000cbeba8e5b 00:42:48 ---> 358bec9b9813 00:42:48 Step 9/12 : COPY go.mod vendor* ./ 00:42:48 ---> 5051f8e2ba6b 00:42:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:42:48 ---> Running in 7a9a7b3a3d13 00:43:27 Removing intermediate container 7a9a7b3a3d13 00:43:27 ---> 5380a0585b41 00:43:27 Step 11/12 : COPY . . 00:43:27 ---> 64f8b5b9d069 00:43:27 Step 12/12 : RUN $MAKE 00:43:27 ---> Running in 593b9a7cbdb5 00:43:27 noop 00:43:28 Removing intermediate container 593b9a7cbdb5 00:43:28 ---> ee9eb273544c 00:43:28 Successfully built ee9eb273544c 00:43:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:28 + docker inspect -f . ci-base-image-x86_64 00:43:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:28 prd-ubuntu20.04-docker-8c-8g-5950 does not seem to be running inside a container 00:43:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-253 -v /w/workspace/gexfoundry_device-rest-go_PR-253:/w/workspace/gexfoundry_device-rest-go_PR-253:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-253@tmp:/w/workspace/gexfoundry_device-rest-go_PR-253@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 ******** ci-base-image-x86_64 cat 00:43:29 $ docker top c1cd13ec8073d8399cd0b83e57520325e1993fffe93fca0478fd335d7b84044f -eo pid,comm [Pipeline] { [Pipeline] sh 00:43:29 + go version 00:43:29 go version go1.18.7 linux/amd64 [Pipeline] } 00:43:29 $ docker stop --time=1 c1cd13ec8073d8399cd0b83e57520325e1993fffe93fca0478fd335d7b84044f 00:43:31 $ docker rm -f --volumes c1cd13ec8073d8399cd0b83e57520325e1993fffe93fca0478fd335d7b84044f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:32 + docker inspect -f . ci-base-image-x86_64 00:43:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:32 prd-ubuntu20.04-docker-8c-8g-5950 does not seem to be running inside a container 00:43:32 $ 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-253 -v /w/workspace/gexfoundry_device-rest-go_PR-253:/w/workspace/gexfoundry_device-rest-go_PR-253:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-253@tmp:/w/workspace/gexfoundry_device-rest-go_PR-253@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 ******** ci-base-image-x86_64 cat 00:43:33 $ docker top 0f4dcf31c8860a4630b482e0c4e17352c02fe5ccb30bb5755d3a3de2182adb99 -eo pid,comm [Pipeline] { [Pipeline] sh 00:43:33 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-253 [Pipeline] fileExists [Pipeline] sh 00:43:34 + make test 00:43:34 go test ./... -coverprofile=coverage.out ./... 00:43:34 ? github.com/edgexfoundry/device-rest-go [no test files] 00:43:44 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:43:44 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.9% of statements 00:43:51 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 00:43:51 go vet ./... 00:43:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:43:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:43:54 ./bin/test-attribution-txt.sh 00:43:54 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 00:43:54 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 00:43:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:43:54 $ docker stop --time=1 0f4dcf31c8860a4630b482e0c4e17352c02fe5ccb30bb5755d3a3de2182adb99 00:43:56 $ docker rm -f --volumes 0f4dcf31c8860a4630b482e0c4e17352c02fe5ccb30bb5755d3a3de2182adb99 [Pipeline] // withDockerContainer [Pipeline] sh 00:43:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:43:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:43:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:43:58 + ls -al . 00:43:58 total 188 00:43:58 drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 00:43 . 00:43:58 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:42 .. 00:43:58 -rw-rw-r-- 1 jenkins jenkins 151 Feb 15 00:42 .dockerignore 00:43:58 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:43 .git 00:43:58 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:42 .github 00:43:58 -rw-rw-r-- 1 jenkins jenkins 329 Feb 15 00:42 .gitignore 00:43:58 -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 00:42 .golangci.yml 00:43:58 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:42 .semver 00:43:58 -rw-rw-r-- 1 jenkins jenkins 8996 Feb 15 00:42 Attribution.txt 00:43:58 -rw-rw-r-- 1 jenkins jenkins 13085 Feb 15 00:42 CHANGELOG.md 00:43:58 -rw-rw-r-- 1 jenkins jenkins 1578 Feb 15 00:42 Dockerfile 00:43:58 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 00:42 GOVERNANCE.md 00:43:58 -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 00:42 Jenkinsfile 00:43:58 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 00:42 LICENSE 00:43:58 -rw-rw-r-- 1 jenkins jenkins 1744 Feb 15 00:42 Makefile 00:43:58 -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 00:42 OWNERS.md 00:43:58 -rw-rw-r-- 1 jenkins jenkins 15447 Feb 15 00:42 README.md 00:43:58 -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 00:42 VERSION 00:43:58 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:42 bin 00:43:58 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:42 cmd 00:43:58 -rw-r--r-- 1 jenkins jenkins 13744 Feb 15 00:43 coverage.out 00:43:58 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:42 driver 00:43:58 -rw-rw-r-- 1 jenkins jenkins 3400 Feb 15 00:42 go.mod 00:43:58 -rw-rw-r-- 1 jenkins jenkins 33279 Feb 15 00:42 go.sum 00:43:58 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:42 snap 00:43:58 -rw-rw-r-- 1 jenkins jenkins 713 Feb 15 00:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:58 + 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=dbc214a4a69842ccb2acaee003160178485acaff --label arch=amd64 --label version=0.0.0 . 00:43:58 Sending build context to Docker daemon 10.84MB 00:43:58 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 00:43:58 Step 2/25 : FROM ${BASE} AS builder 00:43:58 ---> ee9eb273544c 00:43:58 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:43:59 ---> Running in bdd48d53a2d8 00:43:59 Removing intermediate container bdd48d53a2d8 00:43:59 ---> d17fd558cb33 00:43:59 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:43:59 ---> Running in e1e2b7bb3eb5 00:43:59 Removing intermediate container e1e2b7bb3eb5 00:43:59 ---> dfdacae96eb3 00:43:59 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:43:59 ---> Running in 79d1531134d6 00:43:59 Removing intermediate container 79d1531134d6 00:43:59 ---> 3d6eed1d11f2 00:43:59 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:43:59 ---> Running in 0946201dc58c 00:43:59 Removing intermediate container 0946201dc58c 00:43:59 ---> 18a91e666ecc 00:43:59 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:43:59 ---> Running in 3c28cbb0367f 00:43:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:43:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:44:00 OK: 216 MiB in 55 packages 00:44:00 Removing intermediate container 3c28cbb0367f 00:44:00 ---> 7fa1304a4993 00:44:00 Step 8/25 : WORKDIR /device-rest-go 00:44:00 ---> Running in cf8f9fee2aac 00:44:00 Removing intermediate container cf8f9fee2aac 00:44:00 ---> 342e3f4107e0 00:44:00 Step 9/25 : COPY go.mod vendor* ./ 00:44:00 ---> 16968493812f 00:44:00 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:44:00 ---> Running in c5def872581b 00:44:01 Removing intermediate container c5def872581b 00:44:01 ---> cc41366fbb58 00:44:01 Step 11/25 : COPY . . 00:44:01 ---> 265d84f9a10a 00:44:01 Step 12/25 : RUN $MAKE 00:44:01 ---> Running in f357db944f15 00:44:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 00:44:24 Removing intermediate container f357db944f15 00:44:24 ---> 12edb24d4906 00:44:24 Step 13/25 : FROM alpine:3.16 00:44:24 3.16: Pulling from library/alpine 00:44:24 ef5531b6e74e: Pulling fs layer 00:44:24 ef5531b6e74e: Verifying Checksum 00:44:24 ef5531b6e74e: Download complete 00:44:24 ef5531b6e74e: Pull complete 00:44:24 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 00:44:24 Status: Downloaded newer image for alpine:3.16 00:44:24 ---> dfd21b5a31f5 00:44:24 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:44:24 ---> Running in fc79f33d9fae 00:44:24 Removing intermediate container fc79f33d9fae 00:44:24 ---> d1c2fc5743e4 00:44:24 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 00:44:24 ---> Running in c31659ec8d98 00:44:24 Removing intermediate container c31659ec8d98 00:44:24 ---> 3204b4a7bc16 00:44:24 Step 16/25 : RUN apk add --update --no-cache dumb-init 00:44:24 ---> Running in 45d002135faa 00:44:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:44:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:44:24 (1/1) Installing dumb-init (1.2.5-r1) 00:44:24 Executing busybox-1.35.0-r17.trigger 00:44:24 OK: 6 MiB in 15 packages 00:44:25 Removing intermediate container 45d002135faa 00:44:25 ---> 15a2924fd86f 00:44:25 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 00:44:25 ---> 4c124b65b861 00:44:25 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 00:44:25 ---> 4d84ec14933b 00:44:25 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 00:44:26 ---> 07d2a199efad 00:44:26 Step 20/25 : EXPOSE 59986 00:44:26 ---> Running in 6df2301d70c4 00:44:26 Removing intermediate container 6df2301d70c4 00:44:26 ---> 09e60acde19e 00:44:26 Step 21/25 : ENTRYPOINT ["/device-rest"] 00:44:26 ---> Running in 9b6de327e30e 00:44:26 Removing intermediate container 9b6de327e30e 00:44:26 ---> 9dd4982caf96 00:44:26 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:44:26 ---> Running in a7bfae75c655 00:44:26 Removing intermediate container a7bfae75c655 00:44:26 ---> 2a5dbee0be6d 00:44:26 Step 23/25 : LABEL arch=amd64 00:44:26 ---> Running in 0111f3275f89 00:44:26 Removing intermediate container 0111f3275f89 00:44:26 ---> d39e353bc48c 00:44:26 Step 24/25 : LABEL git_sha=dbc214a4a69842ccb2acaee003160178485acaff 00:44:26 ---> Running in 3bd27d741b45 00:44:26 Removing intermediate container 3bd27d741b45 00:44:26 ---> 3bc14beb223e 00:44:26 Step 25/25 : LABEL version=0.0.0 00:44:26 ---> Running in 7c7589f02bbb 00:44:26 Removing intermediate container 7c7589f02bbb 00:44:26 ---> 0e4fdf8046c9 00:44:26 [Warning] One or more build-args [ARCH] were not consumed 00:44:26 Successfully built 0e4fdf8046c9 00:44:26 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 00:44:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:27 00:44:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:27 latest: Pulling from edgex-lftools-log-publisher 00:44:27 5eb5b503b376: Pulling fs layer 00:44:27 5c69ac0246d0: Pulling fs layer 00:44:27 ec43610c2a17: Pulling fs layer 00:44:27 3a2ae6a8a46f: Pulling fs layer 00:44:27 33b1e0a273af: Pulling fs layer 00:44:27 5d3b04190fa2: Pulling fs layer 00:44:27 2f39f015ded8: Pulling fs layer 00:44:27 3a2ae6a8a46f: Waiting 00:44:27 33b1e0a273af: Waiting 00:44:27 5d3b04190fa2: Waiting 00:44:27 2f39f015ded8: Waiting 00:44:27 5c69ac0246d0: Verifying Checksum 00:44:27 5c69ac0246d0: Download complete 00:44:27 3a2ae6a8a46f: Download complete 00:44:28 33b1e0a273af: Verifying Checksum 00:44:28 33b1e0a273af: Download complete 00:44:28 5d3b04190fa2: Verifying Checksum 00:44:28 5d3b04190fa2: Download complete 00:44:28 ec43610c2a17: Verifying Checksum 00:44:28 ec43610c2a17: Download complete 00:44:28 5eb5b503b376: Verifying Checksum 00:44:28 5eb5b503b376: Download complete 00:44:28 2f39f015ded8: Download complete 00:44:29 5eb5b503b376: Pull complete 00:44:29 5c69ac0246d0: Pull complete 00:44:30 ec43610c2a17: Pull complete 00:44:30 3a2ae6a8a46f: Pull complete 00:44:30 33b1e0a273af: Pull complete 00:44:30 5d3b04190fa2: Pull complete 00:44:34 2f39f015ded8: Pull complete 00:44:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:44:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:44:34 prd-ubuntu20.04-docker-8c-8g-5950 does not seem to be running inside a container 00:44:34 $ 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-253 -v /w/workspace/gexfoundry_device-rest-go_PR-253:/w/workspace/gexfoundry_device-rest-go_PR-253:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-253@tmp:/w/workspace/gexfoundry_device-rest-go_PR-253@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-lftools-log-publisher:latest cat 00:44:37 $ docker top ef774da90686df9ebcd8d010f3c3dfaaa8b39a1f93ff9d7e31061e33ae8ddccc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:44:37 ---> job-cost.sh 00:44:37 lf-activate-venv: SKIPPING 00:44:37 INFO: No Stack... 00:44:38 INFO: Retrieving Pricing Info for: v3-standard-8 00:44:38 INFO: Archiving Costs [Pipeline] sh 00:44:39 + cat /w/workspace/gexfoundry_device-rest-go_PR-253/archives/cost.csv 00:44:39 + cut -d, -f6 [Pipeline] lock 00:44:39 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-253-1-stack-cost] 00:44:39 Resource [jenkins-edgexfoundry-device-rest-go-PR-253-1-stack-cost] did not exist. Created. 00:44:39 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-253-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:44:39 + echo total: 0.2199999988079071 [Pipeline] stash 00:44:39 Stashed 1 file(s) [Pipeline] } 00:44:39 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-253-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:44:39 $ docker stop --time=1 ef774da90686df9ebcd8d010f3c3dfaaa8b39a1f93ff9d7e31061e33ae8ddccc 00:44:40 $ docker rm -f --volumes ef774da90686df9ebcd8d010f3c3dfaaa8b39a1f93ff9d7e31061e33ae8ddccc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:45:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5961 in /w/workspace/gexfoundry_device-rest-go_PR-253 [Pipeline] { [Pipeline] ws 00:45:32 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 00:45:32 The recommended git tool is: git 00:45:39 using credential edgex-jenkins-ssh 00:45:39 Cloning the remote Git repository 00:45:39 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:45:39 > git init /w/workspace/device-rest-go/1 # timeout=10 00:45:39 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:45:39 > git --version # timeout=10 00:45:39 > git --version # 'git version 2.25.1' 00:45:39 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:45:42 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:45:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:45:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:45:43 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:45:43 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/253/head:refs/remotes/origin/PR-253 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:45:44 Merging remotes/origin/main commit 361e34ad238f1f05923baf29fae00e57c159c00c into PR head commit dbc214a4a69842ccb2acaee003160178485acaff 00:45:44 Merge succeeded, producing dbc214a4a69842ccb2acaee003160178485acaff 00:45:44 Checking out Revision dbc214a4a69842ccb2acaee003160178485acaff (PR-253) 00:45:45 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 00:45:45 > git --version # timeout=10 00:45:45 > git --version # 'git version 2.25.1' 00:45:45 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:45:44 > git config core.sparsecheckout # timeout=10 00:45:44 > git checkout -f dbc214a4a69842ccb2acaee003160178485acaff # timeout=10 00:45:44 > git remote # timeout=10 00:45:44 > git config --get remote.origin.url # timeout=10 00:45:44 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:44 > git merge 361e34ad238f1f05923baf29fae00e57c159c00c # timeout=10 00:45:44 > git rev-parse HEAD^{commit} # timeout=10 00:45:44 > git config core.sparsecheckout # timeout=10 00:45:44 > git checkout -f dbc214a4a69842ccb2acaee003160178485acaff # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:45:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:45:46 % Total % Received % Xferd Average Speed Time Time Time Current 00:45:46 Dload Upload Total Spent Left Speed 00:45:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 159k 0 --:--:-- --:--:-- --:--:-- 161k [Pipeline] sh 00:45:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:45:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:45:47 + sudo tee /etc/docker/daemon.new 00:45:47 { 00:45:47 "registry-mirrors": [ 00:45:47 "https://nexus3.edgexfoundry.org:10001" 00:45:47 ], 00:45:47 "bip": "10.250.0.254/24", 00:45:47 "hosts": [ 00:45:47 "tcp://0.0.0.0:5555", 00:45:47 "unix:///var/run/docker.sock" 00:45:47 ], 00:45:47 "mtu": 1458, 00:45:47 "selinux-enabled": true, 00:45:47 "seccomp-profile": "/etc/docker/seccomp.json" 00:45:47 } [Pipeline] sh 00:45:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:45:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:46:06 provisioning config files... 00:46:06 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6277412638709304044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:46:07 ---> docker-login.sh 00:46:07 nexus3.edgexfoundry.org:10001 00:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:08 Configure a credential helper to remove this warning. See 00:46:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:08 00:46:08 Login Succeeded 00:46:08 nexus3.edgexfoundry.org:10002 00:46:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:08 Configure a credential helper to remove this warning. See 00:46:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:08 00:46:08 Login Succeeded 00:46:08 nexus3.edgexfoundry.org:10003 00:46:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:08 Configure a credential helper to remove this warning. See 00:46:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:08 00:46:08 Login Succeeded 00:46:08 nexus3.edgexfoundry.org:10004 00:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:09 Configure a credential helper to remove this warning. See 00:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:09 00:46:09 Login Succeeded 00:46:09 docker.io 00:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:10 Configure a credential helper to remove this warning. See 00:46:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:10 00:46:10 Login Succeeded 00:46:10 ---> docker-login.sh ends [Pipeline] } 00:46:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:46:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:46:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:46:10 ========================================================= 00:46:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:46:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:11 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:46:11 Sending build context to Docker daemon 139.8kB 00:46:11 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 00:46:11 Step 2/12 : FROM ${BASE} AS builder 00:46:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:46:11 9b18e9b68314: Pulling fs layer 00:46:11 35d82f9e3411: Pulling fs layer 00:46:11 e16973657156: Pulling fs layer 00:46:11 fc693d55d65f: Pulling fs layer 00:46:11 7e9fc2657dce: Pulling fs layer 00:46:11 dda99020689f: Pulling fs layer 00:46:11 db1c61fa0a46: Pulling fs layer 00:46:11 891c053d2c06: Pulling fs layer 00:46:11 fc693d55d65f: Waiting 00:46:11 db1c61fa0a46: Waiting 00:46:11 7e9fc2657dce: Waiting 00:46:11 dda99020689f: Waiting 00:46:11 891c053d2c06: Waiting 00:46:11 e16973657156: Verifying Checksum 00:46:11 e16973657156: Download complete 00:46:11 35d82f9e3411: Verifying Checksum 00:46:11 35d82f9e3411: Download complete 00:46:11 7e9fc2657dce: Download complete 00:46:11 dda99020689f: Verifying Checksum 00:46:11 dda99020689f: Download complete 00:46:11 9b18e9b68314: Verifying Checksum 00:46:11 9b18e9b68314: Download complete 00:46:12 9b18e9b68314: Pull complete 00:46:13 35d82f9e3411: Pull complete 00:46:13 e16973657156: Pull complete 00:46:15 891c053d2c06: Verifying Checksum 00:46:15 891c053d2c06: Download complete 00:46:17 db1c61fa0a46: Verifying Checksum 00:46:17 db1c61fa0a46: Download complete 00:46:18 fc693d55d65f: Verifying Checksum 00:46:18 fc693d55d65f: Download complete 00:46:31 fc693d55d65f: Pull complete 00:46:31 7e9fc2657dce: Pull complete 00:46:31 dda99020689f: Pull complete 00:46:36 db1c61fa0a46: Pull complete 00:46:38 891c053d2c06: Pull complete 00:46:38 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 00:46:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:46:38 ---> f96f9c87975a 00:46:38 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:46:40 ---> Running in 7f320fff088b 00:46:40 Removing intermediate container 7f320fff088b 00:46:40 ---> 56498a3f0256 00:46:40 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:46:40 ---> Running in 7c66a349f92a 00:46:41 Removing intermediate container 7c66a349f92a 00:46:41 ---> b3558234c194 00:46:41 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:46:41 ---> Running in 28e119416a79 00:46:41 Removing intermediate container 28e119416a79 00:46:41 ---> 7cf038ecc244 00:46:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:46:41 ---> Running in 87574260a1d2 00:46:42 Removing intermediate container 87574260a1d2 00:46:42 ---> 8bee59511f6c 00:46:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:46:42 ---> Running in 3f444962b3c3 00:46:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:46:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:46:45 (1/4) Installing openssh-keygen (9.0_p1-r2) 00:46:45 (2/4) Installing libedit (20210910.3.1-r0) 00:46:45 (3/4) Installing openssh-client-common (9.0_p1-r2) 00:46:45 (4/4) Installing openssh-client-default (9.0_p1-r2) 00:46:45 Executing busybox-1.35.0-r17.trigger 00:46:45 OK: 226 MiB in 55 packages 00:46:46 Removing intermediate container 3f444962b3c3 00:46:46 ---> e73250cd7524 00:46:46 Step 8/12 : WORKDIR /device-rest-go 00:46:46 ---> Running in e207bc3ae6d4 00:46:47 Removing intermediate container e207bc3ae6d4 00:46:47 ---> e0580017954d 00:46:47 Step 9/12 : COPY go.mod vendor* ./ 00:46:47 ---> f44b2197daae 00:46:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:46:48 ---> Running in 27177128d153 00:48:09 Removing intermediate container 27177128d153 00:48:09 ---> 6bd10544272e 00:48:09 Step 11/12 : COPY . . 00:48:09 ---> 1adea16bcae0 00:48:09 Step 12/12 : RUN $MAKE 00:48:09 ---> Running in bd051b1cf3cc 00:48:09 noop 00:48:09 Removing intermediate container bd051b1cf3cc 00:48:09 ---> 856b609c0660 00:48:09 Successfully built 856b609c0660 00:48:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:10 + docker inspect -f . ci-base-image-arm64 00:48:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:48:10 prd-ubuntu20.04-docker-arm64-4c-16g-5961 does not seem to be running inside a container 00:48:10 $ 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 ******** ci-base-image-arm64 cat 00:48:12 $ docker top 88ec3a4d919e598976680a1f0dfc3bc0b08bbdbd514bd46525d2dae05e501941 -eo pid,comm [Pipeline] { [Pipeline] sh 00:48:13 + go version 00:48:13 go version go1.18.7 linux/arm64 [Pipeline] } 00:48:13 $ docker stop --time=1 88ec3a4d919e598976680a1f0dfc3bc0b08bbdbd514bd46525d2dae05e501941 00:48:14 $ docker rm -f --volumes 88ec3a4d919e598976680a1f0dfc3bc0b08bbdbd514bd46525d2dae05e501941 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:15 + docker inspect -f . ci-base-image-arm64 00:48:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:48:16 prd-ubuntu20.04-docker-arm64-4c-16g-5961 does not seem to be running inside a container 00:48:16 $ 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 ******** ci-base-image-arm64 cat 00:48:17 $ docker top 7e8553a49ed3670d04379ee1e472f84dba1cd1a9038163de4593732d40eaf9ea -eo pid,comm [Pipeline] { [Pipeline] sh 00:48:18 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 00:48:19 + make test 00:48:19 go test ./... -coverprofile=coverage.out ./... 00:48:21 ? github.com/edgexfoundry/device-rest-go [no test files] 00:50:27 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:50:27 ok github.com/edgexfoundry/device-rest-go/driver 0.077s coverage: 33.9% of statements 00:50:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:50:27 go vet ./... 00:50:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:50:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:50:46 ./bin/test-attribution-txt.sh 00:50:46 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 00:50:46 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 00:50:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:50:46 $ docker stop --time=1 7e8553a49ed3670d04379ee1e472f84dba1cd1a9038163de4593732d40eaf9ea 00:50:48 $ docker rm -f --volumes 7e8553a49ed3670d04379ee1e472f84dba1cd1a9038163de4593732d40eaf9ea [Pipeline] // withDockerContainer [Pipeline] sh 00:50:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:50:49 Warning: overwriting stash ‘coverage-report’ 00:50:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:50:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:50:51 + ls -al . 00:50:51 total 184 00:50:51 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:48 . 00:50:51 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:45 .. 00:50:51 -rw-rw-r-- 1 jenkins jenkins 151 Feb 15 00:45 .dockerignore 00:50:51 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:45 .git 00:50:51 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:45 .github 00:50:51 -rw-rw-r-- 1 jenkins jenkins 329 Feb 15 00:45 .gitignore 00:50:51 -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 00:45 .golangci.yml 00:50:51 -rw-rw-r-- 1 jenkins jenkins 8996 Feb 15 00:45 Attribution.txt 00:50:51 -rw-rw-r-- 1 jenkins jenkins 13085 Feb 15 00:45 CHANGELOG.md 00:50:51 -rw-rw-r-- 1 jenkins jenkins 1578 Feb 15 00:45 Dockerfile 00:50:51 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 00:45 GOVERNANCE.md 00:50:51 -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 00:45 Jenkinsfile 00:50:51 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 00:45 LICENSE 00:50:51 -rw-rw-r-- 1 jenkins jenkins 1744 Feb 15 00:45 Makefile 00:50:51 -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 00:45 OWNERS.md 00:50:51 -rw-rw-r-- 1 jenkins jenkins 15447 Feb 15 00:45 README.md 00:50:51 -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 00:42 VERSION 00:50:51 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:45 bin 00:50:51 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:45 cmd 00:50:51 -rw-r--r-- 1 jenkins jenkins 13744 Feb 15 00:50 coverage.out 00:50:51 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:45 driver 00:50:51 -rw-rw-r-- 1 jenkins jenkins 3400 Feb 15 00:45 go.mod 00:50:51 -rw-rw-r-- 1 jenkins jenkins 33279 Feb 15 00:45 go.sum 00:50:51 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:45 snap 00:50:51 -rw-rw-r-- 1 jenkins jenkins 713 Feb 15 00:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:51 + 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=dbc214a4a69842ccb2acaee003160178485acaff --label arch=arm64 --label version=0.0.0 . 00:50:51 Sending build context to Docker daemon 154.1kB 00:50:51 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 00:50:51 Step 2/25 : FROM ${BASE} AS builder 00:50:51 ---> 856b609c0660 00:50:51 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:50:52 ---> Running in 9d53906308f5 00:50:52 Removing intermediate container 9d53906308f5 00:50:52 ---> d0ed00e5c6dd 00:50:52 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:50:52 ---> Running in 69c4245549b0 00:50:52 Removing intermediate container 69c4245549b0 00:50:52 ---> 300b6946b58b 00:50:52 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:50:53 ---> Running in 36812a481e3c 00:50:53 Removing intermediate container 36812a481e3c 00:50:53 ---> 04af5d139e08 00:50:53 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:50:53 ---> Running in a6f65528b515 00:50:53 Removing intermediate container a6f65528b515 00:50:53 ---> bc6f9cb57452 00:50:53 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:50:53 ---> Running in 2e30dbe158b2 00:50:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:50:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:50:57 OK: 226 MiB in 55 packages 00:50:57 Removing intermediate container 2e30dbe158b2 00:50:57 ---> c9cf43aa7647 00:50:57 Step 8/25 : WORKDIR /device-rest-go 00:50:57 ---> Running in bd608a6d464b 00:50:58 Removing intermediate container bd608a6d464b 00:50:58 ---> 30e1e4cd0b8a 00:50:58 Step 9/25 : COPY go.mod vendor* ./ 00:50:58 ---> 3d64cd0d9ee0 00:50:58 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:50:58 ---> Running in 1ac4acdd00b5 00:51:02 Removing intermediate container 1ac4acdd00b5 00:51:02 ---> d4564a37b7a0 00:51:02 Step 11/25 : COPY . . 00:51:02 ---> fa054f1dc1e5 00:51:02 Step 12/25 : RUN $MAKE 00:51:02 ---> Running in 1480c9522475 00:51:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 00:53:40 Removing intermediate container 1480c9522475 00:53:40 ---> f7b431dc210e 00:53:40 Step 13/25 : FROM alpine:3.16 00:53:40 3.16: Pulling from library/alpine 00:53:40 3760b48202b3: Pulling fs layer 00:53:40 3760b48202b3: Verifying Checksum 00:53:40 3760b48202b3: Pull complete 00:53:40 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 00:53:40 Status: Downloaded newer image for alpine:3.16 00:53:40 ---> 4c81e5bf8899 00:53:40 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:53:40 ---> Running in b67ee21710dc 00:53:40 Removing intermediate container b67ee21710dc 00:53:40 ---> 3141cd1cf975 00:53:40 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 00:53:40 ---> Running in cced5055f0ec 00:53:40 Removing intermediate container cced5055f0ec 00:53:40 ---> 2ddde7f1957e 00:53:40 Step 16/25 : RUN apk add --update --no-cache dumb-init 00:53:40 ---> Running in 2be7cba824c4 00:53:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:53:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:53:44 (1/1) Installing dumb-init (1.2.5-r1) 00:53:44 Executing busybox-1.35.0-r17.trigger 00:53:44 OK: 5 MiB in 15 packages 00:53:44 Removing intermediate container 2be7cba824c4 00:53:44 ---> c074a382dee3 00:53:44 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 00:53:45 ---> 24280212c046 00:53:45 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 00:53:45 ---> e07f214f34be 00:53:45 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 00:53:46 ---> 02642dcf2455 00:53:46 Step 20/25 : EXPOSE 59986 00:53:46 ---> Running in d81d4268cfb8 00:53:46 Removing intermediate container d81d4268cfb8 00:53:46 ---> d87a2ba9b74c 00:53:46 Step 21/25 : ENTRYPOINT ["/device-rest"] 00:53:46 ---> Running in ee266c16e339 00:53:47 Removing intermediate container ee266c16e339 00:53:47 ---> 563766f0e8c0 00:53:47 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:53:47 ---> Running in b8b8e88f1f5a 00:53:47 Removing intermediate container b8b8e88f1f5a 00:53:47 ---> 494a2ed6b2f0 00:53:47 Step 23/25 : LABEL arch=arm64 00:53:47 ---> Running in 1bbbe40e2d6c 00:53:48 Removing intermediate container 1bbbe40e2d6c 00:53:48 ---> 263ba4757f20 00:53:48 Step 24/25 : LABEL git_sha=dbc214a4a69842ccb2acaee003160178485acaff 00:53:48 ---> Running in 6e4c6c15fdec 00:53:48 Removing intermediate container 6e4c6c15fdec 00:53:48 ---> 8327236e0d26 00:53:48 Step 25/25 : LABEL version=0.0.0 00:53:48 ---> Running in cde1ccb90121 00:53:49 Removing intermediate container cde1ccb90121 00:53:49 ---> fec27000d738 00:53:49 [Warning] One or more build-args [ARCH] were not consumed 00:53:49 Successfully built fec27000d738 00:53:49 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 00:53:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:53:50 00:53:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:53:50 arm64: Pulling from edgex-lftools-log-publisher 00:53:50 8998bd30e6a1: Pulling fs layer 00:53:50 04944245beec: Pulling fs layer 00:53:50 699f458cf7ca: Pulling fs layer 00:53:50 765212b225bb: Pulling fs layer 00:53:50 f23df028b6ca: Pulling fs layer 00:53:50 d65c8cfc05b1: Pulling fs layer 00:53:50 2437ff75d9bd: Pulling fs layer 00:53:50 765212b225bb: Waiting 00:53:50 f23df028b6ca: Waiting 00:53:50 d65c8cfc05b1: Waiting 00:53:50 2437ff75d9bd: Waiting 00:53:50 04944245beec: Verifying Checksum 00:53:50 04944245beec: Download complete 00:53:50 765212b225bb: Verifying Checksum 00:53:50 765212b225bb: Download complete 00:53:51 f23df028b6ca: Verifying Checksum 00:53:51 f23df028b6ca: Download complete 00:53:51 d65c8cfc05b1: Download complete 00:53:51 699f458cf7ca: Verifying Checksum 00:53:51 699f458cf7ca: Download complete 00:53:51 8998bd30e6a1: Verifying Checksum 00:53:51 8998bd30e6a1: Download complete 00:53:54 2437ff75d9bd: Verifying Checksum 00:53:54 2437ff75d9bd: Download complete 00:53:56 8998bd30e6a1: Pull complete 00:53:57 04944245beec: Pull complete 00:53:58 699f458cf7ca: Pull complete 00:53:59 765212b225bb: Pull complete 00:54:00 f23df028b6ca: Pull complete 00:54:00 d65c8cfc05b1: Pull complete 00:54:15 2437ff75d9bd: Pull complete 00:54:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:54:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:54:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:15 prd-ubuntu20.04-docker-arm64-4c-16g-5961 does not seem to be running inside a container 00:54:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:54:18 $ docker top 2669b334af3fd7c4f972a33822faec9d0aa5f9227d2e90681085993b03367420 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:19 ---> job-cost.sh 00:54:19 lf-activate-venv: SKIPPING 00:54:19 INFO: No Stack... 00:54:20 INFO: Retrieving Pricing Info for: v3-standard-4 00:54:21 INFO: Archiving Costs [Pipeline] sh 00:54:23 + + cut -d, -f6 00:54:23 cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 00:54:23 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-253-1-stack-cost] 00:54:23 Resource [jenkins-edgexfoundry-device-rest-go-PR-253-1-stack-cost] did not exist. Created. 00:54:23 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-253-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:54:24 /w/workspace/device-rest-go/1@tmp/durable-4559b966/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:54:24 + echo total: 0.10999999940395355 [Pipeline] stash 00:54:25 Warning: overwriting stash ‘stack-cost’ 00:54:25 Stashed 1 file(s) [Pipeline] } 00:54:25 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-253-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:54:25 $ docker stop --time=1 2669b334af3fd7c4f972a33822faec9d0aa5f9227d2e90681085993b03367420 00:54:26 $ docker rm -f --volumes 2669b334af3fd7c4f972a33822faec9d0aa5f9227d2e90681085993b03367420 [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 00:54:27 provisioning config files... 00:54:27 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-253@tmp/config10339005331542103233tmp [Pipeline] { [Pipeline] sh 00:54:28 + set +x 00:54:28 + curl -s https://codecov.io/bash 00:54:28 + bash -s -- 00:54:28 00:54:28 _____ _ 00:54:28 / ____| | | 00:54:28 | | ___ __| | ___ ___ _____ __ 00:54:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:54:28 | |___| (_) | (_| | __/ (_| (_) \ V / 00:54:28 \_____\___/ \__,_|\___|\___\___/ \_/ 00:54:28 Bash-1.0.6 00:54:28 00:54:28 00:54:28 ==> git version 2.25.1 found 00:54:28 ==> 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 00:54:28 Release-Date: 2020-01-08 00:54:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:54:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:54:28 ==> Jenkins CI detected. 00:54:28 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-253 00:54:28 project root: . 00:54:28 --> token set from env 00:54:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:54:28 ==> Running gcov in . (disable via -X gcov) 00:54:28 ==> Python coveragepy not found 00:54:28 ==> Searching for coverage reports in: 00:54:28 + . 00:54:28 -> Found 1 reports 00:54:28 ==> Detecting git/mercurial file structure 00:54:28 ==> Reading reports 00:54:28 + ./coverage.out bytes=13744 00:54:28 ==> Appending adjustments 00:54:28 https://docs.codecov.io/docs/fixing-reports 00:54:28 + Found adjustments 00:54:28 ==> Gzipping contents 00:54:28 4.0K /tmp/codecov.mlLO8R.gz 00:54:28 ==> Uploading reports 00:54:28 url: https://codecov.io 00:54:28 query: branch=PR-253&commit=dbc214a4a69842ccb2acaee003160178485acaff&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-253%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=253&job=&cmd_args= 00:54:28 -> Pinging Codecov 00:54:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-253&commit=dbc214a4a69842ccb2acaee003160178485acaff&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-253%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=253&job=&cmd_args= 00:54:28 -> Uploading to 00:54:28 https://storage.googleapis.com/codecov/v4/raw/2023-02-15/4E5D53B4F1F92C436F7061BF334D961C/dbc214a4a69842ccb2acaee003160178485acaff/c619a152-0553-4b1d-8c74-64c48f8430e6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T005428Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ee97fffda35fecea2c3e41331ad7febd1a2d938fbb80abfde148653658be29a5 00:54:28 % Total % Received % Xferd Average Speed Time Time Time Current 00:54:28 Dload Upload Total Spent Left Speed 00:54:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 11633 --:--:-- --:--:-- --:--:-- 11578 100 2443 0 0 100 2443 0 8663 --:--:-- --:--:-- --:--:-- 8632 00:54:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/dbc214a4a69842ccb2acaee003160178485acaff [Pipeline] } 00:54:28 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 00:54:30 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-253/archives ] 00:54:30 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-253/archives 00:54:30 total 16 00:54:30 drwxr-xr-x 3 root root 4096 Feb 15 00:44 . 00:54:30 drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 00:44 .. 00:54:30 drwxr-xr-x 2 root root 4096 Feb 15 00:44 cost 00:54:30 -rw-r--r-- 1 root root 86 Feb 15 00:44 cost.csv 00:54:30 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-253/archives 00:54:30 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-253/archives 00:54:30 total 16 00:54:30 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:44 . 00:54:30 drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 00:44 .. 00:54:30 drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 00:44 cost 00:54:30 -rw-r--r-- 1 jenkins jenkins 86 Feb 15 00:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:54:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:54:31 ---> package-listing.sh 00:54:31 ++ facter osfamily 00:54:31 ++ tr '[:upper:]' '[:lower:]' 00:54:31 + OS_FAMILY=debian 00:54:31 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-253 00:54:31 + START_PACKAGES=/tmp/packages_start.txt 00:54:31 + END_PACKAGES=/tmp/packages_end.txt 00:54:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:54:31 + PACKAGES=/tmp/packages_start.txt 00:54:31 + '[' /w/workspace/gexfoundry_device-rest-go_PR-253 ']' 00:54:31 + PACKAGES=/tmp/packages_end.txt 00:54:31 + case "${OS_FAMILY}" in 00:54:31 + dpkg -l 00:54:31 + grep '^ii' 00:54:31 + '[' -f /tmp/packages_start.txt ']' 00:54:31 + '[' -f /tmp/packages_end.txt ']' 00:54:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:54:31 + '[' /w/workspace/gexfoundry_device-rest-go_PR-253 ']' 00:54:31 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-253/archives/ 00:54:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-253/archives/ [Pipeline] echo 00:54:31 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-253/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:54:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:54:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:33 prd-ubuntu20.04-docker-8c-8g-5950 does not seem to be running inside a container 00:54:33 $ 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-253/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-253 -v /w/workspace/gexfoundry_device-rest-go_PR-253:/w/workspace/gexfoundry_device-rest-go_PR-253:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-253@tmp:/w/workspace/gexfoundry_device-rest-go_PR-253@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:54:33 $ docker top 43deb30025684c9706e57f8324b765c7a0ad2a994f549351ce04611af4935385 -eo pid,comm [Pipeline] { [Pipeline] sh 00:54:33 + touch /tmp/pre-build-complete [Pipeline] sh 00:54:33 + mkdir -p /var/log/sysstat [Pipeline] sh 00:54:34 + ls /var/log/sa-host 00:54:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:34 provisioning config files... 00:54:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-253@tmp/config11970296423762010066tmp [Pipeline] { [Pipeline] echo 00:54:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:54:34 ---> create-netrc.sh [Pipeline] } 00:54:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:54:35 ---> python-tools-install.sh [Pipeline] echo 00:54:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:54:35 ---> sudo-logs.sh 00:54:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:54:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:54:35 ---> job-cost.sh 00:54:35 lf-activate-venv: SKIPPING 00:54:35 DEBUG: total: 0.2199999988079071 00:54:35 INFO: Retrieving Stack Cost... 00:54:36 INFO: Retrieving Pricing Info for: v3-standard-8 00:54:36 INFO: Archiving Costs [Pipeline] echo 00:54:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:54:37 ---> logs-deploy.sh 00:54:37 lf-activate-venv: SKIPPING 00:54:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-253/1 00:54:37 INFO: archiving workspace using pattern(s): 00:54:38 Archives upload complete. 00:54:38 INFO: archiving logs to Nexus 00:54:38 ---> uname -a: 00:54:38 Linux prd-ubuntu20-04-docker-8c-8g-5950 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 00:54:38 00:54:38 00:54:38 ---> lscpu: 00:54:38 Architecture: x86_64 00:54:38 CPU op-mode(s): 32-bit, 64-bit 00:54:38 Byte Order: Little Endian 00:54:38 Address sizes: 40 bits physical, 48 bits virtual 00:54:38 CPU(s): 8 00:54:38 On-line CPU(s) list: 0-7 00:54:38 Thread(s) per core: 1 00:54:38 Core(s) per socket: 1 00:54:38 Socket(s): 8 00:54:38 NUMA node(s): 1 00:54:38 Vendor ID: AuthenticAMD 00:54:38 CPU family: 23 00:54:38 Model: 49 00:54:38 Model name: AMD EPYC-Rome Processor 00:54:38 Stepping: 0 00:54:38 CPU MHz: 2799.998 00:54:38 BogoMIPS: 5599.99 00:54:38 Virtualization: AMD-V 00:54:38 Hypervisor vendor: KVM 00:54:38 Virtualization type: full 00:54:38 L1d cache: 256 KiB 00:54:38 L1i cache: 256 KiB 00:54:38 L2 cache: 4 MiB 00:54:38 L3 cache: 128 MiB 00:54:38 NUMA node0 CPU(s): 0-7 00:54:38 Vulnerability Itlb multihit: Not affected 00:54:38 Vulnerability L1tf: Not affected 00:54:38 Vulnerability Mds: Not affected 00:54:38 Vulnerability Meltdown: Not affected 00:54:38 Vulnerability Mmio stale data: Not affected 00:54:38 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:54:38 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:54:38 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:54:38 Vulnerability Srbds: Not affected 00:54:38 Vulnerability Tsx async abort: Not affected 00:54:38 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 00:54:38 00:54:38 00:54:38 ---> nproc: 00:54:38 8 00:54:38 00:54:38 00:54:38 ---> df -h: 00:54:38 Filesystem Size Used Avail Use% Mounted on 00:54:38 overlay 155G 12G 144G 8% / 00:54:38 tmpfs 64M 0 64M 0% /dev 00:54:38 tmpfs 16G 0 16G 0% /sys/fs/cgroup 00:54:38 shm 64M 0 64M 0% /dev/shm 00:54:38 /dev/vda1 155G 12G 144G 8% /facter-os 00:54:38 00:54:38