Pull request #364 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-rest-go Obtained Jenkinsfile from 41c1ef57410c6681f03d0987537b86c091ab4d75+549007a9ae6a647223285151eabca3507ba312e0 (8bb905942f2a4d41577d69b35cf6d6e776d36f32) 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-ssh6466753942301398786.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh10415541333790816880.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-364/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-364/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11180624002033555332.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-364/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3543320788063172339.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh10234693758609211127.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-364/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-364/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10668268694640075248.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-16521’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-16522’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-17057’ is offline ‘prd-ubuntu20.04-docker-8c-8g-17059’ is offline ‘prd-ubuntu20.04-docker-8c-8g-17060’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17062 in /w/workspace/gexfoundry_device-rest-go_PR-364 [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-364 # 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/364/head:refs/remotes/origin/PR-364 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 549007a9ae6a647223285151eabca3507ba312e0 into PR head commit 41c1ef57410c6681f03d0987537b86c091ab4d75 Merge succeeded, producing 41c1ef57410c6681f03d0987537b86c091ab4d75 Checking out Revision 41c1ef57410c6681f03d0987537b86c091ab4d75 (PR-364) > git config core.sparsecheckout # timeout=10 > git checkout -f 41c1ef57410c6681f03d0987537b86c091ab4d75 # 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 549007a9ae6a647223285151eabca3507ba312e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 41c1ef57410c6681f03d0987537b86c091ab4d75 # timeout=10 Commit message: "build: Update go mod for Napa" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:51:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:51:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:51:02 ========================================================= 18:51:02 EdgeX Global Pipelines Version Info 18:51:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:51:03 ------------------- 18:51:03 stable info: 18:51:03 ------------------- 18:51:03 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 18:51:03 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 18:51:03 Message: update stable to v1.0.257 18:51:04 ------------------- 18:51:04 experimental info: 18:51:04 ------------------- 18:51:04 Commited By: **** collab-it+edgex@linuxfoundation.org 18:51:04 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 18:51:04 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:51:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 18:51:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 18:51:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:51:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:51:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:51:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:51:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:51:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:51:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:51:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:51:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:51:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 18:51:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:51:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:51:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:51:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:51:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:51:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:51:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:51:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:51:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:51:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:51:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:51:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:51:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:51:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:51:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:51:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-364 [Pipeline] echo 18:51:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-364 [Pipeline] echo 18:51:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-364 [Pipeline] echo 18:51:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 41c1ef57410c6681f03d0987537b86c091ab4d75 [Pipeline] echo 18:51:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 41c1ef5 [Pipeline] echo 18:51:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:51:06 provisioning config files... 18:51:06 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-364@tmp/config352376861524664225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:51:06 ---> docker-login.sh 18:51:06 nexus3.edgexfoundry.org:10001 18:51:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:08 Configure a credential helper to remove this warning. See 18:51:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:08 18:51:08 Login Succeeded 18:51:08 nexus3.edgexfoundry.org:10002 18:51:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:08 Configure a credential helper to remove this warning. See 18:51:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:08 18:51:08 Login Succeeded 18:51:08 nexus3.edgexfoundry.org:10003 18:51:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:08 Configure a credential helper to remove this warning. See 18:51:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:08 18:51:08 Login Succeeded 18:51:08 nexus3.edgexfoundry.org:10004 18:51:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:08 Configure a credential helper to remove this warning. See 18:51:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:08 18:51:08 Login Succeeded 18:51:08 docker.io 18:51:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:08 Configure a credential helper to remove this warning. See 18:51:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:08 18:51:08 Login Succeeded 18:51:08 ---> docker-login.sh ends [Pipeline] } 18:51:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:51:09 + git rev-list -1 --merges 41c1ef57410c6681f03d0987537b86c091ab4d75~1..41c1ef57410c6681f03d0987537b86c091ab4d75 [Pipeline] echo 18:51:09 -----------> git rev-list -1 --merges 41c1ef57410c6681f03d0987537b86c091ab4d75~1..41c1ef57410c6681f03d0987537b86c091ab4d75 41c1ef57410c6681f03d0987537b86c091ab4d75 [false] [Pipeline] sh 18:51:09 + git log --format=format:%s -1 41c1ef57410c6681f03d0987537b86c091ab4d75 [Pipeline] echo 18:51:09 ========================================================= 18:51:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:51:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:51:10 + git log --format=format:%s -1 41c1ef57410c6681f03d0987537b86c091ab4d75 [Pipeline] echo 18:51:10 [semverPrep] GIT_COMMIT: 41c1ef57410c6681f03d0987537b86c091ab4d75, Commit Message: build: Update go mod for Napa [Pipeline] echo 18:51:10 [semverPrep] This is not a build commit. [Pipeline] sh 18:51:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:51:10 + grep -v github /etc/ssh/ssh_known_hosts 18:51:10 + [ -e /tmp/ssh_known_hosts ] 18:51:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:51:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:51:10 + sudo tee -a /etc/ssh/ssh_known_hosts 18:51:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:51:11 18:51:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:51:11 0.1.4: Pulling from edgex-devops/py-git-semver 18:51:11 b85a868b505f: Pulling fs layer 18:51:11 e2be974225ed: Pulling fs layer 18:51:11 339a4e72a1f5: Pulling fs layer 18:51:11 988bab9f4d93: Pulling fs layer 18:51:11 1469e6f7b9e6: Pulling fs layer 18:51:11 eaf3925da568: Pulling fs layer 18:51:11 bab4dde63d76: Pulling fs layer 18:51:11 bde34c3a00c8: Pulling fs layer 18:51:11 b352a97aabf1: Pulling fs layer 18:51:11 4872d77fe225: Pulling fs layer 18:51:11 5851b861e8e6: Pulling fs layer 18:51:11 4872d77fe225: Waiting 18:51:11 5851b861e8e6: Waiting 18:51:11 b352a97aabf1: Waiting 18:51:11 988bab9f4d93: Waiting 18:51:11 bab4dde63d76: Waiting 18:51:11 bde34c3a00c8: Waiting 18:51:11 1469e6f7b9e6: Waiting 18:51:11 eaf3925da568: Waiting 18:51:11 e2be974225ed: Download complete 18:51:11 988bab9f4d93: Verifying Checksum 18:51:11 988bab9f4d93: Download complete 18:51:11 1469e6f7b9e6: Verifying Checksum 18:51:11 1469e6f7b9e6: Download complete 18:51:11 339a4e72a1f5: Verifying Checksum 18:51:11 339a4e72a1f5: Download complete 18:51:11 eaf3925da568: Download complete 18:51:11 bde34c3a00c8: Download complete 18:51:11 b352a97aabf1: Download complete 18:51:11 4872d77fe225: Download complete 18:51:11 5851b861e8e6: Verifying Checksum 18:51:11 5851b861e8e6: Download complete 18:51:11 b85a868b505f: Verifying Checksum 18:51:11 b85a868b505f: Download complete 18:51:12 bab4dde63d76: Verifying Checksum 18:51:12 bab4dde63d76: Download complete 18:51:13 b85a868b505f: Pull complete 18:51:13 e2be974225ed: Pull complete 18:51:13 339a4e72a1f5: Pull complete 18:51:13 988bab9f4d93: Pull complete 18:51:13 1469e6f7b9e6: Pull complete 18:51:14 eaf3925da568: Pull complete 18:51:16 bab4dde63d76: Pull complete 18:51:16 bde34c3a00c8: Pull complete 18:51:16 b352a97aabf1: Pull complete 18:51:16 4872d77fe225: Pull complete 18:51:16 5851b861e8e6: Pull complete 18:51:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:51:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:51:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:17 prd-ubuntu20.04-docker-8c-8g-17062 does not seem to be running inside a container 18:51:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-364 -v /w/workspace/gexfoundry_device-rest-go_PR-364:/w/workspace/gexfoundry_device-rest-go_PR-364:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-364@tmp:/w/workspace/gexfoundry_device-rest-go_PR-364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:51:21 $ docker top b37e700df3373adfe87ac1858b28c9eb40539f726786b57239c4e74086286253 -eo pid,comm 18:51:21 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:51:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:51:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:51:22 [ssh-agent] Looking for ssh-agent implementation... 18:51:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:51:22 $ docker exec b37e700df3373adfe87ac1858b28c9eb40539f726786b57239c4e74086286253 ssh-agent 18:51:22 SSH_AUTH_SOCK=/tmp/ssh-tOd8D5wGQO8B/agent.13 18:51:22 SSH_AGENT_PID=19 18:51:22 Running ssh-add (command line suppressed) 18:51:22 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-364@tmp/private_key_5249441424382645041.key (/w/workspace/gexfoundry_device-rest-go_PR-364@tmp/private_key_5249441424382645041.key) 18:51:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:51:22 + git tag --points-at HEAD [Pipeline] } 18:51:22 $ docker exec --env ******** --env ******** b37e700df3373adfe87ac1858b28c9eb40539f726786b57239c4e74086286253 ssh-agent -k 18:51:23 unset SSH_AUTH_SOCK; 18:51:23 unset SSH_AGENT_PID; 18:51:23 echo Agent pid 19 killed; 18:51:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:51:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:51:23 [ssh-agent] Looking for ssh-agent implementation... 18:51:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:51:23 $ docker exec b37e700df3373adfe87ac1858b28c9eb40539f726786b57239c4e74086286253 ssh-agent 18:51:23 SSH_AUTH_SOCK=/tmp/ssh-RcMjfkPfhsTQ/agent.69 18:51:23 SSH_AGENT_PID=75 18:51:23 Running ssh-add (command line suppressed) 18:51:23 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-364@tmp/private_key_2831694464846881998.key (/w/workspace/gexfoundry_device-rest-go_PR-364@tmp/private_key_2831694464846881998.key) 18:51:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:51:23 + git semver init 18:51:24 2023-11-08 18:51:24,072 [run_init] DEBUG init version:0.0.0 force:False 18:51:24 2023-11-08 18:51:24,073 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-364/.semver 18:51:24 2023-11-08 18:51:24,074 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-364/.semver 18:51:24 2023-11-08 18:51:24,075 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-364/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-364, universal_newlines=False, shell=None, istream=None) 18:51:25 2023-11-08 18:51:25,355 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-364/.git/info/exclude 18:51:25 2023-11-08 18:51:25,356 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-364/.semver/PR-364 with force:False 18:51:25 2023-11-08 18:51:25,356 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-364/.semver/PR-364 18:51:25 2023-11-08 18:51:25,360 [execute] INFO git cat-file --batch-check 18:51:25 2023-11-08 18:51:25,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-364/.semver, universal_newlines=False, shell=None, istream=) 18:51:25 2023-11-08 18:51:25,366 [execute] INFO git cat-file --batch 18:51:25 2023-11-08 18:51:25,367 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-364/.semver, universal_newlines=False, shell=None, istream=) 18:51:25 2023-11-08 18:51:25,371 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-364/.semver/PR-364 18:51:25 0.0.0 [Pipeline] } 18:51:25 $ docker exec --env ******** --env ******** b37e700df3373adfe87ac1858b28c9eb40539f726786b57239c4e74086286253 ssh-agent -k 18:51:25 unset SSH_AUTH_SOCK; 18:51:25 unset SSH_AGENT_PID; 18:51:25 echo Agent pid 75 killed; 18:51:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:51:26 + git semver [Pipeline] } 18:51:26 $ docker stop --time=1 b37e700df3373adfe87ac1858b28c9eb40539f726786b57239c4e74086286253 18:51:28 $ docker rm -f --volumes b37e700df3373adfe87ac1858b28c9eb40539f726786b57239c4e74086286253 [Pipeline] // withDockerContainer [Pipeline] sh 18:51:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:51:29 Stashed 1 file(s) [Pipeline] echo 18:51:29 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:51:29 provisioning config files... 18:51:29 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-364@tmp/config1763242796538419049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:51:30 ---> docker-login.sh 18:51:30 nexus3.edgexfoundry.org:10001 18:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:30 Configure a credential helper to remove this warning. See 18:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:30 18:51:30 Login Succeeded 18:51:30 nexus3.edgexfoundry.org:10002 18:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:30 Configure a credential helper to remove this warning. See 18:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:30 18:51:30 Login Succeeded 18:51:30 nexus3.edgexfoundry.org:10003 18:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:30 Configure a credential helper to remove this warning. See 18:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:30 18:51:30 Login Succeeded 18:51:30 nexus3.edgexfoundry.org:10004 18:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:30 Configure a credential helper to remove this warning. See 18:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:30 18:51:30 Login Succeeded 18:51:30 docker.io 18:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:30 Configure a credential helper to remove this warning. See 18:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:30 18:51:30 Login Succeeded 18:51:30 ---> docker-login.sh ends [Pipeline] } 18:51:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:51:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:51:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:51:30 ========================================================= 18:51:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:51:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:31 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:51:31 Sending build context to Docker daemon 10.95MB 18:51:31 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:51:31 Step 2/12 : FROM ${BASE} AS builder 18:51:31 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:51:31 7264a8db6415: Pulling fs layer 18:51:31 c4d48a809fc2: Pulling fs layer 18:51:31 4f1c88b9dad5: Pulling fs layer 18:51:31 ad3a456e5733: Pulling fs layer 18:51:31 33e27b845d1e: Pulling fs layer 18:51:31 c68163c4e522: Pulling fs layer 18:51:31 50da416c3ac9: Pulling fs layer 18:51:31 23d2d4c4bb30: Pulling fs layer 18:51:31 ad3a456e5733: Waiting 18:51:31 33e27b845d1e: Waiting 18:51:31 c68163c4e522: Waiting 18:51:31 50da416c3ac9: Waiting 18:51:31 23d2d4c4bb30: Waiting 18:51:31 c4d48a809fc2: Verifying Checksum 18:51:31 c4d48a809fc2: Download complete 18:51:31 ad3a456e5733: Download complete 18:51:31 33e27b845d1e: Verifying Checksum 18:51:31 33e27b845d1e: Download complete 18:51:31 7264a8db6415: Verifying Checksum 18:51:31 7264a8db6415: Download complete 18:51:31 c68163c4e522: Verifying Checksum 18:51:31 c68163c4e522: Download complete 18:51:31 7264a8db6415: Pull complete 18:51:31 23d2d4c4bb30: Verifying Checksum 18:51:31 23d2d4c4bb30: Download complete 18:51:31 c4d48a809fc2: Pull complete 18:51:31 4f1c88b9dad5: Verifying Checksum 18:51:31 4f1c88b9dad5: Download complete 18:51:32 50da416c3ac9: Verifying Checksum 18:51:32 50da416c3ac9: Download complete 18:51:35 4f1c88b9dad5: Pull complete 18:51:35 ad3a456e5733: Pull complete 18:51:35 33e27b845d1e: Pull complete 18:51:35 c68163c4e522: Pull complete 18:51:39 50da416c3ac9: Pull complete 18:51:39 23d2d4c4bb30: Pull complete 18:51:39 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 18:51:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:51:40 ---> 0786185ac409 18:51:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:51:44 Still waiting to schedule task 18:51:44 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:51:48 ---> Running in 0c02ff425604 18:51:48 Removing intermediate container 0c02ff425604 18:51:48 ---> f2cd020fd662 18:51:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:51:48 ---> Running in e528df7ce9bb 18:51:48 Removing intermediate container e528df7ce9bb 18:51:48 ---> 60137d402f99 18:51:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:51:48 ---> Running in ff50cce3c8c3 18:51:49 Removing intermediate container ff50cce3c8c3 18:51:49 ---> f303fee5ed5d 18:51:49 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:51:49 ---> Running in b943cdff5c28 18:51:49 Removing intermediate container b943cdff5c28 18:51:49 ---> bbe4a79e4a5b 18:51:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:51:49 ---> Running in 28a3c29c2eb3 18:51:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:51:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:51:50 (1/4) Installing openssh-keygen (9.3_p2-r0) 18:51:50 (2/4) Installing libedit (20221030.3.1-r1) 18:51:50 (3/4) Installing openssh-client-common (9.3_p2-r0) 18:51:50 (4/4) Installing openssh-client-default (9.3_p2-r0) 18:51:50 Executing busybox-1.36.1-r2.trigger 18:51:50 OK: 268 MiB in 56 packages 18:51:51 Removing intermediate container 28a3c29c2eb3 18:51:51 ---> 9a7e9b45d96c 18:51:51 Step 8/12 : WORKDIR /device-rest-go 18:51:51 ---> Running in 2a2102872f8e 18:51:51 Removing intermediate container 2a2102872f8e 18:51:51 ---> 188a5abed3bf 18:51:51 Step 9/12 : COPY go.mod vendor* ./ 18:51:51 ---> 9d12c9ec0972 18:51:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:51:52 ---> Running in c9e6d41a3b43 18:52:39 Removing intermediate container c9e6d41a3b43 18:52:39 ---> 2e7666dc92d4 18:52:39 Step 11/12 : COPY . . 18:52:39 ---> 471ff27bad11 18:52:39 Step 12/12 : RUN $MAKE 18:52:39 ---> Running in 5b3fa15f4fa3 18:52:39 noop 18:52:39 Removing intermediate container 5b3fa15f4fa3 18:52:39 ---> 612495dfaa34 18:52:39 Successfully built 612495dfaa34 18:52:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:39 + docker inspect -f . ci-base-image-x86_64 18:52:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:39 prd-ubuntu20.04-docker-8c-8g-17062 does not seem to be running inside a container 18:52:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-364 -v /w/workspace/gexfoundry_device-rest-go_PR-364:/w/workspace/gexfoundry_device-rest-go_PR-364:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-364@tmp:/w/workspace/gexfoundry_device-rest-go_PR-364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:52:40 $ docker top aabf8dc487ea891a330d3ac1380fc7efd57f8f18a31e776e8e057e946d0f5dc5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:40 + go version 18:52:40 go version go1.21.0 linux/amd64 [Pipeline] } 18:52:40 $ docker stop --time=1 aabf8dc487ea891a330d3ac1380fc7efd57f8f18a31e776e8e057e946d0f5dc5 18:52:42 $ docker rm -f --volumes aabf8dc487ea891a330d3ac1380fc7efd57f8f18a31e776e8e057e946d0f5dc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:42 + docker inspect -f . ci-base-image-x86_64 18:52:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:43 prd-ubuntu20.04-docker-8c-8g-17062 does not seem to be running inside a container 18:52:43 $ 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-364 -v /w/workspace/gexfoundry_device-rest-go_PR-364:/w/workspace/gexfoundry_device-rest-go_PR-364:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-364@tmp:/w/workspace/gexfoundry_device-rest-go_PR-364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:52:43 $ docker top 1eb0e04c25764e29ab6be8e2b468965fb5ab5056cdf2e1384d709fd279aa7be4 -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:44 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-364 [Pipeline] fileExists [Pipeline] sh 18:52:44 + make test 18:52:44 go test ./... -coverprofile=coverage.out ./... 18:52:46 ? github.com/edgexfoundry/device-rest-go [no test files] 18:52:56 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:52:56 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements 18:53:02 go vet ./... 18:53:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:53:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:53:05 ./bin/test-attribution-txt.sh [Pipeline] echo 18:53:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:53:05 $ docker stop --time=1 1eb0e04c25764e29ab6be8e2b468965fb5ab5056cdf2e1384d709fd279aa7be4 18:53:09 $ docker rm -f --volumes 1eb0e04c25764e29ab6be8e2b468965fb5ab5056cdf2e1384d709fd279aa7be4 [Pipeline] // withDockerContainer [Pipeline] sh 18:53:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:53:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:53:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:53:11 + ls -al . 18:53:11 total 176 18:53:11 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 18:52 . 18:53:11 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:50 .. 18:53:11 -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 18:50 .dockerignore 18:53:11 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:52 .git 18:53:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:50 .github 18:53:11 -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 18:50 .gitignore 18:53:11 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 18:50 .golangci.yml 18:53:11 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 18:51 .semver 18:53:11 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 8 18:50 Attribution.txt 18:53:11 -rw-rw-r-- 1 jenkins jenkins 15709 Nov 8 18:50 CHANGELOG.md 18:53:11 -rw-rw-r-- 1 jenkins jenkins 1578 Nov 8 18:50 Dockerfile 18:53:11 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 18:50 GOVERNANCE.md 18:53:11 -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 18:50 Jenkinsfile 18:53:11 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 18:50 LICENSE 18:53:11 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 8 18:50 Makefile 18:53:11 -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 18:50 OWNERS.md 18:53:11 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 8 18:50 README.md 18:53:11 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 18:51 VERSION 18:53:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:50 bin 18:53:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:50 cmd 18:53:11 -rw-r--r-- 1 jenkins jenkins 14499 Nov 8 18:52 coverage.out 18:53:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:50 driver 18:53:11 -rw-rw-r-- 1 jenkins jenkins 3844 Nov 8 18:50 go.mod 18:53:11 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 8 18:50 go.sum 18:53:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:50 openapi 18:53:11 -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 18:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:11 + 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=41c1ef57410c6681f03d0987537b86c091ab4d75 --label arch=amd64 --label version=0.0.0 . 18:53:11 Sending build context to Docker daemon 10.96MB 18:53:11 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 18:53:11 Step 2/25 : FROM ${BASE} AS builder 18:53:11 ---> 612495dfaa34 18:53:11 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:53:12 ---> Running in 44df36b3c4d8 18:53:12 Removing intermediate container 44df36b3c4d8 18:53:12 ---> efcd64553b11 18:53:12 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:53:12 ---> Running in a666430553fe 18:53:12 Removing intermediate container a666430553fe 18:53:12 ---> 77a8af7b744e 18:53:12 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:53:12 ---> Running in 6e567867fee6 18:53:13 Removing intermediate container 6e567867fee6 18:53:13 ---> 3d9125b9ab18 18:53:13 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:53:13 ---> Running in ce7051c9e754 18:53:13 Removing intermediate container ce7051c9e754 18:53:13 ---> 92bc5844c42c 18:53:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:53:13 ---> Running in 8240069fe8f9 18:53:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:53:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:53:14 OK: 268 MiB in 56 packages 18:53:16 Removing intermediate container 8240069fe8f9 18:53:16 ---> 9dbf818446e6 18:53:16 Step 8/25 : WORKDIR /device-rest-go 18:53:16 ---> Running in 1e43d1e55323 18:53:16 Removing intermediate container 1e43d1e55323 18:53:16 ---> c1a3df3894c3 18:53:16 Step 9/25 : COPY go.mod vendor* ./ 18:53:16 ---> 4d65b81f09f1 18:53:16 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:53:16 ---> Running in 697b524ba6a0 18:53:17 Removing intermediate container 697b524ba6a0 18:53:17 ---> 9a43810e14dd 18:53:17 Step 11/25 : COPY . . 18:53:18 ---> 4f9f71427a80 18:53:18 Step 12/25 : RUN $MAKE 18:53:18 ---> Running in 0af43892b961 18:53:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 18:53:40 Removing intermediate container 0af43892b961 18:53:40 ---> f018beed6eba 18:53:40 Step 13/25 : FROM alpine:3.18 18:53:40 3.18: Pulling from library/alpine 18:53:40 96526aa774ef: Pulling fs layer 18:53:40 96526aa774ef: Download complete 18:53:40 96526aa774ef: Pull complete 18:53:40 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:53:40 Status: Downloaded newer image for alpine:3.18 18:53:40 ---> 8ca4688f4f35 18:53:40 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:53:40 ---> Running in bd4675633282 18:53:40 Removing intermediate container bd4675633282 18:53:40 ---> 181d75ff8a56 18:53:40 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:53:40 ---> Running in b9a13f9b113a 18:53:40 Removing intermediate container b9a13f9b113a 18:53:40 ---> 3b325f86cf61 18:53:40 Step 16/25 : RUN apk add --update --no-cache dumb-init 18:53:40 ---> Running in c5bb98757a85 18:53:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:53:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:53:40 (1/1) Installing dumb-init (1.2.5-r2) 18:53:40 Executing busybox-1.36.1-r2.trigger 18:53:40 OK: 7 MiB in 16 packages 18:53:40 Removing intermediate container c5bb98757a85 18:53:40 ---> b3202f4ed8f8 18:53:40 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:53:40 ---> 20d4bbda7150 18:53:40 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:53:40 ---> 1fb08a560934 18:53:40 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:53:40 ---> 22000e0cf5cf 18:53:40 Step 20/25 : EXPOSE 59986 18:53:40 ---> Running in 2d5228ed0e9f 18:53:40 Removing intermediate container 2d5228ed0e9f 18:53:40 ---> 2ccaae3f5218 18:53:40 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:53:40 ---> Running in eb61ba886d14 18:53:40 Removing intermediate container eb61ba886d14 18:53:40 ---> 9ad536019801 18:53:40 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:53:40 ---> Running in b85ce80ff50b 18:53:40 Removing intermediate container b85ce80ff50b 18:53:40 ---> d125962e9347 18:53:40 Step 23/25 : LABEL arch=amd64 18:53:41 ---> Running in 1d6cc18ccc56 18:53:41 Removing intermediate container 1d6cc18ccc56 18:53:41 ---> a05e4b04dd69 18:53:41 Step 24/25 : LABEL git_sha=41c1ef57410c6681f03d0987537b86c091ab4d75 18:53:41 ---> Running in dde2ecc2a665 18:53:41 Removing intermediate container dde2ecc2a665 18:53:41 ---> 10c181f168c7 18:53:41 Step 25/25 : LABEL version=0.0.0 18:53:41 ---> Running in d9d956236412 18:53:41 Removing intermediate container d9d956236412 18:53:41 ---> 3d42fa7ab74b 18:53:41 [Warning] One or more build-args [ARCH] were not consumed 18:53:41 Successfully built 3d42fa7ab74b 18:53:41 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:53:42 18:53:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:53:42 latest: Pulling from edgex-lftools-log-publisher 18:53:42 5eb5b503b376: Pulling fs layer 18:53:42 5c69ac0246d0: Pulling fs layer 18:53:42 ec43610c2a17: Pulling fs layer 18:53:42 3a2ae6a8a46f: Pulling fs layer 18:53:42 33b1e0a273af: Pulling fs layer 18:53:42 5d3b04190fa2: Pulling fs layer 18:53:42 2f39f015ded8: Pulling fs layer 18:53:42 33b1e0a273af: Waiting 18:53:42 5d3b04190fa2: Waiting 18:53:42 2f39f015ded8: Waiting 18:53:42 3a2ae6a8a46f: Waiting 18:53:42 5c69ac0246d0: Download complete 18:53:42 3a2ae6a8a46f: Verifying Checksum 18:53:42 3a2ae6a8a46f: Download complete 18:53:42 33b1e0a273af: Verifying Checksum 18:53:42 33b1e0a273af: Download complete 18:53:42 5d3b04190fa2: Download complete 18:53:42 ec43610c2a17: Verifying Checksum 18:53:42 ec43610c2a17: Download complete 18:53:42 5eb5b503b376: Verifying Checksum 18:53:42 5eb5b503b376: Download complete 18:53:43 2f39f015ded8: Download complete 18:53:43 5eb5b503b376: Pull complete 18:53:43 5c69ac0246d0: Pull complete 18:53:44 ec43610c2a17: Pull complete 18:53:44 3a2ae6a8a46f: Pull complete 18:53:44 33b1e0a273af: Pull complete 18:53:44 5d3b04190fa2: Pull complete 18:53:48 2f39f015ded8: Pull complete 18:53:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:53:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:53:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:49 prd-ubuntu20.04-docker-8c-8g-17062 does not seem to be running inside a container 18:53:49 $ 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-364 -v /w/workspace/gexfoundry_device-rest-go_PR-364:/w/workspace/gexfoundry_device-rest-go_PR-364:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-364@tmp:/w/workspace/gexfoundry_device-rest-go_PR-364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:53:55 $ docker top 99bb9a80c062ccbf5580399053e7f1081594f9a43058b4b9f7aaaa5b134ca0e4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:53:55 ---> job-cost.sh 18:53:55 lf-activate-venv: SKIPPING 18:53:55 INFO: No Stack... 18:53:55 INFO: Retrieving Pricing Info for: v3-standard-8 18:53:56 INFO: Archiving Costs [Pipeline] sh 18:53:56 + cat /w/workspace/gexfoundry_device-rest-go_PR-364/archives/cost.csv 18:53:56 + cut -d, -f6 [Pipeline] lock 18:53:56 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-364-1-stack-cost] 18:53:56 Resource [jenkins-edgexfoundry-device-rest-go-PR-364-1-stack-cost] did not exist. Created. 18:53:56 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-364-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:53:56 + echo total: 0.2199999988079071 [Pipeline] stash 18:53:56 Stashed 1 file(s) [Pipeline] } 18:53:57 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-364-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:53:57 $ docker stop --time=1 99bb9a80c062ccbf5580399053e7f1081594f9a43058b4b9f7aaaa5b134ca0e4 18:53:58 $ docker rm -f --volumes 99bb9a80c062ccbf5580399053e7f1081594f9a43058b4b9f7aaaa5b134ca0e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:54:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17067 in /w/workspace/gexfoundry_device-rest-go_PR-364 [Pipeline] { [Pipeline] ws 18:54:53 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 18:54:53 The recommended git tool is: git 18:54:59 using credential edgex-jenkins-ssh 18:54:59 Cloning the remote Git repository 18:54:59 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:55:00 > git init /w/workspace/device-rest-go/1 # timeout=10 18:55:00 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:55:00 > git --version # timeout=10 18:55:00 > git --version # 'git version 2.25.1' 18:55:00 using GIT_SSH to set credentials SSH Credentials for GitHub 18:55:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:55:02 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:55:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:55:03 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:55:03 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:55:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:55:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/364/head:refs/remotes/origin/PR-364 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:55:04 Merging remotes/origin/main commit 549007a9ae6a647223285151eabca3507ba312e0 into PR head commit 41c1ef57410c6681f03d0987537b86c091ab4d75 18:55:04 Merge succeeded, producing 41c1ef57410c6681f03d0987537b86c091ab4d75 18:55:04 Checking out Revision 41c1ef57410c6681f03d0987537b86c091ab4d75 (PR-364) 18:55:04 > git config core.sparsecheckout # timeout=10 18:55:04 > git checkout -f 41c1ef57410c6681f03d0987537b86c091ab4d75 # timeout=10 18:55:04 > git remote # timeout=10 18:55:04 > git config --get remote.origin.url # timeout=10 18:55:04 using GIT_SSH to set credentials SSH Credentials for GitHub 18:55:04 > git merge 549007a9ae6a647223285151eabca3507ba312e0 # timeout=10 18:55:04 > git rev-parse HEAD^{commit} # timeout=10 18:55:04 > git config core.sparsecheckout # timeout=10 18:55:04 > git checkout -f 41c1ef57410c6681f03d0987537b86c091ab4d75 # timeout=10 18:55:08 Commit message: "build: Update go mod for Napa" 18:55:08 > git --version # timeout=10 18:55:08 > git --version # 'git version 2.25.1' 18:55:08 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:55:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:55:09 % Total % Received % Xferd Average Speed Time Time Time Current 18:55:09 Dload Upload Total Spent Left Speed 18:55:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 206k 0 --:--:-- --:--:-- --:--:-- 209k [Pipeline] sh 18:55:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:55:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:55:10 + sudo tee /etc/docker/daemon.new 18:55:10 { 18:55:10 "registry-mirrors": [ 18:55:10 "https://nexus3.edgexfoundry.org:10001" 18:55:10 ], 18:55:10 "bip": "10.250.0.254/24", 18:55:10 "hosts": [ 18:55:10 "tcp://0.0.0.0:5555", 18:55:10 "unix:///var/run/docker.sock" 18:55:10 ], 18:55:10 "mtu": 1458, 18:55:10 "selinux-enabled": true, 18:55:10 "seccomp-profile": "/etc/docker/seccomp.json" 18:55:10 } [Pipeline] sh 18:55:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:55:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:55:29 provisioning config files... 18:55:29 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5582268546876454803tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:30 ---> docker-login.sh 18:55:30 nexus3.edgexfoundry.org:10001 18:55:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:30 Configure a credential helper to remove this warning. See 18:55:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:30 18:55:30 Login Succeeded 18:55:31 nexus3.edgexfoundry.org:10002 18:55:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:31 Configure a credential helper to remove this warning. See 18:55:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:31 18:55:31 Login Succeeded 18:55:31 nexus3.edgexfoundry.org:10003 18:55:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:31 Configure a credential helper to remove this warning. See 18:55:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:31 18:55:31 Login Succeeded 18:55:31 nexus3.edgexfoundry.org:10004 18:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:32 Configure a credential helper to remove this warning. See 18:55:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:32 18:55:32 Login Succeeded 18:55:32 docker.io 18:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:32 Configure a credential helper to remove this warning. See 18:55:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:32 18:55:32 Login Succeeded 18:55:32 ---> docker-login.sh ends [Pipeline] } 18:55:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:55:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:55:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:55:33 ========================================================= 18:55:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:55:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:33 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:55:33 Sending build context to Docker daemon 125.4kB 18:55:34 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:55:34 Step 2/12 : FROM ${BASE} AS builder 18:55:34 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:55:34 9fda8d8052c6: Pulling fs layer 18:55:34 5d54e960e981: Pulling fs layer 18:55:34 c4a7e357bf2a: Pulling fs layer 18:55:34 f0e02332f6b5: Pulling fs layer 18:55:34 cefa15bbcfad: Pulling fs layer 18:55:34 17808c966233: Pulling fs layer 18:55:34 f4c1fc716caa: Pulling fs layer 18:55:34 17808c966233: Waiting 18:55:34 f4c1fc716caa: Waiting 18:55:34 f0e02332f6b5: Waiting 18:55:34 cefa15bbcfad: Waiting 18:55:34 5d54e960e981: Download complete 18:55:34 f0e02332f6b5: Verifying Checksum 18:55:34 f0e02332f6b5: Download complete 18:55:34 cefa15bbcfad: Verifying Checksum 18:55:34 cefa15bbcfad: Download complete 18:55:34 9fda8d8052c6: Download complete 18:55:34 f4c1fc716caa: Verifying Checksum 18:55:34 f4c1fc716caa: Download complete 18:55:35 9fda8d8052c6: Pull complete 18:55:36 5d54e960e981: Pull complete 18:55:36 c4a7e357bf2a: Verifying Checksum 18:55:36 c4a7e357bf2a: Download complete 18:55:37 17808c966233: Verifying Checksum 18:55:37 17808c966233: Download complete 18:55:49 c4a7e357bf2a: Pull complete 18:55:49 f0e02332f6b5: Pull complete 18:55:49 cefa15bbcfad: Pull complete 18:56:02 17808c966233: Pull complete 18:56:02 f4c1fc716caa: Pull complete 18:56:02 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 18:56:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:56:02 ---> ea914061e18c 18:56:02 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:56:03 ---> Running in 5825d129a6a5 18:56:04 Removing intermediate container 5825d129a6a5 18:56:04 ---> 557bcf152c7d 18:56:04 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:56:04 ---> Running in 4b962b8ead05 18:56:04 Removing intermediate container 4b962b8ead05 18:56:04 ---> 0c102b9ae786 18:56:04 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:56:04 ---> Running in bf02d32eeb00 18:56:04 Removing intermediate container bf02d32eeb00 18:56:04 ---> ac70b7323706 18:56:04 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:56:05 ---> Running in 055ce69c7471 18:56:05 Removing intermediate container 055ce69c7471 18:56:05 ---> fc7d0ed7cc97 18:56:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:56:05 ---> Running in 43c76abfcbc5 18:56:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:56:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:56:08 (1/4) Installing openssh-keygen (9.3_p2-r0) 18:56:08 (2/4) Installing libedit (20221030.3.1-r1) 18:56:08 (3/4) Installing openssh-client-common (9.3_p2-r0) 18:56:08 (4/4) Installing openssh-client-default (9.3_p2-r0) 18:56:08 Executing busybox-1.36.1-r2.trigger 18:56:08 OK: 270 MiB in 56 packages 18:56:09 Removing intermediate container 43c76abfcbc5 18:56:09 ---> 06e2b7fe5f5a 18:56:09 Step 8/12 : WORKDIR /device-rest-go 18:56:09 ---> Running in 4e46ee84d3dd 18:56:10 Removing intermediate container 4e46ee84d3dd 18:56:10 ---> 6fa99f961469 18:56:10 Step 9/12 : COPY go.mod vendor* ./ 18:56:10 ---> 8e373d41b596 18:56:10 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:56:10 ---> Running in 94406f6bc065 18:57:32 Removing intermediate container 94406f6bc065 18:57:32 ---> 34eb0adff089 18:57:32 Step 11/12 : COPY . . 18:57:32 ---> a17eea5c27ae 18:57:32 Step 12/12 : RUN $MAKE 18:57:32 ---> Running in 2dcf7e3ba1d2 18:57:32 noop 18:57:32 Removing intermediate container 2dcf7e3ba1d2 18:57:32 ---> a904e968c08e 18:57:32 Successfully built a904e968c08e 18:57:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:32 + docker inspect -f . ci-base-image-arm64 18:57:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:33 prd-ubuntu20.04-docker-arm64-4c-16g-17067 does not seem to be running inside a container 18:57:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:57:34 $ docker top 14b0e12da6ebc5766df87e0142466d9197690b1e0388c06574dae51289f84f0d -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:35 + go version 18:57:35 go version go1.21.0 linux/arm64 [Pipeline] } 18:57:35 $ docker stop --time=1 14b0e12da6ebc5766df87e0142466d9197690b1e0388c06574dae51289f84f0d 18:57:37 $ docker rm -f --volumes 14b0e12da6ebc5766df87e0142466d9197690b1e0388c06574dae51289f84f0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:38 + docker inspect -f . ci-base-image-arm64 18:57:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:38 prd-ubuntu20.04-docker-arm64-4c-16g-17067 does not seem to be running inside a container 18:57:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:57:40 $ docker top 9d3703c4623a637f91b3721e2b1797f2d86b846f69a7c1a1e7453f1f255396a9 -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:41 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 18:57:41 + make test 18:57:41 go test ./... -coverprofile=coverage.out ./... 18:57:46 ? github.com/edgexfoundry/device-rest-go [no test files] 18:59:52 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:59:52 ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 33.2% of statements 18:59:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:59:52 go vet ./... 19:00:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:00:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:00:25 ./bin/test-attribution-txt.sh [Pipeline] echo 19:00:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:00:25 $ docker stop --time=1 9d3703c4623a637f91b3721e2b1797f2d86b846f69a7c1a1e7453f1f255396a9 19:00:27 $ docker rm -f --volumes 9d3703c4623a637f91b3721e2b1797f2d86b846f69a7c1a1e7453f1f255396a9 [Pipeline] // withDockerContainer [Pipeline] sh 19:00:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:00:28 Warning: overwriting stash ‘coverage-report’ 19:00:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:00:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:00:30 + ls -al . 19:00:30 total 172 19:00:30 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:57 . 19:00:30 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:55 .. 19:00:30 -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 18:55 .dockerignore 19:00:30 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:55 .git 19:00:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:55 .github 19:00:30 -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 18:55 .gitignore 19:00:30 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 18:55 .golangci.yml 19:00:30 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 8 18:55 Attribution.txt 19:00:30 -rw-rw-r-- 1 jenkins jenkins 15709 Nov 8 18:55 CHANGELOG.md 19:00:30 -rw-rw-r-- 1 jenkins jenkins 1578 Nov 8 18:55 Dockerfile 19:00:30 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 18:55 GOVERNANCE.md 19:00:30 -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 18:55 Jenkinsfile 19:00:30 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 18:55 LICENSE 19:00:30 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 8 18:55 Makefile 19:00:30 -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 18:55 OWNERS.md 19:00:30 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 8 18:55 README.md 19:00:30 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 18:51 VERSION 19:00:30 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:55 bin 19:00:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:55 cmd 19:00:30 -rw-r--r-- 1 jenkins jenkins 14499 Nov 8 18:59 coverage.out 19:00:30 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:55 driver 19:00:30 -rw-rw-r-- 1 jenkins jenkins 3844 Nov 8 18:55 go.mod 19:00:30 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 8 18:55 go.sum 19:00:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:55 openapi 19:00:30 -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 18:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:30 + 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=41c1ef57410c6681f03d0987537b86c091ab4d75 --label arch=arm64 --label version=0.0.0 . 19:00:30 Sending build context to Docker daemon 140.8kB 19:00:31 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 19:00:31 Step 2/25 : FROM ${BASE} AS builder 19:00:31 ---> a904e968c08e 19:00:31 Step 3/25 : ARG ADD_BUILD_TAGS="" 19:00:32 ---> Running in ac65acac4686 19:00:32 Removing intermediate container ac65acac4686 19:00:32 ---> fd0f7d1e9e6d 19:00:32 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:00:32 ---> Running in 9060bc2735db 19:00:33 Removing intermediate container 9060bc2735db 19:00:33 ---> 14c299223086 19:00:33 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:00:33 ---> Running in 7c9172f8a7c3 19:00:33 Removing intermediate container 7c9172f8a7c3 19:00:33 ---> 4bfd2eaeab45 19:00:33 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 19:00:33 ---> Running in c7190511dd07 19:00:34 Removing intermediate container c7190511dd07 19:00:34 ---> dbc0a32da7a8 19:00:34 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:00:34 ---> Running in 6d9ba1a72d9d 19:00:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:00:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:00:37 OK: 270 MiB in 56 packages 19:00:40 Removing intermediate container 6d9ba1a72d9d 19:00:40 ---> e42970ba83f7 19:00:40 Step 8/25 : WORKDIR /device-rest-go 19:00:40 ---> Running in e503829a0f1e 19:00:40 Removing intermediate container e503829a0f1e 19:00:40 ---> 0b4223d5e87a 19:00:40 Step 9/25 : COPY go.mod vendor* ./ 19:00:40 ---> caba833faece 19:00:40 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:00:40 ---> Running in bdc56bb8973d 19:00:41 Removing intermediate container bdc56bb8973d 19:00:41 ---> 2c4a268adf44 19:00:41 Step 11/25 : COPY . . 19:00:41 ---> 47f0d47640c9 19:00:41 Step 12/25 : RUN $MAKE 19:00:41 ---> Running in 0204f87a5b9d 19:00:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 19:03:04 Removing intermediate container 0204f87a5b9d 19:03:04 ---> a201fbaab11e 19:03:04 Step 13/25 : FROM alpine:3.18 19:03:04 3.18: Pulling from library/alpine 19:03:04 579b34f0a95b: Pulling fs layer 19:03:04 579b34f0a95b: Verifying Checksum 19:03:04 579b34f0a95b: Download complete 19:03:04 579b34f0a95b: Pull complete 19:03:04 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 19:03:04 Status: Downloaded newer image for alpine:3.18 19:03:04 ---> 3cc203321400 19:03:04 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:03:04 ---> Running in bc262d4d1e29 19:03:04 Removing intermediate container bc262d4d1e29 19:03:04 ---> 7f2bbfc2d99f 19:03:04 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 19:03:04 ---> Running in 4206c0c5c208 19:03:04 Removing intermediate container 4206c0c5c208 19:03:04 ---> 1c9ad00c2b70 19:03:04 Step 16/25 : RUN apk add --update --no-cache dumb-init 19:03:04 ---> Running in 94114a3f7129 19:03:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:03:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:03:04 (1/1) Installing dumb-init (1.2.5-r2) 19:03:04 Executing busybox-1.36.1-r2.trigger 19:03:04 OK: 8 MiB in 16 packages 19:03:04 Removing intermediate container 94114a3f7129 19:03:04 ---> 84c8dcfc9b11 19:03:04 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 19:03:04 ---> af71f504dd3a 19:03:04 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 19:03:04 ---> 34629dc30a5e 19:03:04 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 19:03:04 ---> a885fdeb2e7b 19:03:04 Step 20/25 : EXPOSE 59986 19:03:04 ---> Running in 2eabd4153a09 19:03:04 Removing intermediate container 2eabd4153a09 19:03:04 ---> ef6bbdd06a3d 19:03:04 Step 21/25 : ENTRYPOINT ["/device-rest"] 19:03:04 ---> Running in 09403ad35e19 19:03:04 Removing intermediate container 09403ad35e19 19:03:04 ---> c296606985a9 19:03:04 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:03:04 ---> Running in adb7650641fd 19:03:04 Removing intermediate container adb7650641fd 19:03:04 ---> d4e5aba54a63 19:03:04 Step 23/25 : LABEL arch=arm64 19:03:04 ---> Running in 1e5dcee9c7e4 19:03:04 Removing intermediate container 1e5dcee9c7e4 19:03:04 ---> 2a9ed5aeb21a 19:03:04 Step 24/25 : LABEL git_sha=41c1ef57410c6681f03d0987537b86c091ab4d75 19:03:04 ---> Running in b42ba0f834a1 19:03:04 Removing intermediate container b42ba0f834a1 19:03:04 ---> 2f5ae86ada1c 19:03:04 Step 25/25 : LABEL version=0.0.0 19:03:04 ---> Running in debfe3bea1d9 19:03:04 Removing intermediate container debfe3bea1d9 19:03:04 ---> 0e9ecc6d9e19 19:03:04 [Warning] One or more build-args [ARCH] were not consumed 19:03:04 Successfully built 0e9ecc6d9e19 19:03:04 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 19:03:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:03:05 19:03:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:03:06 arm64: Pulling from edgex-lftools-log-publisher 19:03:06 8998bd30e6a1: Pulling fs layer 19:03:06 04944245beec: Pulling fs layer 19:03:06 699f458cf7ca: Pulling fs layer 19:03:06 765212b225bb: Pulling fs layer 19:03:06 f23df028b6ca: Pulling fs layer 19:03:06 d65c8cfc05b1: Pulling fs layer 19:03:06 2437ff75d9bd: Pulling fs layer 19:03:06 765212b225bb: Waiting 19:03:06 d65c8cfc05b1: Waiting 19:03:06 f23df028b6ca: Waiting 19:03:06 2437ff75d9bd: Waiting 19:03:06 04944245beec: Verifying Checksum 19:03:06 04944245beec: Download complete 19:03:06 765212b225bb: Verifying Checksum 19:03:06 765212b225bb: Download complete 19:03:06 f23df028b6ca: Verifying Checksum 19:03:06 f23df028b6ca: Download complete 19:03:06 d65c8cfc05b1: Verifying Checksum 19:03:06 d65c8cfc05b1: Download complete 19:03:06 699f458cf7ca: Verifying Checksum 19:03:06 699f458cf7ca: Download complete 19:03:07 8998bd30e6a1: Verifying Checksum 19:03:07 8998bd30e6a1: Download complete 19:03:10 2437ff75d9bd: Verifying Checksum 19:03:10 2437ff75d9bd: Download complete 19:03:11 8998bd30e6a1: Pull complete 19:03:12 04944245beec: Pull complete 19:03:13 699f458cf7ca: Pull complete 19:03:14 765212b225bb: Pull complete 19:03:15 f23df028b6ca: Pull complete 19:03:15 d65c8cfc05b1: Pull complete 19:03:33 2437ff75d9bd: Pull complete 19:03:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:03:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:03:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:33 prd-ubuntu20.04-docker-arm64-4c-16g-17067 does not seem to be running inside a container 19:03:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:03:36 $ docker top 4030c3ac1944dc830b5de09f6dfd8f01693eed18b7344f137aa781ce68326395 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:03:37 ---> job-cost.sh 19:03:37 lf-activate-venv: SKIPPING 19:03:37 INFO: No Stack... 19:03:37 INFO: Retrieving Pricing Info for: v3-standard-4 19:03:38 INFO: Archiving Costs [Pipeline] sh 19:03:39 + cut -d, -f6 19:03:39 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 19:03:39 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-364-1-stack-cost] 19:03:39 Resource [jenkins-edgexfoundry-device-rest-go-PR-364-1-stack-cost] did not exist. Created. 19:03:39 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-364-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:03:40 /w/workspace/device-rest-go/1@tmp/durable-872924fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:03:40 + echo total: 0.10999999940395355 [Pipeline] stash 19:03:40 Warning: overwriting stash ‘stack-cost’ 19:03:40 Stashed 1 file(s) [Pipeline] } 19:03:41 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-364-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:03:41 $ docker stop --time=1 4030c3ac1944dc830b5de09f6dfd8f01693eed18b7344f137aa781ce68326395 19:03:42 $ docker rm -f --volumes 4030c3ac1944dc830b5de09f6dfd8f01693eed18b7344f137aa781ce68326395 [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 19:03:43 provisioning config files... 19:03:43 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-364@tmp/config3573028276511717535tmp [Pipeline] { [Pipeline] sh 19:03:43 + set +x 19:03:43 + curl -s https://codecov.io/bash 19:03:43 + bash -s -- 19:03:43 19:03:43 _____ _ 19:03:43 / ____| | | 19:03:43 | | ___ __| | ___ ___ _____ __ 19:03:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:03:43 | |___| (_) | (_| | __/ (_| (_) \ V / 19:03:43 \_____\___/ \__,_|\___|\___\___/ \_/ 19:03:43 Bash-1.0.6 19:03:43 19:03:43 19:03:43 ==> git version 2.25.1 found 19:03:43 ==> 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 19:03:43 Release-Date: 2020-01-08 19:03:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:03:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:03:43 ==> Jenkins CI detected. 19:03:43 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-364 19:03:43 project root: . 19:03:43 --> token set from env 19:03:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:03:43 ==> Running gcov in . (disable via -X gcov) 19:03:43 ==> Python coveragepy not found 19:03:43 ==> Searching for coverage reports in: 19:03:43 + . 19:03:43 -> Found 1 reports 19:03:43 ==> Detecting git/mercurial file structure 19:03:43 ==> Reading reports 19:03:43 + ./coverage.out bytes=14499 19:03:43 ==> Appending adjustments 19:03:43 https://docs.codecov.io/docs/fixing-reports 19:03:44 + Found adjustments 19:03:44 ==> Gzipping contents 19:03:44 4.0K /tmp/codecov.vISVRo.gz 19:03:44 ==> Uploading reports 19:03:44 url: https://codecov.io 19:03:44 query: branch=PR-364&commit=41c1ef57410c6681f03d0987537b86c091ab4d75&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-364%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=364&job=&cmd_args= 19:03:44 -> Pinging Codecov 19:03:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-364&commit=41c1ef57410c6681f03d0987537b86c091ab4d75&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-364%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=364&job=&cmd_args= 19:03:44 -> Uploading to 19:03:44 https://storage.googleapis.com/codecov/v4/raw/2023-11-08/4E5D53B4F1F92C436F7061BF334D961C/41c1ef57410c6681f03d0987537b86c091ab4d75/1c735f5a-fff0-4261-9085-b5fe704353ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T190344Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a50bef6e21f975a79bc9d383c5aac89a03a169e000f03aa522f80e0718efe925 19:03:44 % Total % Received % Xferd Average Speed Time Time Time Current 19:03:44 Dload Upload Total Spent Left Speed 19:03:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11433 --:--:-- --:--:-- --:--:-- 11377 100 2321 0 0 100 2321 0 9670 --:--:-- --:--:-- --:--:-- 9630 19:03:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/41c1ef57410c6681f03d0987537b86c091ab4d75 [Pipeline] } 19:03:44 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 19:03:46 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-364/archives ] 19:03:46 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-364/archives 19:03:46 total 16 19:03:46 drwxr-xr-x 3 root root 4096 Nov 8 18:53 . 19:03:46 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 18:53 .. 19:03:46 drwxr-xr-x 2 root root 4096 Nov 8 18:53 cost 19:03:46 -rw-r--r-- 1 root root 86 Nov 8 18:53 cost.csv 19:03:46 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-364/archives 19:03:46 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-364/archives 19:03:46 total 16 19:03:46 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 18:53 . 19:03:46 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 18:53 .. 19:03:46 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 18:53 cost 19:03:46 -rw-r--r-- 1 jenkins jenkins 86 Nov 8 18:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:03:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:03:48 ---> package-listing.sh 19:03:48 ++ facter osfamily 19:03:48 ++ tr '[:upper:]' '[:lower:]' 19:03:48 + OS_FAMILY=debian 19:03:48 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-364 19:03:48 + START_PACKAGES=/tmp/packages_start.txt 19:03:48 + END_PACKAGES=/tmp/packages_end.txt 19:03:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:03:48 + PACKAGES=/tmp/packages_start.txt 19:03:48 + '[' /w/workspace/gexfoundry_device-rest-go_PR-364 ']' 19:03:48 + PACKAGES=/tmp/packages_end.txt 19:03:48 + case "${OS_FAMILY}" in 19:03:48 + dpkg -l 19:03:48 + grep '^ii' 19:03:48 + '[' -f /tmp/packages_start.txt ']' 19:03:48 + '[' -f /tmp/packages_end.txt ']' 19:03:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:03:48 + '[' /w/workspace/gexfoundry_device-rest-go_PR-364 ']' 19:03:48 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-364/archives/ 19:03:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-364/archives/ [Pipeline] echo 19:03:48 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-364/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:03:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:03:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:49 prd-ubuntu20.04-docker-8c-8g-17062 does not seem to be running inside a container 19:03:49 $ 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-364/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-364 -v /w/workspace/gexfoundry_device-rest-go_PR-364:/w/workspace/gexfoundry_device-rest-go_PR-364:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-364@tmp:/w/workspace/gexfoundry_device-rest-go_PR-364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:03:51 $ docker top bc5f26d755cf8cba1860646575cb3c8eb156d791b0283b9c8d29392bca2ca4ec -eo pid,comm [Pipeline] { [Pipeline] sh 19:03:51 + touch /tmp/pre-build-complete [Pipeline] sh 19:03:52 + mkdir -p /var/log/sysstat [Pipeline] sh 19:03:52 + ls /var/log/sa-host 19:03:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:03:52 provisioning config files... 19:03:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-364@tmp/config1942582308733644001tmp [Pipeline] { [Pipeline] echo 19:03:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:03:53 ---> create-netrc.sh [Pipeline] } 19:03:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:03:53 ---> python-tools-install.sh [Pipeline] echo 19:03:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:03:53 ---> sudo-logs.sh 19:03:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:03:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:03:54 ---> job-cost.sh 19:03:54 lf-activate-venv: SKIPPING 19:03:54 DEBUG: total: 0.2199999988079071 19:03:54 INFO: Retrieving Stack Cost... 19:03:54 INFO: Retrieving Pricing Info for: v3-standard-8 19:03:55 INFO: Archiving Costs [Pipeline] echo 19:03:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:03:55 ---> logs-deploy.sh 19:03:55 lf-activate-venv: SKIPPING 19:03:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-364/1 19:03:55 INFO: archiving workspace using pattern(s): 19:03:56 Archives upload complete. 19:03:56 INFO: archiving logs to Nexus 19:03:57 ---> uname -a: 19:03:57 Linux prd-ubuntu20-04-docker-8c-8g-17062 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 19:03:57 19:03:57 19:03:57 ---> lscpu: 19:03:57 Architecture: x86_64 19:03:57 CPU op-mode(s): 32-bit, 64-bit 19:03:57 Byte Order: Little Endian 19:03:57 Address sizes: 40 bits physical, 48 bits virtual 19:03:57 CPU(s): 8 19:03:57 On-line CPU(s) list: 0-7 19:03:57 Thread(s) per core: 1 19:03:57 Core(s) per socket: 1 19:03:57 Socket(s): 8 19:03:57 NUMA node(s): 1 19:03:57 Vendor ID: AuthenticAMD 19:03:57 CPU family: 23 19:03:57 Model: 49 19:03:57 Model name: AMD EPYC-Rome Processor 19:03:57 Stepping: 0 19:03:57 CPU MHz: 2799.998 19:03:57 BogoMIPS: 5599.99 19:03:57 Virtualization: AMD-V 19:03:57 Hypervisor vendor: KVM 19:03:57 Virtualization type: full 19:03:57 L1d cache: 256 KiB 19:03:57 L1i cache: 256 KiB 19:03:57 L2 cache: 4 MiB 19:03:57 L3 cache: 128 MiB 19:03:57 NUMA node0 CPU(s): 0-7 19:03:57 Vulnerability Itlb multihit: Not affected 19:03:57 Vulnerability L1tf: Not affected 19:03:57 Vulnerability Mds: Not affected 19:03:57 Vulnerability Meltdown: Not affected 19:03:57 Vulnerability Mmio stale data: Not affected 19:03:57 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:03:57 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:03:57 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 19:03:57 Vulnerability Srbds: Not affected 19:03:57 Vulnerability Tsx async abort: Not affected 19:03:57 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 19:03:57 19:03:57 19:03:57 ---> nproc: 19:03:57 8 19:03:57 19:03:57 19:03:57 ---> df -h: 19:03:57 Filesystem Size Used Avail Use% Mounted on 19:03:57 overlay 155G 12G 144G 8% / 19:03:57 tmpfs 64M 0 64M 0% /dev 19:03:57 tmpfs 16G 0 16G 0% /sys/fs/cgroup 19:03:57 shm 64M 0 64M 0% /dev/shm 19:03:57 /dev/vda1 155G 12G 144G 8% /facter-os 19:03:57 19:03:57 19:03:57 ---> sar -b -r -n DEV: 19:03:57 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-17062) 11/08/23 _x86_64_ (8 CPU) 19:03:57 19:03:57 18:50:16 LINUX RESTART (8 CPU) 19:03:57 19:03:57 18:51:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:03:57 18:52:01 139.63 10.70 128.93 0.00 1778.37 33749.84 0.00 19:03:57 18:53:01 161.32 1.03 160.29 0.00 22.66 53688.25 0.00 19:03:57 18:54:01 192.12 0.23 191.88 0.00 18.40 45442.29 0.00 19:03:57 18:55:01 1.67 0.00 1.67 0.00 0.00 22.55 0.00 19:03:57 18:56:01 54.72 11.63 43.09 0.00 5177.80 8522.71 0.00 19:03:57 18:57:01 6.18 0.02 6.17 0.00 0.13 122.91 0.00 19:03:57 18:58:01 1.25 0.00 1.25 0.00 0.00 13.33 0.00 19:03:57 18:59:01 2.07 0.00 2.07 0.00 0.00 23.33 0.00 19:03:57 19:00:01 0.95 0.00 0.95 0.00 0.00 10.26 0.00 19:03:57 19:01:02 1.85 0.00 1.85 0.00 0.00 20.13 0.00 19:03:57 19:02:01 1.03 0.00 1.03 0.00 0.00 16.13 0.00 19:03:57 19:03:01 3.43 1.60 1.83 0.00 37.19 21.86 0.00 19:03:57 Average: 47.25 2.10 45.14 0.00 587.01 11820.53 0.00 19:03:57 19:03:57 18:51:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:03:57 18:52:01 28994720 31518760 790320 2.40 84152 2702112 1980780 5.84 1068976 2419144 181352 19:03:57 18:53:01 28051448 31460972 841104 2.56 152876 3415880 1910004 5.63 1284820 3040432 213996 19:03:57 18:54:01 27615412 31555280 750112 2.28 165452 3903156 1776044 5.23 1276812 3453076 88 19:03:57 18:55:01 27615344 31555312 749644 2.28 165508 3903156 1776044 5.23 1276960 3453076 16 19:03:57 18:56:01 27132320 31531688 744216 2.26 194564 4328284 1732156 5.10 1591060 3589636 1016 19:03:57 18:57:01 27145260 31539772 735420 2.24 193092 4325032 1693120 4.99 1577212 3586432 12 19:03:57 18:58:01 27145460 31540016 735132 2.24 193132 4325036 1693120 4.99 1577100 3586436 4 19:03:57 18:59:01 27150420 31545100 729956 2.22 193224 4325032 1693120 4.99 1572084 3586440 4 19:03:57 19:00:01 27150580 31545304 729900 2.22 193256 4325040 1693120 4.99 1572192 3586440 16 19:03:57 19:01:02 27152516 31547284 727856 2.21 193292 4325044 1693120 4.99 1569844 3586444 8 19:03:57 19:02:01 27153216 31548020 727052 2.21 193324 4325044 1693120 4.99 1569480 3586444 56 19:03:57 19:03:01 27145556 31542460 732432 2.23 193376 4326160 1693120 4.99 1577656 3586804 8 19:03:57 Average: 27454354 31535831 749429 2.28 176271 4044081 1752239 5.16 1459516 3421734 33048 19:03:57 19:03:57 18:51:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:03:57 18:52:01 ens3 438.46 313.60 5488.43 107.48 0.00 0.00 0.00 0.00 19:03:57 18:52:01 lo 5.93 5.93 0.58 0.58 0.00 0.00 0.00 0.00 19:03:57 18:52:01 vethe6b2677 105.20 139.54 10.43 435.15 0.00 0.00 0.00 0.04 19:03:57 18:52:01 docker0 131.51 168.29 11.00 666.40 0.00 0.00 0.00 0.00 19:03:57 18:53:01 ens3 239.66 114.58 1958.05 20.04 0.00 0.00 0.00 0.00 19:03:57 18:53:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:03:57 18:53:01 vethe95c923 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 19:03:57 18:53:01 docker0 98.27 211.98 8.37 1929.13 0.00 0.00 0.00 0.00 19:03:57 18:54:01 ens3 122.30 77.55 2660.42 19.58 0.00 0.00 0.00 0.00 19:03:57 18:54:01 lo 1.93 1.93 0.20 0.20 0.00 0.00 0.00 0.00 19:03:57 18:54:01 docker0 3.58 7.18 0.21 62.37 0.00 0.00 0.00 0.00 19:03:57 18:55:01 ens3 2.72 1.22 2.20 0.58 0.00 0.00 0.00 0.00 19:03:57 18:55:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:03:57 18:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:03:57 18:56:01 ens3 187.29 85.69 2729.81 6.29 0.00 0.00 0.00 0.00 19:03:57 18:56:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 19:03:57 18:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:03:57 18:57:01 ens3 3.53 0.62 0.45 0.23 0.00 0.00 0.00 0.00 19:03:57 18:57:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:03:57 18:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:03:57 18:58:01 ens3 2.45 0.02 0.10 0.00 0.00 0.00 0.00 0.00 19:03:57 18:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:03:57 18:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:03:57 18:59:01 ens3 2.58 0.32 0.39 0.08 0.00 0.00 0.00 0.00 19:03:57 18:59:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:03:57 18:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:03:57 19:00:01 ens3 2.53 1.25 1.11 0.82 0.00 0.00 0.00 0.00 19:03:57 19:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:03:57 19:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:03:57 19:01:02 ens3 0.90 0.38 0.35 0.27 0.00 0.00 0.00 0.00 19:03:57 19:01:02 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:03:57 19:01:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:03:57 19:02:01 ens3 1.29 0.12 0.17 0.07 0.00 0.00 0.00 0.00 19:03:57 19:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:03:57 19:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:03:57 19:03:01 ens3 9.53 5.93 6.04 6.24 0.00 0.00 0.00 0.00 19:03:57 19:03:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 19:03:57 19:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:03:57 Average: ens3 84.55 50.17 1072.09 13.49 0.00 0.00 0.00 0.00 19:03:57 Average: lo 0.81 0.81 0.08 0.08 0.00 0.00 0.00 0.00 19:03:57 Average: docker0 19.47 32.33 1.63 221.79 0.00 0.00 0.00 0.00 19:03:57 19:03:57 19:03:57 ---> sar -P ALL: 19:03:57 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-17062) 11/08/23 _x86_64_ (8 CPU) 19:03:57 19:03:57 18:50:16 LINUX RESTART (8 CPU) 19:03:57 19:03:57 18:51:01 CPU %user %nice %system %iowait %steal %idle 19:03:57 18:52:01 all 6.29 0.00 2.71 5.48 0.05 85.47 19:03:57 18:52:01 0 7.04 0.00 2.49 0.87 0.05 89.55 19:03:57 18:52:01 1 6.47 0.00 3.24 1.37 0.05 88.88 19:03:57 18:52:01 2 7.14 0.00 2.88 1.19 0.07 88.72 19:03:57 18:52:01 3 6.84 0.00 2.97 8.06 0.05 82.08 19:03:57 18:52:01 4 5.41 0.00 3.22 1.96 0.05 89.36 19:03:57 18:52:01 5 4.85 0.00 2.05 0.56 0.05 92.49 19:03:57 18:52:01 6 6.88 0.00 2.38 13.11 0.05 77.58 19:03:57 18:52:01 7 5.64 0.00 2.47 16.78 0.07 75.04 19:03:57 18:53:01 all 22.15 0.00 3.53 5.75 0.06 68.51 19:03:57 18:53:01 0 22.30 0.00 3.63 1.72 0.05 72.29 19:03:57 18:53:01 1 23.28 0.00 4.49 30.33 0.07 41.84 19:03:57 18:53:01 2 20.24 0.00 3.54 5.13 0.07 71.02 19:03:57 18:53:01 3 20.46 0.00 2.78 4.58 0.05 72.13 19:03:57 18:53:01 4 23.65 0.00 3.54 1.21 0.07 71.53 19:03:57 18:53:01 5 21.44 0.00 2.77 0.79 0.05 74.95 19:03:57 18:53:01 6 22.41 0.00 4.08 1.15 0.07 72.30 19:03:57 18:53:01 7 23.41 0.00 3.45 1.13 0.07 71.94 19:03:57 18:54:01 all 18.45 0.00 3.49 4.63 0.06 73.37 19:03:57 18:54:01 0 18.65 0.00 3.62 1.31 0.05 76.36 19:03:57 18:54:01 1 17.88 0.00 3.28 9.37 0.05 69.41 19:03:57 18:54:01 2 17.56 0.00 3.38 5.86 0.07 73.12 19:03:57 18:54:01 3 19.04 0.00 3.95 15.46 0.08 61.47 19:03:57 18:54:01 4 17.55 0.00 3.69 0.49 0.05 78.22 19:03:57 18:54:01 5 17.18 0.00 3.08 1.32 0.07 78.35 19:03:57 18:54:01 6 20.31 0.00 3.32 1.51 0.07 74.79 19:03:57 18:54:01 7 19.41 0.00 3.58 1.78 0.07 75.16 19:03:57 18:55:01 all 0.22 0.00 0.01 0.01 0.01 99.75 19:03:57 18:55:01 0 0.03 0.00 0.00 0.00 0.02 99.95 19:03:57 18:55:01 1 0.02 0.00 0.02 0.05 0.02 99.90 19:03:57 18:55:01 2 0.00 0.00 0.00 0.00 0.00 100.00 19:03:57 18:55:01 3 0.00 0.00 0.02 0.07 0.02 99.90 19:03:57 18:55:01 4 0.12 0.00 0.00 0.00 0.00 99.88 19:03:57 18:55:01 5 1.47 0.00 0.02 0.00 0.02 98.50 19:03:57 18:55:01 6 0.02 0.00 0.03 0.00 0.00 99.95 19:03:57 18:55:01 7 0.07 0.00 0.02 0.00 0.02 99.90 19:03:57 18:56:01 all 2.51 0.00 1.31 1.49 0.03 94.66 19:03:57 18:56:01 0 3.45 0.00 1.42 2.67 0.02 92.44 19:03:57 18:56:01 1 2.26 0.00 1.25 3.31 0.03 93.15 19:03:57 18:56:01 2 4.01 0.00 1.04 0.28 0.03 94.64 19:03:57 18:56:01 3 1.87 0.00 1.85 2.40 0.03 93.84 19:03:57 18:56:01 4 1.67 0.00 1.22 0.97 0.02 96.13 19:03:57 18:56:01 5 1.41 0.00 0.84 1.47 0.03 96.25 19:03:57 18:56:01 6 2.29 0.00 1.44 0.18 0.03 96.06 19:03:57 18:56:01 7 3.15 0.00 1.41 0.64 0.03 94.77 19:03:57 18:57:01 all 0.18 0.00 0.05 0.01 0.00 99.75 19:03:57 18:57:01 0 0.23 0.00 0.10 0.00 0.00 99.67 19:03:57 18:57:01 1 0.07 0.00 0.03 0.00 0.02 99.88 19:03:57 18:57:01 2 0.02 0.00 0.07 0.10 0.00 99.82 19:03:57 18:57:01 3 0.02 0.00 0.03 0.00 0.00 99.95 19:03:57 18:57:01 4 0.05 0.00 0.03 0.00 0.00 99.92 19:03:57 18:57:01 5 0.91 0.00 0.08 0.00 0.00 99.01 19:03:57 18:57:01 6 0.07 0.00 0.03 0.00 0.00 99.90 19:03:57 18:57:01 7 0.05 0.00 0.05 0.00 0.02 99.88 19:03:57 18:58:01 all 0.27 0.00 0.01 0.00 0.01 99.71 19:03:57 18:58:01 0 0.00 0.00 0.02 0.00 0.02 99.97 19:03:57 18:58:01 1 0.03 0.00 0.05 0.00 0.03 99.88 19:03:57 18:58:01 2 0.00 0.00 0.00 0.03 0.02 99.95 19:03:57 18:58:01 3 0.00 0.00 0.00 0.00 0.00 100.00 19:03:57 18:58:01 4 0.02 0.00 0.00 0.00 0.00 99.98 19:03:57 18:58:01 5 1.99 0.00 0.02 0.00 0.02 97.98 19:03:57 18:58:01 6 0.03 0.00 0.00 0.00 0.02 99.95 19:03:57 18:58:01 7 0.03 0.00 0.00 0.00 0.00 99.97 19:03:57 18:59:01 all 0.21 0.00 0.02 0.03 0.00 99.74 19:03:57 18:59:01 0 0.00 0.00 0.02 0.00 0.00 99.98 19:03:57 18:59:01 1 0.03 0.00 0.03 0.00 0.02 99.92 19:03:57 18:59:01 2 0.02 0.00 0.00 0.22 0.00 99.77 19:03:57 18:59:01 3 0.00 0.00 0.00 0.00 0.00 100.00 19:03:57 18:59:01 4 0.02 0.00 0.02 0.00 0.00 99.97 19:03:57 18:59:01 5 1.57 0.00 0.02 0.00 0.00 98.42 19:03:57 18:59:01 6 0.02 0.00 0.02 0.00 0.00 99.97 19:03:57 18:59:01 7 0.03 0.00 0.03 0.00 0.02 99.92 19:03:57 19:00:01 all 0.03 0.00 0.01 0.03 0.01 99.91 19:03:57 19:00:01 0 0.02 0.00 0.03 0.00 0.02 99.93 19:03:57 19:00:01 1 0.05 0.00 0.03 0.00 0.05 99.87 19:03:57 19:00:01 2 0.00 0.00 0.02 0.23 0.02 99.73 19:03:57 19:00:01 3 0.02 0.00 0.00 0.00 0.00 99.98 19:03:57 19:00:01 4 0.05 0.00 0.00 0.00 0.00 99.95 19:03:57 19:00:01 5 0.02 0.00 0.00 0.00 0.02 99.97 19:03:57 19:00:01 6 0.03 0.00 0.02 0.00 0.00 99.95 19:03:57 19:00:01 7 0.03 0.00 0.02 0.00 0.02 99.93 19:03:57 19:01:02 all 0.02 0.00 0.02 0.00 0.01 99.95 19:03:57 19:01:02 0 0.02 0.00 0.00 0.00 0.00 99.98 19:03:57 19:01:02 1 0.02 0.00 0.07 0.00 0.02 99.90 19:03:57 19:01:02 2 0.00 0.00 0.02 0.03 0.00 99.95 19:03:57 19:01:02 3 0.02 0.00 0.02 0.00 0.02 99.95 19:03:57 19:01:02 4 0.05 0.00 0.02 0.00 0.02 99.92 19:03:57 19:01:02 5 0.00 0.00 0.00 0.00 0.02 99.98 19:03:57 19:01:02 6 0.02 0.00 0.00 0.00 0.00 99.98 19:03:57 19:01:02 7 0.03 0.00 0.02 0.00 0.00 99.95 19:03:57 19:02:01 all 0.06 0.00 0.00 0.01 0.01 99.92 19:03:57 19:02:01 0 0.00 0.00 0.02 0.00 0.00 99.98 19:03:57 19:02:01 1 0.02 0.00 0.00 0.00 0.03 99.95 19:03:57 19:02:01 2 0.00 0.00 0.00 0.05 0.02 99.93 19:03:57 19:02:01 3 0.00 0.00 0.00 0.00 0.00 100.00 19:03:57 19:02:01 4 0.36 0.00 0.00 0.00 0.00 99.64 19:03:57 19:02:01 5 0.02 0.00 0.02 0.00 0.00 99.97 19:03:57 19:02:01 6 0.05 0.00 0.00 0.00 0.02 99.93 19:03:57 19:02:01 7 0.03 0.00 0.00 0.00 0.00 99.97 19:03:57 19:03:57 19:02:01 CPU %user %nice %system %iowait %steal %idle 19:03:57 19:03:01 all 0.29 0.00 0.03 0.02 0.01 99.65 19:03:57 19:03:01 0 0.08 0.00 0.03 0.02 0.02 99.85 19:03:57 19:03:01 1 0.37 0.00 0.07 0.03 0.03 99.50 19:03:57 19:03:01 2 0.07 0.00 0.05 0.08 0.00 99.80 19:03:57 19:03:01 3 0.12 0.00 0.03 0.00 0.00 99.85 19:03:57 19:03:01 4 0.20 0.00 0.02 0.00 0.00 99.78 19:03:57 19:03:01 5 0.08 0.00 0.02 0.02 0.02 99.87 19:03:57 19:03:01 6 1.23 0.00 0.02 0.00 0.00 98.75 19:03:57 19:03:01 7 0.15 0.00 0.03 0.00 0.02 99.80 19:03:57 Average: all 4.20 0.00 0.93 1.45 0.02 93.40 19:03:57 Average: 0 4.31 0.00 0.95 0.55 0.02 94.18 19:03:57 Average: 1 4.18 0.00 1.04 3.68 0.03 91.06 19:03:57 Average: 2 4.07 0.00 0.91 1.10 0.02 93.90 19:03:57 Average: 3 4.02 0.00 0.97 2.53 0.02 92.46 19:03:57 Average: 4 4.07 0.00 0.97 0.38 0.02 94.56 19:03:57 Average: 5 4.23 0.00 0.74 0.35 0.02 94.66 19:03:57 Average: 6 4.43 0.00 0.94 1.32 0.02 93.29 19:03:57 Average: 7 4.32 0.00 0.92 1.68 0.03 93.06 19:03:57 19:03:57 19:03:57