Pull request #341 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 83fd213ce5f6029c0870dda0a68ee1b6242071ac+b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 (f0e4e1be0bdce8846000e89dbea552baaa71ca40) 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-ssh2839989975633706085.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9187200797151540433.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-341/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-341/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8900504721383421094.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-341/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7917440669102000729.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8052895076716271664.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-341/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-341/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17565670743552350970.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6404 in /w/workspace/gexfoundry_device-rest-go_PR-341 [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-341 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/341/head:refs/remotes/origin/PR-341 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 into PR head commit 83fd213ce5f6029c0870dda0a68ee1b6242071ac Merge succeeded, producing 83fd213ce5f6029c0870dda0a68ee1b6242071ac Checking out Revision 83fd213ce5f6029c0870dda0a68ee1b6242071ac (PR-341) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:20:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 83fd213ce5f6029c0870dda0a68ee1b6242071ac # 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 b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83fd213ce5f6029c0870dda0a68ee1b6242071ac # timeout=10 [Pipeline] withCredentials 20:20:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:20:17 ========================================================= 20:20:17 EdgeX Global Pipelines Version Info 20:20:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:20:18 ------------------- 20:20:18 stable info: 20:20:18 ------------------- 20:20:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:20:18 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:20:18 Message: update stable to v1.0.254 20:20:19 ------------------- 20:20:19 experimental info: 20:20:19 ------------------- 20:20:19 Commited By: **** collab-it+edgex@linuxfoundation.org 20:20:19 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:20:19 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:20:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:20:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:20:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:20:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:20:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:20:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:20:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:20:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:20:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:20:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:20:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-341 [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-341 [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-341 [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 83fd213ce5f6029c0870dda0a68ee1b6242071ac [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 83fd213 [Pipeline] echo 20:20:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:20:21 provisioning config files... 20:20:21 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-341@tmp/config12362846828722343789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:20:21 ---> docker-login.sh 20:20:21 nexus3.edgexfoundry.org:10001 20:20:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:21 Configure a credential helper to remove this warning. See 20:20:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:21 20:20:21 Login Succeeded 20:20:21 nexus3.edgexfoundry.org:10002 20:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:22 Configure a credential helper to remove this warning. See 20:20:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:22 20:20:22 Login Succeeded 20:20:22 nexus3.edgexfoundry.org:10003 20:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:22 Configure a credential helper to remove this warning. See 20:20:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:22 20:20:22 Login Succeeded 20:20:22 nexus3.edgexfoundry.org:10004 20:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:22 Configure a credential helper to remove this warning. See 20:20:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:22 20:20:22 Login Succeeded 20:20:22 docker.io 20:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:22 Configure a credential helper to remove this warning. See 20:20:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:22 20:20:22 Login Succeeded 20:20:22 ---> docker-login.sh ends [Pipeline] } 20:20:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:20:23 + git rev-list -1 --merges 83fd213ce5f6029c0870dda0a68ee1b6242071ac~1..83fd213ce5f6029c0870dda0a68ee1b6242071ac [Pipeline] echo 20:20:23 -----------> git rev-list -1 --merges 83fd213ce5f6029c0870dda0a68ee1b6242071ac~1..83fd213ce5f6029c0870dda0a68ee1b6242071ac 83fd213ce5f6029c0870dda0a68ee1b6242071ac [false] [Pipeline] sh 20:20:23 + git log --format=format:%s -1 83fd213ce5f6029c0870dda0a68ee1b6242071ac [Pipeline] echo 20:20:23 ========================================================= 20:20:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:20:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:20:24 + git log --format=format:%s -1 83fd213ce5f6029c0870dda0a68ee1b6242071ac [Pipeline] echo 20:20:24 [semverPrep] GIT_COMMIT: 83fd213ce5f6029c0870dda0a68ee1b6242071ac, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:20:24 [semverPrep] This is not a build commit. [Pipeline] sh 20:20:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:20:24 + grep -v github /etc/ssh/ssh_known_hosts 20:20:24 + [ -e /tmp/ssh_known_hosts ] 20:20:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:20:24 + + sudo teeecho -a github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= /etc/ssh/ssh_known_hosts 20:20:24 20:20:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:20:25 20:20:25 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:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:20:25 0.1.4: Pulling from edgex-devops/py-git-semver 20:20:25 b85a868b505f: Pulling fs layer 20:20:25 e2be974225ed: Pulling fs layer 20:20:25 339a4e72a1f5: Pulling fs layer 20:20:25 988bab9f4d93: Pulling fs layer 20:20:25 1469e6f7b9e6: Pulling fs layer 20:20:25 eaf3925da568: Pulling fs layer 20:20:25 bab4dde63d76: Pulling fs layer 20:20:25 bde34c3a00c8: Pulling fs layer 20:20:25 b352a97aabf1: Pulling fs layer 20:20:25 4872d77fe225: Pulling fs layer 20:20:25 988bab9f4d93: Waiting 20:20:25 5851b861e8e6: Pulling fs layer 20:20:25 eaf3925da568: Waiting 20:20:25 1469e6f7b9e6: Waiting 20:20:25 bab4dde63d76: Waiting 20:20:25 bde34c3a00c8: Waiting 20:20:25 5851b861e8e6: Waiting 20:20:25 b352a97aabf1: Waiting 20:20:25 4872d77fe225: Waiting 20:20:25 e2be974225ed: Verifying Checksum 20:20:25 e2be974225ed: Download complete 20:20:25 988bab9f4d93: Verifying Checksum 20:20:25 988bab9f4d93: Download complete 20:20:25 1469e6f7b9e6: Verifying Checksum 20:20:25 1469e6f7b9e6: Download complete 20:20:25 339a4e72a1f5: Verifying Checksum 20:20:25 339a4e72a1f5: Download complete 20:20:25 eaf3925da568: Verifying Checksum 20:20:25 eaf3925da568: Download complete 20:20:25 bde34c3a00c8: Verifying Checksum 20:20:25 bde34c3a00c8: Download complete 20:20:25 b352a97aabf1: Verifying Checksum 20:20:25 b352a97aabf1: Download complete 20:20:25 4872d77fe225: Verifying Checksum 20:20:25 4872d77fe225: Download complete 20:20:25 5851b861e8e6: Download complete 20:20:25 b85a868b505f: Verifying Checksum 20:20:25 b85a868b505f: Download complete 20:20:25 bab4dde63d76: Verifying Checksum 20:20:25 bab4dde63d76: Download complete 20:20:26 b85a868b505f: Pull complete 20:20:27 e2be974225ed: Pull complete 20:20:27 339a4e72a1f5: Pull complete 20:20:27 988bab9f4d93: Pull complete 20:20:28 1469e6f7b9e6: Pull complete 20:20:28 eaf3925da568: Pull complete 20:20:29 bab4dde63d76: Pull complete 20:20:29 bde34c3a00c8: Pull complete 20:20:30 b352a97aabf1: Pull complete 20:20:30 4872d77fe225: Pull complete 20:20:30 5851b861e8e6: Pull complete 20:20:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:20:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:20:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:20:30 prd-ubuntu20.04-docker-8c-8g-6404 does not seem to be running inside a container 20:20:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-341 -v /w/workspace/gexfoundry_device-rest-go_PR-341:/w/workspace/gexfoundry_device-rest-go_PR-341:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-341@tmp:/w/workspace/gexfoundry_device-rest-go_PR-341@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:20:32 $ docker top 56ff06d42b91b61b4f4e76ddbfe23b2ce27221b6549a8e040af578d896cdd457 -eo pid,comm 20:20:32 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:20:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:20:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:20:33 [ssh-agent] Looking for ssh-agent implementation... 20:20:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:20:33 $ docker exec 56ff06d42b91b61b4f4e76ddbfe23b2ce27221b6549a8e040af578d896cdd457 ssh-agent 20:20:33 SSH_AUTH_SOCK=/tmp/ssh-aHWH0YxrfXiX/agent.32 20:20:33 SSH_AGENT_PID=38 20:20:33 Running ssh-add (command line suppressed) 20:20:33 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-341@tmp/private_key_9058155247193660280.key (/w/workspace/gexfoundry_device-rest-go_PR-341@tmp/private_key_9058155247193660280.key) 20:20:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:20:33 + git tag --points-at HEAD [Pipeline] } 20:20:33 $ docker exec --env ******** --env ******** 56ff06d42b91b61b4f4e76ddbfe23b2ce27221b6549a8e040af578d896cdd457 ssh-agent -k 20:20:33 unset SSH_AUTH_SOCK; 20:20:33 unset SSH_AGENT_PID; 20:20:33 echo Agent pid 38 killed; 20:20:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:20:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:20:33 [ssh-agent] Looking for ssh-agent implementation... 20:20:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:20:34 $ docker exec 56ff06d42b91b61b4f4e76ddbfe23b2ce27221b6549a8e040af578d896cdd457 ssh-agent 20:20:34 SSH_AUTH_SOCK=/tmp/ssh-R4FZ9aIsvSaN/agent.70 20:20:34 SSH_AGENT_PID=76 20:20:34 Running ssh-add (command line suppressed) 20:20:34 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-341@tmp/private_key_18321818958533640010.key (/w/workspace/gexfoundry_device-rest-go_PR-341@tmp/private_key_18321818958533640010.key) 20:20:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:20:34 + git semver init 20:20:34 2023-09-18 20:20:34,768 [run_init] DEBUG init version:0.0.0 force:False 20:20:34 2023-09-18 20:20:34,769 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-341/.semver 20:20:34 2023-09-18 20:20:34,770 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-341/.semver 20:20:34 2023-09-18 20:20:34,770 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-341/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-341, universal_newlines=False, shell=None, istream=None) 20:20:36 2023-09-18 20:20:35,811 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-341/.git/info/exclude 20:20:36 2023-09-18 20:20:35,812 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-341/.semver/PR-341 with force:False 20:20:36 2023-09-18 20:20:35,812 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-341/.semver/PR-341 20:20:36 2023-09-18 20:20:35,817 [execute] INFO git cat-file --batch-check 20:20:36 2023-09-18 20:20:35,817 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-341/.semver, universal_newlines=False, shell=None, istream=) 20:20:36 2023-09-18 20:20:35,821 [execute] INFO git cat-file --batch 20:20:36 2023-09-18 20:20:35,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-341/.semver, universal_newlines=False, shell=None, istream=) 20:20:36 2023-09-18 20:20:35,824 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-341/.semver/PR-341 20:20:36 0.0.0 [Pipeline] } 20:20:36 $ docker exec --env ******** --env ******** 56ff06d42b91b61b4f4e76ddbfe23b2ce27221b6549a8e040af578d896cdd457 ssh-agent -k 20:20:36 unset SSH_AUTH_SOCK; 20:20:36 unset SSH_AGENT_PID; 20:20:36 echo Agent pid 76 killed; 20:20:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:20:36 + git semver [Pipeline] } 20:20:37 $ docker stop --time=1 56ff06d42b91b61b4f4e76ddbfe23b2ce27221b6549a8e040af578d896cdd457 20:20:38 $ docker rm -f --volumes 56ff06d42b91b61b4f4e76ddbfe23b2ce27221b6549a8e040af578d896cdd457 [Pipeline] // withDockerContainer [Pipeline] sh 20:20:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:20:39 Stashed 1 file(s) [Pipeline] echo 20:20:39 [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:20:39 provisioning config files... 20:20:39 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-341@tmp/config742894889836681570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:20:40 ---> docker-login.sh 20:20:40 nexus3.edgexfoundry.org:10001 20:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:40 Configure a credential helper to remove this warning. See 20:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:40 20:20:40 Login Succeeded 20:20:40 nexus3.edgexfoundry.org:10002 20:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:40 Configure a credential helper to remove this warning. See 20:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:40 20:20:40 Login Succeeded 20:20:40 nexus3.edgexfoundry.org:10003 20:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:40 Configure a credential helper to remove this warning. See 20:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:40 20:20:40 Login Succeeded 20:20:40 nexus3.edgexfoundry.org:10004 20:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:40 Configure a credential helper to remove this warning. See 20:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:40 20:20:40 Login Succeeded 20:20:40 docker.io 20:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:40 Configure a credential helper to remove this warning. See 20:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:40 20:20:40 Login Succeeded 20:20:40 ---> docker-login.sh ends [Pipeline] } 20:20:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:20:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:20:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:20:41 ========================================================= 20:20:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:20:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:41 + 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:20:41 Sending build context to Docker daemon 10.91MB 20:20:41 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:20:41 Step 2/12 : FROM ${BASE} AS builder 20:20:41 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:20:41 7264a8db6415: Pulling fs layer 20:20:41 c4d48a809fc2: Pulling fs layer 20:20:41 4f1c88b9dad5: Pulling fs layer 20:20:41 ad3a456e5733: Pulling fs layer 20:20:41 9e4f439ed901: Pulling fs layer 20:20:41 feaf6a47b606: Pulling fs layer 20:20:41 5e8b037d7d82: Pulling fs layer 20:20:41 8ac70367396e: Pulling fs layer 20:20:41 6db16350a2e2: Pulling fs layer 20:20:41 9250d5d63582: Pulling fs layer 20:20:41 5e8b037d7d82: Waiting 20:20:41 8ac70367396e: Waiting 20:20:41 9250d5d63582: Waiting 20:20:41 6db16350a2e2: Waiting 20:20:41 9e4f439ed901: Waiting 20:20:41 ad3a456e5733: Waiting 20:20:41 feaf6a47b606: Waiting 20:20:42 c4d48a809fc2: Download complete 20:20:42 ad3a456e5733: Verifying Checksum 20:20:42 ad3a456e5733: Download complete 20:20:42 9e4f439ed901: Verifying Checksum 20:20:42 9e4f439ed901: Download complete 20:20:42 7264a8db6415: Verifying Checksum 20:20:42 7264a8db6415: Download complete 20:20:42 feaf6a47b606: Verifying Checksum 20:20:42 feaf6a47b606: Download complete 20:20:42 7264a8db6415: Pull complete 20:20:42 8ac70367396e: Verifying Checksum 20:20:42 8ac70367396e: Download complete 20:20:42 c4d48a809fc2: Pull complete 20:20:42 4f1c88b9dad5: Verifying Checksum 20:20:42 4f1c88b9dad5: Download complete 20:20:42 6db16350a2e2: Verifying Checksum 20:20:42 6db16350a2e2: Download complete 20:20:42 9250d5d63582: Verifying Checksum 20:20:42 9250d5d63582: Download complete 20:20:42 5e8b037d7d82: Verifying Checksum 20:20:42 5e8b037d7d82: Download complete 20:20:46 4f1c88b9dad5: Pull complete 20:20:46 ad3a456e5733: Pull complete 20:20:46 9e4f439ed901: Pull complete 20:20:46 feaf6a47b606: Pull complete 20:20:48 5e8b037d7d82: Pull complete 20:20:48 8ac70367396e: Pull complete 20:20:49 6db16350a2e2: Pull complete 20:20:50 9250d5d63582: Pull complete 20:20:50 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 20:20:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:20:50 ---> fa269f55d9b9 20:20:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:20:53 ---> Running in 9fd3bef3ec69 20:20:53 Removing intermediate container 9fd3bef3ec69 20:20:53 ---> 563ce029706e 20:20:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:20:53 ---> Running in ad6e1da6e2a0 20:20:53 Removing intermediate container ad6e1da6e2a0 20:20:53 ---> 3d0187d9e730 20:20:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:20:53 ---> Running in 67b585bd6b0e 20:20:53 Removing intermediate container 67b585bd6b0e 20:20:53 ---> 05e81fc4b531 20:20:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:20:53 ---> Running in e91d9602fb52 20:20:53 Removing intermediate container e91d9602fb52 20:20:53 ---> 0068bd9cf3df 20:20:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:20:53 ---> Running in f856a84ff5c0 20:20:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:20:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:20:54 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:20:54 Still waiting to schedule task 20:20:54 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:20:54 (2/4) Installing libedit (20221030.3.1-r1) 20:20:54 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:20:54 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:20:54 Executing busybox-1.36.1-r2.trigger 20:20:54 OK: 270 MiB in 60 packages 20:20:55 Removing intermediate container f856a84ff5c0 20:20:55 ---> 3f28590fa7d0 20:20:55 Step 8/12 : WORKDIR /device-rest-go 20:20:55 ---> Running in d6f4fe6c8204 20:20:55 Removing intermediate container d6f4fe6c8204 20:20:55 ---> 264c82fd96b3 20:20:55 Step 9/12 : COPY go.mod vendor* ./ 20:20:55 ---> 01b078e28b0e 20:20:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:20:55 ---> Running in 89d807db68c4 20:21:34 Removing intermediate container 89d807db68c4 20:21:34 ---> 0ddac0e13209 20:21:34 Step 11/12 : COPY . . 20:21:34 ---> 9c4d3f858997 20:21:34 Step 12/12 : RUN $MAKE 20:21:34 ---> Running in 0ce04b1a5be5 20:21:34 noop 20:21:34 Removing intermediate container 0ce04b1a5be5 20:21:34 ---> 6e3557b6a26e 20:21:34 Successfully built 6e3557b6a26e 20:21:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:34 + docker inspect -f . ci-base-image-x86_64 20:21:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:21:34 prd-ubuntu20.04-docker-8c-8g-6404 does not seem to be running inside a container 20:21:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-341 -v /w/workspace/gexfoundry_device-rest-go_PR-341:/w/workspace/gexfoundry_device-rest-go_PR-341:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-341@tmp:/w/workspace/gexfoundry_device-rest-go_PR-341@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:21:35 $ docker top 314b1091a38495e84a71bb4ddd34192ed13f1d75627a7df1fdc2286f22c21199 -eo pid,comm [Pipeline] { [Pipeline] sh 20:21:35 + go version 20:21:35 go version go1.21.0 linux/amd64 [Pipeline] } 20:21:35 $ docker stop --time=1 314b1091a38495e84a71bb4ddd34192ed13f1d75627a7df1fdc2286f22c21199 20:21:36 $ docker rm -f --volumes 314b1091a38495e84a71bb4ddd34192ed13f1d75627a7df1fdc2286f22c21199 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:37 + docker inspect -f . ci-base-image-x86_64 20:21:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:21:37 prd-ubuntu20.04-docker-8c-8g-6404 does not seem to be running inside a container 20:21:37 $ 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-341 -v /w/workspace/gexfoundry_device-rest-go_PR-341:/w/workspace/gexfoundry_device-rest-go_PR-341:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-341@tmp:/w/workspace/gexfoundry_device-rest-go_PR-341@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:21:38 $ docker top c6aada0ee5c18e9b3396eaf1e7d731436a2e9691b6bd0875dedd5fa55d7432c4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:21:38 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-341 [Pipeline] fileExists [Pipeline] sh 20:21:39 + make test 20:21:39 go test ./... -coverprofile=coverage.out ./... 20:21:40 ? github.com/edgexfoundry/device-rest-go [no test files] 20:21:50 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:21:50 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.2% of statements 20:21:58 go vet ./... 20:22:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:22:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:22:01 ./bin/test-attribution-txt.sh [Pipeline] echo 20:22:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:22:01 $ docker stop --time=1 c6aada0ee5c18e9b3396eaf1e7d731436a2e9691b6bd0875dedd5fa55d7432c4 20:22:04 $ docker rm -f --volumes c6aada0ee5c18e9b3396eaf1e7d731436a2e9691b6bd0875dedd5fa55d7432c4 [Pipeline] // withDockerContainer [Pipeline] sh 20:22:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:22:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:22:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:22:06 + ls -al . 20:22:06 total 188 20:22:06 drwxrwxr-x 9 jenkins jenkins 4096 Sep 18 20:21 . 20:22:06 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 20:20 .. 20:22:06 -rw-rw-r-- 1 jenkins jenkins 151 Sep 18 20:20 .dockerignore 20:22:06 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 20:21 .git 20:22:06 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 20:20 .github 20:22:06 -rw-rw-r-- 1 jenkins jenkins 329 Sep 18 20:20 .gitignore 20:22:06 -rw-rw-r-- 1 jenkins jenkins 41 Sep 18 20:20 .golangci.yml 20:22:06 drwxr-xr-x 3 jenkins jenkins 4096 Sep 18 20:20 .semver 20:22:06 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 18 20:20 Attribution.txt 20:22:06 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 18 20:20 CHANGELOG.md 20:22:06 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 18 20:20 Dockerfile 20:22:06 -rw-rw-r-- 1 jenkins jenkins 677 Sep 18 20:20 GOVERNANCE.md 20:22:06 -rw-rw-r-- 1 jenkins jenkins 680 Sep 18 20:20 Jenkinsfile 20:22:06 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 18 20:20 LICENSE 20:22:06 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 18 20:20 Makefile 20:22:06 -rw-rw-r-- 1 jenkins jenkins 620 Sep 18 20:20 OWNERS.md 20:22:06 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 18 20:20 README.md 20:22:06 -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 20:20 VERSION 20:22:06 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 20:20 bin 20:22:06 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 20:20 cmd 20:22:06 -rw-r--r-- 1 jenkins jenkins 14499 Sep 18 20:21 coverage.out 20:22:06 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 20:20 driver 20:22:06 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 18 20:20 go.mod 20:22:06 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 18 20:20 go.sum 20:22:06 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 20:20 snap 20:22:06 -rw-rw-r-- 1 jenkins jenkins 713 Sep 18 20:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:06 + 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=83fd213ce5f6029c0870dda0a68ee1b6242071ac --label arch=amd64 --label version=0.0.0 . 20:22:06 Sending build context to Docker daemon 10.92MB 20:22:06 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:22:06 Step 2/25 : FROM ${BASE} AS builder 20:22:06 ---> 6e3557b6a26e 20:22:06 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:22:07 ---> Running in 0026fc48da72 20:22:07 Removing intermediate container 0026fc48da72 20:22:07 ---> 2e631184ba3f 20:22:07 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:22:07 ---> Running in 2fc1d63171d9 20:22:07 Removing intermediate container 2fc1d63171d9 20:22:07 ---> 1a5d30957e35 20:22:07 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:22:07 ---> Running in 8f43d456972d 20:22:07 Removing intermediate container 8f43d456972d 20:22:07 ---> 68e5ef55a929 20:22:07 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:22:07 ---> Running in eedd6c3c7f29 20:22:07 Removing intermediate container eedd6c3c7f29 20:22:07 ---> fa80e269aa35 20:22:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:22:07 ---> Running in 57891f281066 20:22:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:22:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:22:08 OK: 270 MiB in 60 packages 20:22:08 Removing intermediate container 57891f281066 20:22:08 ---> a40b7f6b4f8b 20:22:08 Step 8/25 : WORKDIR /device-rest-go 20:22:08 ---> Running in 289a5ab1eda7 20:22:08 Removing intermediate container 289a5ab1eda7 20:22:08 ---> bbcc883d87f7 20:22:08 Step 9/25 : COPY go.mod vendor* ./ 20:22:08 ---> f8ba420dcfe5 20:22:08 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:22:08 ---> Running in 015bf5ec7189 20:22:09 Removing intermediate container 015bf5ec7189 20:22:09 ---> ccfb553b1efc 20:22:09 Step 11/25 : COPY . . 20:22:09 ---> 025e28f0730a 20:22:09 Step 12/25 : RUN $MAKE 20:22:09 ---> Running in 1adcbb55e4de 20:22:10 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:22:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6405 in /w/workspace/gexfoundry_device-rest-go_PR-341 [Pipeline] { [Pipeline] ws 20:22:23 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:22:23 The recommended git tool is: git 20:22:28 using credential edgex-jenkins-ssh 20:22:28 Cloning the remote Git repository 20:22:28 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:22:28 > git init /w/workspace/device-rest-go/1 # timeout=10 20:22:28 Removing intermediate container 1adcbb55e4de 20:22:28 ---> 89001bb6fcf2 20:22:28 Step 13/25 : FROM alpine:3.18 20:22:28 3.18: Pulling from library/alpine 20:22:28 7264a8db6415: Already exists 20:22:28 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 20:22:28 Status: Downloaded newer image for alpine:3.18 20:22:28 ---> 7e01a0d0a1dc 20:22:28 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:22:28 ---> Running in f1fc0a308eb2 20:22:28 Removing intermediate container f1fc0a308eb2 20:22:28 ---> 0c9036fcc9a6 20:22:28 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:22:28 ---> Running in 2e9e5d3c6175 20:22:28 Removing intermediate container 2e9e5d3c6175 20:22:28 ---> e6f62207026d 20:22:28 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:22:28 ---> Running in 417fff8fb7b1 20:22:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:22:28 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:22:28 > git --version # timeout=10 20:22:28 > git --version # 'git version 2.25.1' 20:22:28 using GIT_SSH to set credentials SSH Credentials for GitHub 20:22:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:22:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:22:30 (1/1) Installing dumb-init (1.2.5-r2) 20:22:30 Executing busybox-1.36.1-r2.trigger 20:22:30 OK: 7 MiB in 16 packages 20:22:30 Removing intermediate container 417fff8fb7b1 20:22:30 ---> ea69f009da85 20:22:30 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:22:30 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:22:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:22:31 ---> f68b7a265d6b 20:22:31 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:22:31 ---> bf33e4dc4be7 20:22:31 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:22:31 ---> c9f78b89b9a8 20:22:31 Step 20/25 : EXPOSE 59986 20:22:31 ---> Running in 44ed48d70962 20:22:31 Removing intermediate container 44ed48d70962 20:22:31 ---> 485fc1ab0e1e 20:22:31 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:22:31 ---> Running in 25663e1326d1 20:22:31 Removing intermediate container 25663e1326d1 20:22:31 ---> 1aa1f9db1c15 20:22:31 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:22:31 ---> Running in 70dc3c8fa936 20:22:31 Merging remotes/origin/main commit b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 into PR head commit 83fd213ce5f6029c0870dda0a68ee1b6242071ac 20:22:31 Removing intermediate container 70dc3c8fa936 20:22:31 ---> a994cd013ac1 20:22:31 Step 23/25 : LABEL arch=amd64 20:22:31 ---> Running in adb20a4ccaca 20:22:31 Removing intermediate container adb20a4ccaca 20:22:31 ---> c2b7979c5ac3 20:22:31 Step 24/25 : LABEL git_sha=83fd213ce5f6029c0870dda0a68ee1b6242071ac 20:22:31 ---> Running in 329ab3efa2d4 20:22:31 Merge succeeded, producing 83fd213ce5f6029c0870dda0a68ee1b6242071ac 20:22:31 Checking out Revision 83fd213ce5f6029c0870dda0a68ee1b6242071ac (PR-341) 20:22:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:22:31 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:22:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:22:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/341/head:refs/remotes/origin/PR-341 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:22:31 > git config core.sparsecheckout # timeout=10 20:22:31 > git checkout -f 83fd213ce5f6029c0870dda0a68ee1b6242071ac # timeout=10 20:22:31 > git remote # timeout=10 20:22:31 > git config --get remote.origin.url # timeout=10 20:22:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:22:31 > git merge b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 # timeout=10 20:22:31 > git rev-parse HEAD^{commit} # timeout=10 20:22:31 > git config core.sparsecheckout # timeout=10 20:22:31 > git checkout -f 83fd213ce5f6029c0870dda0a68ee1b6242071ac # timeout=10 20:22:32 Removing intermediate container 329ab3efa2d4 20:22:32 ---> caf70f4fce64 20:22:32 Step 25/25 : LABEL version=0.0.0 20:22:32 ---> Running in 3eaf235611ce 20:22:32 Removing intermediate container 3eaf235611ce 20:22:32 ---> 4e8234b2b58f 20:22:32 [Warning] One or more build-args [ARCH] were not consumed 20:22:32 Successfully built 4e8234b2b58f 20:22:32 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 20:22:32 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 20:22:32 > git --version # timeout=10 20:22:32 > git --version # 'git version 2.25.1' 20:22:32 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:32 20:22:32 GitHub has been notified of this commit’s build result 20:22:32 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 20:22:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:22:32 20:22:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 20:22:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:22:33 latest: Pulling from edgex-lftools-log-publisher 20:22:33 5eb5b503b376: Pulling fs layer 20:22:33 5c69ac0246d0: Pulling fs layer 20:22:33 ec43610c2a17: Pulling fs layer 20:22:33 3a2ae6a8a46f: Pulling fs layer 20:22:33 33b1e0a273af: Pulling fs layer 20:22:33 5d3b04190fa2: Pulling fs layer 20:22:33 2f39f015ded8: Pulling fs layer 20:22:33 33b1e0a273af: Waiting 20:22:33 5d3b04190fa2: Waiting 20:22:33 2f39f015ded8: Waiting 20:22:33 3a2ae6a8a46f: Waiting 20:22:33 5c69ac0246d0: Verifying Checksum 20:22:33 5c69ac0246d0: Download complete 20:22:33 3a2ae6a8a46f: Verifying Checksum 20:22:33 3a2ae6a8a46f: Download complete 20:22:33 33b1e0a273af: Verifying Checksum 20:22:33 33b1e0a273af: Download complete 20:22:33 5d3b04190fa2: Verifying Checksum 20:22:33 5d3b04190fa2: Download complete 20:22:33 ec43610c2a17: Verifying Checksum 20:22:33 ec43610c2a17: Download complete 20:22:33 5eb5b503b376: Verifying Checksum 20:22:33 5eb5b503b376: Download complete 20:22:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:22:33 % Total % Received % Xferd Average Speed Time Time Time Current 20:22:33 Dload Upload Total Spent Left Speed 20:22:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh 20:22:34 2f39f015ded8: Download complete 20:22:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:22:34 + sudo tee /etc/docker/daemon.new 20:22:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:22:34 { 20:22:34 "registry-mirrors": [ 20:22:34 "https://nexus3.edgexfoundry.org:10001" 20:22:34 ], 20:22:34 "bip": "10.250.0.254/24", 20:22:34 "hosts": [ 20:22:34 "tcp://0.0.0.0:5555", 20:22:34 "unix:///var/run/docker.sock" 20:22:34 ], 20:22:34 "mtu": 1458, 20:22:34 "selinux-enabled": true, 20:22:34 "seccomp-profile": "/etc/docker/seccomp.json" 20:22:34 } [Pipeline] sh 20:22:34 5eb5b503b376: Pull complete 20:22:34 5c69ac0246d0: Pull complete 20:22:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:22:35 + sudo service docker restart 20:22:35 ec43610c2a17: Pull complete 20:22:35 3a2ae6a8a46f: Pull complete 20:22:35 33b1e0a273af: Pull complete 20:22:35 5d3b04190fa2: Pull complete 20:22:41 2f39f015ded8: Pull complete 20:22:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:22:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:22:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:22:41 prd-ubuntu20.04-docker-8c-8g-6404 does not seem to be running inside a container 20:22:41 $ 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-341 -v /w/workspace/gexfoundry_device-rest-go_PR-341:/w/workspace/gexfoundry_device-rest-go_PR-341:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-341@tmp:/w/workspace/gexfoundry_device-rest-go_PR-341@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:22:44 $ docker top 721dfc51bbe45ca625cbed48da8aad2444efbcbdfb6a1f88ae13563095815012 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:22:45 ---> job-cost.sh 20:22:45 lf-activate-venv: SKIPPING 20:22:45 INFO: No Stack... 20:22:45 INFO: Retrieving Pricing Info for: v3-standard-8 20:22:45 INFO: Archiving Costs [Pipeline] sh 20:22:46 + cat /w/workspace/gexfoundry_device-rest-go_PR-341/archives/cost.csv 20:22:46 + cut -d, -f6 [Pipeline] lock 20:22:46 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-341-1-stack-cost] 20:22:46 Resource [jenkins-edgexfoundry-device-rest-go-PR-341-1-stack-cost] did not exist. Created. 20:22:46 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-341-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:22:46 + echo total: 0.2199999988079071 [Pipeline] stash 20:22:46 Stashed 1 file(s) [Pipeline] } 20:22:46 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-341-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:22:46 $ docker stop --time=1 721dfc51bbe45ca625cbed48da8aad2444efbcbdfb6a1f88ae13563095815012 20:22:47 $ docker rm -f --volumes 721dfc51bbe45ca625cbed48da8aad2444efbcbdfb6a1f88ae13563095815012 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:22:53 provisioning config files... 20:22:53 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5079104960619068993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:22:54 ---> docker-login.sh 20:22:54 nexus3.edgexfoundry.org:10001 20:22:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:54 Configure a credential helper to remove this warning. See 20:22:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:54 20:22:54 Login Succeeded 20:22:54 nexus3.edgexfoundry.org:10002 20:22:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:54 Configure a credential helper to remove this warning. See 20:22:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:54 20:22:54 Login Succeeded 20:22:54 nexus3.edgexfoundry.org:10003 20:22:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:55 Configure a credential helper to remove this warning. See 20:22:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:55 20:22:55 Login Succeeded 20:22:55 nexus3.edgexfoundry.org:10004 20:22:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:55 Configure a credential helper to remove this warning. See 20:22:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:55 20:22:55 Login Succeeded 20:22:55 docker.io 20:22:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:56 Configure a credential helper to remove this warning. See 20:22:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:56 20:22:56 Login Succeeded 20:22:56 ---> docker-login.sh ends [Pipeline] } 20:22:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:22:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:22:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:22:56 ========================================================= 20:22:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:22:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:57 + 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:22:57 Sending build context to Docker daemon 143.4kB 20:22:57 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:22:57 Step 2/12 : FROM ${BASE} AS builder 20:22:59 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:22:59 9fda8d8052c6: Pulling fs layer 20:22:59 5d54e960e981: Pulling fs layer 20:22:59 c4a7e357bf2a: Pulling fs layer 20:22:59 f0e02332f6b5: Pulling fs layer 20:22:59 66412af1f25a: Pulling fs layer 20:22:59 1baf3a5c0e64: Pulling fs layer 20:22:59 9a37bb91b891: Pulling fs layer 20:22:59 a29adfc67d43: Pulling fs layer 20:22:59 d5de9f91c1a4: Pulling fs layer 20:22:59 f0e02332f6b5: Waiting 20:22:59 66412af1f25a: Waiting 20:22:59 1baf3a5c0e64: Waiting 20:22:59 9a37bb91b891: Waiting 20:22:59 a29adfc67d43: Waiting 20:22:59 d5de9f91c1a4: Waiting 20:22:59 5d54e960e981: Verifying Checksum 20:22:59 5d54e960e981: Download complete 20:22:59 f0e02332f6b5: Verifying Checksum 20:22:59 f0e02332f6b5: Download complete 20:22:59 66412af1f25a: Verifying Checksum 20:22:59 66412af1f25a: Download complete 20:22:59 9fda8d8052c6: Verifying Checksum 20:22:59 9fda8d8052c6: Download complete 20:23:00 9a37bb91b891: Verifying Checksum 20:23:00 9a37bb91b891: Download complete 20:23:00 a29adfc67d43: Verifying Checksum 20:23:00 a29adfc67d43: Download complete 20:23:00 9fda8d8052c6: Pull complete 20:23:01 5d54e960e981: Pull complete 20:23:01 d5de9f91c1a4: Verifying Checksum 20:23:01 d5de9f91c1a4: Download complete 20:23:01 c4a7e357bf2a: Verifying Checksum 20:23:01 c4a7e357bf2a: Download complete 20:23:02 1baf3a5c0e64: Verifying Checksum 20:23:02 1baf3a5c0e64: Download complete 20:23:14 c4a7e357bf2a: Pull complete 20:23:14 f0e02332f6b5: Pull complete 20:23:14 66412af1f25a: Pull complete 20:23:21 1baf3a5c0e64: Pull complete 20:23:21 9a37bb91b891: Pull complete 20:23:23 a29adfc67d43: Pull complete 20:23:24 d5de9f91c1a4: Pull complete 20:23:24 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 20:23:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:23:24 ---> 746ca1b523b5 20:23:24 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:23:26 ---> Running in 6f5c06cdca0a 20:23:26 Removing intermediate container 6f5c06cdca0a 20:23:26 ---> b1b29f226ace 20:23:26 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:23:27 ---> Running in ccdca10c0264 20:23:27 Removing intermediate container ccdca10c0264 20:23:27 ---> ec2425184e0e 20:23:27 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:23:27 ---> Running in 910528a0a346 20:23:27 Removing intermediate container 910528a0a346 20:23:27 ---> 0b2fa0c9a08a 20:23:27 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:23:27 ---> Running in 625a33d4da17 20:23:27 Removing intermediate container 625a33d4da17 20:23:27 ---> 307dd5a4aeb6 20:23:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:23:28 ---> Running in 04c8e4d383e4 20:23:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:23:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:23:30 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:23:30 (2/4) Installing libedit (20221030.3.1-r1) 20:23:30 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:23:30 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:23:30 Executing busybox-1.36.1-r2.trigger 20:23:30 OK: 272 MiB in 60 packages 20:23:31 Removing intermediate container 04c8e4d383e4 20:23:31 ---> ad2a464ff6d4 20:23:31 Step 8/12 : WORKDIR /device-rest-go 20:23:31 ---> Running in b1237add6829 20:23:31 Removing intermediate container b1237add6829 20:23:31 ---> 2adf523e5851 20:23:31 Step 9/12 : COPY go.mod vendor* ./ 20:23:32 ---> a387d0bb82d3 20:23:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:23:32 ---> Running in a062a9730c90 20:24:40 Removing intermediate container a062a9730c90 20:24:40 ---> e54a0043b680 20:24:40 Step 11/12 : COPY . . 20:24:40 ---> 21eddc6819a2 20:24:40 Step 12/12 : RUN $MAKE 20:24:40 ---> Running in 675d72e80a07 20:24:41 noop 20:24:42 Removing intermediate container 675d72e80a07 20:24:42 ---> 0f62cd53d3af 20:24:42 Successfully built 0f62cd53d3af 20:24:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:42 + docker inspect -f . ci-base-image-arm64 20:24:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:24:42 prd-ubuntu20.04-docker-arm64-4c-16g-6405 does not seem to be running inside a container 20:24:42 $ 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:24:44 $ docker top 0087d6086e920b6af44d4b1be17247b76575e0271199232048eef0fee3dbda54 -eo pid,comm [Pipeline] { [Pipeline] sh 20:24:44 + go version 20:24:44 go version go1.21.0 linux/arm64 [Pipeline] } 20:24:44 $ docker stop --time=1 0087d6086e920b6af44d4b1be17247b76575e0271199232048eef0fee3dbda54 20:24:48 $ docker rm -f --volumes 0087d6086e920b6af44d4b1be17247b76575e0271199232048eef0fee3dbda54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:49 + docker inspect -f . ci-base-image-arm64 20:24:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:24:49 prd-ubuntu20.04-docker-arm64-4c-16g-6405 does not seem to be running inside a container 20:24:49 $ 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:24:50 $ docker top 6511413dd9c2718df6f549c11b08b0ed855fb7b41d50e4a7915a90d3fa693903 -eo pid,comm [Pipeline] { [Pipeline] sh 20:24:51 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:24:51 + make test 20:24:51 go test ./... -coverprofile=coverage.out ./... 20:24:55 ? github.com/edgexfoundry/device-rest-go [no test files] 20:26:32 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:26:32 ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 33.2% of statements 20:26:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:26:32 go vet ./... 20:26:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:26:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:26:42 ./bin/test-attribution-txt.sh [Pipeline] echo 20:26:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:26:42 $ docker stop --time=1 6511413dd9c2718df6f549c11b08b0ed855fb7b41d50e4a7915a90d3fa693903 20:26:44 $ docker rm -f --volumes 6511413dd9c2718df6f549c11b08b0ed855fb7b41d50e4a7915a90d3fa693903 [Pipeline] // withDockerContainer [Pipeline] sh 20:26:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:26:45 Warning: overwriting stash ‘coverage-report’ 20:26:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:26:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:26:47 + ls -al . 20:26:47 total 184 20:26:47 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 20:24 . 20:26:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 20:22 .. 20:26:47 -rw-rw-r-- 1 jenkins jenkins 151 Sep 18 20:22 .dockerignore 20:26:47 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 20:22 .git 20:26:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 20:22 .github 20:26:47 -rw-rw-r-- 1 jenkins jenkins 329 Sep 18 20:22 .gitignore 20:26:47 -rw-rw-r-- 1 jenkins jenkins 41 Sep 18 20:22 .golangci.yml 20:26:47 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 18 20:22 Attribution.txt 20:26:47 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 18 20:22 CHANGELOG.md 20:26:47 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 18 20:22 Dockerfile 20:26:47 -rw-rw-r-- 1 jenkins jenkins 677 Sep 18 20:22 GOVERNANCE.md 20:26:47 -rw-rw-r-- 1 jenkins jenkins 680 Sep 18 20:22 Jenkinsfile 20:26:47 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 18 20:22 LICENSE 20:26:47 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 18 20:22 Makefile 20:26:47 -rw-rw-r-- 1 jenkins jenkins 620 Sep 18 20:22 OWNERS.md 20:26:47 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 18 20:22 README.md 20:26:47 -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 20:20 VERSION 20:26:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 20:22 bin 20:26:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 20:22 cmd 20:26:47 -rw-r--r-- 1 jenkins jenkins 14499 Sep 18 20:26 coverage.out 20:26:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 20:22 driver 20:26:47 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 18 20:22 go.mod 20:26:47 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 18 20:22 go.sum 20:26:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 20:22 snap 20:26:47 -rw-rw-r-- 1 jenkins jenkins 713 Sep 18 20:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:47 + 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=83fd213ce5f6029c0870dda0a68ee1b6242071ac --label arch=arm64 --label version=0.0.0 . 20:26:47 Sending build context to Docker daemon 158.7kB 20:26:48 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:26:48 Step 2/25 : FROM ${BASE} AS builder 20:26:48 ---> 0f62cd53d3af 20:26:48 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:26:49 ---> Running in a39aa2fde6d5 20:26:49 Removing intermediate container a39aa2fde6d5 20:26:49 ---> 32c640bcb493 20:26:49 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:26:50 ---> Running in e266138a6745 20:26:50 Removing intermediate container e266138a6745 20:26:50 ---> 92d03ab5c2ed 20:26:50 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:26:50 ---> Running in 3904a96a4074 20:26:50 Removing intermediate container 3904a96a4074 20:26:50 ---> bc796c7063e0 20:26:50 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:26:50 ---> Running in a8f0300fb6f1 20:26:50 Removing intermediate container a8f0300fb6f1 20:26:50 ---> 469941e88c4c 20:26:50 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:26:51 ---> Running in f202f16003fa 20:26:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:26:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:26:53 OK: 272 MiB in 60 packages 20:26:54 Removing intermediate container f202f16003fa 20:26:54 ---> da86595ab697 20:26:54 Step 8/25 : WORKDIR /device-rest-go 20:26:54 ---> Running in 25ff3156316d 20:26:54 Removing intermediate container 25ff3156316d 20:26:54 ---> 07393f243638 20:26:54 Step 9/25 : COPY go.mod vendor* ./ 20:26:55 ---> af9587edabb1 20:26:55 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:26:55 ---> Running in 2a6acc184c43 20:26:59 Removing intermediate container 2a6acc184c43 20:26:59 ---> 7e31c4912b85 20:26:59 Step 11/25 : COPY . . 20:26:59 ---> 90d03ccb8b83 20:26:59 Step 12/25 : RUN $MAKE 20:26:59 ---> Running in 7c7ee2e34c77 20:27:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:29:09 Removing intermediate container 7c7ee2e34c77 20:29:09 ---> 1d143032d446 20:29:09 Step 13/25 : FROM alpine:3.18 20:29:09 3.18: Pulling from library/alpine 20:29:09 9fda8d8052c6: Already exists 20:29:09 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 20:29:09 Status: Downloaded newer image for alpine:3.18 20:29:09 ---> f6648c04cd6c 20:29:09 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:29:09 ---> Running in 449423cfa59b 20:29:09 Removing intermediate container 449423cfa59b 20:29:09 ---> cab0f560eff0 20:29:09 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:29:09 ---> Running in 6309b478f85f 20:29:09 Removing intermediate container 6309b478f85f 20:29:09 ---> 7f13378fa7e9 20:29:09 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:29:09 ---> Running in b2fef21a68a8 20:29:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:29:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:29:09 (1/1) Installing dumb-init (1.2.5-r2) 20:29:09 Executing busybox-1.36.1-r2.trigger 20:29:09 OK: 8 MiB in 16 packages 20:29:09 Removing intermediate container b2fef21a68a8 20:29:09 ---> 027f7f4946ba 20:29:09 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:29:09 ---> fd9b7f991700 20:29:09 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:29:09 ---> beff49096a61 20:29:09 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:29:09 ---> 9ac414733f8a 20:29:09 Step 20/25 : EXPOSE 59986 20:29:09 ---> Running in 84382f0032a0 20:29:09 Removing intermediate container 84382f0032a0 20:29:09 ---> 2ec7f963641e 20:29:09 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:29:09 ---> Running in 2ecf03bc5830 20:29:09 Removing intermediate container 2ecf03bc5830 20:29:09 ---> 83a3060822d1 20:29:09 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:29:09 ---> Running in c72295625d69 20:29:09 Removing intermediate container c72295625d69 20:29:09 ---> 82425fae90dc 20:29:09 Step 23/25 : LABEL arch=arm64 20:29:09 ---> Running in 6122be84eb14 20:29:09 Removing intermediate container 6122be84eb14 20:29:09 ---> 2ea76cf5fffb 20:29:09 Step 24/25 : LABEL git_sha=83fd213ce5f6029c0870dda0a68ee1b6242071ac 20:29:09 ---> Running in 0124b71cfb71 20:29:09 Removing intermediate container 0124b71cfb71 20:29:09 ---> 7f469a632f3d 20:29:09 Step 25/25 : LABEL version=0.0.0 20:29:09 ---> Running in 48fc961c8fa6 20:29:09 Removing intermediate container 48fc961c8fa6 20:29:09 ---> b476be1b008c 20:29:09 [Warning] One or more build-args [ARCH] were not consumed 20:29:09 Successfully built b476be1b008c 20:29:09 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:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:29:10 20:29:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:29:11 arm64: Pulling from edgex-lftools-log-publisher 20:29:11 8998bd30e6a1: Pulling fs layer 20:29:11 04944245beec: Pulling fs layer 20:29:11 699f458cf7ca: Pulling fs layer 20:29:11 765212b225bb: Pulling fs layer 20:29:11 f23df028b6ca: Pulling fs layer 20:29:11 d65c8cfc05b1: Pulling fs layer 20:29:11 2437ff75d9bd: Pulling fs layer 20:29:11 765212b225bb: Waiting 20:29:11 f23df028b6ca: Waiting 20:29:11 d65c8cfc05b1: Waiting 20:29:11 2437ff75d9bd: Waiting 20:29:11 04944245beec: Verifying Checksum 20:29:11 04944245beec: Download complete 20:29:11 765212b225bb: Verifying Checksum 20:29:11 765212b225bb: Download complete 20:29:11 f23df028b6ca: Verifying Checksum 20:29:11 f23df028b6ca: Download complete 20:29:11 d65c8cfc05b1: Verifying Checksum 20:29:11 d65c8cfc05b1: Download complete 20:29:11 699f458cf7ca: Verifying Checksum 20:29:11 699f458cf7ca: Download complete 20:29:12 8998bd30e6a1: Verifying Checksum 20:29:12 8998bd30e6a1: Download complete 20:29:13 2437ff75d9bd: Verifying Checksum 20:29:13 2437ff75d9bd: Download complete 20:29:15 8998bd30e6a1: Pull complete 20:29:17 04944245beec: Pull complete 20:29:18 699f458cf7ca: Pull complete 20:29:19 765212b225bb: Pull complete 20:29:19 f23df028b6ca: Pull complete 20:29:20 d65c8cfc05b1: Pull complete 20:29:35 2437ff75d9bd: Pull complete 20:29:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:29:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:29:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:29:35 prd-ubuntu20.04-docker-arm64-4c-16g-6405 does not seem to be running inside a container 20:29: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/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:29:37 $ docker top be050b3725d732c8b9d16f894adaa66508ab774414874521e729ae687c056290 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:38 ---> job-cost.sh 20:29:38 lf-activate-venv: SKIPPING 20:29:38 INFO: No Stack... 20:29:39 INFO: Retrieving Pricing Info for: v3-standard-4 20:29:40 INFO: Archiving Costs [Pipeline] sh 20:29:40 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:29:40 + cut -d, -f6 [Pipeline] lock 20:29:40 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-341-1-stack-cost] 20:29:40 Resource [jenkins-edgexfoundry-device-rest-go-PR-341-1-stack-cost] did not exist. Created. 20:29:40 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-341-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:29:40 /w/workspace/device-rest-go/1@tmp/durable-589f3568/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:29:41 + echo total: 0.10999999940395355 [Pipeline] stash 20:29:41 Warning: overwriting stash ‘stack-cost’ 20:29:41 Stashed 1 file(s) [Pipeline] } 20:29:41 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-341-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:29:41 $ docker stop --time=1 be050b3725d732c8b9d16f894adaa66508ab774414874521e729ae687c056290 20:29:44 $ docker rm -f --volumes be050b3725d732c8b9d16f894adaa66508ab774414874521e729ae687c056290 [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:29:45 provisioning config files... 20:29:45 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-341@tmp/config598071244052452202tmp [Pipeline] { [Pipeline] sh 20:29:46 + set +x 20:29:46 + curl -s https://codecov.io/bash 20:29:46 + bash -s -- 20:29:46 20:29:46 _____ _ 20:29:46 / ____| | | 20:29:46 | | ___ __| | ___ ___ _____ __ 20:29:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:29:46 | |___| (_) | (_| | __/ (_| (_) \ V / 20:29:46 \_____\___/ \__,_|\___|\___\___/ \_/ 20:29:46 Bash-1.0.6 20:29:46 20:29:46 20:29:46 ==> git version 2.25.1 found 20:29:46 ==> 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:29:46 Release-Date: 2020-01-08 20:29:46 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:29:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:29:46 ==> Jenkins CI detected. 20:29:46 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-341 20:29:46 project root: . 20:29:46 --> token set from env 20:29:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:29:46 ==> Running gcov in . (disable via -X gcov) 20:29:46 ==> Python coveragepy not found 20:29:46 ==> Searching for coverage reports in: 20:29:46 + . 20:29:46 -> Found 1 reports 20:29:46 ==> Detecting git/mercurial file structure 20:29:46 ==> Reading reports 20:29:46 + ./coverage.out bytes=14499 20:29:46 ==> Appending adjustments 20:29:46 https://docs.codecov.io/docs/fixing-reports 20:29:46 + Found adjustments 20:29:46 ==> Gzipping contents 20:29:46 4.0K /tmp/codecov.eLNA9L.gz 20:29:46 ==> Uploading reports 20:29:46 url: https://codecov.io 20:29:46 query: branch=PR-341&commit=83fd213ce5f6029c0870dda0a68ee1b6242071ac&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-341%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=341&job=&cmd_args= 20:29:46 -> Pinging Codecov 20:29:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-341&commit=83fd213ce5f6029c0870dda0a68ee1b6242071ac&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-341%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=341&job=&cmd_args= 20:29:46 -> Uploading to 20:29:46 https://storage.googleapis.com/codecov/v4/raw/2023-09-18/4E5D53B4F1F92C436F7061BF334D961C/83fd213ce5f6029c0870dda0a68ee1b6242071ac/20df7334-2470-4878-9645-42623477a2ed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230918%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230918T202946Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=08ec2802c2ffea4dd8070efac7dfffa6f73bc03f39667e51b13c2a302e4c2fa2 20:29:46 % Total % Received % Xferd Average Speed Time Time Time Current 20:29:46 Dload Upload Total Spent Left Speed 20:29:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 12043 --:--:-- --:--:-- --:--:-- 12043 20:29:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/83fd213ce5f6029c0870dda0a68ee1b6242071ac [Pipeline] } 20:29:46 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:29:48 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-341/archives ] 20:29:48 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-341/archives 20:29:48 total 16 20:29:48 drwxr-xr-x 3 root root 4096 Sep 18 20:22 . 20:29:48 drwxrwxr-x 10 jenkins jenkins 4096 Sep 18 20:22 .. 20:29:48 drwxr-xr-x 2 root root 4096 Sep 18 20:22 cost 20:29:48 -rw-r--r-- 1 root root 86 Sep 18 20:22 cost.csv 20:29:48 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-341/archives 20:29:48 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-341/archives 20:29:48 total 16 20:29:48 drwxr-xr-x 3 jenkins jenkins 4096 Sep 18 20:22 . 20:29:48 drwxrwxr-x 10 jenkins jenkins 4096 Sep 18 20:22 .. 20:29:48 drwxr-xr-x 2 jenkins jenkins 4096 Sep 18 20:22 cost 20:29:48 -rw-r--r-- 1 jenkins jenkins 86 Sep 18 20:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:29:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:29:49 ---> package-listing.sh 20:29:49 ++ facter osfamily 20:29:49 ++ tr '[:upper:]' '[:lower:]' 20:29:50 + OS_FAMILY=debian 20:29:50 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-341 20:29:50 + START_PACKAGES=/tmp/packages_start.txt 20:29:50 + END_PACKAGES=/tmp/packages_end.txt 20:29:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:29:50 + PACKAGES=/tmp/packages_start.txt 20:29:50 + '[' /w/workspace/gexfoundry_device-rest-go_PR-341 ']' 20:29:50 + PACKAGES=/tmp/packages_end.txt 20:29:50 + case "${OS_FAMILY}" in 20:29:50 + dpkg -l 20:29:50 + grep '^ii' 20:29:50 + '[' -f /tmp/packages_start.txt ']' 20:29:50 + '[' -f /tmp/packages_end.txt ']' 20:29:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:29:50 + '[' /w/workspace/gexfoundry_device-rest-go_PR-341 ']' 20:29:50 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-341/archives/ 20:29:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-341/archives/ [Pipeline] echo 20:29:50 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-341/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:29:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:29:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:29:51 prd-ubuntu20.04-docker-8c-8g-6404 does not seem to be running inside a container 20:29:51 $ 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-341/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-341 -v /w/workspace/gexfoundry_device-rest-go_PR-341:/w/workspace/gexfoundry_device-rest-go_PR-341:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-341@tmp:/w/workspace/gexfoundry_device-rest-go_PR-341@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:29:51 $ docker top 57d0026b784eebcd3882449c95eaa20adabd5030baadce8795ae1427d6f4a662 -eo pid,comm [Pipeline] { [Pipeline] sh 20:29:51 + touch /tmp/pre-build-complete [Pipeline] sh 20:29:52 + mkdir -p /var/log/sysstat [Pipeline] sh 20:29:52 + ls /var/log/sa-host 20:29:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:29:52 provisioning config files... 20:29:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-341@tmp/config5793962469454594030tmp [Pipeline] { [Pipeline] echo 20:29:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:29:53 ---> create-netrc.sh [Pipeline] } 20:29:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:29:55 ---> python-tools-install.sh [Pipeline] echo 20:29:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:29:55 ---> sudo-logs.sh 20:29:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:29:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:29:55 ---> job-cost.sh 20:29:55 lf-activate-venv: SKIPPING 20:29:55 DEBUG: total: 0.2199999988079071 20:29:55 INFO: Retrieving Stack Cost... 20:29:56 INFO: Retrieving Pricing Info for: v3-standard-8 20:29:56 INFO: Archiving Costs [Pipeline] echo 20:29:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:29:57 ---> logs-deploy.sh 20:29:57 lf-activate-venv: SKIPPING 20:29:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-341/1 20:29:57 INFO: archiving workspace using pattern(s): 20:29:58 Archives upload complete. 20:29:58 INFO: archiving logs to Nexus 20:29:59 ---> uname -a: 20:29:59 Linux prd-ubuntu20-04-docker-8c-8g-6404 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:29:59 20:29:59 20:29:59 ---> lscpu: 20:29:59 Architecture: x86_64 20:29:59 CPU op-mode(s): 32-bit, 64-bit 20:29:59 Byte Order: Little Endian 20:29:59 Address sizes: 40 bits physical, 48 bits virtual 20:29:59 CPU(s): 8 20:29:59 On-line CPU(s) list: 0-7 20:29:59 Thread(s) per core: 1 20:29:59 Core(s) per socket: 1 20:29:59 Socket(s): 8 20:29:59 NUMA node(s): 1 20:29:59 Vendor ID: AuthenticAMD 20:29:59 CPU family: 23 20:29:59 Model: 49 20:29:59 Model name: AMD EPYC-Rome Processor 20:29:59 Stepping: 0 20:29:59 CPU MHz: 2799.998 20:29:59 BogoMIPS: 5599.99 20:29:59 Virtualization: AMD-V 20:29:59 Hypervisor vendor: KVM 20:29:59 Virtualization type: full 20:29:59 L1d cache: 256 KiB 20:29:59 L1i cache: 256 KiB 20:29:59 L2 cache: 4 MiB 20:29:59 L3 cache: 128 MiB 20:29:59 NUMA node0 CPU(s): 0-7 20:29:59 Vulnerability Itlb multihit: Not affected 20:29:59 Vulnerability L1tf: Not affected 20:29:59 Vulnerability Mds: Not affected 20:29:59 Vulnerability Meltdown: Not affected 20:29:59 Vulnerability Mmio stale data: Not affected 20:29:59 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:29:59 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:29:59 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:29:59 Vulnerability Srbds: Not affected 20:29:59 Vulnerability Tsx async abort: Not affected 20:29:59 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:29:59 20:29:59 20:29:59 ---> nproc: 20:29:59 8 20:29:59 20:29:59 20:29:59 ---> df -h: 20:29:59 Filesystem Size Used Avail Use% Mounted on 20:29:59 overlay 155G 12G 144G 8% / 20:29:59 tmpfs 64M 0 64M 0% /dev 20:29:59 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:29:59 shm 64M 0 64M 0% /dev/shm 20:29:59 /dev/vda1 155G 12G 144G 8% /facter-os 20:29:59 20:29:59 20:29:59 ---> sar -b -r -n DEV: 20:29:59 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-6404) 09/18/23 _x86_64_ (8 CPU) 20:29:59 20:29:59 20:19:43 LINUX RESTART (8 CPU) 20:29:59 20:29:59 20:20:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:29:59 20:21:01 181.07 46.98 134.09 0.00 5328.36 75956.95 0.00 20:29:59 20:22:01 133.63 1.00 132.63 0.00 10.13 53367.37 0.00 20:29:59 20:23:01 187.02 0.33 186.69 0.00 28.53 45133.41 0.00 20:29:59 20:24:01 1.82 0.00 1.82 0.00 0.00 21.61 0.00 20:29:59 20:25:01 47.71 10.60 37.11 0.00 5155.41 8141.84 0.00 20:29:59 20:26:01 8.67 0.02 8.65 0.00 0.53 314.35 0.00 20:29:59 20:27:01 3.10 0.02 3.08 0.00 0.13 83.97 0.00 20:29:59 20:28:01 3.88 1.02 2.87 0.00 21.86 37.73 0.00 20:29:59 20:29:01 1.17 0.00 1.17 0.00 0.00 12.66 0.00 20:29:59 Average: 63.12 6.66 56.45 0.00 1171.70 20341.38 0.00 20:29:59 20:29:59 20:20:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:29:59 20:21:01 29096416 31580692 736272 2.24 78644 2671816 1976052 5.82 998832 2416260 5584 20:29:59 20:22:01 28031652 31594096 708748 2.16 152832 3557424 1793364 5.29 1184404 3164604 214844 20:29:59 20:23:01 27497264 31578176 725760 2.21 165192 4035920 1750556 5.16 1264884 3590452 440 20:29:59 20:24:01 27497704 31578660 725224 2.21 165232 4035920 1750556 5.16 1264276 3590456 132 20:29:59 20:25:01 27058688 31548692 723504 2.20 183320 4429064 1703080 5.02 1538700 3725244 256 20:29:59 20:26:01 27033584 31567680 704068 2.14 194164 4460268 1714692 5.05 1561260 3723252 8 20:29:59 20:27:01 27039768 31569040 702468 2.14 192692 4457020 1702612 5.02 1558672 3720052 8 20:29:59 20:28:01 27039792 31570192 701032 2.13 192772 4457708 1708848 5.04 1557760 3720644 40 20:29:59 20:29:01 27039744 31570184 700980 2.13 192812 4457708 1708848 5.04 1557804 3720644 8 20:29:59 Average: 27481624 31573046 714228 2.17 168629 4062539 1756512 5.18 1387399 3485734 24591 20:29:59 20:29:59 20:20:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:29:59 20:21:01 ens3 707.96 463.36 6695.27 97.89 0.00 0.00 0.00 0.00 20:29:59 20:21:01 lo 7.06 7.06 0.69 0.69 0.00 0.00 0.00 0.00 20:29:59 20:21:01 vethb24be0a 66.19 78.47 6.49 55.89 0.00 0.00 0.00 0.00 20:29:59 20:21:01 docker0 90.64 107.28 7.47 286.15 0.00 0.00 0.00 0.00 20:29:59 20:22:01 ens3 305.87 163.59 2326.60 25.53 0.00 0.00 0.00 0.00 20:29:59 20:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:29:59 20:22:01 docker0 146.03 276.17 12.16 2299.05 0.00 0.00 0.00 0.00 20:29:59 20:22:01 vethf31b9a2 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 20:29:59 20:23:01 ens3 140.33 100.15 2602.75 98.54 0.00 0.00 0.00 0.00 20:29:59 20:23:01 lo 1.93 1.93 0.20 0.20 0.00 0.00 0.00 0.00 20:29:59 20:23:01 docker0 3.75 7.27 0.22 62.34 0.00 0.00 0.00 0.00 20:29:59 20:24:01 ens3 0.18 0.12 0.01 0.01 0.00 0.00 0.00 0.00 20:29:59 20:24:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:29:59 20:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:29:59 20:25:01 ens3 146.66 54.01 2726.45 3.97 0.00 0.00 0.00 0.00 20:29:59 20:25:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 20:29:59 20:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:29:59 20:26:01 ens3 0.70 0.48 0.33 0.13 0.00 0.00 0.00 0.00 20:29:59 20:26:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:29:59 20:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:29:59 20:27:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:29:59 20:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:29:59 20:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:29:59 20:28:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 20:29:59 20:28:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:29:59 20:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:29:59 20:29:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:29:59 20:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:29:59 20:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:29:59 Average: ens3 144.66 86.87 1594.64 25.12 0.00 0.00 0.00 0.00 20:29:59 Average: lo 1.15 1.15 0.11 0.11 0.00 0.00 0.00 0.00 20:29:59 Average: docker0 26.71 43.41 2.21 294.16 0.00 0.00 0.00 0.00 20:29:59 20:29:59 20:29:59 ---> sar -P ALL: 20:29:59 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-6404) 09/18/23 _x86_64_ (8 CPU) 20:29:59 20:29:59 20:19:43 LINUX RESTART (8 CPU) 20:29:59 20:29:59 20:20:01 CPU %user %nice %system %iowait %steal %idle 20:29:59 20:21:01 all 10.20 0.00 3.71 2.12 0.06 83.92 20:29:59 20:21:01 0 10.03 0.00 3.20 0.50 0.05 86.22 20:29:59 20:21:01 1 13.17 0.00 3.55 1.09 0.07 82.13 20:29:59 20:21:01 2 10.81 0.00 5.13 4.86 0.07 79.14 20:29:59 20:21:01 3 7.94 0.00 3.76 0.27 0.07 87.97 20:29:59 20:21:01 4 8.80 0.00 3.70 3.63 0.05 83.81 20:29:59 20:21:01 5 11.46 0.00 2.92 0.76 0.03 84.82 20:29:59 20:21:01 6 9.04 0.00 3.76 5.42 0.05 81.74 20:29:59 20:21:01 7 10.31 0.00 3.67 0.41 0.07 85.55 20:29:59 20:22:01 all 29.88 0.00 4.83 2.26 0.08 62.94 20:29:59 20:22:01 0 29.45 0.00 4.38 1.06 0.07 65.04 20:29:59 20:22:01 1 30.20 0.00 4.73 0.40 0.05 64.62 20:29:59 20:22:01 2 29.92 0.00 4.46 0.42 0.07 65.13 20:29:59 20:22:01 3 30.53 0.00 5.24 7.53 0.08 56.63 20:29:59 20:22:01 4 29.84 0.00 4.64 2.47 0.07 62.98 20:29:59 20:22:01 5 30.14 0.00 4.23 0.37 0.07 65.19 20:29:59 20:22:01 6 28.21 0.00 5.55 0.49 0.12 65.63 20:29:59 20:22:01 7 30.78 0.00 5.47 5.38 0.08 58.28 20:29:59 20:23:01 all 18.00 0.00 3.60 1.89 0.05 76.46 20:29:59 20:23:01 0 18.82 0.00 3.23 0.35 0.05 77.55 20:29:59 20:23:01 1 18.28 0.00 3.98 0.12 0.05 77.57 20:29:59 20:23:01 2 18.84 0.00 3.61 0.69 0.07 76.79 20:29:59 20:23:01 3 17.88 0.00 3.73 0.37 0.05 77.97 20:29:59 20:23:01 4 17.92 0.00 3.36 0.97 0.05 77.69 20:29:59 20:23:01 5 17.30 0.00 3.79 5.21 0.05 73.65 20:29:59 20:23:01 6 18.27 0.00 3.99 4.92 0.05 72.78 20:29:59 20:23:01 7 16.69 0.00 3.09 2.51 0.07 77.64 20:29:59 20:24:01 all 0.03 0.00 0.00 0.01 0.01 99.94 20:29:59 20:24:01 0 0.15 0.00 0.02 0.00 0.02 99.82 20:29:59 20:24:01 1 0.02 0.00 0.00 0.00 0.00 99.98 20:29:59 20:24:01 2 0.03 0.00 0.02 0.00 0.03 99.92 20:29:59 20:24:01 3 0.00 0.00 0.00 0.00 0.02 99.98 20:29:59 20:24:01 4 0.00 0.00 0.00 0.02 0.02 99.97 20:29:59 20:24:01 5 0.00 0.00 0.00 0.00 0.00 100.00 20:29:59 20:24:01 6 0.02 0.00 0.00 0.03 0.00 99.95 20:29:59 20:24:01 7 0.05 0.00 0.00 0.00 0.02 99.93 20:29:59 20:25:01 all 2.21 0.00 1.15 0.51 0.03 96.11 20:29:59 20:25:01 0 2.49 0.00 0.78 0.03 0.05 96.65 20:29:59 20:25:01 1 2.44 0.00 1.62 0.87 0.02 95.05 20:29:59 20:25:01 2 1.47 0.00 0.63 0.07 0.03 97.80 20:29:59 20:25:01 3 2.92 0.00 1.69 0.97 0.02 94.41 20:29:59 20:25:01 4 2.95 0.00 0.80 1.28 0.02 94.95 20:29:59 20:25:01 5 2.25 0.00 2.20 0.07 0.02 95.47 20:29:59 20:25:01 6 1.72 0.00 0.92 0.82 0.03 96.51 20:29:59 20:25:01 7 1.41 0.00 0.52 0.00 0.03 98.04 20:29:59 20:26:01 all 0.19 0.00 0.41 0.03 0.01 99.35 20:29:59 20:26:01 0 0.27 0.00 0.32 0.02 0.00 99.40 20:29:59 20:26:01 1 0.25 0.00 0.55 0.02 0.02 99.17 20:29:59 20:26:01 2 0.23 0.00 0.12 0.00 0.02 99.63 20:29:59 20:26:01 3 0.15 0.00 0.48 0.00 0.00 99.37 20:29:59 20:26:01 4 0.07 0.00 0.27 0.18 0.02 99.47 20:29:59 20:26:01 5 0.15 0.00 0.23 0.00 0.03 99.58 20:29:59 20:26:01 6 0.27 0.00 1.05 0.02 0.00 98.67 20:29:59 20:26:01 7 0.15 0.00 0.25 0.03 0.02 99.55 20:29:59 20:27:01 all 0.07 0.00 0.05 0.01 0.01 99.85 20:29:59 20:27:01 0 0.25 0.00 0.10 0.00 0.00 99.65 20:29:59 20:27:01 1 0.08 0.00 0.05 0.02 0.02 99.83 20:29:59 20:27:01 2 0.05 0.00 0.05 0.00 0.02 99.88 20:29:59 20:27:01 3 0.03 0.00 0.05 0.00 0.02 99.90 20:29:59 20:27:01 4 0.03 0.00 0.05 0.07 0.00 99.85 20:29:59 20:27:01 5 0.05 0.00 0.05 0.00 0.00 99.90 20:29:59 20:27:01 6 0.02 0.00 0.03 0.00 0.00 99.95 20:29:59 20:27:01 7 0.07 0.00 0.05 0.02 0.02 99.85 20:29:59 20:28:01 all 0.07 0.00 0.05 0.05 0.01 99.83 20:29:59 20:28:01 0 0.25 0.00 0.07 0.07 0.02 99.60 20:29:59 20:28:01 1 0.07 0.00 0.07 0.00 0.02 99.85 20:29:59 20:28:01 2 0.05 0.00 0.05 0.00 0.00 99.90 20:29:59 20:28:01 3 0.05 0.00 0.03 0.00 0.00 99.92 20:29:59 20:28:01 4 0.00 0.00 0.03 0.25 0.00 99.72 20:29:59 20:28:01 5 0.02 0.00 0.03 0.02 0.00 99.93 20:29:59 20:28:01 6 0.03 0.00 0.03 0.00 0.00 99.93 20:29:59 20:28:01 7 0.08 0.00 0.05 0.03 0.02 99.82 20:29:59 20:29:01 all 0.07 0.00 0.01 0.00 0.01 99.90 20:29:59 20:29:01 0 0.02 0.00 0.02 0.00 0.00 99.97 20:29:59 20:29:01 1 0.02 0.00 0.02 0.00 0.02 99.95 20:29:59 20:29:01 2 0.05 0.00 0.02 0.00 0.02 99.92 20:29:59 20:29:01 3 0.02 0.00 0.00 0.00 0.00 99.98 20:29:59 20:29:01 4 0.00 0.00 0.02 0.03 0.02 99.93 20:29:59 20:29:01 5 0.00 0.00 0.00 0.00 0.00 100.00 20:29:59 20:29:01 6 0.00 0.00 0.00 0.00 0.00 100.00 20:29:59 20:29:01 7 0.50 0.00 0.02 0.00 0.02 99.47 20:29:59 Average: all 6.70 0.00 1.53 0.76 0.03 90.98 20:29:59 Average: 0 6.81 0.00 1.34 0.22 0.03 91.60 20:29:59 Average: 1 7.13 0.00 1.61 0.28 0.03 90.95 20:29:59 Average: 2 6.78 0.00 1.55 0.67 0.04 90.96 20:29:59 Average: 3 6.56 0.00 1.65 1.00 0.03 90.76 20:29:59 Average: 4 6.59 0.00 1.42 0.98 0.03 90.98 20:29:59 Average: 5 6.77 0.00 1.49 0.71 0.02 91.01 20:29:59 Average: 6 6.35 0.00 1.69 1.29 0.03 90.63 20:29:59 Average: 7 6.63 0.00 1.45 0.93 0.04 90.95 20:29:59 20:29:59 20:29:59