Pull request #384 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38+402bee10dda5ca46600812a85f59fdfe6bf70583 (115f9c136fd77289a8e91c3b0afb4fbe6120a1d0) 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-ssh6202570617833955694.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh6045908695271402136.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-384/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-384/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13189476310970158750.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-384/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2838188979372384620.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh1408092199631008131.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-384/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-384/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18418762102960620016.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5277 in /w/workspace/gexfoundry_device-rest-go_PR-384 [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-384 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 402bee10dda5ca46600812a85f59fdfe6bf70583 into PR head commit c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 Merge succeeded, producing c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 Checking out Revision c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 (PR-384) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/384/head:refs/remotes/origin/PR-384 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 # 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 402bee10dda5ca46600812a85f59fdfe6bf70583 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:20:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:20:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:20:45 ========================================================= 20:20:45 EdgeX Global Pipelines Version Info 20:20:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:20:46 ------------------- 20:20:46 stable info: 20:20:46 ------------------- 20:20:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:20:46 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:20:46 Message: update stable to v1.0.258 20:20:47 ------------------- 20:20:47 experimental info: 20:20:47 ------------------- 20:20:47 Commited By: **** collab-it+edgex@linuxfoundation.org 20:20:47 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:20:47 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:20:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:20:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:20:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:20:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:20:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:20:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:20:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:20:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:20:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:20:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:20:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:20:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:20:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:20:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:20:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:20:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:20:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:20:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:20:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:20:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:20:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:20:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:20:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:20:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:20:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:20:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:20:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:20:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-384 [Pipeline] echo 20:20:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-384 [Pipeline] echo 20:20:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-384 [Pipeline] echo 20:20:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 [Pipeline] echo 20:20:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c9e9d67 [Pipeline] echo 20:20:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:20:50 provisioning config files... 20:20:50 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-384@tmp/config17866693651941679008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:20:50 ---> ****-login.sh 20:20:50 nexus3.edgexfoundry.org:10001 20:20:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:20:50 Configure a credential helper to remove this warning. See 20:20:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:20:50 20:20:50 Login Succeeded 20:20:50 nexus3.edgexfoundry.org:10002 20:20:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:20:51 Configure a credential helper to remove this warning. See 20:20:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:20:51 20:20:51 Login Succeeded 20:20:51 nexus3.edgexfoundry.org:10003 20:20:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:20:51 Configure a credential helper to remove this warning. See 20:20:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:20:51 20:20:51 Login Succeeded 20:20:51 nexus3.edgexfoundry.org:10004 20:20:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:20:51 Configure a credential helper to remove this warning. See 20:20:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:20:51 20:20:51 Login Succeeded 20:20:51 ****.io 20:20:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:20:51 Configure a credential helper to remove this warning. See 20:20:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:20:51 20:20:51 Login Succeeded 20:20:51 ---> ****-login.sh ends [Pipeline] } 20:20:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:20:52 + git rev-list -1 --merges c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38~1..c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 [Pipeline] echo 20:20:52 -----------> git rev-list -1 --merges c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38~1..c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 [false] [Pipeline] sh 20:20:52 + git log --format=format:%s -1 c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 [Pipeline] echo 20:20:52 ========================================================= 20:20:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:20:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:20:57 + git log --format=format:%s -1 c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 [Pipeline] echo 20:20:57 [semverPrep] GIT_COMMIT: c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:20:57 [semverPrep] This is not a build commit. [Pipeline] sh 20:20:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:20:57 + grep -v github /etc/ssh/ssh_known_hosts 20:20:57 + [ -e /tmp/ssh_known_hosts ] 20:20:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:20:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:20:57 + sudo tee -a /etc/ssh/ssh_known_hosts 20:20:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:20:58 20:20:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:20:58 0.1.4: Pulling from edgex-devops/py-git-semver 20:20:58 b85a868b505f: Pulling fs layer 20:20:58 e2be974225ed: Pulling fs layer 20:20:58 339a4e72a1f5: Pulling fs layer 20:20:58 988bab9f4d93: Pulling fs layer 20:20:58 1469e6f7b9e6: Pulling fs layer 20:20:58 988bab9f4d93: Waiting 20:20:58 eaf3925da568: Pulling fs layer 20:20:58 bab4dde63d76: Pulling fs layer 20:20:58 bde34c3a00c8: Pulling fs layer 20:20:58 eaf3925da568: Waiting 20:20:58 bab4dde63d76: Waiting 20:20:58 b352a97aabf1: Pulling fs layer 20:20:58 bde34c3a00c8: Waiting 20:20:58 4872d77fe225: Pulling fs layer 20:20:58 b352a97aabf1: Waiting 20:20:58 4872d77fe225: Waiting 20:20:58 5851b861e8e6: Pulling fs layer 20:20:58 5851b861e8e6: Waiting 20:20:58 e2be974225ed: Verifying Checksum 20:20:58 e2be974225ed: Download complete 20:20:58 988bab9f4d93: Download complete 20:20:59 1469e6f7b9e6: Verifying Checksum 20:20:59 1469e6f7b9e6: Download complete 20:20:59 339a4e72a1f5: Verifying Checksum 20:20:59 339a4e72a1f5: Download complete 20:20:59 eaf3925da568: Verifying Checksum 20:20:59 eaf3925da568: Download complete 20:20:59 bde34c3a00c8: Verifying Checksum 20:20:59 bde34c3a00c8: Download complete 20:20:59 b352a97aabf1: Verifying Checksum 20:20:59 b352a97aabf1: Download complete 20:20:59 4872d77fe225: Download complete 20:20:59 5851b861e8e6: Verifying Checksum 20:20:59 5851b861e8e6: Download complete 20:20:59 b85a868b505f: Download complete 20:20:59 bab4dde63d76: Verifying Checksum 20:20:59 bab4dde63d76: Download complete 20:21:00 b85a868b505f: Pull complete 20:21:00 e2be974225ed: Pull complete 20:21:01 339a4e72a1f5: Pull complete 20:21:01 988bab9f4d93: Pull complete 20:21:01 1469e6f7b9e6: Pull complete 20:21:01 eaf3925da568: Pull complete 20:21:03 bab4dde63d76: Pull complete 20:21:03 bde34c3a00c8: Pull complete 20:21:03 b352a97aabf1: Pull complete 20:21:03 4872d77fe225: Pull complete 20:21:03 5851b861e8e6: Pull complete 20:21:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:21:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:21:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:21:03 prd-ubuntu20.04-docker-8c-8g-5277 does not seem to be running inside a container 20:21:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-384 -v /w/workspace/gexfoundry_device-rest-go_PR-384:/w/workspace/gexfoundry_device-rest-go_PR-384:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-384@tmp:/w/workspace/gexfoundry_device-rest-go_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:21:06 $ docker top 5c6a04d6a7631e9ef30e5bde64e0f732748254a809430c8e3f00c70806792e9f -eo pid,comm 20:21:06 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). 20:21:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:21:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:21:06 [ssh-agent] Looking for ssh-agent implementation... 20:21:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:21:07 $ docker exec 5c6a04d6a7631e9ef30e5bde64e0f732748254a809430c8e3f00c70806792e9f ssh-agent 20:21:07 SSH_AUTH_SOCK=/tmp/ssh-1eIcV9RVe2tg/agent.32 20:21:07 SSH_AGENT_PID=38 20:21:07 Running ssh-add (command line suppressed) 20:21:07 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-384@tmp/private_key_14644103658353427768.key (/w/workspace/gexfoundry_device-rest-go_PR-384@tmp/private_key_14644103658353427768.key) 20:21:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:21:07 + git tag --points-at HEAD [Pipeline] } 20:21:07 $ docker exec --env ******** --env ******** 5c6a04d6a7631e9ef30e5bde64e0f732748254a809430c8e3f00c70806792e9f ssh-agent -k 20:21:07 unset SSH_AUTH_SOCK; 20:21:07 unset SSH_AGENT_PID; 20:21:07 echo Agent pid 38 killed; 20:21:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:21:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:21:07 [ssh-agent] Looking for ssh-agent implementation... 20:21:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:21:08 $ docker exec 5c6a04d6a7631e9ef30e5bde64e0f732748254a809430c8e3f00c70806792e9f ssh-agent 20:21:08 SSH_AUTH_SOCK=/tmp/ssh-QM87FogMUzGS/agent.70 20:21:08 SSH_AGENT_PID=76 20:21:08 Running ssh-add (command line suppressed) 20:21:08 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-384@tmp/private_key_4593857592540272118.key (/w/workspace/gexfoundry_device-rest-go_PR-384@tmp/private_key_4593857592540272118.key) 20:21:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:21:08 + git semver init 20:21:08 2024-03-08 20:21:08,795 [run_init] DEBUG init version:0.0.0 force:False 20:21:08 2024-03-08 20:21:08,796 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-384/.semver 20:21:08 2024-03-08 20:21:08,796 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-384/.semver 20:21:08 2024-03-08 20:21:08,796 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-384/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-384, universal_newlines=False, shell=None, istream=None) 20:21:28 2024-03-08 20:21:27,073 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-384/.git/info/exclude 20:21:28 2024-03-08 20:21:27,073 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-384/.semver/PR-384 with force:False 20:21:28 2024-03-08 20:21:27,073 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-384/.semver/PR-384 20:21:28 2024-03-08 20:21:27,077 [execute] INFO git cat-file --batch-check 20:21:28 2024-03-08 20:21:27,078 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-384/.semver, universal_newlines=False, shell=None, istream=) 20:21:28 2024-03-08 20:21:27,084 [execute] INFO git cat-file --batch 20:21:28 2024-03-08 20:21:27,084 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-384/.semver, universal_newlines=False, shell=None, istream=) 20:21:28 2024-03-08 20:21:27,088 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-384/.semver/PR-384 20:21:28 0.0.0 [Pipeline] } 20:21:28 $ docker exec --env ******** --env ******** 5c6a04d6a7631e9ef30e5bde64e0f732748254a809430c8e3f00c70806792e9f ssh-agent -k 20:21:28 unset SSH_AUTH_SOCK; 20:21:28 unset SSH_AGENT_PID; 20:21:28 echo Agent pid 76 killed; 20:21:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:21:29 + git semver [Pipeline] } 20:21:29 $ docker stop --time=1 5c6a04d6a7631e9ef30e5bde64e0f732748254a809430c8e3f00c70806792e9f 20:21:30 $ docker rm -f --volumes 5c6a04d6a7631e9ef30e5bde64e0f732748254a809430c8e3f00c70806792e9f [Pipeline] // withDockerContainer [Pipeline] sh 20:21:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:21:31 Stashed 1 file(s) [Pipeline] echo 20:21:31 [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 20:21:32 provisioning config files... 20:21:33 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-384@tmp/config12848361383320418075tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:21:36 ---> ****-login.sh 20:21:36 nexus3.edgexfoundry.org:10001 20:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:21:36 Configure a credential helper to remove this warning. See 20:21:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:21:36 20:21:36 Login Succeeded 20:21:36 nexus3.edgexfoundry.org:10002 20:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:21:36 Configure a credential helper to remove this warning. See 20:21:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:21:36 20:21:36 Login Succeeded 20:21:36 nexus3.edgexfoundry.org:10003 20:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:21:36 Configure a credential helper to remove this warning. See 20:21:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:21:36 20:21:36 Login Succeeded 20:21:36 nexus3.edgexfoundry.org:10004 20:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:21:36 Configure a credential helper to remove this warning. See 20:21:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:21:36 20:21:36 Login Succeeded 20:21:36 ****.io 20:21:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:21:37 Configure a credential helper to remove this warning. See 20:21:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:21:37 20:21:37 Login Succeeded 20:21:37 ---> ****-login.sh ends [Pipeline] } 20:21:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:21:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:21:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:21:37 ========================================================= 20:21:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:21:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:38 + 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 . 20:21:38 Sending build context to Docker daemon 16.33MB 20:21:38 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:21:38 Step 2/12 : FROM ${BASE} AS builder 20:21:38 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:21:38 7264a8db6415: Pulling fs layer 20:21:38 c4d48a809fc2: Pulling fs layer 20:21:38 4f1c88b9dad5: Pulling fs layer 20:21:38 ad3a456e5733: Pulling fs layer 20:21:38 69c7f0334f64: Pulling fs layer 20:21:38 1f1c1a5573a3: Pulling fs layer 20:21:38 ce7588e14bc9: Pulling fs layer 20:21:38 b5e4710f87ac: Pulling fs layer 20:21:38 ad3a456e5733: Waiting 20:21:38 69c7f0334f64: Waiting 20:21:38 1f1c1a5573a3: Waiting 20:21:38 ce7588e14bc9: Waiting 20:21:38 b5e4710f87ac: Waiting 20:21:38 c4d48a809fc2: Download complete 20:21:38 ad3a456e5733: Verifying Checksum 20:21:38 ad3a456e5733: Download complete 20:21:38 69c7f0334f64: Verifying Checksum 20:21:38 69c7f0334f64: Download complete 20:21:38 7264a8db6415: Verifying Checksum 20:21:38 7264a8db6415: Download complete 20:21:38 1f1c1a5573a3: Verifying Checksum 20:21:38 1f1c1a5573a3: Download complete 20:21:38 7264a8db6415: Pull complete 20:21:38 b5e4710f87ac: Download complete 20:21:38 c4d48a809fc2: Pull complete 20:21:39 4f1c88b9dad5: Verifying Checksum 20:21:39 4f1c88b9dad5: Download complete 20:21:39 ce7588e14bc9: Verifying Checksum 20:21:39 ce7588e14bc9: Download complete 20:21:41 4f1c88b9dad5: Pull complete 20:21:42 ad3a456e5733: Pull complete 20:21:42 69c7f0334f64: Pull complete 20:21:42 1f1c1a5573a3: Pull complete 20:21:44 ce7588e14bc9: Pull complete 20:21:45 b5e4710f87ac: Pull complete 20:21:45 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 20:21:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:21:45 ---> 88b5674ff536 20:21:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:21:47 Still waiting to schedule task 20:21:47 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:21:49 ---> Running in b5f4abfc4468 20:21:49 Removing intermediate container b5f4abfc4468 20:21:49 ---> 1f0e653d1021 20:21:49 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:21:49 ---> Running in 8330a072bd3d 20:21:49 Removing intermediate container 8330a072bd3d 20:21:49 ---> 68b8f663ee12 20:21:49 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:21:49 ---> Running in 82766c0b6ce2 20:21:49 Removing intermediate container 82766c0b6ce2 20:21:49 ---> 1f051a55abfa 20:21:49 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:21:49 ---> Running in 4aaf7e02f2c3 20:21:49 Removing intermediate container 4aaf7e02f2c3 20:21:49 ---> 0fffceb10944 20:21:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:21:49 ---> Running in bc2e77b5728f 20:21:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:21:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:21:50 (1/4) Installing openssh-keygen (9.3_p2-r1) 20:21:50 (2/4) Installing libedit (20221030.3.1-r1) 20:21:50 (3/4) Installing openssh-client-common (9.3_p2-r1) 20:21:50 (4/4) Installing openssh-client-default (9.3_p2-r1) 20:21:50 Executing busybox-1.36.1-r5.trigger 20:21:50 OK: 268 MiB in 56 packages 20:21:52 Removing intermediate container bc2e77b5728f 20:21:52 ---> 59523144d973 20:21:52 Step 8/12 : WORKDIR /device-rest-go 20:21:52 ---> Running in 3989cc6f9518 20:21:52 Removing intermediate container 3989cc6f9518 20:21:52 ---> a245dc08d42b 20:21:52 Step 9/12 : COPY go.mod vendor* ./ 20:21:52 ---> fc4b722ca816 20:21:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:21:52 ---> Running in 4c3394e7db5b 20:22:27 Removing intermediate container 4c3394e7db5b 20:22:27 ---> 732b0bcd669e 20:22:27 Step 11/12 : COPY . . 20:22:27 ---> 7bff275162fb 20:22:27 Step 12/12 : RUN $MAKE 20:22:27 ---> Running in 4a91e12b700c 20:22:27 noop 20:22:27 Removing intermediate container 4a91e12b700c 20:22:27 ---> 83b7c724ca2d 20:22:27 Successfully built 83b7c724ca2d 20:22:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:28 + docker inspect -f . ci-base-image-x86_64 20:22:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:22:28 prd-ubuntu20.04-docker-8c-8g-5277 does not seem to be running inside a container 20:22:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-384 -v /w/workspace/gexfoundry_device-rest-go_PR-384:/w/workspace/gexfoundry_device-rest-go_PR-384:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-384@tmp:/w/workspace/gexfoundry_device-rest-go_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:22:28 $ docker top 26345f2433e45e3e769815e5be1c291a6e6b516bf2ce58242198d27ff44b7650 -eo pid,comm [Pipeline] { [Pipeline] sh 20:22:29 + go version 20:22:29 go version go1.21.0 linux/amd64 [Pipeline] } 20:22:29 $ docker stop --time=1 26345f2433e45e3e769815e5be1c291a6e6b516bf2ce58242198d27ff44b7650 20:22:30 $ docker rm -f --volumes 26345f2433e45e3e769815e5be1c291a6e6b516bf2ce58242198d27ff44b7650 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:31 + docker inspect -f . ci-base-image-x86_64 20:22:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:22:32 prd-ubuntu20.04-docker-8c-8g-5277 does not seem to be running inside a container 20:22:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-384 -v /w/workspace/gexfoundry_device-rest-go_PR-384:/w/workspace/gexfoundry_device-rest-go_PR-384:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-384@tmp:/w/workspace/gexfoundry_device-rest-go_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:22:32 $ docker top fb7cea2e6d6631b7685da7e6ad17c5315a8ef89598e7f6aeb428e40513d29658 -eo pid,comm [Pipeline] { [Pipeline] sh 20:22:32 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-384 [Pipeline] fileExists [Pipeline] sh 20:22:33 + make test 20:22:33 go test ./... -coverprofile=coverage.out ./... 20:22:34 ? github.com/edgexfoundry/device-rest-go [no test files] 20:22:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:22:45 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.2% of statements 20:22:51 go vet ./... 20:22:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:22:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:22:54 ./bin/test-attribution-txt.sh 20:22:54 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 20:22:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:22:54 $ docker stop --time=1 fb7cea2e6d6631b7685da7e6ad17c5315a8ef89598e7f6aeb428e40513d29658 20:22:57 $ docker rm -f --volumes fb7cea2e6d6631b7685da7e6ad17c5315a8ef89598e7f6aeb428e40513d29658 [Pipeline] // withDockerContainer [Pipeline] sh 20:22:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:22:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:22:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:22:59 + ls -al . 20:22:59 total 180 20:22:59 drwxrwxr-x 9 jenkins jenkins 4096 Mar 8 20:22 . 20:22:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 20:20 .. 20:22:59 -rw-rw-r-- 1 jenkins jenkins 151 Mar 8 20:20 .dockerignore 20:22:59 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 20:22 .git 20:22:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 20:20 .github 20:22:59 -rw-rw-r-- 1 jenkins jenkins 264 Mar 8 20:20 .gitignore 20:22:59 -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 20:20 .golangci.yml 20:22:59 drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 20:21 .semver 20:22:59 -rw-rw-r-- 1 jenkins jenkins 10300 Mar 8 20:20 Attribution.txt 20:22:59 -rw-rw-r-- 1 jenkins jenkins 17685 Mar 8 20:20 CHANGELOG.md 20:22:59 -rw-rw-r-- 1 jenkins jenkins 1687 Mar 8 20:20 Dockerfile 20:22:59 -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 20:20 GOVERNANCE.md 20:22:59 -rw-rw-r-- 1 jenkins jenkins 680 Mar 8 20:20 Jenkinsfile 20:22:59 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 20:20 LICENSE 20:22:59 -rw-rw-r-- 1 jenkins jenkins 2016 Mar 8 20:20 Makefile 20:22:59 -rw-rw-r-- 1 jenkins jenkins 620 Mar 8 20:20 OWNERS.md 20:22:59 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 8 20:20 README.md 20:22:59 -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 20:21 VERSION 20:22:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 20:20 bin 20:22:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 20:20 cmd 20:22:59 -rw-r--r-- 1 jenkins jenkins 14499 Mar 8 20:22 coverage.out 20:22:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 20:20 driver 20:22:59 -rw-rw-r-- 1 jenkins jenkins 3936 Mar 8 20:20 go.mod 20:22:59 -rw-rw-r-- 1 jenkins jenkins 36216 Mar 8 20:20 go.sum 20:22:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 20:20 openapi 20:22:59 -rw-rw-r-- 1 jenkins jenkins 713 Mar 8 20:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:59 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 --label arch=amd64 --label version=0.0.0 . 20:22:59 Sending build context to Docker daemon 16.35MB 20:22:59 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:22:59 Step 2/26 : FROM ${BASE} AS builder 20:22:59 ---> 83b7c724ca2d 20:22:59 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:22:59 ---> Running in f40c2a06fbe0 20:22:59 Removing intermediate container f40c2a06fbe0 20:22:59 ---> 74dd71d03228 20:22:59 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:22:59 ---> Running in 1b284c8b555d 20:22:59 Removing intermediate container 1b284c8b555d 20:22:59 ---> b7b9420fdd34 20:22:59 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:22:59 ---> Running in aad41f2f4acb 20:22:59 Removing intermediate container aad41f2f4acb 20:22:59 ---> 49cb31da113b 20:22:59 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:23:00 ---> Running in c27aeac3f148 20:23:00 Removing intermediate container c27aeac3f148 20:23:00 ---> f7ae1fc2bfc5 20:23:00 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:23:00 ---> Running in c3585268e309 20:23:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:23:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:23:00 OK: 268 MiB in 56 packages 20:23:01 Removing intermediate container c3585268e309 20:23:01 ---> a264929b8994 20:23:01 Step 8/26 : WORKDIR /device-rest-go 20:23:01 ---> Running in f7b9618e8715 20:23:01 Removing intermediate container f7b9618e8715 20:23:01 ---> 7852bf9a1a2a 20:23:01 Step 9/26 : COPY go.mod vendor* ./ 20:23:01 ---> 94e676db9de3 20:23:01 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:23:01 ---> Running in c652ac09708b 20:23:02 Removing intermediate container c652ac09708b 20:23:02 ---> 3859b944dfb1 20:23:02 Step 11/26 : COPY . . 20:23:02 ---> aea0b29cec11 20:23:02 Step 12/26 : RUN $MAKE 20:23:02 ---> Running in 4b2e83e840da 20:23:02 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.10" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:23:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5278 in /w/workspace/gexfoundry_device-rest-go_PR-384 [Pipeline] { [Pipeline] ws 20:23:23 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:23:24 Removing intermediate container 4b2e83e840da 20:23:24 ---> 93b966fab5f8 20:23:24 Step 13/26 : FROM alpine:3.18 20:23:24 3.18: Pulling from library/alpine 20:23:24 619be1103602: Pulling fs layer 20:23:24 619be1103602: Verifying Checksum 20:23:24 619be1103602: Download complete 20:23:24 619be1103602: Pull complete 20:23:24 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 20:23:24 Status: Downloaded newer image for alpine:3.18 20:23:24 ---> d3782b16ccc9 20:23:24 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:23:24 ---> Running in 07edfba692c2 20:23:24 Removing intermediate container 07edfba692c2 20:23:24 ---> 61f378312d68 20:23:24 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:23:24 ---> Running in 741dd35c9f08 20:23:24 Removing intermediate container 741dd35c9f08 20:23:24 ---> 87cb9bd29034 20:23:24 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:23:24 ---> Running in 5d830a13b800 20:23:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:23:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:23:24 (1/1) Installing dumb-init (1.2.5-r2) 20:23:24 Executing busybox-1.36.1-r5.trigger 20:23:24 OK: 7 MiB in 16 packages 20:23:24 Removing intermediate container 5d830a13b800 20:23:24 ---> 9753e17e2da4 20:23:24 Step 17/26 : RUN apk --no-cache upgrade 20:23:24 ---> Running in 533b243f4ab6 20:23:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:23:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:23:24 OK: 7 MiB in 16 packages 20:23:24 Removing intermediate container 533b243f4ab6 20:23:24 ---> 2c6bbb2c201d 20:23:24 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:23:24 ---> 49c705240fca 20:23:24 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:23:25 ---> 3231289653e7 20:23:25 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:23:25 ---> f347a61e8635 20:23:25 Step 21/26 : EXPOSE 59986 20:23:25 ---> Running in b64a35e68a9a 20:23:25 Removing intermediate container b64a35e68a9a 20:23:25 ---> b7785c2fd993 20:23:25 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:23:25 ---> Running in 94d958e2efee 20:23:25 Removing intermediate container 94d958e2efee 20:23:25 ---> 2bd8227b0aa9 20:23:25 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:23:25 ---> Running in bc6febc82a47 20:23:25 Removing intermediate container bc6febc82a47 20:23:25 ---> 830ee076a858 20:23:25 Step 24/26 : LABEL arch=amd64 20:23:25 ---> Running in 46ca67d70c92 20:23:25 Removing intermediate container 46ca67d70c92 20:23:25 ---> 3fcd29ae5d04 20:23:25 Step 25/26 : LABEL git_sha=c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 20:23:25 ---> Running in 512eb406f9ab 20:23:25 Removing intermediate container 512eb406f9ab 20:23:25 ---> 9e6f010a4bcc 20:23:25 Step 26/26 : LABEL version=0.0.0 20:23:25 ---> Running in ce2fa40b5010 20:23:25 Removing intermediate container ce2fa40b5010 20:23:25 ---> 395129f95421 20:23:25 [Warning] One or more build-args [ARCH] were not consumed 20:23:25 Successfully built 395129f95421 20:23:25 Successfully tagged device-rest:latest 20:23:27 The recommended git tool is: git [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 20:23:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:23:28 20:23:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:23:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:23:28 latest: Pulling from edgex-lftools-log-publisher 20:23:28 5eb5b503b376: Pulling fs layer 20:23:28 5c69ac0246d0: Pulling fs layer 20:23:28 ec43610c2a17: Pulling fs layer 20:23:28 3a2ae6a8a46f: Pulling fs layer 20:23:28 33b1e0a273af: Pulling fs layer 20:23:28 5d3b04190fa2: Pulling fs layer 20:23:28 2f39f015ded8: Pulling fs layer 20:23:28 33b1e0a273af: Waiting 20:23:28 5d3b04190fa2: Waiting 20:23:28 2f39f015ded8: Waiting 20:23:28 3a2ae6a8a46f: Waiting 20:23:28 5c69ac0246d0: Verifying Checksum 20:23:28 5c69ac0246d0: Download complete 20:23:28 3a2ae6a8a46f: Verifying Checksum 20:23:28 3a2ae6a8a46f: Download complete 20:23:28 33b1e0a273af: Verifying Checksum 20:23:28 33b1e0a273af: Download complete 20:23:28 5d3b04190fa2: Verifying Checksum 20:23:28 5d3b04190fa2: Download complete 20:23:29 ec43610c2a17: Verifying Checksum 20:23:29 ec43610c2a17: Download complete 20:23:29 5eb5b503b376: Download complete 20:23:29 2f39f015ded8: Download complete 20:23:30 5eb5b503b376: Pull complete 20:23:30 5c69ac0246d0: Pull complete 20:23:30 ec43610c2a17: Pull complete 20:23:30 3a2ae6a8a46f: Pull complete 20:23:30 33b1e0a273af: Pull complete 20:23:31 5d3b04190fa2: Pull complete 20:23:31 using credential edgex-jenkins-ssh 20:23:31 Cloning the remote Git repository 20:23:32 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:23:32 > git init /w/workspace/device-rest-go/1 # timeout=10 20:23:32 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:23:32 > git --version # timeout=10 20:23:32 > git --version # 'git version 2.25.1' 20:23:32 using GIT_SSH to set credentials SSH Credentials for GitHub 20:23:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:23:35 2f39f015ded8: Pull complete 20:23:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:23:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:23:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:23:35 prd-ubuntu20.04-docker-8c-8g-5277 does not seem to be running inside a container 20:23:35 $ 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-384 -v /w/workspace/gexfoundry_device-rest-go_PR-384:/w/workspace/gexfoundry_device-rest-go_PR-384:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-384@tmp:/w/workspace/gexfoundry_device-rest-go_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:23:35 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:23:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:23:36 Merging remotes/origin/main commit 402bee10dda5ca46600812a85f59fdfe6bf70583 into PR head commit c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 20:23:36 Merge succeeded, producing c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 20:23:36 Checking out Revision c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 (PR-384) 20:23:37 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:23:35 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:23:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:23:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:23:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/384/head:refs/remotes/origin/PR-384 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:23:36 > git config core.sparsecheckout # timeout=10 20:23:36 > git checkout -f c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 # timeout=10 20:23:36 > git remote # timeout=10 20:23:36 > git config --get remote.origin.url # timeout=10 20:23:36 using GIT_SSH to set credentials SSH Credentials for GitHub 20:23:36 > git merge 402bee10dda5ca46600812a85f59fdfe6bf70583 # timeout=10 20:23:36 > git rev-parse HEAD^{commit} # timeout=10 20:23:36 > git config core.sparsecheckout # timeout=10 20:23:36 > git checkout -f c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 # timeout=10 20:23:37 > git --version # timeout=10 20:23:37 > git --version # 'git version 2.25.1' 20:23:37 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:23:37 20:23:37 GitHub has been notified of this commit’s build result 20:23:37 20:23:40 $ docker top 60dad4e8139569e635971fd011737ecaf8cb37de649c6624d5833945aa535ce7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 20:23:41 ---> job-cost.sh 20:23:41 lf-activate-venv: SKIPPING 20:23:41 INFO: No Stack... [Pipeline] script [Pipeline] { [Pipeline] sh 20:23:41 INFO: Retrieving Pricing Info for: v3-standard-8 20:23:41 INFO: Archiving Costs [Pipeline] sh 20:23:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:23:41 % Total % Received % Xferd Average Speed Time Time Time Current 20:23:41 Dload Upload Total Spent Left Speed 20:23:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 79185 0 --:--:-- --:--:-- --:--:-- 79185 [Pipeline] sh 20:23:42 + cut -d, -f6 20:23:42 + cat /w/workspace/gexfoundry_device-rest-go_PR-384/archives/cost.csv [Pipeline] lock 20:23:42 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-384-1-stack-cost] 20:23:42 Resource [jenkins-edgexfoundry-device-rest-go-PR-384-1-stack-cost] did not exist. Created. 20:23:42 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-384-1-stack-cost] [Pipeline] { [Pipeline] unstash 20:23:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [Pipeline] sh 20:23:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:23:42 + sudo tee /etc/docker/daemon.new 20:23:42 { 20:23:42 "registry-mirrors": [ 20:23:42 "https://nexus3.edgexfoundry.org:10001" 20:23:42 ], 20:23:42 "bip": "10.250.0.254/24", 20:23:42 "hosts": [ 20:23:42 "tcp://0.0.0.0:5555", 20:23:42 "unix:///var/run/docker.sock" 20:23:42 ], 20:23:42 "mtu": 1458, 20:23:42 "selinux-enabled": true, 20:23:42 "seccomp-profile": "/etc/docker/seccomp.json" 20:23:42 } 20:23:42 + echo total: 0.2199999988079071 [Pipeline] sh [Pipeline] stash 20:23:42 Stashed 1 file(s) [Pipeline] } 20:23:43 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-384-1-stack-cost] 20:23:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // lock [Pipeline] } 20:23:43 $ docker stop --time=1 60dad4e8139569e635971fd011737ecaf8cb37de649c6624d5833945aa535ce7 20:23:44 $ docker rm -f --volumes 60dad4e8139569e635971fd011737ecaf8cb37de649c6624d5833945aa535ce7 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 20:23:44 + sudo service docker restart [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:24:03 provisioning config files... 20:24:03 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config18365999177998169286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:24:03 ---> ****-login.sh 20:24:03 nexus3.edgexfoundry.org:10001 20:24:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:24:04 Configure a credential helper to remove this warning. See 20:24:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:24:04 20:24:04 Login Succeeded 20:24:04 nexus3.edgexfoundry.org:10002 20:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:24:04 Configure a credential helper to remove this warning. See 20:24:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:24:04 20:24:04 Login Succeeded 20:24:04 nexus3.edgexfoundry.org:10003 20:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:24:04 Configure a credential helper to remove this warning. See 20:24:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:24:04 20:24:04 Login Succeeded 20:24:04 nexus3.edgexfoundry.org:10004 20:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:24:05 Configure a credential helper to remove this warning. See 20:24:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:24:05 20:24:05 Login Succeeded 20:24:05 ****.io 20:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:24:05 Configure a credential helper to remove this warning. See 20:24:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:24:05 20:24:05 Login Succeeded 20:24:05 ---> ****-login.sh ends [Pipeline] } 20:24:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:24:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:24:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:24:06 ========================================================= 20:24:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:24:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:07 + 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 . 20:24:07 Sending build context to Docker daemon 127.5kB 20:24:07 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:24:07 Step 2/12 : FROM ${BASE} AS builder 20:24:07 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:24:07 9fda8d8052c6: Pulling fs layer 20:24:07 5d54e960e981: Pulling fs layer 20:24:07 c4a7e357bf2a: Pulling fs layer 20:24:07 f0e02332f6b5: Pulling fs layer 20:24:07 872ee5b61b7b: Pulling fs layer 20:24:07 0c6a40ed1a82: Pulling fs layer 20:24:07 94ae7d8d031c: Pulling fs layer 20:24:07 f0e02332f6b5: Waiting 20:24:07 872ee5b61b7b: Waiting 20:24:07 0c6a40ed1a82: Waiting 20:24:07 94ae7d8d031c: Waiting 20:24:07 5d54e960e981: Verifying Checksum 20:24:07 5d54e960e981: Download complete 20:24:07 f0e02332f6b5: Verifying Checksum 20:24:07 f0e02332f6b5: Download complete 20:24:07 872ee5b61b7b: Verifying Checksum 20:24:07 872ee5b61b7b: Download complete 20:24:07 9fda8d8052c6: Verifying Checksum 20:24:07 9fda8d8052c6: Download complete 20:24:07 94ae7d8d031c: Verifying Checksum 20:24:07 94ae7d8d031c: Download complete 20:24:08 9fda8d8052c6: Pull complete 20:24:09 5d54e960e981: Pull complete 20:24:09 c4a7e357bf2a: Verifying Checksum 20:24:09 c4a7e357bf2a: Download complete 20:24:10 0c6a40ed1a82: Download complete 20:24:23 c4a7e357bf2a: Pull complete 20:24:23 f0e02332f6b5: Pull complete 20:24:23 872ee5b61b7b: Pull complete 20:24:33 0c6a40ed1a82: Pull complete 20:24:33 94ae7d8d031c: Pull complete 20:24:33 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:24:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:24:33 ---> 86de565de09d 20:24:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:24:34 ---> Running in d7c412140536 20:24:34 Removing intermediate container d7c412140536 20:24:34 ---> f6d6db470ec4 20:24:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:24:34 ---> Running in 5a65c18b3ff0 20:24:34 Removing intermediate container 5a65c18b3ff0 20:24:34 ---> e84a943e9100 20:24:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:24:35 ---> Running in a90c6310acfd 20:24:35 Removing intermediate container a90c6310acfd 20:24:35 ---> 99b7190b138b 20:24:35 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:24:35 ---> Running in d64b4124704e 20:24:35 Removing intermediate container d64b4124704e 20:24:35 ---> f15e9e9d7eb0 20:24:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:24:35 ---> Running in 5a76d3f5fb7a 20:24:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:24:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:24:38 (1/4) Installing openssh-keygen (9.3_p2-r1) 20:24:38 (2/4) Installing libedit (20221030.3.1-r1) 20:24:38 (3/4) Installing openssh-client-common (9.3_p2-r1) 20:24:38 (4/4) Installing openssh-client-default (9.3_p2-r1) 20:24:38 Executing busybox-1.36.1-r5.trigger 20:24:38 OK: 271 MiB in 56 packages 20:24:39 Removing intermediate container 5a76d3f5fb7a 20:24:39 ---> 11c718527094 20:24:39 Step 8/12 : WORKDIR /device-rest-go 20:24:39 ---> Running in 55e76e226fed 20:24:39 Removing intermediate container 55e76e226fed 20:24:39 ---> 2349ecbecf86 20:24:39 Step 9/12 : COPY go.mod vendor* ./ 20:24:40 ---> fc566a856088 20:24:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:24:40 ---> Running in 91ef7198b07f 20:25:48 Removing intermediate container 91ef7198b07f 20:25:48 ---> a10b615dc12f 20:25:48 Step 11/12 : COPY . . 20:25:48 ---> a8c5e5d9511c 20:25:48 Step 12/12 : RUN $MAKE 20:25:48 ---> Running in e69a934fd533 20:25:48 noop 20:25:48 Removing intermediate container e69a934fd533 20:25:48 ---> 0132e048d4f2 20:25:48 Successfully built 0132e048d4f2 20:25:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:48 + docker inspect -f . ci-base-image-arm64 20:25:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:25:49 prd-ubuntu20.04-docker-arm64-4c-16g-5278 does not seem to be running inside a container 20:25:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:25:50 $ docker top f87bf28e8fdefbccd730af14802bcd99de523d6b99ee848176869e8a8296ffb8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:25:51 + go version 20:25:51 go version go1.21.0 linux/arm64 [Pipeline] } 20:25:51 $ docker stop --time=1 f87bf28e8fdefbccd730af14802bcd99de523d6b99ee848176869e8a8296ffb8 20:25:53 $ docker rm -f --volumes f87bf28e8fdefbccd730af14802bcd99de523d6b99ee848176869e8a8296ffb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:54 + docker inspect -f . ci-base-image-arm64 20:25:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:25:54 prd-ubuntu20.04-docker-arm64-4c-16g-5278 does not seem to be running inside a container 20:25:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:25:55 $ docker top 7a7d1e269e29edae6d9f61bb44110939de0908681b03ca31bb2dff3e46a3aa71 -eo pid,comm [Pipeline] { [Pipeline] sh 20:25:56 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:25:57 + make test 20:25:57 go test ./... -coverprofile=coverage.out ./... 20:26:00 ? github.com/edgexfoundry/device-rest-go [no test files] 20:27:37 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:27:37 ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 33.2% of statements 20:27:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:27:37 go vet ./... 20:27:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:27:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:27:47 ./bin/test-attribution-txt.sh 20:27:47 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 20:27:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:27:47 $ docker stop --time=1 7a7d1e269e29edae6d9f61bb44110939de0908681b03ca31bb2dff3e46a3aa71 20:27:49 $ docker rm -f --volumes 7a7d1e269e29edae6d9f61bb44110939de0908681b03ca31bb2dff3e46a3aa71 [Pipeline] // withDockerContainer [Pipeline] sh 20:27:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:27:50 Warning: overwriting stash ‘coverage-report’ 20:27:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:27:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:27:52 + ls -al . 20:27:52 total 176 20:27:52 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 20:25 . 20:27:52 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 20:23 .. 20:27:52 -rw-rw-r-- 1 jenkins jenkins 151 Mar 8 20:23 .dockerignore 20:27:52 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 20:23 .git 20:27:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 20:23 .github 20:27:52 -rw-rw-r-- 1 jenkins jenkins 264 Mar 8 20:23 .gitignore 20:27:52 -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 20:23 .golangci.yml 20:27:52 -rw-rw-r-- 1 jenkins jenkins 10300 Mar 8 20:23 Attribution.txt 20:27:52 -rw-rw-r-- 1 jenkins jenkins 17685 Mar 8 20:23 CHANGELOG.md 20:27:52 -rw-rw-r-- 1 jenkins jenkins 1687 Mar 8 20:23 Dockerfile 20:27:52 -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 20:23 GOVERNANCE.md 20:27:52 -rw-rw-r-- 1 jenkins jenkins 680 Mar 8 20:23 Jenkinsfile 20:27:52 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 20:23 LICENSE 20:27:52 -rw-rw-r-- 1 jenkins jenkins 2016 Mar 8 20:23 Makefile 20:27:52 -rw-rw-r-- 1 jenkins jenkins 620 Mar 8 20:23 OWNERS.md 20:27:52 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 8 20:23 README.md 20:27:52 -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 20:21 VERSION 20:27:52 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 20:23 bin 20:27:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 20:23 cmd 20:27:52 -rw-r--r-- 1 jenkins jenkins 14499 Mar 8 20:27 coverage.out 20:27:52 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 20:23 driver 20:27:52 -rw-rw-r-- 1 jenkins jenkins 3936 Mar 8 20:23 go.mod 20:27:52 -rw-rw-r-- 1 jenkins jenkins 36216 Mar 8 20:23 go.sum 20:27:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 20:23 openapi 20:27:52 -rw-rw-r-- 1 jenkins jenkins 713 Mar 8 20:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:53 + 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=c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 --label arch=arm64 --label version=0.0.0 . 20:27:53 Sending build context to Docker daemon 142.8kB 20:27:53 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:27:53 Step 2/26 : FROM ${BASE} AS builder 20:27:53 ---> 0132e048d4f2 20:27:53 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:27:53 ---> Running in a63ebc4b6154 20:27:53 Removing intermediate container a63ebc4b6154 20:27:53 ---> a6a90cf8852e 20:27:53 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:27:53 ---> Running in 46649c61ee0e 20:27:54 Removing intermediate container 46649c61ee0e 20:27:54 ---> d262ba8673ed 20:27:54 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:27:54 ---> Running in aa72b6694608 20:27:54 Removing intermediate container aa72b6694608 20:27:54 ---> 760d02b9660b 20:27:54 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:27:54 ---> Running in 4e429be28ede 20:27:54 Removing intermediate container 4e429be28ede 20:27:54 ---> 88a3a4e75f43 20:27:54 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:27:54 ---> Running in 1e8a22b7b3b8 20:27:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:27:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:27:57 OK: 271 MiB in 56 packages 20:27:58 Removing intermediate container 1e8a22b7b3b8 20:27:58 ---> 48fe99905b20 20:27:58 Step 8/26 : WORKDIR /device-rest-go 20:27:58 ---> Running in 6c544e241ccd 20:27:58 Removing intermediate container 6c544e241ccd 20:27:58 ---> aa5d28e32fae 20:27:58 Step 9/26 : COPY go.mod vendor* ./ 20:27:58 ---> 999ed17f5a2b 20:27:58 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:27:58 ---> Running in de1cff19a3c5 20:28:00 Removing intermediate container de1cff19a3c5 20:28:00 ---> 1004e4150e62 20:28:00 Step 11/26 : COPY . . 20:28:01 ---> 30a2b1440316 20:28:01 Step 12/26 : RUN $MAKE 20:28:01 ---> Running in f84c3a2349d4 20:28:02 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.10" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:29:39 Removing intermediate container f84c3a2349d4 20:29:39 ---> 886bfc1b81a0 20:29:39 Step 13/26 : FROM alpine:3.18 20:29:39 3.18: Pulling from library/alpine 20:29:39 c6b39de5b339: Pulling fs layer 20:29:39 c6b39de5b339: Verifying Checksum 20:29:39 c6b39de5b339: Download complete 20:29:40 c6b39de5b339: Pull complete 20:29:40 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 20:29:40 Status: Downloaded newer image for alpine:3.18 20:29:40 ---> 33abbf032149 20:29:40 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:29:40 ---> Running in bb6a1403070c 20:29:40 Removing intermediate container bb6a1403070c 20:29:40 ---> d8d1f8a3c4cf 20:29:40 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:29:40 ---> Running in 1172dfa65b03 20:29:41 Removing intermediate container 1172dfa65b03 20:29:41 ---> 700922def1be 20:29:41 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:29:41 ---> Running in fecf3a70442f 20:29:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:29:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:29:43 (1/1) Installing dumb-init (1.2.5-r2) 20:29:43 Executing busybox-1.36.1-r5.trigger 20:29:43 OK: 8 MiB in 16 packages 20:29:44 Removing intermediate container fecf3a70442f 20:29:44 ---> ca0926f20769 20:29:44 Step 17/26 : RUN apk --no-cache upgrade 20:29:44 ---> Running in 19ffb63ee90d 20:29:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:29:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:29:46 OK: 8 MiB in 16 packages 20:29:47 Removing intermediate container 19ffb63ee90d 20:29:47 ---> e9e697601fec 20:29:47 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:29:49 ---> 8d4e8f729655 20:29:49 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:29:49 ---> d27c12f8d112 20:29:49 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:29:49 ---> 88a1e044f001 20:29:49 Step 21/26 : EXPOSE 59986 20:29:49 ---> Running in 9077ba9ef061 20:29:50 Removing intermediate container 9077ba9ef061 20:29:50 ---> eb9578879224 20:29:50 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:29:50 ---> Running in 8d1e50a79f2a 20:29:50 Removing intermediate container 8d1e50a79f2a 20:29:50 ---> c4867e57c989 20:29:50 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:29:50 ---> Running in 5ad6403c6838 20:29:50 Removing intermediate container 5ad6403c6838 20:29:50 ---> 94731f905fac 20:29:50 Step 24/26 : LABEL arch=arm64 20:29:50 ---> Running in 82e542e284e5 20:29:51 Removing intermediate container 82e542e284e5 20:29:51 ---> 847b37ab2452 20:29:51 Step 25/26 : LABEL git_sha=c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 20:29:51 ---> Running in 46d010c717a3 20:29:51 Removing intermediate container 46d010c717a3 20:29:51 ---> aa8afb83f595 20:29:51 Step 26/26 : LABEL version=0.0.0 20:29:51 ---> Running in 838b2118776e 20:29:52 Removing intermediate container 838b2118776e 20:29:52 ---> bf953ce6b4c5 20:29:52 [Warning] One or more build-args [ARCH] were not consumed 20:29:52 Successfully built bf953ce6b4c5 20:29:52 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 20:29:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:29:53 20:29:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:29:53 arm64: Pulling from edgex-lftools-log-publisher 20:29:53 8998bd30e6a1: Pulling fs layer 20:29:53 04944245beec: Pulling fs layer 20:29:53 699f458cf7ca: Pulling fs layer 20:29:53 765212b225bb: Pulling fs layer 20:29:53 f23df028b6ca: Pulling fs layer 20:29:53 d65c8cfc05b1: Pulling fs layer 20:29:53 2437ff75d9bd: Pulling fs layer 20:29:53 765212b225bb: Waiting 20:29:53 f23df028b6ca: Waiting 20:29:53 d65c8cfc05b1: Waiting 20:29:53 2437ff75d9bd: Waiting 20:29:54 04944245beec: Verifying Checksum 20:29:54 04944245beec: Download complete 20:29:54 765212b225bb: Download complete 20:29:54 f23df028b6ca: Verifying Checksum 20:29:54 f23df028b6ca: Download complete 20:29:54 d65c8cfc05b1: Verifying Checksum 20:29:54 d65c8cfc05b1: Download complete 20:29:54 699f458cf7ca: Verifying Checksum 20:29:54 699f458cf7ca: Download complete 20:29:54 8998bd30e6a1: Verifying Checksum 20:29:54 8998bd30e6a1: Download complete 20:29:57 2437ff75d9bd: Download complete 20:29:59 8998bd30e6a1: Pull complete 20:29:59 04944245beec: Pull complete 20:30:01 699f458cf7ca: Pull complete 20:30:01 765212b225bb: Pull complete 20:30:02 f23df028b6ca: Pull complete 20:30:02 d65c8cfc05b1: Pull complete 20:30:20 2437ff75d9bd: Pull complete 20:30:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:30:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:30:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:21 prd-ubuntu20.04-docker-arm64-4c-16g-5278 does not seem to be running inside a container 20:30:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:30:23 $ docker top d999bef7714c6698eb8b4ecb1852564e74aecc80f8b38da400eb069ed3ce648a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:30:24 ---> job-cost.sh 20:30:24 lf-activate-venv: SKIPPING 20:30:24 INFO: No Stack... 20:30:25 INFO: Retrieving Pricing Info for: v3-standard-4 20:30:26 INFO: Archiving Costs [Pipeline] sh 20:30:26 + cut -d, -f6 20:30:26 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 20:30:26 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-384-1-stack-cost] 20:30:26 Resource [jenkins-edgexfoundry-device-rest-go-PR-384-1-stack-cost] did not exist. Created. 20:30:26 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-384-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:30:27 /w/workspace/device-rest-go/1@tmp/durable-10b6804a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:30:27 + echo total: 0.10999999940395355 [Pipeline] stash 20:30:27 Warning: overwriting stash ‘stack-cost’ 20:30:27 Stashed 1 file(s) [Pipeline] } 20:30:27 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-384-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:30:27 $ docker stop --time=1 d999bef7714c6698eb8b4ecb1852564e74aecc80f8b38da400eb069ed3ce648a 20:30:29 $ docker rm -f --volumes d999bef7714c6698eb8b4ecb1852564e74aecc80f8b38da400eb069ed3ce648a [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 20:30:31 provisioning config files... 20:30:31 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-384@tmp/config3435972515943174010tmp [Pipeline] { [Pipeline] sh 20:30:31 + set +x 20:30:31 + bash -s -- 20:30:31 + curl -s https://codecov.io/bash 20:30:31 20:30:31 _____ _ 20:30:31 / ____| | | 20:30:31 | | ___ __| | ___ ___ _____ __ 20:30:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:30:31 | |___| (_) | (_| | __/ (_| (_) \ V / 20:30:31 \_____\___/ \__,_|\___|\___\___/ \_/ 20:30:31 Bash-1.0.6 20:30:31 20:30:31 20:30:31 ==> git version 2.25.1 found 20:30:31 ==> 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 20:30:31 Release-Date: 2020-01-08 20:30:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:30:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:30:31 ==> Jenkins CI detected. 20:30:31 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-384 20:30:31 project root: . 20:30:31 --> token set from env 20:30:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:30:32 ==> Running gcov in . (disable via -X gcov) 20:30:32 ==> Python coveragepy not found 20:30:32 ==> Searching for coverage reports in: 20:30:32 + . 20:30:32 -> Found 1 reports 20:30:32 ==> Detecting git/mercurial file structure 20:30:32 ==> Reading reports 20:30:32 + ./coverage.out bytes=14499 20:30:32 ==> Appending adjustments 20:30:32 https://docs.codecov.io/docs/fixing-reports 20:30:32 + Found adjustments 20:30:32 ==> Gzipping contents 20:30:32 4.0K /tmp/codecov.XzTorN.gz 20:30:32 ==> Uploading reports 20:30:32 url: https://codecov.io 20:30:32 query: branch=PR-384&commit=c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-384%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=384&job=&cmd_args= 20:30:32 -> Pinging Codecov 20:30:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-384&commit=c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-384%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=384&job=&cmd_args= 20:30:32 -> Uploading to 20:30:32 https://storage.googleapis.com/codecov/v4/raw/2024-03-08/4E5D53B4F1F92C436F7061BF334D961C/c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38/a4664158-d60c-45b2-8e0e-17044eddc4af.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240308T203032Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eee9f78c2229cbca3034db2e8ec0ee145378f30f174357dbd31976dd21cb1de6 20:30:32 % Total % Received % Xferd Average Speed Time Time Time Current 20:30:32 Dload Upload Total Spent Left Speed 20:30:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8660 --:--:-- --:--:-- --:--:-- 8660 20:30:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/c9e9d671b73662b9134f46d5ee7c7ee4fa3b9f38 [Pipeline] } 20:30:32 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 20:30:35 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-384/archives ] 20:30:35 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-384/archives 20:30:35 total 16 20:30:35 drwxr-xr-x 3 root root 4096 Mar 8 20:23 . 20:30:35 drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 20:23 .. 20:30:35 drwxr-xr-x 2 root root 4096 Mar 8 20:23 cost 20:30:35 -rw-r--r-- 1 root root 86 Mar 8 20:23 cost.csv 20:30:35 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-384/archives 20:30:35 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-384/archives 20:30:35 total 16 20:30:35 drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 20:23 . 20:30:35 drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 20:23 .. 20:30:35 drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 20:23 cost 20:30:35 -rw-r--r-- 1 jenkins jenkins 86 Mar 8 20:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:30:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:30:36 ---> package-listing.sh 20:30:36 ++ facter osfamily 20:30:36 ++ tr '[:upper:]' '[:lower:]' 20:30:37 + OS_FAMILY=debian 20:30:37 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-384 20:30:37 + START_PACKAGES=/tmp/packages_start.txt 20:30:37 + END_PACKAGES=/tmp/packages_end.txt 20:30:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:30:37 + PACKAGES=/tmp/packages_start.txt 20:30:37 + '[' /w/workspace/gexfoundry_device-rest-go_PR-384 ']' 20:30:37 + PACKAGES=/tmp/packages_end.txt 20:30:37 + case "${OS_FAMILY}" in 20:30:37 + dpkg -l 20:30:37 + grep '^ii' 20:30:37 + '[' -f /tmp/packages_start.txt ']' 20:30:37 + '[' -f /tmp/packages_end.txt ']' 20:30:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:30:37 + '[' /w/workspace/gexfoundry_device-rest-go_PR-384 ']' 20:30:37 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-384/archives/ 20:30:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-384/archives/ [Pipeline] echo 20:30:37 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-384/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:30:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:30:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:38 prd-ubuntu20.04-docker-8c-8g-5277 does not seem to be running inside a container 20:30:38 $ 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-384/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-384 -v /w/workspace/gexfoundry_device-rest-go_PR-384:/w/workspace/gexfoundry_device-rest-go_PR-384:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-384@tmp:/w/workspace/gexfoundry_device-rest-go_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:30:38 $ docker top 6cef5630682e05616bd39bd8006130f1c90382e8a6cdd936fa3e19a1a6a91cae -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:39 + touch /tmp/pre-build-complete [Pipeline] sh 20:30:39 + mkdir -p /var/log/sysstat [Pipeline] sh 20:30:39 + ls /var/log/sa-host 20:30:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:30:40 provisioning config files... 20:30:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-384@tmp/config6383818783252386587tmp [Pipeline] { [Pipeline] echo 20:30:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:30:40 ---> create-netrc.sh [Pipeline] } 20:30:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:30:41 ---> python-tools-install.sh [Pipeline] echo 20:30:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:30:41 ---> sudo-logs.sh 20:30:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:30:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:30:41 ---> job-cost.sh 20:30:41 lf-activate-venv: SKIPPING 20:30:41 DEBUG: total: 0.2199999988079071 20:30:41 INFO: Retrieving Stack Cost... 20:30:42 INFO: Retrieving Pricing Info for: v3-standard-8 20:30:42 INFO: Archiving Costs [Pipeline] echo 20:30:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:30:42 ---> logs-deploy.sh 20:30:42 lf-activate-venv: SKIPPING 20:30:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-384/1 20:30:42 INFO: archiving workspace using pattern(s): 20:30:43 Archives upload complete. 20:30:44 INFO: archiving logs to Nexus 20:30:44 ---> uname -a: 20:30:44 Linux prd-ubuntu20-04-docker-8c-8g-5277 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:30:44 20:30:44 20:30:44 ---> lscpu: 20:30:44 Architecture: x86_64 20:30:44 CPU op-mode(s): 32-bit, 64-bit 20:30:44 Byte Order: Little Endian 20:30:44 Address sizes: 40 bits physical, 48 bits virtual 20:30:44 CPU(s): 8 20:30:44 On-line CPU(s) list: 0-7 20:30:44 Thread(s) per core: 1 20:30:44 Core(s) per socket: 1 20:30:44 Socket(s): 8 20:30:44 NUMA node(s): 1 20:30:44 Vendor ID: AuthenticAMD 20:30:44 CPU family: 23 20:30:44 Model: 49 20:30:44 Model name: AMD EPYC-Rome Processor 20:30:44 Stepping: 0 20:30:44 CPU MHz: 2800.000 20:30:44 BogoMIPS: 5600.00 20:30:44 Virtualization: AMD-V 20:30:44 Hypervisor vendor: KVM 20:30:44 Virtualization type: full 20:30:44 L1d cache: 256 KiB 20:30:44 L1i cache: 256 KiB 20:30:44 L2 cache: 4 MiB 20:30:44 L3 cache: 128 MiB 20:30:44 NUMA node0 CPU(s): 0-7 20:30:44 Vulnerability Itlb multihit: Not affected 20:30:44 Vulnerability L1tf: Not affected 20:30:44 Vulnerability Mds: Not affected 20:30:44 Vulnerability Meltdown: Not affected 20:30:44 Vulnerability Mmio stale data: Not affected 20:30:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:30:44 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:30:44 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:30:44 Vulnerability Srbds: Not affected 20:30:44 Vulnerability Tsx async abort: Not affected 20:30:44 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 20:30:44 20:30:44 20:30:44 ---> nproc: 20:30:44 8 20:30:44 20:30:44 20:30:44 ---> df -h: 20:30:44 Filesystem Size Used Avail Use% Mounted on 20:30:44 overlay 155G 12G 144G 8% / 20:30:44 tmpfs 64M 0 64M 0% /dev 20:30:44 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:30:44 shm 64M 0 64M 0% /dev/shm 20:30:44 /dev/vda1 155G 12G 144G 8% /facter-os 20:30:44 20:30:44 20:30:44 ---> sar -b -r -n DEV: 20:30:44 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-5277) 03/08/24 _x86_64_ (8 CPU) 20:30:44 20:30:44 20:20:02 LINUX RESTART (8 CPU) 20:30:44 20:30:44 20:21:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:30:44 20:22:01 115.81 3.08 112.73 0.00 402.87 33617.60 0.00 20:30:44 20:23:01 178.76 1.12 177.64 0.00 24.53 51019.93 0.00 20:30:44 20:24:01 151.44 0.08 151.36 0.00 10.13 36571.10 0.00 20:30:44 20:25:01 2.22 0.00 2.22 0.00 0.00 26.41 0.00 20:30:44 20:26:01 57.04 10.61 46.43 0.00 5157.41 8584.17 0.00 20:30:44 20:27:01 3.77 0.02 3.75 0.00 0.13 95.32 0.00 20:30:44 20:28:01 1.35 0.00 1.35 0.00 0.00 14.93 0.00 20:30:44 20:29:01 1.97 0.00 1.97 0.00 0.00 22.26 0.00 20:30:44 20:30:01 1.27 0.00 1.27 0.00 0.00 14.13 0.00 20:30:44 Average: 57.07 1.66 55.41 0.00 621.66 14441.33 0.00 20:30:44 20:30:44 20:21:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:30:44 20:22:01 29167068 31516452 799172 2.43 77828 2543232 2004324 5.91 1044960 2280932 4072 20:30:44 20:23:01 28512112 31495584 808888 2.46 142804 3050552 1930272 5.69 1236472 2666388 136 20:30:44 20:24:01 27752400 31519220 780828 2.37 154820 3755216 1776736 5.24 1282136 3307564 364 20:30:44 20:25:01 27752704 31519664 780060 2.37 154888 3755216 1776736 5.24 1282156 3307564 36 20:30:44 20:26:01 27276072 31500636 771356 2.35 184376 4178408 1685888 4.97 1588980 3442672 252 20:30:44 20:27:01 27288044 31507820 763776 2.32 182916 4175292 1687592 4.97 1578848 3439592 16 20:30:44 20:28:01 27290224 31510080 761456 2.32 182988 4175296 1687592 4.97 1576672 3439596 16 20:30:44 20:29:01 27292116 31512024 759456 2.31 183072 4175300 1687592 4.97 1574904 3439600 16 20:30:44 20:30:01 27292092 31512048 759384 2.31 183140 4175284 1687592 4.97 1574980 3439600 12 20:30:44 Average: 27735870 31510392 776042 2.36 160759 3775977 1769369 5.21 1415568 3195945 547 20:30:44 20:30:44 20:21:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:30:44 20:22:01 docker0 105.60 144.94 7.52 376.97 0.00 0.00 0.00 0.00 20:30:44 20:22:01 ens3 287.75 202.57 3541.18 80.88 0.00 0.00 0.00 0.00 20:30:44 20:22:01 lo 2.67 2.67 0.27 0.27 0.00 0.00 0.00 0.00 20:30:44 20:22:01 vethbd36fed 58.22 65.77 5.65 55.38 0.00 0.00 0.00 0.00 20:30:44 20:23:01 docker0 119.98 177.34 9.86 2010.32 0.00 0.00 0.00 0.00 20:30:44 20:23:01 ens3 210.75 140.95 2045.68 25.77 0.00 0.00 0.00 0.00 20:30:44 20:23:01 veth753a644 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:30:44 20:23:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 20:30:44 20:23:01 veth50ba069 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:30:44 20:24:01 docker0 4.30 7.22 0.25 62.46 0.00 0.00 0.00 0.00 20:30:44 20:24:01 ens3 109.52 66.76 2645.96 14.20 0.00 0.00 0.00 0.00 20:30:44 20:24:01 lo 1.67 1.67 0.17 0.17 0.00 0.00 0.00 0.00 20:30:44 20:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:30:44 20:25:01 ens3 0.82 0.47 3.11 0.03 0.00 0.00 0.00 0.00 20:30:44 20:25:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:30:44 20:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:30:44 20:26:01 ens3 281.10 133.93 2721.09 9.97 0.00 0.00 0.00 0.00 20:30:44 20:26:01 lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 20:30:44 20:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:30:44 20:27:01 ens3 0.28 0.22 0.02 0.02 0.00 0.00 0.00 0.00 20:30:44 20:27:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:30:44 20:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:30:44 20:28:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:30:44 20:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:30:44 20:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:30:44 20:29:01 ens3 0.23 0.18 0.07 0.01 0.00 0.00 0.00 0.00 20:30:44 20:29:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:30:44 20:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:30:44 20:30:01 ens3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 20:30:44 20:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:30:44 Average: docker0 25.54 36.61 1.96 272.23 0.00 0.00 0.00 0.00 20:30:44 Average: ens3 98.94 60.57 1217.47 14.54 0.00 0.00 0.00 0.00 20:30:44 Average: lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 20:30:44 20:30:44 20:30:44 ---> sar -P ALL: 20:30:44 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-5277) 03/08/24 _x86_64_ (8 CPU) 20:30:44 20:30:44 20:20:02 LINUX RESTART (8 CPU) 20:30:44 20:30:44 20:21:01 CPU %user %nice %system %iowait %steal %idle 20:30:44 20:22:01 all 4.53 0.00 1.98 3.11 0.48 89.90 20:30:44 20:22:01 0 4.21 0.00 2.27 0.54 0.03 92.95 20:30:44 20:22:01 1 4.75 0.00 1.79 0.10 1.16 92.20 20:30:44 20:22:01 2 5.53 0.00 1.74 0.17 0.90 91.67 20:30:44 20:22:01 3 5.16 0.00 2.61 0.45 0.03 91.74 20:30:44 20:22:01 4 2.88 0.00 1.52 10.46 0.30 84.84 20:30:44 20:22:01 5 3.94 0.00 1.63 3.70 0.05 90.67 20:30:44 20:22:01 6 5.32 0.00 2.43 6.04 0.17 86.03 20:30:44 20:22:01 7 4.46 0.00 1.88 3.51 1.16 88.99 20:30:44 20:23:01 all 26.06 0.00 4.26 3.02 0.09 66.57 20:30:44 20:23:01 0 25.94 0.00 3.73 0.22 0.14 69.98 20:30:44 20:23:01 1 25.36 0.00 5.32 14.01 0.09 55.22 20:30:44 20:23:01 2 27.28 0.00 3.85 0.27 0.08 68.51 20:30:44 20:23:01 3 24.59 0.00 3.88 0.39 0.07 71.07 20:30:44 20:23:01 4 26.17 0.00 4.01 0.22 0.07 69.53 20:30:44 20:23:01 5 26.93 0.00 4.64 2.33 0.07 66.04 20:30:44 20:23:01 6 26.02 0.00 4.37 2.01 0.10 67.49 20:30:44 20:23:01 7 26.19 0.00 4.28 4.72 0.08 64.73 20:30:44 20:24:01 all 16.19 0.00 2.82 2.39 0.07 78.52 20:30:44 20:24:01 0 14.84 0.00 2.48 0.50 0.07 82.12 20:30:44 20:24:01 1 17.04 0.00 3.20 7.79 0.13 71.84 20:30:44 20:24:01 2 15.59 0.00 2.48 0.84 0.05 81.04 20:30:44 20:24:01 3 16.76 0.00 2.45 0.05 0.05 80.68 20:30:44 20:24:01 4 16.11 0.00 2.93 0.32 0.07 80.57 20:30:44 20:24:01 5 15.97 0.00 3.09 0.34 0.07 80.53 20:30:44 20:24:01 6 16.26 0.00 3.28 0.30 0.07 80.09 20:30:44 20:24:01 7 16.98 0.00 2.65 8.98 0.07 71.32 20:30:44 20:25:01 all 0.08 0.00 0.02 0.00 0.00 99.89 20:30:44 20:25:01 0 0.10 0.00 0.00 0.00 0.00 99.90 20:30:44 20:25:01 1 0.02 0.00 0.00 0.02 0.00 99.97 20:30:44 20:25:01 2 0.02 0.00 0.02 0.00 0.02 99.95 20:30:44 20:25:01 3 0.00 0.00 0.00 0.00 0.00 100.00 20:30:44 20:25:01 4 0.00 0.00 0.00 0.00 0.00 100.00 20:30:44 20:25:01 5 0.00 0.00 0.00 0.00 0.00 100.00 20:30:44 20:25:01 6 0.02 0.00 0.03 0.02 0.02 99.92 20:30:44 20:25:01 7 0.52 0.00 0.12 0.00 0.00 99.37 20:30:44 20:26:01 all 2.50 0.00 1.34 0.89 0.03 95.23 20:30:44 20:26:01 0 2.61 0.00 0.82 1.09 0.03 95.44 20:30:44 20:26:01 1 2.04 0.00 1.74 0.85 0.03 95.34 20:30:44 20:26:01 2 2.94 0.00 1.60 0.42 0.02 95.03 20:30:44 20:26:01 3 1.47 0.00 1.90 0.82 0.02 95.80 20:30:44 20:26:01 4 3.63 0.00 1.22 2.18 0.03 92.93 20:30:44 20:26:01 5 1.92 0.00 0.95 0.10 0.02 97.01 20:30:44 20:26:01 6 3.11 0.00 1.52 0.53 0.02 94.82 20:30:44 20:26:01 7 2.31 0.00 0.97 1.17 0.05 95.50 20:30:44 20:27:01 all 0.07 0.00 0.05 0.01 0.01 99.87 20:30:44 20:27:01 0 0.03 0.00 0.05 0.00 0.02 99.90 20:30:44 20:27:01 1 0.12 0.00 0.03 0.00 0.02 99.83 20:30:44 20:27:01 2 0.03 0.00 0.03 0.00 0.00 99.93 20:30:44 20:27:01 3 0.02 0.00 0.03 0.00 0.00 99.95 20:30:44 20:27:01 4 0.02 0.00 0.07 0.07 0.00 99.85 20:30:44 20:27:01 5 0.05 0.00 0.03 0.00 0.02 99.90 20:30:44 20:27:01 6 0.23 0.00 0.08 0.00 0.00 99.68 20:30:44 20:27:01 7 0.05 0.00 0.03 0.02 0.00 99.90 20:30:44 20:28:01 all 0.02 0.00 0.01 0.01 0.00 99.96 20:30:44 20:28:01 0 0.02 0.00 0.00 0.00 0.00 99.98 20:30:44 20:28:01 1 0.03 0.00 0.02 0.00 0.02 99.93 20:30:44 20:28:01 2 0.02 0.00 0.02 0.00 0.00 99.97 20:30:44 20:28:01 3 0.00 0.00 0.00 0.00 0.00 100.00 20:30:44 20:28:01 4 0.03 0.00 0.03 0.08 0.00 99.85 20:30:44 20:28:01 5 0.02 0.00 0.00 0.00 0.00 99.98 20:30:44 20:28:01 6 0.02 0.00 0.00 0.00 0.02 99.97 20:30:44 20:28:01 7 0.00 0.00 0.00 0.00 0.00 100.00 20:30:44 20:29:01 all 0.02 0.00 0.00 0.07 0.01 99.90 20:30:44 20:29:01 0 0.03 0.00 0.00 0.00 0.00 99.97 20:30:44 20:29:01 1 0.05 0.00 0.00 0.18 0.03 99.73 20:30:44 20:29:01 2 0.02 0.00 0.00 0.00 0.00 99.98 20:30:44 20:29:01 3 0.00 0.00 0.00 0.00 0.00 100.00 20:30:44 20:29:01 4 0.02 0.00 0.03 0.40 0.02 99.53 20:30:44 20:29:01 5 0.03 0.00 0.00 0.00 0.00 99.97 20:30:44 20:29:01 6 0.00 0.00 0.00 0.00 0.00 100.00 20:30:44 20:29:01 7 0.02 0.00 0.00 0.00 0.00 99.98 20:30:44 20:30:01 all 0.03 0.00 0.01 0.01 0.01 99.94 20:30:44 20:30:01 0 0.20 0.00 0.03 0.02 0.02 99.73 20:30:44 20:30:01 1 0.00 0.00 0.02 0.00 0.02 99.97 20:30:44 20:30:01 2 0.00 0.00 0.00 0.00 0.00 100.00 20:30:44 20:30:01 3 0.00 0.00 0.00 0.00 0.00 100.00 20:30:44 20:30:01 4 0.05 0.00 0.00 0.05 0.00 99.90 20:30:44 20:30:01 5 0.02 0.00 0.02 0.00 0.00 99.97 20:30:44 20:30:01 6 0.00 0.00 0.00 0.05 0.02 99.93 20:30:44 20:30:01 7 0.00 0.00 0.00 0.00 0.00 100.00 20:30:44 Average: all 5.45 0.00 1.16 1.05 0.08 92.26 20:30:44 Average: 0 5.28 0.00 1.03 0.26 0.03 93.39 20:30:44 Average: 1 5.44 0.00 1.34 2.52 0.17 90.54 20:30:44 Average: 2 5.68 0.00 1.08 0.19 0.12 92.94 20:30:44 Average: 3 5.27 0.00 1.20 0.19 0.02 93.32 20:30:44 Average: 4 5.37 0.00 1.08 1.53 0.05 91.97 20:30:44 Average: 5 5.40 0.00 1.14 0.71 0.02 92.72 20:30:44 Average: 6 5.58 0.00 1.29 0.98 0.04 92.10 20:30:44 Average: 7 5.58 0.00 1.10 2.04 0.15 91.13 20:30:44 20:30:44 20:30:44